MindFusion.Wpf Pack Programmer's Guide
Data

Data properties

Data for the chart is set with the data properties of the ChartSeries objects. For line and bar charts they are XData and YData. For pie charts it is Data. 3D surface charts use the ZData property to specify the data for the Z-axis. If you want to set the data with data binding use the *Path properties instead - DataPath, XDataPathYDataPath or ZDataPath.

Radar charts use the RadarSeries.Data property. If data binding is used the property is RadarSeries.DataPath. Polar charts use not only data but angles. The property for the angles are RadarSeries.Angles.

3D bar charts use the same data properties as their 2D counterparts - AxesSeries.XData and AxesSeries.YData, AxesSeries.XDataPath and AxesSeries.YDataPath. 3D pie charts use PieSeries.Data and PieSeries.DataPath. The location of the series along the Z-axis is done automatically by the control in those types of charts.

Your ChartSeries might be bound to the second X-axis or the second Y-axis or both. In this case use the X2Data or Y2Data properties to set the data as numbers. If you prefer data binding the properties are X2DataPath and Y2DataPath. The surface chart can have a second Z-axis and the data for it is set with Z2Data and Z2DataPath.

Data format

Data in each series is expected to be one-dimensional IList which holds double values or objects that can be converted to double with the standard .NET converters and parsers.

DateTime values

If you want to use DateTime values in your chart, check the DateTime Values section of this reference.