Skip to main content

Sparkline

The Sparkline component displays a historical tag's current value above a visual representation of the tag's changes over the past 24 hours (in 10-minute intervals).

Sparkline

Parameters

NameData TypeDescription
pathStringThe path of the historical tag. Supports both realtime and historical tag paths.
  • Value: The current value above the trend.
  • EngUnit: The engineering units for the value.
  • Documentation: The component title, optional. If unused, the tag name is displayed.
  • FormatString: is used to format the numerical value above the trend.

  • Example tag path: [default]Exchange/Launchpad/AmbientTemperature
    aggModeStringAggregation mode used in the tag history call. Valid values include:
  • Average (time-weighted)
  • MinMax
  • LastValue
  • SimpleAverage
  • Sum
  • Minimum
  • Maximum
  • DurationOn
  • DurationOff
  • CountOn
  • CountOff
  • Count
  • Range
  • Variance
  • StdDev
  • PctGood
  • PctBad
  • More information about each aggregation mode can be found here.