New to Telerik UI for .NET MAUI? Start a free 30-day trial

Represents an annotation positioned against an explicitly associated chart axis.

Changes to shared brushes and dash collections are observed through weak event subscriptions.

Definition

Constructors

C#
protected ChartAxisAnnotation()

Fields

AxisProperty

BindableProperty

Identifies the Axis bindable property.

C#
public static readonly BindableProperty AxisProperty

StrokeDashArrayProperty

BindableProperty

Identifies the StrokeDashArray bindable property.

C#
public static readonly BindableProperty StrokeDashArrayProperty

StrokeProperty

BindableProperty

Identifies the Stroke bindable property.

C#
public static readonly BindableProperty StrokeProperty

StrokeThicknessProperty

BindableProperty

Identifies the StrokeThickness bindable property.

C#
public static readonly BindableProperty StrokeThicknessProperty

Properties

Gets or sets the axis, which must belong to the owning chart.

C#
public ChartAxis? Axis { get; set; }

Stroke

Brush

Gets or sets the stroke brush. Solid brushes are supported; the default appearance comes from the theme.

C#
public Brush? Stroke { get; set; }

StrokeDashArray

DoubleCollection

Gets or sets alternating positive dash and gap lengths in device-independent units. An empty collection draws a solid stroke. Odd-length patterns repeat to form an even-length pattern.

C#
public DoubleCollection? StrokeDashArray { get; set; }

Gets or sets the nonnegative stroke thickness in device-independent units. The default is 1; 0 hides the outline.

C#
public double StrokeThickness { get; set; }