↓ Skip to main content
An isometric drawing of a dark board with seven flat blocks that fit together: four small squares in the first row, two wider blocks in the second, and one long block in the third. One small square is orange, and the others are teal.

Anatomy of a MAF Dashboard: Tiles, the Grid, and Runtime Editing

A dashboard looks like a designed page. In the markup it is a short list: one element for the dashboard, and one element for each tile. The tile says what it shows and how large it is, and the dashboard finds the place. We built one and measured where the tiles go.

MAS 9.2 series dashboard

We built the dashboard into our own Components Explorer, on a test system of the MAS 9.2 series. The pictures of it come from the browser preview. Its numbers are small lists inside the app, so no request goes to Maximo. The last section shows IBM’s Operational Dashboard on the same system.

The whole dashboard
#

A dashboard on a wide screen. First row: four small tiles, “Open work orders” with 22, “Overdue” with 5, “Hours booked” with 13K, and a gauge “Backlog worked off” at 64 %. Second row: a bar chart “Work orders by status” and a donut chart “Work orders by priority”. Third row: a line chart “Completed per month” over the full width. Below it a plain tile with text.
Our lab dashboard at a screen width of 1280 points

This is the markup of three tiles of the first row and of one chart. We left out the ids of the inner elements, the legend of the chart and the attributes for a click:

<dashboard id="fs_d_dash_board">
  <dashboard-value-tile id="fs_d_dash_v_open" title="Open work orders"
      datasource="fs_d_dash_ds_kpi" value-field="open" size="small"/>
  <dashboard-value-tile id="fs_d_dash_v_over" title="Overdue"
      datasource="fs_d_dash_ds_kpi" value-field="overdue" size="small">
    <value-threshold comparison="gt" value="3" color="red" label="Too many"/>
    <value-threshold comparison="lte" value="3" color="green" label="Fine"/>
  </dashboard-value-tile>
  <dashboard-gauge-tile id="fs_d_dash_g_back" title="Backlog worked off"
      datasource="fs_d_dash_ds_kpi" value-field="backlog" min="0" max="100" units="%" size="small"/>
  <dashboard-chart-tile id="fs_d_dash_c_status" title="Work orders by status"
      chart-type="bar" datasource="fs_d_dash_ds_status" size="medium">
    <chart-axis position="bottom" data-field="wostatus" title="Status"/>
    <chart-axis position="start" data-field="wocount" title="Work orders" scale-type="linear"/>
  </dashboard-chart-tile>
</dashboard>

Three things are worth seeing in it.

  • No tile has a position. There is no row, no column and no coordinate. The order of the tiles and their size decide the layout.
  • A tile draws what a datasource holds. Each tile names a datasource and a field. All four tiles of the first row read the same list with one row.
  • A chart tile is a chart with a frame. The type is the attribute chart-type, and the axes are the same children as in a <chart>. Every Chart Type in the Maximo Application Framework has the nine types.

The tile family
#

Our dashboard uses four kinds of tile. The apps that IBM ships use more:

ElementUsesApps
<dashboard>4717
<dashboard-view>333
<dashboard-tile>10011
<dashboard-value-tile>7910
<dashboard-chart-tile>559
<dashboard-table-tile>285
<maximo-kpi-tile>211
<dashboard-tile-template>101
<dashboard-gauge-tile>81
<maximo-workqueue-tile>71
<maximo-kpi-compare-tile>51
<maximo-favorites-tile>51
<maximo-quick-insert-tile>51
<dashboard-custom-tile>32
<maximo-kpi-trend-tile>11
<dashboard-bulletin-board-tile>11

The 56 apps that IBM ships with the MAS 9.2 series, counted by element name in the XML files of each source folder.

The plain <dashboard-tile> has the most uses. It is a frame with a title, and its content is whatever you put inside: labels, a list, a chart of your own. The value tile and the chart tile follow. Most of the other kinds appear in one app only.

You want to showWe would take
one number<dashboard-value-tile>
one number between a lowest and a highest value<dashboard-gauge-tile>
a distribution or a trend<dashboard-chart-tile>
a ranked list of records<dashboard-table-tile>
anything else<dashboard-tile> with your own content

Numbers that say more
#

The first row of the dashboard, four tiles. “Open work orders” shows 22 as a small blue link. “Overdue” shows the label “Too many” and a large red 5. “Hours booked” shows 13K. “Backlog worked off” shows a ring that is filled to about two thirds, with 64 % in its middle.
A value with a click, a value with a threshold, a compact value, and a gauge

The four tiles of the first row read one list, and each shows a different trick.

A threshold colours the number. The tile “Overdue” has two <value-threshold> children. The value is 5, the first threshold says “greater than 3”, and the tile draws the 5 in red with the label “Too many” above it.

A compact number rounds. The tile “Hours booked” has is-number-value-compact="true". Its value is 12,500, and the tile shows 13K. For a count of this size, half a thousand is a visible difference, so we would use the attribute for large numbers only.

A click changes the look. The tile “Open work orders” has on-value-click. With it, the tile draws the value as a link: blue, and at 20 pixels where the other values have 42. A tap ran our handler.

A gauge needs its range. The gauge takes min, max and units. Its value is 64 on a range from 0 to 100, and the ring is filled to that share.

A chart tile answers a tap too. It takes on-segment-click, like a chart. We tapped the bar for APPR, and our handler ran.

The grid, measured
#

A tile has one of thirteen sizes. The name has two parts: small, medium or large for the height, and a word for the width. The size xsmall has the small height. We put one empty tile of each size on a page and measured them at several screen widths.

A page with empty tiles, each with its size as the title. First row: xsmall, small, smallwide. Then smallthick, then smallfull over the full width. Then mediumthin and medium, then mediumwide over the full width, then mediumthick with largethin beside it.
The tile sizes at a screen width of 1500 points

The height is simple. At every width we tried, a small tile was 144 pixels high, a medium tile 304 and a large tile 624.

The width is a share of the row, and the share depends on the screen:

Size1500 points1280820600390
xsmall1/81/41/21/4full
small1/41/41/41/4full
smallwide1/21/21/21/2full
smallthick3/43/4fullfullfull
smallfullfullfullfullfullfull
mediumthin1/41/41/21/2full
medium1/21/2full1/2full
mediumwidefullfullfull1/2full
mediumthick3/43/4fullfullfull
largethin1/41/41/21/2full
large1/21/2full1/2full
largethick3/43/4fullfullfull
largewidefullfullfull1/2full

Measured in the browser preview on the MAS 9.2 series. We also measured 1100, 1700, 2000 and 2600 points, and 700, 1024 and 480: each gave the shares of its neighbour in the table.

The table has three surprises.

  • At 1280 points and below, xsmall is no smaller than small. At 1280 points both take a quarter. At 820 points the xsmall tile takes half of the row and is twice as wide as the small one.
  • At 600 points, “wide” is narrower than “thick”. The sizes mediumwide and largewide take half of the row there, and mediumthick and largethick take all of it.
  • At 600 points a medium tile is narrower than at 820. The layout of the narrower screen puts two medium tiles side by side again.
Two screens with the same empty tiles. At 820 points the tile xsmall is twice as wide as the tile small beside it, and medium fills the row. At 600 points xsmall and small are equal, and medium and mediumwide each take half of the row.
The same page at 820 points and at 600 points

For a real dashboard this means: design for the width your users have, and look at one width below it.

The lab dashboard at two widths. At 820 points the four small tiles stay in one row, one title is cut short, and each chart takes a full row. At 390 points every tile takes the full width, and the page is a long column.
Our dashboard at 820 points and at 390 points

A dashboard in a mobile app
#

The browser build took our page as it was. The strict build for the mobile platform refused it: its message says that the element dashboard is not supported on a mobile device, and it names the attribute that overrides the check. With that attribute, the mobile build passed:

<dashboard id="fs_d_dash_board" use-with-mobile="true">

We keep two files for the page, one for each platform, and they differ in this one attribute. We did not run the dashboard on a device. For the charts inside it, Charts Work in Maximo Mobile. Nobody Ships One. has what we know.

Runtime editing: the Operational Dashboard
#

Our dashboard is fixed: what the markup says is what the user gets. IBM’s Operational Dashboard goes one step further. Its user can change it.

The top of the Operational Dashboard in Maximo Manage: four tabs, “Maintenance management”, “Emissions Management”, “Asset management” and “Maintenance costs”. Below them the name of the view with a green tag “Public”, a pencil at the right, and a row of four tiles: Overdue Emergency Work, Overdue PM Work, PM Performance, Health of Assets for PM Work.
The Operational Dashboard on our test system, with four views as tabs

The dashboard has four tabs, and each tab names a view. The pencil at the right opens the edit mode:

The same dashboard in edit mode. The buttons “Cancel” and “Save” stand where the pencil was, the tiles are narrower with two titles cut short, and a panel “Card gallery” has opened at the right.
The edit mode: Cancel, Save, and a card gallery at the right
The panel “Card gallery” with the tabs “Standard” and “Preconfigured” and a search field. Twelve entries, each with a handle to drag and a plus sign: KPI trend, KPI comparison, KPI value, Value, Favorites, Quick actions, Table, Work queues, External content, Threshold tile, Gauge tile, Map.
The card gallery offers twelve kinds of tile

Each entry of the gallery has a handle and a plus sign. We left the mode with “Cancel” and saved nothing.

Who may do what is a matter of security options. Maximo has these six for the application, and an administrator grants them to a security group:

OptionDescription in Maximo
READRead access to Operational Dashboard
INSERT_PRIVATECreate Private Dashboard
MANAGE_PRIVATEManage Private Dashboard
INSERT_PUBLICCreate Public Dashboard
HIDE_PUBLICHide Public Dashboard
DELETE_PUBLICDelete Public Dashboard

The options speak of private and of public dashboards. The tag “Public” in the first picture stands beside the name of the view on screen.

What to take from it
#

  • A dashboard is a list of tiles. Order and size are all the layout there is.
  • Start with three kinds: the value tile, the chart tile and the plain tile. Our dashboard needed one more, the gauge.
  • Measure your sizes. The same size word means a quarter, a half or the whole row, by the width of the screen.
  • Round with care. A compact number is easy to read and loses detail.
  • For a mobile app, one attribute opens the build. What a device does with the dashboard is a test of its own.

What to read next#

Every Chart Type in the Maximo Application Framework covers the charts in the tiles, and Nine Chart Types on a Phone says which of them fit a narrow tile. For lists inside an app as a source of data, see Maximo-Datasource vs. JSON-Datasource.


IBM describes the Operational Dashboard in the documentation of Maximo Manage. The dashboard elements and their attributes are documented in the product itself, in the Application Configuration application under Component Documentation.