WinForms Sparkline Overview

Telerik UI for WinForms Ninja image

The Series is part of Telerik UI for WinForms, a professional grade UI library with 160+ components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.

Figure 1: Supported Series

WinForms RadSparkline Supported Series

The currently supported series are:

The SparkAreaSeries, SparkBarSeries, and SparkWinLossSeries expose the BaselineValue property defining a value on the vertical axis determining how the view will be divided into top and bottom halves. By default 0 is considered as the base line. The property is extremely useful in the SparkWinLoss series where one can define a threshold different than 0 to indicate wins and losses.

Common properties

All series inherit the SparkSeries class. The following table shows the properties that are shared between all series types.

Property Description
DataPoints Gets the data points collection.
DataSource Gets or sets the data source of the SparkSeries.
DataMember Gets or sets the name of the list or table in the data source for which the SparkSeries is displaying data.
DisplayMember Gets or sets the display member.
Name Gets or sets the name.
HighValue Gets the high value data point.
LowValue Gets the low value data point.
ShowMarkers Gets or sets whether the points markers will be painted.
MarkerBorderColor Gets or sets the border color of the points of the series.
MarkerBorderWidth Gets or sets the border width of the points of the series.
MarkerBackColor Gets or sets the back color of the points of the series.
ShowHighPointIndicator Gets or sets whether the high point marker will be painted.
HighPointBorderColor Gets or sets the border color of the high point of the series.
HighPointBorderWidth Gets or sets the border width of the high point of the series.
ShowLowPointIndicator Gets or sets whether the low point indicator will be painted.
LowPointBorderColor Gets or sets the border color of the low point of the series.
LowPointBorderWidth Gets or sets the border width of the low point of the series.
LowPointBackColor Gets or sets the back color of the low point of the series.
ShowFirstPointIndicator Gets or sets whether the first point indicator will be painted.
FirstPointBorderColor Gets or sets the border color of the first point of the series.
FirstPointBorderWidth Gets or sets the border width of the first point of the series.
FirstPointBackColor Gets or sets the back color of the first point of the series.
ShowLastPointIndicator Gets or sets whether the last point marker will be painted.
LastPointBorderColor Gets or sets the border color of the last point of the series.
LastPointBorderWidth Gets or sets the border width of the last point of the series.
ShowNegativePointIndicators Gets or sets whether the negative point markers will be painted.
NegativePointBorderColor Gets or sets the border color of the negative points of the series.
NegativePointBorderWidth Gets or sets the border width of the last point of the series.
NegativePointBackColor Gets or sets the back color of the negative points of the series.
In this article