Dashboards
A dashboard is a page of panels that shows values: a trend, a big number, a gauge, a table. It is for engineers who build them and for everyone who opens them. It is not an HMI screen: a screen is a process graphic drawn on a canvas, a dashboard is a grid of data panels in the style of Grafana.
Open Screens, then Dashboards in the rail (/dashboards). Anyone signed in can open a dashboard. Building and changing one needs the engineer or administrator role.
Make one
- Choose New dashboard. A panel beside the list asks for a Name and a starting point: Blank, One chart (a time series waiting for tags) or Gateway health (processor, memory and thread charts from the gateway's own
[system]performancetags, which every gateway has). - Create dashboard opens it in edit mode. Editing never opens a dialog: everything about a panel is in the panel beside the grid.
- Choose a panel, then Data: pick tags, or switch the source to Database and write a query. Display sets how it looks. Panel sets its title, kind, time range and position.
- Save. Until then the title shows a dot, and Discard and Undo are available.
An empty dashboard offers the first panel as six large choices. Every panel starts with working defaults, so a chart with tags chosen is already complete; each option below is there to change.
Panels
| Kind | Shows | Data |
|---|---|---|
| Time series | Values over time as lines, areas, bars or points | Tags or a time-series query |
| Stat | One big number, optionally with a small trend behind it | Tags or a query |
| Gauge | A value on a ring between a minimum and a maximum, with the thresholds as bands | Tags or a query |
| Bar chart | Values side by side: one bar per tag, or one per row of a query with a name column and a number column | Tags or a query |
| Table | One row per tag (last, minimum, maximum, average), or the rows of a query | Tags or a table query |
| Text | A note in Markdown or plain text | None |
| Row | A heading across the dashboard that folds the panels under it | None |
Charts are drawn with TanStack Charts. A time series has these options: Draw as line, area, bars or points; Line straight, smooth or steps; line width; fill; stacking; legend (auto, always, hidden); tooltip; zoom (Ctrl and the wheel, drag to pan); and threshold lines. Every data panel can set a unit, decimals, a minimum and maximum, a no value text, a colour (one per series, one colour, or by value through thresholds), thresholds, and per-series overrides for a name, a colour or a unit.
Text is Markdown with headings (#), bold, italic, code, lists, quotes, rules and links to https, mailto or a path on the gateway. It is parsed, never rendered as HTML.
Data sources
Tags
A tags source lists tag paths. The panel asks the historian for each tag over the time range, cut into buckets across the width of the panel (or the number you set under Points), and draws one value per bucket: Average, Minimum, Maximum, First or Last. A bucket with no samples is a gap. Without the historian module running, panels of tags say so instead of drawing.
A stat, gauge or bar chart whose value is Last follows the live value while the time range ends at now, so it changes as the tag does. Search in the picker matches any part of the path; it lists the first 60 matches.
Database
A database source runs one read-only query on a connection set up under Connections, Databases (Databases and storage). The panel editor lists the connections, shows the tables and columns of the one you pick (click a name to put it in the query), and Run query (Ctrl+Enter) shows the first rows and how long it took.
- The query is one
SELECT, orWITH ... SELECT. Anything that changes data, runs a procedure or reaches outside the database is refused when you save and again each time it runs. @fromand@toare the dashboard's time range as UTC timestamps, and@intervalis a step in whole seconds. They are bound as parameters. Use only those you need.- Time series results need a timestamp column and one or more number columns. One text column beside one number column splits it into a line per value. A result with no timestamp is shown as a table, with a note.
- Table results are the rows as they are. At most 5,000 rows are read; the panel says when more matched.
- A viewer never sends SQL. The gateway runs the query saved in the panel. Sign the connection in as a database user that can only read: the check reads the text, it is not a sandbox, and SQL Server has no read-only transaction to fall back on.
Time and refresh
The toolbar has a time range and a refresh interval. A range is written as text: now-6h to now follows the clock, now/d is the start of today, and 2026-11-13 08:00 is an exact time. The picker offers presets, a custom range, moving the range earlier or later, widening it to twice its length, and Pause to keep the exact times of a range that follows now.
The range and refresh in the toolbar are for the person looking and live in the address (?from=, ?to=, ?refresh=); they are not saved. In Dashboard settings, When it opens sets the range and refresh the dashboard starts with. A panel can have its own time range, such as 15m, counted back from now.
The grid
Panels sit on a grid. Dashboard settings, Grid sets:
| Setting | Meaning | Default | Range |
|---|---|---|---|
| Columns | Equal columns across the page | 24 | 4 to 48 |
| Row height | Pixels per grid row | 32 | 16 to 120 |
| Gap | Pixels between panels | 8 | 0 to 32 |
| Packing | Packed upwards: panels rise to close gaps. Free: they stay where you put them | Packed upwards |
Changing the columns carries the panels with it, so a dashboard keeps its proportions.
In edit mode, drag a panel by its title bar or resize it by its bottom right corner. A panel dropped on another pushes it down, or, packed upwards and dragged below it, swaps places. Esc puts a held panel back. For the keyboard, focus a panel's handle and press the arrow keys to move it one cell, or Shift with the arrows to resize it; each move is announced to a screen reader. Position on the Panel tab sets the exact column, row, width and height.
On a phone (a page narrower than 560 pixels) the grid is one column while you are only looking: every panel the full width, one under the other in reading order (top to bottom, then left to right), each as tall as it is on the grid and not shorter than a small panel needs. The saved layout is not changed. Editing brings the grid back, so build a dashboard on something wider.
A Row folds the panels under it, up to the next row. Folding it while you are only looking is your own and not saved; folding it in edit mode is saved with the dashboard.
Saving
Changes stay in a draft until Save. Undo and Redo (Ctrl+Z, Ctrl+Shift+Z) go back through up to 50 changes; typing in one field is one step. Discard asks before it throws the draft away. Leaving the page with unsaved changes asks first. Ctrl+S saves.
Each save adds one to the dashboard's revision. If someone saved since you opened it, your save is refused, the page says so, and you choose Save mine over theirs or Discard mine, load theirs.
The button shows the whole dashboard as JSON. You can copy it, paste another, or edit it by hand; what you write is checked and tidied before it applies, and mistakes are named.
The document
A dashboard is one JSON object. The gateway keeps it exactly as the dashboard wrote it, and reads only each panel's id and its SQL queries.
{
"version": 1,
"time": { "from": "now-6h", "to": "now" },
"refresh": "30s",
"grid": { "columns": 24, "rowHeight": 32, "gap": 8, "compact": "vertical" },
"panels": [
{
"id": "p1",
"type": "timeseries",
"title": "Flow",
"description": "",
"gridPos": { "x": 0, "y": 0, "w": 12, "h": 8 },
"queries": [
{ "refId": "A", "source": { "kind": "tags", "paths": ["[default]Plant.Pump1.Flow"], "aggregation": "avg", "maxPoints": 0 } }
],
"options": { "draw": "area", "curve": "smooth", "lineWidth": 2, "fillOpacity": 12, "stack": "none", "legend": "auto", "tooltip": "all", "showThresholds": false, "zoomable": true },
"fieldConfig": {
"unit": "m3h", "decimals": null, "min": 0, "max": null, "noValue": "",
"color": { "mode": "palette", "fixed": "chart-1" },
"thresholds": [{ "value": null, "color": "green" }, { "value": 80, "color": "red" }],
"overrides": []
},
"timeFrom": "",
"transparent": false
}
]
}
Anything left out gets its default when the dashboard opens, so a short file is valid; an option with a value it does not allow is replaced by the default. Panel ids are short and unique (p1, p2, ...). Every panel has a title, description, gridPos, queries, options, fieldConfig, timeFrom and transparent; a row also has collapsed and the panels it holds while folded.
Data sources in the document
| Source | Fields |
|---|---|
{ "kind": "tags" } | paths (tag paths, with their provider), aggregation (avg default, min, max, first, last), maxPoints (0 fits the panel's width, else 2 to 2000), fill (hold default, gap, connect) |
{ "kind": "sql" } | connectionId, sql, format (time_series default, table) |
A query is { "refId": "A", "source": { ... }, "hide": true }; refId is unique in the panel and hide is optional.
Options by panel kind
| Kind | Option | Values (default first) |
|---|---|---|
timeseries | draw | line, area, bars, points |
curve | linear, smooth, step | |
lineWidth, fillOpacity | 1 to 6 (2); 0 to 100 (12) | |
stack, legend, tooltip | none, normal; auto, always, hidden; all, hidden | |
showThresholds, zoomable | false; true | |
stat | reduce | last, first, min, max, avg, sum, count, delta |
graph, colorMode, layout | sparkline, none; value, none, background; auto, horizontal, vertical | |
gauge | reduce | as for stat |
bar | reduce, sort | as for stat; none, asc, desc |
table | mode | auto (a row per tag for tags, the rows of a query), summary, rows |
pageSize, colorCells | 5 to 200 (25); false | |
text | mode, content | markdown, plain; text |
Field configuration
fieldConfig holds unit, decimals (null or 0 to 10), min and max (null or a number), noValue (text), color ({ "mode": "palette" | "fixed" | "thresholds", "fixed": "<colour>" }), thresholds ([{ "value": null, "color": "green" }, { "value": 80, "color": "red" }]: the first step has no value, the others ascend) and overrides ([{ "match": "<series>", "displayName", "color", "unit", "decimals" }], matched by the series' tag path or column name).
Units are an empty string (no unit), short, percent (0 to 100), percentunit (0 to 1), celsius, fahrenheit, kelvin, bar, mbar, kpa, pa, psi, m3h, ls, lmin, kgh, m, cm, mm, m3, l, kg, t, volt, amp, watt, kwatt, kwh, hertz, rpm, mps, kmh, s (a duration), ms, min, h, mb, bytes, bps and ops. Colours are green, yellow, orange, red, blue, gray (status colours, which keep their meaning), chart-1 to chart-8 (series colours, which follow the theme) or #rrggbb.
Limits
| Limit | Value |
|---|---|
| Name | 1 to 80 characters |
| Description | Up to 500 characters |
| Document | 1 MB, up to 300 panels (folded ones included), panel ids up to 64 characters |
| Query | 20,000 characters, 20 seconds, 5,000 rows (20,000 at most) |
| Undo | 50 steps |
Dashboards are part of the project: the optional version control module keeps them under Dashboards, so they can be branched, merged and restored with the rest. The REST routes are in Dashboards API.