C1Chart provides the following dataseries classes to effectively handle different data types:
The Label property in the DataSeries class represents the label for the Series name in the Chart Legend.
There are several DataSeries classes inherited from the same base class DataSeries, each of them combines several data sets depending on appropriate data nature. For instance, the XYDataSeries provides two sets of data values that correspond to x- and y-coordinates. The list of available data series classes is presented in the table below.
Class | Value Properties | Value Binding Property |
---|---|---|
DataSeries | Values, ValuesSource | ValueBinding |
XYDataSeries | ValueBinding XValueBinding |
|
HighLowSeries |
HighValues, HighLowSeries.HighValuesSource LowValues, HighLowSeries.LowValuesSource |
ValueBinding XValueBinding HighValueBinding LowValueBinding |
HighLowOpenCloseSeries |
HighValues, HighLowSeries.HighValuesSource LowValues, HighLowSeries.LowValuesSource OpenValues, HighLowOpenCloseSeries.OpenValuesSource CloseValues, HighLowOpenCloseSeries.CloseValuesSource |
ValueBinding XValueBinding HighValueBinding LowValueBinding OpenValueBinding CloseValueBinding |
Each data series class may have its own default template for plotting, for instance HighLowOpenCloseSeries displays financial data as a set of lines that mark high, low, open and close values.