Class SunburstDataLabelSettings
Represents to customize the appearance of sunburst data labels.
Inheritance
Namespace: Syncfusion.Maui.SunburstChart
Assembly: Syncfusion.Maui.SunburstChart.dll
Syntax
public class SunburstDataLabelSettings : BindableObject, ITextElement
Constructors
SunburstDataLabelSettings()
Declaration
public SunburstDataLabelSettings()
Fields
FontAttributesProperty
Identifies the FontAttributes bindable property.
Declaration
public static readonly BindableProperty FontAttributesProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
FontFamilyProperty
Identifies the FontFamily bindable property.
Declaration
public static readonly BindableProperty FontFamilyProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
FontSizeProperty
Identifies the FontSize bindable property.
Declaration
public static readonly BindableProperty FontSizeProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
OverFlowModeProperty
Identifies the OverFlowMode bindable property.
Declaration
public static readonly BindableProperty OverFlowModeProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
RotationModeProperty
Identifies the RotationMode bindable property.
Declaration
public static readonly BindableProperty RotationModeProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
TextColorProperty
Identifies the TextColor bindable property.
Declaration
public static readonly BindableProperty TextColorProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
Properties
FontAttributes
Gets or sets the font attributes for data labels.
Declaration
public FontAttributes FontAttributes { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Controls.FontAttributes | It accepts Microsoft.Maui.Controls.FontAttributes values and the default value is Microsoft.Maui.Controls.FontAttributes.None. |
FontFamily
Gets or sets the font family for data labels.
Declaration
public string FontFamily { get; set; }
Property Value
Type | Description |
---|---|
System.String | It accepts string values. |
FontSize
Gets or sets the font size for data labels.
Declaration
public double FontSize { get; set; }
Property Value
Type |
---|
System.Double |
OverFlowMode
Gets or sets the label overflow mode for the data label.
Declaration
public SunburstLabelOverflowMode OverFlowMode { get; set; }
Property Value
Type | Description |
---|---|
SunburstLabelOverflowMode | The default value is Trim. |
RotationMode
Gets or sets the label rotation mode for data labels.
Declaration
public SunburstLabelRotationMode RotationMode { get; set; }
Property Value
Type | Description |
---|---|
SunburstLabelRotationMode | The default value is Angle. |
TextColor
Gets or sets the color for the data labels.
Declaration
public Color TextColor { get; set; }
Property Value
Type |
---|
Microsoft.Maui.Graphics.Color |