Skip to content

Sparkline card

eaxScadaReferenceStarterView as Markdown

The current value over a small trend of the last minutes, filled from the historian when the card opens. Limit lines come from the tag’s alarm limits or from manual limits, dashed; a Bad value is marked, never drawn as good.

Sparkline card card

Card palette Display Widgets › Sparkline Mini-Trend
Card kind sparkline (body.widget)
Default size 3 × 2 grid cells

Double-click the card (or select it and press Enter) to open its settings. The settings are stored in the card’s body.params.

Shown as Key (body.params) Type Unit Default Allowed values What it does
Tag tagPath Tag path (read) — The tag shown. A card without a tag shows its fixed value marked STATIC, or a dash.
Unit unit Text — Unit shown after the value. Display only.
Decimals decimals Number — Decimals shown. Empty: automatic from the range.
Window (minutes) historyMinutes Number 15 The time window, filled from the historian when the card opens. Default 15. Settings hint: Filled from the historian when the tile opens.
Limit lines bandsSource Choice — alarms
manual
none
Where the dashed limit lines come from: the tag’s alarm limits, manual limits (card JSON), or none.

The card reads its tag live, with its quality: a Bad, Uncertain or stale value is dimmed and labelled BAD QUALITY, UNCERTAIN or NO LINK - STALE, and before a first value the card shows a dash and NO DATA, never an invented number. A tag the signed-in account may not read shows a dash, a padlock and NOT READABLE on a blue label (NO ACCESS on a small card), and no trend: the samples kept from before are not drawn either. A card on a screen with parameters takes {Name} in its tag paths.

The compressed-air pressure over the last minute; its LOW alarm at 5 bar is drawn as a dashed line.

  1. Click Sparkline Mini-Trend in the dashboard palette.
  2. Double-click it: Tag Plant/Processing/Utilities/Air/Pressure, Unit bar, Decimals 2, Window 1, Limit lines alarms.

Air pressure with its alarm limit line

6.4 bar, well above the 5 bar limit.