Class FastRangeAreaSegment
Represents chart range area segment.
Implements
Inherited Members
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.WPF.dll
Syntax
public class FastRangeAreaSegment : ChartSegment, INotifyPropertyChanged
Remarks
Class instance is created automatically by WINRT Chart building system.
Constructors
FastRangeAreaSegment()
Declaration
public FastRangeAreaSegment()
FastRangeAreaSegment(List<ChartPoint>, Boolean, FastRangeAreaBitmapSeries)
Initializes a new instance of the FastRangeAreaSegment class.
Declaration
public FastRangeAreaSegment(List<ChartPoint> areaValues, bool isHighLow, FastRangeAreaBitmapSeries series)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<ChartPoint> | areaValues | The range area plot values. |
System.Boolean | isHighLow | Indicates a whether the high value is greater than low value. |
FastRangeAreaBitmapSeries | series | The series of the segment. |
Properties
High
Gets or sets the high(top) value bind with this segment.
Declaration
public double High { get; set; }
Property Value
Type |
---|
System.Double |
Low
Gets or sets the low(bottom) value bind with this segment.
Declaration
public double Low { get; set; }
Property Value
Type |
---|
System.Double |
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 |
---|---|---|
System.Windows.Size | size | Size of the panel |
Returns
Type | Description |
---|---|
System.Windows.UIElement | returns the created System.Windows.UIElement |
Overrides
GetRenderedVisual()
Gets the UIElement used for rendering this segment.
Declaration
public override UIElement GetRenderedVisual()
Returns
Type | Description |
---|---|
System.Windows.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 |
---|---|---|
System.Windows.Size | size | The Size |
Overrides
SetData(List<ChartPoint>)
Sets the values for 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 void SetData(List<ChartPoint> areaValues)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<ChartPoint> | areaValues | The range area plot values. |
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) |