Draws a band between exact axis positions. On categorical axes the boundaries are category positions, not slot edges. Use ChartCategoricalPlotBandAnnotation to include complete category slots. Only the From and To boundaries are stroked; edges parallel to the axis are not drawn.
Definition
Namespace:Telerik.Maui.Controls.Charts
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class ChartPlotBandAnnotation : ChartAxisAnnotation
Inheritance: objectChartAnnotationChartAxisAnnotationChartPlotBandAnnotation
Derived Classes:
Inherited Members
Constructors
public ChartPlotBandAnnotation()
Fields
FillProperty
BindableProperty
Identifies the Fill bindable property.
public static readonly BindableProperty FillProperty
FromProperty
BindableProperty
Identifies the From bindable property.
public static readonly BindableProperty FromProperty
ToProperty
BindableProperty
Identifies the To bindable property.
public static readonly BindableProperty ToProperty
Properties
Fill
Brush
Gets or sets the fill brush. Solid brushes are supported; the default appearance comes from the theme.
public Brush? Fill { get; set; }
Gets or sets one band endpoint. Reversed endpoints are normalized by axis order.
public object? From { get; set; }
Gets or sets the other band endpoint. Equal positions produce a zero-area band, except when a ChartCategoricalPlotBandAnnotation includes complete category slots.
public object? To { get; set; }