Class SplineAreaSegment
Represents chart SplineArea segment.
Implements
Inherited Members
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.UWP.dll
Syntax
public class SplineAreaSegment : AreaSegment, INotifyPropertyChanged
Remarks
Class instance is created automatically by WINRT Chart building system.
Constructors
SplineAreaSegment()
Called when instance created for SplineAreaSegment.
Declaration
public SplineAreaSegment()
SplineAreaSegment(List<ChartPoint>, List<Double>, IList<Double>, SplineAreaSeries)
Called when instance created for SplineAreaSegment.
Declaration
public SplineAreaSegment(List<ChartPoint> Points, List<double> xValues, IList<double> yValues, SplineAreaSeries series)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<ChartPoint> | Points | |
System.Collections.Generic.List<System.Double> | xValues | |
System.Collections.Generic.IList<System.Double> | yValues | |
SplineAreaSeries | series |
SplineAreaSegment(List<Point>, List<Double>, IList<Double>, SplineAreaSeries)
Constructor for SplineAreaSegment
.
Declaration
public SplineAreaSegment(List<Point> Points, List<double> xValues, IList<double> yValues, SplineAreaSeries series)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<Windows.Foundation.Point> | Points | |
System.Collections.Generic.List<System.Double> | xValues | |
System.Collections.Generic.IList<System.Double> | yValues | |
SplineAreaSeries | series |
Methods
CreateVisual(Size)
Used for creating UIElement for rendering this segment. This method is not intended to be called explicitly outside the Chart but it can be overridden by any derived class.
Declaration
public override UIElement CreateVisual(Size size)
Parameters
Type | Name | Description |
---|---|---|
Windows.Foundation.Size | size | Size of the panel |
Returns
Type | Description |
---|---|
Windows.UI.Xaml.UIElement | returns UIElement |
Overrides
GetRenderedVisual()
Gets the UIElement used for rendering this segment.
Declaration
public override UIElement GetRenderedVisual()
Returns
Type | Description |
---|---|
Windows.UI.Xaml.UIElement | returns UIElement |
Overrides
OnSizeChanged(Size)
Called whenever the segment's size changed. This method is not intended to be called explicitly outside the Chart but it can be overridden by any derived class.
Declaration
public override void OnSizeChanged(Size size)
Parameters
Type | Name | Description |
---|---|---|
Windows.Foundation.Size | size |
Overrides
SetData(List<ChartPoint>, List<Double>, IList<Double>)
Sets the values for this segment. This method is not intended to be called explicitly outside the Chart but it can be overriden by any derived class.
Declaration
public void SetData(List<ChartPoint> points, List<double> xValues, IList<double> yValues)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<ChartPoint> | points | |
System.Collections.Generic.List<System.Double> | xValues | |
System.Collections.Generic.IList<System.Double> | yValues |
SetData(List<Point>, List<Double>, IList<Double>)
Method implementation for SetData
Declaration
public void SetData(List<Point> points, List<double> xValues, IList<double> yValues)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<Windows.Foundation.Point> | points | |
System.Collections.Generic.List<System.Double> | xValues | |
System.Collections.Generic.IList<System.Double> | yValues |
SetVisualBindings(Shape)
Method Implementation for set Binding to ChartSegments properties.
Declaration
protected override void SetVisualBindings(Shape element)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Shapes.Shape | element |
Overrides
Update(IChartTransformer)
Updates the segments based on its data point value. This method is not intended to be called explicitly outside the Chart but it can be overridden by any derived class.
Declaration
public override void Update(IChartTransformer transformer)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.UI.Xaml.Charts.IChartTransformer | transformer | Represents the view port of chart control.(refer Syncfusion.UI.Xaml.Charts.IChartTransformer) |