C1Chart provides the following DataSeries classes to effectively handle different data types:
- BubbleSeries
- DataSeries
- HighLowOpenCloseSeries
- HighLowSeries
- XYDataSeries
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.
BubbleSeries
|
DataSeries.Values, DataSeries.ValuesSource
XYDataSeries.XValues, XYDataSeries.XValuesSource
|
ValueBinding
XValueBinding
|
DataSeries
|
DataSeries.Values, DataSeries.ValuesSource
|
ValueBinding
|
HighLowOpenCloseSeries
|
DataSeries.Values, DataSeries.ValuesSource,
XYDataSeries.XValues, XYDataSeries.XValuesSource
HighLowSeries.HighValues, HighLowSeries.HighValuesSource
HighLowSeries.LowValues, HighLowSeries.LowValuesSource
HighLowOpenCloseSeries.OpenValues, HighLowOpenCloseSeries.OpenValuesSource
HighLowOpenCloseSeries.CloseValues, HighLowOpenCloseSeries.CloseValuesSource
|
ValueBinding
XValueBinding
HighValueBinding
LowValueBinding
OpenValueBinding
CloseValueBinding
|
HighLowSeries
|
DataSeries.Values, DataSeries.ValuesSource
XYDataSeries.XValues, XYDataSeries.XValuesSource
HighLowSeries.HighValues, HighLowSeries.HighValuesSource
HighLowSeries.LowValues, HighLowSeries.LowValuesSource
|
ValueBinding
XValueBinding
HighValueBinding
LowValueBinding
|
XYDataSeries
|
DataSeries.Values, DataSeries.ValuesSource
XYDataSeries.XValues, XYDataSeries.XValuesSource
|
ValueBinding
XValueBinding
|
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.
DataSeries Differences
There are some differences between the types of data series.
- DataSeries has only one logical set of data values - Values. These are the Y-values. The X-values are generated automatically, or are specified as text labels using the Data.ItemNames property.
- XYDataSeries has two sets of data values - Values (the Y-values) and XValues.
Render Mode Limitations
There are some limitations when using the fast render mode.
- Labels, templates, and the PlotElementLoaded event are not supported.
- It’s implemented only for Line and XYPlot charts(and their combination). These chart types are commonly used in case of large data.