Xamarin.Forms

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

    Show / Hide Table of Contents

    Class SplineRangeAreaSeries

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

    Inheritance
    System.Object
    ChartSeries
    CartesianSeries
    RangeSeriesBase
    RangeAreaSeries
    SplineRangeAreaSeries
    Inherited Members
    RangeAreaSeries.StrokeColorProperty
    RangeAreaSeries.StrokeColor
    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 SplineRangeAreaSeries : RangeAreaSeries, IThemeElement
    Remarks

    SplineRangeAreaSeries 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();
    SplineRangeAreaSeries series = new SplineRangeAreaSeries();
    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

    SplineRangeAreaSeries()

    Declaration
    public SplineRangeAreaSeries()

    Fields

    SplineTypeProperty

    Gets or sets the spline type of spline range area series. This is a bindable property.

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

    Properties

    SplineType

    Gets or sets SplineType of spline range area series.

    Declaration
    public SplineType SplineType { get; set; }
    Property Value
    Type Description
    SplineType
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved