Class StepAreaSegment
Class implementation for StepAreaSegment
Implements
Inherited Members
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.WPF.dll
Syntax
public class StepAreaSegment : ChartSegment, INotifyPropertyChanged
Constructors
StepAreaSegment()
Called when instance created for StepAreaSegment
Declaration
public StepAreaSegment()
StepAreaSegment(List<ChartPoint>, StepAreaSeries)
Called when instance created for StepAreaSegment
Declaration
public StepAreaSegment(List<ChartPoint> pointsCollection, StepAreaSeries series)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.List<ChartPoint> | pointsCollection | |
| StepAreaSeries | series |
StepAreaSegment(List<Point>, StepAreaSeries)
Called when instance created for StepAreaSegment
Declaration
[Obsolete("Use StepAreaSegment(List<ChartPoint> pointsCollection, StepAreaSeries series)")]
public StepAreaSegment(List<Point> pointsCollection, StepAreaSeries series)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.List<System.Windows.Point> | pointsCollection | |
| StepAreaSeries | series |
Properties
XData
Gets or sets the data point value, bind with x for this segment.
Declaration
public double XData { get; set; }
Property Value
| Type |
|---|
| System.Double |
YData
Gets or sets the data point value, bind with y for this segment.
Declaration
public double YData { 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 overriden 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 | retuns UIElement |
Overrides
GetRenderedVisual()
Gets the UIElement used for rendering this segment.
Declaration
public override UIElement GetRenderedVisual()
Returns
| Type | Description |
|---|---|
| System.Windows.UIElement | reurns 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 overriden by any derived class.
Declaration
public override void OnSizeChanged(Size size)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Size | 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 overriden by any derived class.
Declaration
public override void SetData(List<ChartPoint> StepAreaPoints)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.List<ChartPoint> | StepAreaPoints |
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 overriden by any derived class.
Declaration
[Obsolete("Use StepAreaSegment(List<ChartPoint> pointsCollection, StepAreaSeries series)")]
public override void SetData(List<Point> StepAreaPoints)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.List<System.Windows.Point> | StepAreaPoints |
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 overriden by any derived class.
Declaration
public override void Update(IChartTransformer transformer)
Parameters
| Type | Name | Description |
|---|---|---|
| Syncfusion.UI.Xaml.Charts.IChartTransformer | transformer | Reresents the view port of chart control.(refer Syncfusion.UI.Xaml.Charts.IChartTransformer) |