menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartDataPoint - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ChartDataPoint

    Represents the chart dataPoint. This class is used to set dataPoint for the series items source.

    Inheritance
    System.Object
    ChartDataPoint
    Implements
    System.ComponentModel.INotifyPropertyChanged
    Namespace: Syncfusion.SfChart.XForms
    Assembly: Syncfusion.SfChart.XForms.dll
    Syntax
    public class ChartDataPoint : Object, INotifyPropertyChanged

    Constructors

    ChartDataPoint(IComparable, Double)

    Sets the individual dataPoint for the chart items source, which can be used to render the chart series.

    Declaration
    public ChartDataPoint(IComparable xValue, double yValue)
    Parameters
    Type Name Description
    System.IComparable xValue

    Any System.IComparable object.

    System.Double yValue

    The double value.

    ChartDataPoint(IComparable, Double, Double)

    Sets the individual dataPoint for the items source of the Bubble chart and RangeColumn chart.

    Declaration
    public ChartDataPoint(IComparable xValue, double value1, double value2)
    Parameters
    Type Name Description
    System.IComparable xValue

    Any System.IComparable object.

    System.Double value1

    The double value which is assigned as High for RangeColumnSeries and as YValue for BubbleSeries

    System.Double value2

    The double value which is assigned as Low for RangeColumnSeries and as Size for BubbleSeries

    ChartDataPoint(IComparable, Double, Double, Double, Double)

    Sets the individual dataPoint for the items source of the financial chart.

    Declaration
    public ChartDataPoint(IComparable xValue, double open, double high, double low, double close)
    Parameters
    Type Name Description
    System.IComparable xValue

    Any System.IComparable object.

    System.Double open

    The double value - Open.

    System.Double high

    The double value - High.

    System.Double low

    The double value - Low.

    System.Double close

    The double value - Close.

    ChartDataPoint(IComparable, Double, Double, Double, Double, Double)

    Instantiates a new Chart data point with volume for technical indicators.

    Declaration
    public ChartDataPoint(IComparable xValue, double open, double high, double low, double close, double volume)
    Parameters
    Type Name Description
    System.IComparable xValue

    Any System.IComparable object.

    System.Double open

    The double value - Open.

    System.Double high

    The double value - High.

    System.Double low

    The double value - Low.

    System.Double close

    The double value - Close.

    System.Double volume

    The double value - Volume.

    Properties

    Close

    Gets or sets the close value of the data point for CandleSeries and HiLoOpenCloseSeries to render it.

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

    High

    Gets or sets the high value of the data point for CandleSeries and HiLoOpenCloseSeries to render it.

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

    Low

    Gets or sets the low value of the data point for CandleSeries and HiLoOpenCloseSeries to render it.

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

    Open

    Gets or sets the open value of the data point for CandleSeries and HiLoOpenCloseSeries to render it.

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

    Size

    Gets or sets the size value of the data point for bubble series. Size is used to specify the size of each bubble segment.

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

    Volume

    Gets or sets the volume value of financial data that can be used to render technical indicators along with financial series.

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

    XValue

    Gets or sets the x-axis value of the data point. The x-axis value can be used to render chart series.

    Declaration
    public IComparable XValue { get; set; }
    Property Value
    Type
    System.IComparable

    YValue

    Gets or sets the y-axis value of the data point. The y-axis value can be used to render chart series.

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

    Events

    PropertyChanged

    Called when any property changed in ChartDataPoint class.

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

    Implements

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