Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class RangeAreaSeries

    Show / Hide Table of Contents

    Class RangeAreaSeries

    To render a range area chart, create an instance of the RangeAreaSeries class and add it to Series collection property and set the required properties.

    Inheritance
    System.Object
    ChartSeries
    CartesianSeries
    RangeSeriesBase
    RangeAreaSeries
    SplineRangeAreaSeries
    Inherited Members
    RangeSeriesBase.HighProperty
    RangeSeriesBase.LowProperty
    RangeSeriesBase.GetChartDataPoints()
    RangeSeriesBase.High
    RangeSeriesBase.Low
    CartesianSeries.XAxisProperty
    CartesianSeries.YAxisProperty
    CartesianSeries.IsTransposedProperty
    CartesianSeries.ShowTrackballInfoProperty
    CartesianSeries.TrackballLabelTemplateProperty
    CartesianSeries.TrendlinesProperty
    CartesianSeries.GetDataPoints(Rectangle)
    CartesianSeries.GetDataPoints(Double, Double, Double, Double)
    CartesianSeries.OnBindingContextChanged()
    CartesianSeries.OnParentSet()
    CartesianSeries.XAxis
    CartesianSeries.Trendlines
    CartesianSeries.YAxis
    CartesianSeries.IsTransposed
    CartesianSeries.ShowTrackballInfo
    CartesianSeries.TrackballLabelTemplate
    ChartSeries.StrokeWidthProperty
    ChartSeries.ListenPropertyChangeProperty
    ChartSeries.DataMarkerProperty
    ChartSeries.IsVisibleProperty
    ChartSeries.ItemsSourceProperty
    ChartSeries.ColorProperty
    ChartSeries.LegendIconProperty
    ChartSeries.ColorModelProperty
    ChartSeries.EnableDataPointSelectionProperty
    ChartSeries.XBindingPathProperty
    ChartSeries.LabelProperty
    ChartSeries.IsVisibleOnLegendProperty
    ChartSeries.SelectedDataPointIndexProperty
    ChartSeries.SelectedDataPointColorProperty
    ChartSeries.AnimationDurationProperty
    ChartSeries.EnableTooltipProperty
    ChartSeries.EnableAnimationProperty
    ChartSeries.TooltipTemplateProperty
    ChartSeries.OpacityProperty
    ChartSeries.GetDataPointIndex(Single, Single)
    ChartSeries.SuspendNotification()
    ChartSeries.ResumeNotification()
    ChartSeries.Animate()
    ChartSeries.StrokeWidth
    ChartSeries.ListenPropertyChange
    ChartSeries.DataMarker
    ChartSeries.IsVisible
    ChartSeries.ItemsSource
    ChartSeries.XBindingPath
    ChartSeries.Color
    ChartSeries.Label
    ChartSeries.LegendIcon
    ChartSeries.IsVisibleOnLegend
    ChartSeries.ColorModel
    ChartSeries.EnableDataPointSelection
    ChartSeries.SelectedDataPointIndex
    ChartSeries.Opacity
    ChartSeries.SelectedDataPointColor
    ChartSeries.EnableTooltip
    ChartSeries.AnimationDuration
    ChartSeries.TooltipTemplate
    ChartSeries.EnableAnimation
    ChartSeries.IsSelected
    ChartSeries.DataMarkerLabelCreated
    Namespace: Syncfusion.SfChart.XForms
    Assembly: Syncfusion.SfChart.XForms.dll
    Syntax
    public class RangeAreaSeries : RangeSeriesBase, IThemeElement
    Remarks

    RangeAreaSeries requires ItemsSource, XBindingPath, High and Low properties to be set to render the chart. This series also requires x-axis and y-axis to be explicitly set either using PrimaryAxis and SecondaryAxis or XAxis and YAxis.

    Examples
    SfChart chart = new SfChart();
    chart.PrimaryAxis = new NumericalAxis();
    chart.SecondaryAxis = new NumericalAxis();
    RangeAreaSeries series = new RangeAreaSeries();
    ObservableCollection<ChartDataPoint> Data = new ObservableCollection<ChartDataPoint>
    {
      new ChartDataPoint(10, 873.8, 878.85),
      new ChartDataPoint(20, 861, 868.4),
      new ChartDataPoint(30, 846.15, 853),
      new ChartDataPoint(40, 846, 860.75)
    };
    series.ItemsSource = Data;
    chart.Series.Add(series);

    Constructors

    RangeAreaSeries()

    Initializes a new instance of the RangeAreaSeries class.

    Declaration
    public RangeAreaSeries()

    Fields

    StrokeColorProperty

    The DependencyProperty for StrokeColor property.

    Declaration
    public static readonly BindableProperty StrokeColorProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    Properties

    StrokeColor

    Gets or sets the stroke color to customize the appearance of RangeAreaSeries. This is a bindable property.

    Declaration
    public Color StrokeColor { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Color

    This property takes the double value.

    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved