ChartLabelAppearance
Defines the font and color appearance applied to text labels rendered by a ChartAxis (through LabelStyle) or a ChartSeries (through LabelStyle). Using a dedicated type (rather than individual properties) allows future additions (TextDecorations, LineHeight, etc.) without API churn.
Definition
Namespace:Telerik.Maui.Controls.Charts
Assembly:Telerik.Maui.Controls.dll
Syntax:
public sealed class ChartLabelAppearance : StyleableElement
Inheritance: objectChartLabelAppearance
Constructors
public ChartLabelAppearance()
Fields
FontAttributesProperty
BindableProperty
Identifies the FontAttributes bindable property.
public static readonly BindableProperty FontAttributesProperty
FontFamilyProperty
BindableProperty
Identifies the FontFamily bindable property.
public static readonly BindableProperty FontFamilyProperty
FontSizeProperty
BindableProperty
Identifies the FontSize bindable property.
public static readonly BindableProperty FontSizeProperty
TextColorProperty
BindableProperty
Identifies the TextColor bindable property.
public static readonly BindableProperty TextColorProperty
Properties
FontAttributes
FontAttributes
Gets or sets the bold and/or italic styling applied to the label text. The default value is .
public FontAttributes FontAttributes { get; set; }
Gets or sets the font family used to render the label text. The default value is the Telerik theme's default font, given by Name.
public string FontFamily { get; set; }
Gets or sets the size, in points, of the label text. The value must be greater than 0;
the default is 12.0.
public double FontSize { get; set; }