Skip to content

Sparkline

The Sparkline element is a compact inline chart designed to show trends at a glance. It renders as a tiny line or bar chart alongside a text label.


Features

  • Line or bar variant
  • Area fill under the line
  • End dot indicator on the last data point
  • Compact size — fits inside table cells or stat cards
  • Pure SVG rendering — no external dependencies

Settings

SettingDescriptionDefault
LabelText displayed next to the sparkline"Trend"
Variantline or barline
Line ColorColor of the line or bars#3498db
Fill AreaShade the area under the linetrue
Show End DotShow a dot on the last data pointtrue

Data

Enter values as a comma-separated string:

10, 20, 15, 30, 25, 40, 35

Use Cases

  • Dashboard KPI trends
  • Table cell micro-charts
  • Stat card trend indicators
  • Inline data visualizations

Styling

Supports the standard Container color and dimension settings.

No-Code App Builder