# Sparkline card

> The sparkline dashboard card: the current value over a small trend of the last minutes, with limit lines.

Product: eaxScada · Type: Reference · Editions: Starter
Source: https://eaxware.com/docs/eaxscada/reference/generated/widgets/dashboard-cards/card-sparkline/
Verified against commit 55b8e98.

<!-- GENERATED by tools/docgen (node tools/docgen/docgen.mjs). Do not edit by hand: change the source and regenerate. -->

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.
[Image: Sparkline card card]
|  |  |
|---|---|
| Card palette | Display Widgets › Sparkline Mini-Trend |
| Card kind | `sparkline` (`body.widget`) |
| Default size | 3 × 2 grid cells |

## Settings

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`<br>`manual`<br>`none` | Where the dashed limit lines come from: the tag's alarm limits, manual limits (card JSON), or none. |

## Quality and parameters

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.

## Examples

### Air pressure with its alarm limit line

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`.
[Image: Air pressure with its alarm limit line]

6.4 bar, well above the 5 bar limit.
## See also

- [Gauge (sparkline kind)](/docs/eaxscada/reference/generated/widgets/gauges/gauge/)
- [Trend card](/docs/eaxscada/reference/generated/widgets/dashboard-cards/card-trend/)
