alexa
Syncfusion
menu Syncfusion

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class ChartPlotBand

    Serves as a base class for NumericalPlotBand, DateTimePlotBand. This class provides options to customize the appearance of plot bands.

    Inheritance
    object
    ChartPlotBand
    DateTimePlotBand
    NumericalPlotBand
    Namespace: Syncfusion.Maui.Charts
    Assembly: Syncfusion.Maui.Charts.dll
    Syntax
    public abstract class ChartPlotBand : Element
    Remarks

    IsVisible - To customize the visibility of plot band, refer to this IsVisible property.

    AssociatedAxisStart - To customize the segment start of the plot band, refer to this AssociatedAxisStart property.

    AssociatedAxisEnd - To customize the segment end of the plot band, refer to this AssociatedAxisEnd property.

    AssociatedAxisName - To set the axis name for the plot band, refer to this AssociatedAxisName property.

    Fill - To customize the background color of the plot band, refer to this Fill property.

    Stroke - To customize the stroke color, refer to this Stroke property.

    StrokeWidth - To customize the stroke width, refer to this StrokeWidth property.

    Text - To set the label for the plot band, refer to this Text property.

    Size - To customize the width of the plot band, refer to this Size property.

    IsRepeatable - To customize the repetition of the plot band, refer to this IsRepeatable property.

    LabelStyle - To customize the label for the plot band, refer to this LabelStyle property.

    Constructors

    ChartPlotBand()

    Declaration
    public ChartPlotBand()

    Fields

    AssociatedAxisEndProperty

    Identifies the AssociatedAxisEnd bindable property.

    Declaration
    public static readonly BindableProperty AssociatedAxisEndProperty
    Field Value
    Type
    BindableProperty

    AssociatedAxisNameProperty

    Identifies the AssociatedAxisName bindable property.

    Declaration
    public static readonly BindableProperty AssociatedAxisNameProperty
    Field Value
    Type
    BindableProperty

    AssociatedAxisStartProperty

    Identifies the AssociatedAxisStart bindable property.

    Declaration
    public static readonly BindableProperty AssociatedAxisStartProperty
    Field Value
    Type
    BindableProperty

    FillProperty

    Identifies the Fill bindable property.

    Declaration
    public static readonly BindableProperty FillProperty
    Field Value
    Type
    BindableProperty

    IsRepeatableProperty

    Identifies the IsRepeatable bindable property.

    Declaration
    public static readonly BindableProperty IsRepeatableProperty
    Field Value
    Type
    BindableProperty

    IsVisibleProperty

    Identifies the IsVisible bindable property.

    Declaration
    public static readonly BindableProperty IsVisibleProperty
    Field Value
    Type
    BindableProperty

    LabelStyleProperty

    Identifies the LabelStyle bindable property.

    Declaration
    public static readonly BindableProperty LabelStyleProperty
    Field Value
    Type
    BindableProperty

    RepeatEveryProperty

    Identifies the RepeatEvery bindable property.

    Declaration
    public static readonly BindableProperty RepeatEveryProperty
    Field Value
    Type
    BindableProperty

    SizeProperty

    Identifies the Size bindable property.

    Declaration
    public static readonly BindableProperty SizeProperty
    Field Value
    Type
    BindableProperty

    StrokeDashArrayProperty

    Identifies the StrokeDashArray bindable property.

    Declaration
    public static readonly BindableProperty StrokeDashArrayProperty
    Field Value
    Type
    BindableProperty

    StrokeProperty

    Identifies the Stroke bindable property.

    Declaration
    public static readonly BindableProperty StrokeProperty
    Field Value
    Type
    BindableProperty

    StrokeWidthProperty

    Identifies the StrokeWidth bindable property.

    Declaration
    public static readonly BindableProperty StrokeWidthProperty
    Field Value
    Type
    BindableProperty

    TextProperty

    Identifies the Text bindable property.

    Declaration
    public static readonly BindableProperty TextProperty
    Field Value
    Type
    BindableProperty

    Properties

    AssociatedAxisEnd

    Gets or sets the end value for the plot band segmentation. It can be a double, date, time or logarithmic value.

    Declaration
    public object AssociatedAxisEnd { get; set; }
    Property Value
    Type Description
    object

    This property takes object value.

    AssociatedAxisName

    Gets or sets the name of the segment axis for the plot band.

    Declaration
    public string AssociatedAxisName { get; set; }
    Property Value
    Type Description
    string

    This property takes string value.

    AssociatedAxisStart

    Gets or sets the start value for the plot band segmentation. It can be a double, date ,time or logarithmic value.

    Declaration
    public object AssociatedAxisStart { get; set; }
    Property Value
    Type Description
    object

    This property takes object value.

    Fill

    Gets or sets the color of the plot band.

    Declaration
    public Brush Fill { get; set; }
    Property Value
    Type Description
    Brush

    This property takes Microsoft.Maui.Controls.Brush value.

    IsRepeatable

    Gets or sets the bool value to indicate the plot band recurrence.

    Declaration
    public bool IsRepeatable { get; set; }
    Property Value
    Type Description
    bool

    This property takes the bool value. Its default value is false.

    IsVisible

    Gets or sets a value indicating whether the plot band is visible on the axis.

    Declaration
    public bool IsVisible { get; set; }
    Property Value
    Type Description
    bool

    It accepts bool values.

    LabelStyle

    Gets or sets the customized style for the plot band labels.

    Declaration
    public ChartPlotBandLabelStyle LabelStyle { get; set; }
    Property Value
    Type Description
    ChartPlotBandLabelStyle

    This property takes the ChartPlotBandLabelStyle as its value.

    RepeatEvery

    Gets or sets the frequency of the plot band.

    Declaration
    public double RepeatEvery { get; set; }
    Property Value
    Type Description
    double

    This property takes the double value. Its default value is double.NaN.

    Size

    Gets or sets the size of the plot band.

    Declaration
    public double Size { get; set; }
    Property Value
    Type Description
    double

    This property takes the double value. Its default value is double.NaN.

    Stroke

    Gets or sets a value to customize the outer stroke appearance of the plot band.

    Declaration
    public Brush Stroke { get; set; }
    Property Value
    Type Description
    Brush

    It accepts Microsoft.Maui.Controls.Brush values.

    StrokeDashArray

    Gets or sets the stroke dash array to customize the appearance of the stroke.

    Declaration
    public DoubleCollection StrokeDashArray { get; set; }
    Property Value
    Type Description
    DoubleCollection

    It accepts the Microsoft.Maui.Controls.DoubleCollection value and the default value is null.

    StrokeWidth

    Gets or sets a value that indicates the stroke thickness of the plot band.

    Declaration
    public double StrokeWidth { get; set; }
    Property Value
    Type Description
    double

    It accepts double values and the default value is 1.

    Text

    Gets or sets the text to be displayed on the plot band.

    Declaration
    public string Text { get; set; }
    Property Value
    Type Description
    string

    This property takes the string value.

    Methods

    OnBindingContextChanged()

    Declaration
    protected override void OnBindingContextChanged()

    OnParentSet()

    Declaration
    protected override void OnParentSet()
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved