Gets or sets the numerical data, which is used for calculating the X - coordinates of line points. Namespace: MindFusion.Charting Syntax
Property ValueAn instance of type .NET IList that holds other lists with numbers. RemarksThe property holds the data used for calculating the X-coordinates of chart points. The data can be numbers or DateTime values. There is no restriction as to the format of the data as long as it can safely be converted to numbers or DateTime values using the standard .NET DoubleConverter and DateTimeConverter classes. If the XData list is empty, the control fills it with consequent integers starting from 0, 1, 2... up till the count of data in the respective YData series. In this case, the data is equally distributed along the X-axis. There is no limit to the count of series XData can hold. You can also set a function that calculates the result (y) values in a given numerical interval by means of the CalculateFunctionDelegate. XData can be sorted in two ways - both the arrays can be sorted in comparison with each other and the numbers in each series can also be sorted. The properties for this are SortSeriesBy and SortOrder. Default value for the XData property is an empty list. See Also |