Data fields

The Sparkline has 7 fields available for binding :

  • Tag : the name of the variable
  • Value : the value of the variable
  • Serie : the field used as X Axis of the chart
  • Low : the low threshold
  • High : the high threshold
  • Target : the target value
  • Split into many widgets : a field to group and split variables

Sparkline data configuration example

Tag

This represents the variable name, used to show separate indicators side-by-side.
The indicators are laid out in consecutive rows. Each indicator will take a given vertical size, and the full width of the container.
In order to access the other indicators, the user may need to scroll down.

This field is required.

Sparkline Tag example configuration

Sparkline Tag example runtime

Value

This is the main value of the variable.
It will be displayed both :

  • as Y value on the sparkline chart
  • as main value on the summary

This field is required.

Sparkline Value example configuration

Sparkline Value example runtime

Serie

This is the field used for the X Axis of the sparkline chart.

This field is required.

Sparkline Serie example configuration

Sparkline Serie example runtime

Low

This is the lower bound of the limit.
The limit is displayed as a range area on the sparkline chart.

This field is optional, and only useful when a High field is also configured.

High

This is the higher bound of the limit.
The limit is displayed as a range area on the sparkline chart.

This field is optional, and only useful when a Low field is also configured.

Sparkline High Low example configuration

Sparkline High Low example runtime

Target

This is the target value for the variable.
The target is displayed as numerical value in the summary.

This field is optional.

Sparkline Target example configuration

Sparkline Target example runtime

Group by : Split into many widgets

This represents the series field used to generate a different contained Sparkline Widget for each different value in this field.
This allows to create many sub-widgets dynamically.

This will turn the widget into a container, and generate a complete different chart for each value in the series field, contained in the Widget.
The layout of the charts inside the container is configurable.
Please see the corresponding chapter to configure the view of the Widget container.

This field is optional.

Example : If you have a field called “Continent”, you may want to plot a completely separate Sparkline for each value of “Continent”, dynamically :

Sparkline Split example configuration

Sparkline Split example runtime

Value aggregation

This Widget displays two values :

  • the sparkline chart’s Y value
  • the summary value

You may configure the summary value in two different ways, under the Value category :

Value Type = Last Value

Displaying the Last Value means the last value on the sparkline chart, according to the sorting by the Series field.

Sparkline configure last value

Value Type = Aggregate

Instead of displaying the last value from the sparkline chart, the Aggregate setting allows to calculate a value based on all values in the chart.
The aggregation function used to aggregate all the values in the chart is defined as the Aggregate option.

Sparkline configure aggregate value
Last modified: Feb 17, 2022

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment