Class ChartDataLabel
ChartDataLabel is used to customize the appearance of the data label.
Inheritance
System.Object
ChartDataLabel
Implements
System.ComponentModel.INotifyPropertyChanged
Namespace: Syncfusion.Maui.Toolkit.Charts
Assembly: Syncfusion.Maui.Toolkit.dll
Syntax
public class ChartDataLabel : Object, INotifyPropertyChanged
Constructors
ChartDataLabel()
Initializes a new instance of the ChartDataLabel class.
Declaration
public ChartDataLabel()
Properties
Background
Returns the background color of the data label.
Declaration
public Brush Background { get; }
Property Value
Type |
---|
Microsoft.Maui.Controls.Brush |
Index
Returns the index of the data label.
Declaration
public int Index { get; }
Property Value
Type |
---|
System.Int32 |
Item
Gets the underlying item of the data label.
Declaration
public object Item { get; }
Property Value
Type |
---|
System.Object |
Label
Gets or sets the data label content.
Declaration
public string Label { get; set; }
Property Value
Type |
---|
System.String |
XPosition
Returns the x-position of data label placement.
Declaration
public double XPosition { get; }
Property Value
Type |
---|
System.Double |
YPosition
Returns the y-position of data label placement.
Declaration
public double YPosition { get; }
Property Value
Type |
---|
System.Double |
Implements
System.ComponentModel.INotifyPropertyChanged