Class NumericalPlotBand
The NumericalPlotBand class can be used to render plot band using numerical, category, and logarithmic values.
Inherited Members
Namespace: Syncfusion.Maui.Toolkit.Charts
Assembly: Syncfusion.Maui.Toolkit.dll
Syntax
public class NumericalPlotBand : ChartPlotBand
Remarks
Examples
<chart:SfCartesianChart>
<chart:SfCartesianChart.XAxes>
<chart:CategoryAxis>
<chart:CategoryAxis.PlotBands>
<chart:NumericalPlotBandCollection>
<chart:NumericalPlotBand Start="1" End="2"/>
</chart:NumericalPlotBandCollection>
</chart:CategoryAxis.PlotBands>
</chart:CategoryAxis>
</chart:SfCartesianChart.XAxes>
</chart:SfCartesianChart>
Constructors
NumericalPlotBand()
Declaration
public NumericalPlotBand()
Fields
EndProperty
Identifies the End bindable property.
Declaration
public static readonly BindableProperty EndProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
Remarks
The identifier for the End bindable property determines the end value of the plot band.
RepeatUntilProperty
Identifies the RepeatUntil bindable property.
Declaration
public static readonly BindableProperty RepeatUntilProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
Remarks
The identifier for the RepeatUntil bindable property determines the value until which the plot band repeats.
StartProperty
Identifies the Start bindable property.
Declaration
public static readonly BindableProperty StartProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
Remarks
The identifier for the Start bindable property determines the start value of the plot band.
Properties
End
Gets or sets the axis value representing where the plot bands should end on the axis.
Declaration
public double End { get; set; }
Property Value
Type | Description |
---|---|
System.Double | This property takes the System.Double value. Its default value is double.NaN. |
RepeatUntil
Gets or sets the axis value that determines how long the plot band will be repeated along the axis.
Declaration
public double RepeatUntil { get; set; }
Property Value
Type | Description |
---|---|
System.Double | This property takes the System.Double value and the default value is double.NaN. |
Examples
<chart:SfCartesianChart>
<chart:SfCartesianChart.XAxes>
<chart:CategoryAxis>
<chart:CategoryAxis.PlotBands>
<chart:NumericalPlotBandCollection>
<chart:NumericalPlotBand Start="1" End="1" RepeatUntil="4" RepeatEvery="2"/>
</chart:NumericalPlotBandCollection>
</chart:CategoryAxis.PlotBands>
</chart:CategoryAxis>
</chart:SfCartesianChart.XAxes>
<!-- ... Eliminated for simplicity-->
</chart:SfCartesianChart>
Start
Gets or sets the axis value representing where the plot bands should start on the axis.
Declaration
public double Start { get; set; }
Property Value
Type | Description |
---|---|
System.Double | This property takes the System.Double value and the default value is double.NaN. |
Examples
<chart:SfCartesianChart>
<chart:SfCartesianChart.XAxes>
<chart:CategoryAxis>
<chart:CategoryAxis.PlotBands>
<chart:NumericalPlotBandCollection>
<chart:NumericalPlotBand Start="1" End="2"/>
</chart:NumericalPlotBandCollection>
</chart:CategoryAxis.PlotBands>
</chart:CategoryAxis>
</chart:SfCartesianChart.XAxes>
<!-- ... Eliminated for simplicity-->
</chart:SfCartesianChart>