menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartListData - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ChartListData

    Represents Chart List data class. The ChartListData observable collection is used to add data points to chart series

    Inheritance
    System.Object
    ChartListData
    Implements
    IChartData
    System.Collections.Specialized.INotifyCollectionChanged
    System.IDisposable
    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
    ChartListData

    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
    ChartListData

    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
    ChartListData

    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
    ChartListData

    Dispose()

    Clean up any resources being used.

    Declaration
    public void Dispose()

    Implements

    IChartData
    System.Collections.Specialized.INotifyCollectionChanged
    System.IDisposable

    See Also

    ChartListData
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved