Skip to content

Dashboards

Set display to clean for a dashboard tile: only the plot, its legend and the hover values.

A dashboard with a Time Range and five clean tiles

A clean tile has:

  • no toolbar, side panel or range controls, no time selection and no zoom;
  • the mouse wheel scrolling the page, not zooming;
  • the range from initial (or the saved chart in chartId);
  • hover values, and a legend under the plot (legend: false hides it);
  • no URL state, and it is read-only.

A tile with a range of its own says it at its top right ("Last 24 hours"). One that follows a range prop leaves that to the Time Range component.

{
"configuration": "default",
"display": "clean",
"chartUrl": "",
"newChartUrl": "",
"urlState": false,
"initial": {
"pens": [{ "path": "[default]Plant/Line1/Flow" }, { "path": "[default]Plant/Line2/Flow" }],
"span": "8h",
"live": true
}
}

A tile can also show a saved chart: bind or set chartId to its id. The tile then opens that chart with the user's access checked.

Put a PowerChart Ultra Time Range (same palette category) at the top of the dashboard and bind each tile's range prop to its value:

props.range <- /root/bar/timeRange.props.value (property binding)

One picker then moves every tile. Bind queries elsewhere on the page to the Time Range's start and end. A tile bound to a Time Range works From and To out in the Time Range's time zone, so it reads the same hours as the picker. See the Time Range props.

To also share hover and x-traces between tiles, put them in one sync group. See Synchronised charts.

A tile's legend shows two rows (one in a tile under 340 px high), with +N more for the rest in a popover. Step lanes are not listed: each lane's header on the plot names it. A tile of only step lanes has no legend. See the legend reference.

Tiles read history like any chart. A dashboard of many live tiles costs the gateway a history read per tile when it opens, then only live values. Hover and synchronisation happen in the browser.