Class SplineRangeAreaSeries
SplineRangeAreaSeries connects it data points using a smooth curve with the areas between the high value and low value are filled in.
Inheritance
System.Object
SplineRangeAreaSeries
Inherited Members
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.WPF.dll
Syntax
public class SplineRangeAreaSeries : RangeAreaSeries, ICloneable, ISupportAxes2D, ISupportAxes, ISegmentSelectable
Examples
<syncfusion:SplineRangeAreaSeries ItemsSource="{Binding Data}" XBindingPath="Year" High="High" Low="Low">
</syncfusion:SplineRangeAreaSeries>
SplineRangeAreaSeries series1 = new SplineRangeAreaSeries();
series1.ItemsSource = viewmodel.Data;
series1.XBindingPath = "Year";
series1.High = "High";
series1.Low = "Low";
chart.Series.Add(series1);
Constructors
SplineRangeAreaSeries()
Declaration
public SplineRangeAreaSeries()
Fields
SplineTypeProperty
Using a DependencyProperty as the backing store for SplineType. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty SplineTypeProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
SplineType
Gets or sets SplineType enum value which indicates the spline series type.
Declaration
public SplineType SplineType { get; set; }
Property Value
Type |
---|
SplineType |
Methods
CreateSegment()
Creates an instance of series segment.
Declaration
protected override ChartSegment CreateSegment()
Returns
Type | Description |
---|---|
ChartSegment | Returns the instance of corresponding series segment. |
Overrides
Remarks
This customization is not supported for fast type series and technical indicators.
Examples
This sample shows how to call the CreateSegment() method to customize the line series segments.
public class LineSeriesExt : LineSeries
{
protected override ChartSegment CreateSegment()
{
return new LineSegmentExt();
}
}
public class LineSegmentExt : LineSegment
{
public override UIElement CreateVisual(Size size)
{
// Write your customization code here.
}
public override void Update(IChartTransformer transformer)
{
// Write your customization code here.
}
}
CreateSegments()
Creates the segments of SplineRangeAreaSeries.
Declaration
public override void CreateSegments()