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).

wdd-cards-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 (in the Sparkline section) whose data is used as argument values to display a sparkline within the card.

Card_BindingMenu_SparklineArgument

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

Change Sparkline Options

To change sparkline settings in the Web Dashboard's UI, invoke the Binding menu, click the required data item in the Cards section and go to Sparkline Options in the data item's menu. The following options are available:

Sparkline Options Description
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.