The requested page is not available for the requested platform. You are viewing the content for Default platform.

Sparkline

  • 2 min to read

Sparklines can be used to visualize the variation of actual or target values (for instance, over time).

Card_StretchedLayout_Sparkline

To learn how to display the sparkline for different layout types, see Layout.

Data Binding Specifics

You need to provide a date-time or numeric dimension whose data is used as argument values to display a sparkline within the card.

Card_Sparkline_DataSections

If you have provided both actual and target values, a sparkline visualizes the actual value's variation.

Change Sparkline Options

To manage sparkline settings, click the Options button (the DataItemsArea_OptionsButton icon) displayed next to the data item container. In the invoked Card Settings dialog, go to the Sparkline Options tab:

CardSettings_SparklineOptionsTab

The following options are available:

Sparkline Options Description
Sparkline view type Defines the sparkline's view type. Sparkline data points can be represented as area, line, bars, or win and loss squares.
Highlight min/max points Specifies whether to highlight the minimum/maximum points of a sparkline.
Highlight start/end points Specifies whether to highlight the start/end points of a sparkline.

API

The following members related to sparklines:

API Description
CardDashboardItem.SparklineArgument Gets or sets a dimension used to provide sparkline argument values.
Card.ShowSparkline Gets or sets whether to show a sparkline within a Card.
SparklineOptions.ViewType Gets or sets a sparkline view type.
SparklineOptions.HighlightMinMaxPoints Gets or sets whether to highlight the minimum/maximum points of a sparkline.
SparklineOptions.HighlightStartEndPoints Gets or sets whether to highlight the start/end points of a sparkline.
See Also