Class NumericalPlotBand
The NumericalPlotBand class can be used to render plot band using numerical,category, and logarithmic values.
Inherited Members
Namespace: Syncfusion.Maui.Charts
Assembly: Syncfusion.Maui.Charts.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 |
RepeatUntilProperty
Identifies the RepeatUntil bindable property.
Declaration
public static readonly BindableProperty RepeatUntilProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
StartProperty
Identifies the Start bindable property.
Declaration
public static readonly BindableProperty StartProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
Properties
End
Gets or sets the end of the plot band, which is considered as axis range based on the End
property
Declaration
public double End { get; set; }
Property Value
Type | Description |
---|---|
System.Double | This property takes the System.Double value. Its default value is Nan. |
RepeatUntil
Gets or sets the axis value, determining where the plot bands must be repeated on the axis.
Declaration
public double RepeatUntil { get; set; }
Property Value
Type | Description |
---|---|
System.Double | This property takes the System.Double value. |
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. |
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>