Class RangeSeriesBase
Serves as a base class for all types of range series.
Inheritance
Inherited Members
Namespace: Syncfusion.Maui.Charts
Assembly: Syncfusion.Maui.Charts.dll
Syntax
public abstract class RangeSeriesBase : CartesianSeries, IDatapointSelectionDependent, ITooltipDependent, IDataTemplateDependent, IDrawCustomLegendIcon
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 |
LowProperty
Identifies the Low bindable property.
Declaration
public static readonly BindableProperty LowProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
StrokeDashArrayProperty
Identifies the StrokeDashArray bindable property.
Declaration
public static readonly BindableProperty StrokeDashArrayProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
StrokeProperty
Identifies the Stroke bindable property.
Declaration
public static readonly BindableProperty StrokeProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
StrokeWidthProperty
Identifies the StrokeWidth bindable property.
Declaration
public static readonly BindableProperty StrokeWidthProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
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 string representing the property name for the higher plotting data and its default value is empty. |
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 string representing the property name for the lower plotting data and its default value is empty. |
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 column 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 Transparent. |
Examples
<chart:SfCartesianChart>
<!-- ... Eliminated for simplicity-->
<chart:RangeColumnSeries ItemsSource="{Binding Data}"
XBindingPath="XValue"
High ="HighValue"
Low ="LowValue"
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 column series.
Declaration
public double StrokeWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Double | It accepts double values, and its default value is 0. |
Remarks
The value needs to be greater than zero.