New to Telerik UI for .NET MAUIStart a free 30-day trial

Represents the label definition for a chart annotation, including formatting and alignment options.

Definition

Namespace:Telerik.Maui.Controls.Compatibility.Chart

Assembly:Telerik.Maui.Controls.Compatibility.dll

Syntax:

C#
public class ChartAnnotationLabelDefinition : NotifyPropertyChangedBase, INotifyPropertyChanged

Inheritance: objectNotifyPropertyChangedBaseChartAnnotationLabelDefinition

Implements: INotifyPropertyChanged

Inherited Members NotifyPropertyChangedBase.OnPropertyChanged(string)NotifyPropertyChangedBase.UpdateValue<T>(ref T, T, string)NotifyPropertyChangedBase.UpdateValue<T>(ref T, T, Action<T>, string)NotifyPropertyChangedBase.PropertyChanged

Constructors

C#
public ChartAnnotationLabelDefinition()

Properties

Gets or sets a format string for the annotation text.

C#
public string Format { get; set; }
Property Value:

The format.

HorizontalAlignment

TextAlignment

Gets or sets the annotation horizontal alignment.

C#
public TextAlignment HorizontalAlignment { get; set; }
Property Value:

The horizontal alignment.

Gets or sets the annotation horizontal offset.

C#
public double HorizontalOffset { get; set; }
Property Value:

The horizontal offset.

VerticalAlignment

TextAlignment

Gets or sets the annotation vertical alignment.

C#
public TextAlignment VerticalAlignment { get; set; }
Property Value:

The vertical alignment.

Gets or sets the annotation vertical offset.

C#
public double VerticalOffset { get; set; }
Property Value:

The vertical offset.