Class RangeSeriesBase
Serves as a base class for all types of range series.
Inheritance
Inherited Members
Namespace: Syncfusion.Maui.Toolkit.Charts
Assembly: Syncfusion.Maui.Toolkit.dll
Syntax
public abstract class RangeSeriesBase : CartesianSeries, IDatapointSelectionDependent, ITooltipDependent, IDataTemplateDependent
Constructors
RangeSeriesBase()
Initializes a new instance of the RangeSeriesBase.
Declaration
public RangeSeriesBase()
Fields
HighProperty
Identifies the High bindable property.
Declaration
public static readonly BindableProperty HighProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
Remarks
The High property indicates the upper boundary of the range series.
LowProperty
Identifies the Low bindable property.
Declaration
public static readonly BindableProperty LowProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
Remarks
The Low property indicates the lower boundary of the range series.
StrokeDashArrayProperty
Identifies the StrokeDashArray bindable property.
Declaration
public static readonly BindableProperty StrokeDashArrayProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
Remarks
The StrokeDashArray property helps to customize the stroke dash patterns of the range series.
StrokeProperty
Identifies the Stroke bindable property.
Declaration
public static readonly BindableProperty StrokeProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
Remarks
The Stroke property helps to customize the stroke appearance of the range series.
StrokeWidthProperty
Identifies the StrokeWidth bindable property.
Declaration
public static readonly BindableProperty StrokeWidthProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
Remarks
The StrokeWidth property determines the thickness of the stroke in the series.
Properties
High
Gets or sets a path value on the source object to serve a high value to the series.
Declaration
public string High { get; set; }
Property Value
Type | Description |
---|---|
System.String | The |
Examples
<chart:SfCartesianChart>
<!-- ... Eliminated for simplicity-->
<chart:RangeColumnSeries ItemsSource = "{Binding Data}"
XBindingPath = "XValue"
High = "HighValue"
Low = "LowValue"/>
</chart:SfCartesianChart>
Low
Gets or sets a path value on the source object to serve a low value to the series.
Declaration
public string Low { get; set; }
Property Value
Type | Description |
---|---|
System.String | The |
Examples
<chart:SfCartesianChart>
<!-- ... Eliminated for simplicity-->
<chart:RangeColumnSeries ItemsSource = "{Binding Data}"
XBindingPath = "XValue"
High = "HighValue"
Low = "LowValue"/>
</chart:SfCartesianChart>
Stroke
Gets or sets a value to customize the border appearance of the range series.
Declaration
public Brush Stroke { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Controls.Brush | It accepts Microsoft.Maui.Controls.Brush values, and its default value is |
Examples
<chart:SfCartesianChart>
<!-- ... Eliminated for simplicity-->
<chart:RangeColumnSeries ItemsSource = "{Binding Data}"
XBindingPath = "XValue"
High = "HighValue"
Low = "LowValue"
StrokeWidth = "3"
Stroke = "Red" />
</chart:SfCartesianChart>
StrokeDashArray
Gets or sets the stroke dash array to customize the appearance of the series border.
Declaration
public DoubleCollection StrokeDashArray { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Controls.DoubleCollection | It accepts the Microsoft.Maui.Controls.DoubleCollection value, and the default value is null. |
Examples
<chart:SfCartesianChart>
<!-- ... Eliminated for simplicity-->
<chart:RangeColumnSeries ItemsSource = "{Binding Data}"
XBindingPath= "XValue"
High = "HighValue"
Low = "LowValue"
StrokeDashArray = "5,3"
Stroke = "Red" />
</chart:SfCartesianChart>
StrokeWidth
Gets or sets a value to specify the border width of the range series.
Declaration
public double StrokeWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Double | It accepts System.Double values, and its default value is 0. |
Remarks
The value needs to be greater than zero.