↓ Skip to main content
A picture of cut paper: the teal outline of a phone with three small shapes inside, an orange ring, three black bars and a rose zigzag line. Beside the phone lies a large orange circle that is wider than the screen.

Nine Chart Types on a Phone: Which Ones Survive a Small Screen

At a screen width of 390 points, a chart in a page gets 358 points. In that space a chart has to say one thing. We drew the nine chart types of the framework at the width of a phone and wrote down, for each one, what we could still read.

MAS 9.2 series charts

The pictures come from the browser preview of our Components Explorer, on our test system of the MAS 9.2 series, at a screen width of 390 points. The verdicts are our own reading of these pictures. Each chart has the height we gave it, between 240 and 300 pixels, and small sample lists as data.

The verdict in one table
#

TypeOn a phoneWhat we saw
barfitsfour bars and their names read at once
linefitssix points with room to spare
areafitsthe same as the line, with more weight
stacked-barfitsthree bars with two parts each, and a legend of one line
grouped-barfits, with few groupssix bars for three categories already fill the width
donutfitsthe total stands in the middle of the ring
pieneeds heightits legend fell out of a chart of 260 pixels, and at 300 it sits below the chart area
scatterneeds caresix points read well; each point is a small circle
circle-packneeds roomthree groups read; the small circles carry no text

Bars, lines and areas
#

Three charts side by side, each 360 points wide. A bar chart with four bars for WAPPR, APPR, INPRG and COMP. A line chart with six points from January to June. An area chart with the same six months.
bar, line and area at the width of a phone

These three are safe. Each has one series, short names on the axis and a clear shape. The names of the months and of the status values fit below the chart with space between them.

The bar chart has a limit that the picture does not show: the number of bars. Four names of five letters fit. For more categories or longer names, put the categories at the side, where each one gets its own line. Every Chart Type in the Maximo Application Framework shows that variant.

Stacked, grouped and the donut
#

Three charts side by side. A stacked bar chart with three bars for PM, CM and EM, each with a purple and a teal part. A grouped bar chart with two bars for each of the three work types. A donut chart with four segments and the number 27 in its middle.
stacked-bar, grouped-bar and donut at the width of a phone

The stacked bar is the better use of a narrow screen. It needs one bar per category, and the grouped bar needs one bar per part. With three categories and two parts, the grouped chart already has six bars.

The donut is the type we like best on a phone. It has one number in large text, the total, and the segments around it. A legend of four short names fits in one line.

Pie, scatter and circle pack
#

Three charts side by side. A pie chart with three slices and its legend below. A scatter chart with six points in two colours. A circle pack chart with three large circles, each with two smaller circles inside.
pie, scatter and circle-pack at the width of a phone

The pie needs more height than the donut. We first gave it 260 pixels, like the donut. The pie filled the whole height, and its legend was drawn below the chart, over the next element of the page. At 300 pixels the legend still sits below the chart area, so we left a free space under the chart.

The scatter reads, and it is no place for a tap. Six points are clear. Each point is a small circle, and a tap on a point does nothing in this chart type: Two Chart Types That Did Not Answer a Click has the measurement.

The circle pack needs explaining. The legend names the three large circles. The small circles inside carry no text. A reader sees that each group has parts and cannot read their names.

A chart with its own place
#

A chart that needs room can leave the page. The framework lets a chart stand in a dialog or in a sliding drawer, and a button opens it.

Two screens. First, a dialog “Work orders by priority” with a donut chart, its legend and a button “Close”. Second, a drawer “Cost by work type” with a stacked bar chart and its legend.
A donut in a dialog and a stacked bar in a sliding drawer

Both take the whole screen of a phone. The chart has the full width, and the page behind it stays a list. This is the pattern we would use for a pie, a scatter or a circle pack: a small button on the page, and the chart behind it.

The other end: a wide screen
#

The same page on a wide screen shows the opposite problem.

A line chart on a wide screen: six points spread over the full width.
A line chart takes the width it gets
A donut chart on a wide screen: the ring is small and sits at the left edge, and the rest of the width is empty.
A donut does not grow with the width, and it sits at the start

A line or a bar chart takes the width. A donut keeps its size and sits at the start of the space. At the width of a phone it sits at the start too, and the free space beside the ring is small. One option moves it to the middle:

<chart-option id="fs_d_chartopt_donutc_o4" name="donut.alignment" value="center"/>
A donut chart on a wide screen, in the middle of its space, in teal, orange, black and rose, without a toolbar.
The donut of our options page: donut.alignment set to center, with our own colours and no toolbar

The pie has the same option under its own name, pie.alignment.

What to take from the nine
#

  • One series per chart. Every chart that read well at once had one series, or two with a short legend.
  • Short names. The axis of a phone holds four or five short words.
  • Donut before pie. The donut needs less height and gives you a total.
  • Stacked before grouped. One bar per category is all a phone has room for.
  • A dialog or a drawer for the rest. A chart that needs room gets its own screen.

What to read next#

Every Chart Type in the Maximo Application Framework has each type with its options. Charts Work in Maximo Mobile. Nobody Ships One. shows that the charts run in a mobile app. For the width of a page in general, see Responsive Design in Maximo Mobile.


IBM documents the chart elements in the product itself, in the Application Configuration application under Component Documentation. The options of the round charts are described in the documentation of Carbon Charts.