Class RangeAreaSegment
Represents chart range area segment.
Implements
Inherited Members
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.WPF.dll
Syntax
public class RangeAreaSegment : ChartSegment, INotifyPropertyChanged
Remarks
Class instance is created automatically by WINRT Chart building system.
Constructors
RangeAreaSegment()
Declaration
public RangeAreaSegment()
RangeAreaSegment(List<ChartPoint>, Boolean, RangeAreaSeries)
Called when instance created for rangeAreaSegments
Declaration
public RangeAreaSegment(List<ChartPoint> AreaPoints, bool isHighLow, RangeAreaSeries series)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.List<ChartPoint> | AreaPoints | |
| System.Boolean | isHighLow | |
| RangeAreaSeries | series |
RangeAreaSegment(List<Point>, Boolean, RangeAreaSeries)
Called when instance created for rangeAreaSegments
Declaration
[Obsolete("Use RangeAreaSegment(List<ChartPoint> AreaPoints, bool isHighLow, RangeAreaSeries series)")]
public RangeAreaSegment(List<Point> AreaPoints, bool isHighLow, RangeAreaSeries series)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.List<System.Windows.Point> | AreaPoints | |
| System.Boolean | isHighLow | |
| RangeAreaSeries | series |
Properties
ActualInterior
Gets or sets the actual color used to paint the interior of the segment.
Declaration
public Brush ActualInterior { get; }
Property Value
| Type | Description |
|---|---|
| System.Windows.Media.Brush | The System.Windows.Media.Brush value. |
High
Declaration
public double High { get; set; }
Property Value
| Type |
|---|
| System.Double |
HighValueInterior
Gets or sets the high value interior brush of this segment.
Declaration
public Brush HighValueInterior { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Windows.Media.Brush | The System.Windows.Media.Brush value. |
Low
Declaration
public double Low { get; set; }
Property Value
| Type |
|---|
| System.Double |
LowValueInterior
Gets or sets the low value interior brush of this segment.
Declaration
public Brush LowValueInterior { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Windows.Media.Brush | The System.Windows.Media.Brush value. |
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 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
OnPropertyChanged(String)
Called when Property changed
Declaration
protected override void OnPropertyChanged(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name |
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 |
Overrides
SetData(List<ChartPoint>)
Declaration
public override void SetData(List<ChartPoint> AreaPoints)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.List<ChartPoint> | AreaPoints |
Overrides
SetData(List<Point>)
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
[Obsolete("Use SetData(List<ChartPoint> AreaPoints)")]
public override void SetData(List<Point> AreaPoints)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.List<System.Windows.Point> | AreaPoints |
Overrides
SetVisualBindings(Shape)
Method Implementation for set Binding to ChartSegments properties.
Declaration
protected override void SetVisualBindings(Shape element)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.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) |