Data forms the core for any data visualization control. The Sparkline control can be bound to any enumerable collection of numeric data values. Since Sparkline supports a date axis, it can also be bound to a collection of dates that acts as x-coordinates.
The C1Sparkline class provides two properties to bind the sparkline control with data.
Property |
Description |
Data |
This property binds the sparkline control to a collection of numeric values. |
DateAxisData |
This property binds the sparkline control to a collection of dates. |
|
Refer to Quick Start and Date Axis topics to see how data binding can be achieved by setting the above properties. |