There are two properties that control the data used in the C1Sparkline control: Data and DateAxisData. These properties are described in the table below:
Property |
Description |
Code Sample |
Provides C1Sparkline's values. |
C1Sparkline.Data = new List<double>(){1,2,3,4,-1,-3,-4.5,6} |
|
Provides the values for C1Sparkline's DateTime Axis. |
C1Sparkline.DateAxisData = new List<DateTime>(){ new DateTime(2013,11,1), new DateTime(2013,11,2)} |
The steps required to create data bound charts are as follows: