menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class RangeSeriesBase - MAUI API Reference | Syncfusion

    Show / Hide Table of Contents

    Class RangeSeriesBase

    Serves as a base class for all types of range series.

    Inheritance
    System.Object
    ChartSeries
    CartesianSeries
    RangeSeriesBase
    RangeAreaSeries
    RangeColumnSeries
    SplineRangeAreaSeries
    Inherited Members
    CartesianSeries.ActualXAxis
    CartesianSeries.ActualYAxis
    CartesianSeries.DataLabelSettings
    CartesianSeries.DataLabelSettingsProperty
    CartesianSeries.GetDataPoints(Double, Double, Double, Double)
    CartesianSeries.GetDataPoints(Rect)
    CartesianSeries.Label
    CartesianSeries.LabelProperty
    CartesianSeries.OnBindingContextChanged()
    CartesianSeries.ShowTrackballLabel
    CartesianSeries.ShowTrackballLabelProperty
    CartesianSeries.TrackballLabelTemplate
    CartesianSeries.TrackballLabelTemplateProperty
    CartesianSeries.XAxisName
    CartesianSeries.XAxisNameProperty
    CartesianSeries.YAxisName
    CartesianSeries.YAxisNameProperty
    ChartSeries.CreateAnimation(Action<Double>)
    ChartSeries.CreateSegment()
    ChartSeries.DrawDataLabel(ICanvas, Brush, String, PointF, Int32)
    ChartSeries.DrawSeries(ICanvas, ReadOnlyObservableCollection<ChartSegment>, RectF)
    ChartSeries.EnableAnimation
    ChartSeries.EnableAnimationProperty
    ChartSeries.EnableTooltip
    ChartSeries.EnableTooltipProperty
    ChartSeries.Fill
    ChartSeries.FillProperty
    ChartSeries.GetDataPointIndex(Single, Single)
    ChartSeries.IsVisible
    ChartSeries.IsVisibleOnLegend
    ChartSeries.IsVisibleOnLegendProperty
    ChartSeries.IsVisibleProperty
    ChartSeries.ItemsSource
    ChartSeries.ItemsSourceProperty
    ChartSeries.LabelContext
    ChartSeries.LabelContextProperty
    ChartSeries.LabelTemplate
    ChartSeries.LabelTemplateProperty
    ChartSeries.LegendIcon
    ChartSeries.LegendIconProperty
    ChartSeries.OnParentSet()
    ChartSeries.Opacity
    ChartSeries.OpacityProperty
    ChartSeries.PaletteBrushes
    ChartSeries.PaletteBrushesProperty
    ChartSeries.SelectionBehavior
    ChartSeries.SelectionBehaviorProperty
    ChartSeries.ShowDataLabels
    ChartSeries.ShowDataLabelsProperty
    ChartSeries.TooltipTemplate
    ChartSeries.TooltipTemplateProperty
    ChartSeries.XBindingPath
    ChartSeries.XBindingPathProperty
    ChartSeries.XRange
    ChartSeries.YRange
    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
    • Xaml
    • C#
        <chart:SfCartesianChart>
    
        <!-- ... Eliminated for simplicity-->
    
             <chart:RangeColumnSeries ItemsSource="{Binding Data}"
                                      XBindingPath="XValue"
                                      High ="HighValue"
                                      Low ="LowValue"/>
    
        </chart:SfCartesianChart>
        SfCartesianChart chart = new SfCartesianChart();
        ViewModel viewModel = new ViewModel();
    
        // Eliminated for simplicity
    
        RangeColumnSeries series = new RangeColumnSeries()
        {
              ItemsSource = viewModel.Data,
              XBindingPath = "XValue",
              High ="HighValue",
              Low ="LowValue",
        };
    
        chart.Series.Add(series);

    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
    • Xaml
    • C#
        <chart:SfCartesianChart>
    
        <!-- ... Eliminated for simplicity-->
    
             <chart:RangeColumnSeries ItemsSource="{Binding Data}"
                                      XBindingPath="XValue"
                                      High ="HighValue"
                                      Low ="LowValue"/>
    
        </chart:SfCartesianChart>
        SfCartesianChart chart = new SfCartesianChart();
        ViewModel viewModel = new ViewModel();
    
        // Eliminated for simplicity
    
        RangeColumnSeries series = new RangeColumnSeries()
        {
              ItemsSource = viewModel.Data,
              XBindingPath = "XValue",
              High ="HighValue",
              Low ="LowValue",
        };
    
        chart.Series.Add(series);

    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
    • Xaml
    • C#
        <chart:SfCartesianChart>
    
        <!-- ... Eliminated for simplicity-->
    
             <chart:RangeColumnSeries ItemsSource="{Binding Data}"
                                      XBindingPath="XValue"
                                      High ="HighValue"
                                      Low ="LowValue"
                                      Stroke = "Red" />
    
        </chart:SfCartesianChart>
        SfCartesianChart chart = new SfCartesianChart();
        ViewModel viewModel = new ViewModel();
    
        // Eliminated for simplicity
    
        RangeColumnSeries series = new RangeColumnSeries()
        {
              ItemsSource = viewModel.Data,
              XBindingPath = "XValue",
              High ="HighValue",
              Low ="LowValue",
              Stroke = new SolidColorBrush(Colors.Red),
        };
    
        chart.Series.Add(series);

    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
    • Xaml
    • C#
        <chart:SfCartesianChart>
    
        <!-- ... Eliminated for simplicity-->
    
             <chart:RangeColumnSeries ItemsSource="{Binding Data}"
                                      XBindingPath="XValue"
                                      High ="HighValue"
                                      Low ="LowValue"
                                      StrokeDashArray="5,3"
                                      Stroke = "Red" />
    
        </chart:SfCartesianChart>
        SfCartesianChart chart = new SfCartesianChart();
        ViewModel viewModel = new ViewModel();
    
        // Eliminated for simplicity
    
        DoubleCollection doubleCollection = new DoubleCollection();
        doubleCollection.Add(5);
        doubleCollection.Add(3);
        RangeColumnSeries series = new RangeColumnSeries()
        {
              ItemsSource = viewModel.Data,
              XBindingPath = "XValue",
              High ="HighValue",
              Low ="LowValue",
              StrokeDashArray = doubleCollection,
              Stroke = new SolidColorBrush(Colors.Red),
        };
    
        chart.Series.Add(series);

    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.

    Examples
    • Xaml
    • C#
        <chart:SfCartesianChart>
    
        <!-- ... Eliminated for simplicity-->
    
             <chart:RangeColumnSeries ItemsSource="{Binding Data}"
                                      XBindingPath="XValue"
                                      High ="HighValue"
                                      Low ="LowValue"
                                      StrokeWidth = "3" />
    
        </chart:SfCartesianChart>
        SfCartesianChart chart = new SfCartesianChart();
        ViewModel viewModel = new ViewModel();
    
        // Eliminated for simplicity
    
        RangeColumnSeries series = new RangeColumnSeries()
        {
              ItemsSource = viewModel.Data,
              XBindingPath = "XValue",
              High ="HighValue",
              Low ="LowValue",
              StrokeWidth = 3,
        };
    
        chart.Series.Add(series);
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved