Chart Series Overview
The data visualization in RadChartView is done by a hierarchy of classes that inherit from the ChartSeries class. Each series has a collection of data points, that is the view model of the data. A series may have its data populated directly through the DataPoints property (unbound mode) or by data-binding to an arbitrary IEnumerable instance through the ItemsSource property. When a series is data-bound it will internally populate its DataPoints collection. A series may work either in bound or unbound mode, but not in both.
Concrete series types are available for specific charts. For example, there is a set of CartesianSeries applicable in the context of a RadCartesianChart. Here are all series available in the RadChartView suite:
CartesianChart | PolarChart | PieChart | FunnelChart |
---|---|---|---|
Line Series LineSeries SplineSeries StepLineSeries ScatterLineSeries ScatterSplineSeries |
Line Series PolarLineSeries RadarLineSeries |
Pie Series PieSeries |
Funnel Series FunnelSeries |
Area Series AreaSeries StepAreaSeries SplineAreaSeries ScatterAreaSeries ScatterSplineAreaSeries |
Area Series PolarAreaSeries RadarAreaSeries |
Doughnut Series DoughnutSeries |
|
Point Series PointSeries ScatterPointSeries |
Point Series PolarPointSeries RadarPointSeries |
||
Financial Series OhlcSeries CandlesticSeries |
|||
Bar Series BarSeries RangeBarSeries ScatterRangeBarSeries ErrorBarSeries |
|||
Bubble Series BubbleSeries ScatterBubbleSeries |
|||
Box Plot Series BoxPlotSeries |
Events
The chart's series expose the following events:
- DataBindingComplete: Occurs when a databinding operation has been successfully completed. The event will be fired only in a data binding scenario when the ItemsSource of the series is set. The execution of this event guarantee that the chart has generated the data points' models and they are mapped with the corresponding view models.