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

Represents a styleable annotation drawn within a Cartesian chart.

Definition

Namespace:Telerik.Maui.Controls.Charts

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public abstract class ChartAnnotation : StyleableElement

Inheritance: objectChartAnnotation

Derived Classes: ChartAxisAnnotation

Constructors

Initializes a new instance of the ChartAnnotation class.

C#
protected ChartAnnotation()

Fields

IsVisibleProperty

BindableProperty

Identifies the IsVisible bindable property.

C#
public static readonly BindableProperty IsVisibleProperty

LayerProperty

BindableProperty

Identifies the Layer bindable property.

C#
public static readonly BindableProperty LayerProperty

OpacityProperty

BindableProperty

Identifies the Opacity bindable property.

C#
public static readonly BindableProperty OpacityProperty

StyleProperty

BindableProperty

Identifies the Style bindable property.

C#
public static readonly BindableProperty StyleProperty

ZIndexProperty

BindableProperty

Identifies the ZIndex bindable property.

C#
public static readonly BindableProperty ZIndexProperty

Properties

Gets or sets whether the annotation is drawn. The default is true.

C#
public bool IsVisible { get; set; }

Gets or sets the rendering layer. Bands default to below series; lines default to above series.

C#
public ChartAnnotationLayer Layer { get; set; }

Gets or sets the opacity, from 0 to 1, multiplied by the brush alpha. The default is 1.

C#
public double Opacity { get; set; }

Style

Style

Gets or sets the style merged with the annotation's implicit and theme styles.

C#
public Style? Style { get; set; }

Gets or sets the drawing order within the layer. Equal values retain collection order.

C#
public int ZIndex { get; set; }