Class ChartListData
Represents Chart List data class. The ChartListData observable collection is used to add data points to chart series
Inheritance
System.Object
ChartListData
Namespace: Syncfusion.Windows.Chart
Assembly: Syncfusion.Chart.Wpf.dll
Syntax
public class ChartListData : ObservableCollection<IChartDataPoint>, IChartData, INotifyCollectionChanged, IDisposable
Constructors
ChartListData()
Declaration
public ChartListData()
Properties
ChartXValueType
Gets or Sets the type of the Chart X value
Declaration
public ChartValueType ChartXValueType { get; set; }
Property Value
Type |
---|
ChartValueType |
XValueType
Gets the type of the X value.
Declaration
public ChartValueType XValueType { get; }
Property Value
Type | Description |
---|---|
ChartValueType | The type of the X value. |
Methods
AddPoint(DateTime, Double)
Adds the point.
Declaration
public void AddPoint(DateTime xDate, double y)
Parameters
Type | Name | Description |
---|---|---|
System.DateTime | xDate | The x date. |
System.Double | y | The y value. |
See Also
AddPoint(DateTime, Double[])
Adds the point.
Declaration
public void AddPoint(DateTime xDate, params double[] yValues)
Parameters
Type | Name | Description |
---|---|---|
System.DateTime | xDate | The x date. |
System.Double[] | yValues | The y values. |
See Also
AddPoint(Double, Double)
Adds the point.
Declaration
public void AddPoint(double x, double y)
Parameters
Type | Name | Description |
---|---|---|
System.Double | x | The x value. |
System.Double | y | The y value. |
See Also
AddPoint(Double, Double[])
Adds the point.
Declaration
public void AddPoint(double x, params double[] yValues)
Parameters
Type | Name | Description |
---|---|---|
System.Double | x | The x value. |
System.Double[] | yValues | The y values. |
See Also
Dispose()
Clean up any resources being used.
Declaration
public void Dispose()
Implements
System.Collections.Specialized.INotifyCollectionChanged
System.IDisposable