menu

WPF

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

    Show / Hide Table of Contents

    Class ChartPoint

    Represents Chart point class. The chart point that WPF chart system uses to build series.

    Inheritance
    System.Object
    ChartPoint
    Implements
    IChartDataPoint
    System.ICloneable
    System.IDisposable
    System.ComponentModel.INotifyPropertyChanged
    Namespace: Syncfusion.Windows.Chart
    Assembly: Syncfusion.Chart.Wpf.dll
    Syntax
    public class ChartPoint : DependencyObject, IChartDataPoint, ICloneable, IDisposable, INotifyPropertyChanged

    Constructors

    ChartPoint()

    Initializes a new instance of the ChartPoint class.

    Declaration
    public ChartPoint()

    ChartPoint(Double, Double)

    Initializes a new instance of the ChartPoint class.

    Declaration
    public ChartPoint(double x, double y)
    Parameters
    Type Name Description
    System.Double x

    The x value.

    System.Double y

    The y value.

    ChartPoint(Double, Double, Double[])

    Called when instance created for ChartPoint

    Declaration
    public ChartPoint(double x, double y, double[] values)
    Parameters
    Type Name Description
    System.Double x
    System.Double y
    System.Double[] values

    ChartPoint(Double, Double, Object)

    Initializes a new instance of the ChartPoint class.

    Declaration
    public ChartPoint(double x, double y, object source)
    Parameters
    Type Name Description
    System.Double x

    The x value.

    System.Double y

    The y value.

    System.Object source

    The source.

    ChartPoint(Double, Double[])

    Initializes a new instance of the ChartPoint class.

    Declaration
    public ChartPoint(double x, double[] values)
    Parameters
    Type Name Description
    System.Double x

    The X value.

    System.Double[] values

    Array of values that correspond to X.

    ChartPoint(Double, Double[], Object)

    Initializes a new instance of the ChartPoint class.

    Declaration
    public ChartPoint(double x, double[] values, object source)
    Parameters
    Type Name Description
    System.Double x

    The x value.

    System.Double[] values

    The values.

    System.Object source

    The source.

    Fields

    VisibleProperty

    Identifies the Visible dependency property.

    Declaration
    public static readonly DependencyProperty VisibleProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    Properties

    EmptyPoint

    Gets or sets a value indicating whether empty point.

    Declaration
    public bool EmptyPoint { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if empty point otherwise, false.

    IsEmpty

    Gets a value indicating whether this point is empty.

    Declaration
    public bool IsEmpty { get; }
    Property Value
    Type Description
    System.Boolean

    true if this point is empty; otherwise, false.

    Item

    Gets the item.

    Declaration
    public object Item { get; set; }
    Property Value
    Type Description
    System.Object

    The item value.

    Label

    Gets or sets the Label

    Declaration
    public string Label { get; set; }
    Property Value
    Type
    System.String

    ParentSegment

    Gets or sets parent segment for point.

    Declaration
    public ChartSegment ParentSegment { get; set; }
    Property Value
    Type
    ChartSegment

    StringItem

    Gets or sets the item that points represents string values.

    Declaration
    public object StringItem { get; set; }
    Property Value
    Type
    System.Object

    Tag

    Gets object initially wrapped by this instance.

    Declaration
    public object Tag { get; set; }
    Property Value
    Type
    System.Object

    Values

    Gets or sets the values array that correspond to X.

    Declaration
    public double[] Values { get; set; }
    Property Value
    Type Description
    System.Double[]

    The values.

    Visible

    Gets or sets visibility of point. Affects Pie, Doughnut, Pyramid and Funel chart types only. This is dependency property.

    Declaration
    public bool Visible { get; set; }
    Property Value
    Type
    System.Boolean

    X

    Gets or sets the X.

    Declaration
    public double X { get; set; }
    Property Value
    Type Description
    System.Double

    The X value.

    Y

    Gets or sets the Y.

    Declaration
    public double Y { get; set; }
    Property Value
    Type Description
    System.Double

    The Y value.

    Methods

    Clone()

    Creates a new object that is a copy of the current instance.

    Declaration
    public object Clone()
    Returns
    Type Description
    System.Object

    A new object that is a copy of this instance.

    Dispose()

    Clean up any resources being used.

    Declaration
    public void Dispose()

    DisposePoint()

    Remove All elements from the ChartPoint

    Declaration
    public void DisposePoint()

    Events

    PropertyChanged

    Occurs when a property value changes.

    Declaration
    public event PropertyChangedEventHandler PropertyChanged
    Event Type
    Type
    System.ComponentModel.PropertyChangedEventHandler

    Implements

    IChartDataPoint
    System.ICloneable
    System.IDisposable
    System.ComponentModel.INotifyPropertyChanged

    See Also

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