'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
Name | Description | |
---|---|---|
![]() | DataPoint Constructor | Overloaded. |
Name | Description | |
---|---|---|
![]() ![]() | TextProperty | |
![]() ![]() | XProperty | |
![]() ![]() | YProperty |
Name | Description | |
---|---|---|
![]() | BindingContext | (Inherited from Microsoft.Maui.Controls.BindableObject) |
![]() | Dispatcher | (Inherited from Microsoft.Maui.Controls.BindableObject) |
![]() | Text | Gets or sets the text associated with the DataPoint. |
![]() | X | Gets or sets the X coordinate that will allow the DataPoint to be displayed on the Chart's horizontal Axis. |
![]() | Y | Gets or sets the Y coordinate that will allow the DataPoint to be displayed on the Chart's vertical Axis. |
Name | Description | |
---|---|---|
![]() | ClearValue | Overloaded. (Inherited from Microsoft.Maui.Controls.BindableObject) |
![]() | CoerceValue | Overloaded. (Inherited from Microsoft.Maui.Controls.BindableObject) |
![]() | GetValue | (Inherited from Microsoft.Maui.Controls.BindableObject) |
![]() | IsSet | (Inherited from Microsoft.Maui.Controls.BindableObject) |
![]() | RemoveBinding | (Inherited from Microsoft.Maui.Controls.BindableObject) |
![]() | SetBinding | (Inherited from Microsoft.Maui.Controls.BindableObject) |
![]() | SetValue | Overloaded. (Inherited from Microsoft.Maui.Controls.BindableObject) |
Name | Description | |
---|---|---|
![]() | ApplyBindings | (Inherited from Microsoft.Maui.Controls.BindableObject) |
![]() | OnBindingContextChanged | (Inherited from Microsoft.Maui.Controls.BindableObject) |
![]() | OnPropertyChanged | (Inherited from Microsoft.Maui.Controls.BindableObject) |
![]() | OnPropertyChanging | (Inherited from Microsoft.Maui.Controls.BindableObject) |
![]() | OnXChanged | |
![]() | OnYChanged | |
![]() | UnapplyBindings | (Inherited from Microsoft.Maui.Controls.BindableObject) |
Name | Description | |
---|---|---|
![]() | BindingContextChanged | (Inherited from Microsoft.Maui.Controls.BindableObject) |
![]() | PropertyChanged | (Inherited from Microsoft.Maui.Controls.BindableObject) |
![]() | PropertyChanging | (Inherited from Microsoft.Maui.Controls.BindableObject) |
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