ComponentOne Sparkline for UWP
Axes
Sparkline for UWP Concepts and Main Properties > Axes

The following properties below represent the axes in C1Sparkline:

Property

Description

Code Sample

DisplayDateAxis

When set to true, this property displays data over a span of dates on the X Axis. This type of axis allows gaps in data if there are no data points for a particular date. 

C1Sparkline.DisplayDateAxis = true

DisplayXAxis

This property can be set to “true” or “false” to indicate whether to display the X Axis.

C1Sparkline.DisplayXAxis = true

ManualMax

Gets or sets the maximum value for the vertical axis that is shared across all sparklines in a sparkline group. The value must be zero if maxAxisType isn’t set to “custom”.

C1Sparkline.ManualMax = 20

ManualMin

Gets or sets the minimum value for the vertical axis that is shared across all sparklines in a sparkline group. The value must be zero if minAxisType isn’t set to “custom”.

C1Sparkline.ManualMin = -5

MaxAxisType

This property specifies how the vertical axis maximums for the sparklines in a sparkline group are calculated.

C1Sparkline.MaxAxisType = SparklineAxisMinMax.Group

MinAxisType

This property specifies how the vertical axis minimums for the sparklines in a sparkline group are calculated.

C1Sparkline.MinAxisType = SparklineAxisMinMax.Group

See Also