ChartAxisAnnotation
Represents an annotation positioned against an explicitly associated chart axis.
Changes to shared brushes and dash collections are observed through weak event subscriptions.
Definition
Namespace:Telerik.Maui.Controls.Charts
Assembly:Telerik.Maui.Controls.dll
Syntax:
public abstract class ChartAxisAnnotation : ChartAnnotation
Inheritance: objectChartAnnotationChartAxisAnnotation
Derived Classes:
Inherited Members
Constructors
protected ChartAxisAnnotation()
Fields
AxisProperty
BindableProperty
Identifies the Axis bindable property.
public static readonly BindableProperty AxisProperty
StrokeDashArrayProperty
BindableProperty
Identifies the StrokeDashArray bindable property.
public static readonly BindableProperty StrokeDashArrayProperty
StrokeProperty
BindableProperty
Identifies the Stroke bindable property.
public static readonly BindableProperty StrokeProperty
StrokeThicknessProperty
BindableProperty
Identifies the StrokeThickness bindable property.
public static readonly BindableProperty StrokeThicknessProperty
Properties
Gets or sets the axis, which must belong to the owning chart.
public ChartAxis? Axis { get; set; }
Stroke
Brush
Gets or sets the stroke brush. Solid brushes are supported; the default appearance comes from the theme.
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.
public DoubleCollection? StrokeDashArray { get; set; }
Gets or sets the nonnegative stroke thickness in device-independent units. The default is 1; 0 hides the outline.
public double StrokeThickness { get; set; }