'Declaration
Public Class DataPoint Inherits Microsoft.Maui.Controls.BindableObject
'Usage
Dim instance As DataPoint
public class DataPoint : Microsoft.Maui.Controls.BindableObject
'Declaration
Public Class DataPoint Inherits Microsoft.Maui.Controls.BindableObject
'Usage
Dim instance As DataPoint
public class DataPoint : Microsoft.Maui.Controls.BindableObject
To be visible, a DataPoint must have a value in both its X & Y properties; otherwise, it needs to have a value in its Text property, along with a value in either its X or Y property.
Note that using the X property will put the value on the Chart's horizontal Axis, while using the Y property will put it on the vertical Axis.
<xctk:Chart.Series> <xctk:Series> <xctk:Series.DataPoints> <xctk:DataPoint X="0" Y="44"/> <xctk:DataPoint X="1" Y="64"/> <xctk:DataPoint X="2" Y="60"/> <xctk:DataPoint X="3" Y="32"/> <xctk:DataPoint X="4" Y="52"/> <xctk:DataPoint X="5" Y="72"/> <xctk:DataPoint X="6" Y="32"/> </xctk:Series.DataPoints> </xctk:Series> </xctk:Chart.Series>
System.Object
Microsoft.Maui.Controls.BindableObject
Xceed.Maui.Toolkit.DataPoint
Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2