Class HiLoSegment
Represents chart HiLo segment.
Implements
Inherited Members
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.WPF.dll
Syntax
public class HiLoSegment : ChartSegment, INotifyPropertyChanged
Remarks
Class instance is created automatically by WINRT Chart building system.
Constructors
HiLoSegment()
Declaration
public HiLoSegment()
HiLoSegment(Double, Double, Double, HiLoSeries, Object)
Called when instance created for HiLoSegment
Declaration
public HiLoSegment(double xVal, double hghValue, double lwValue, HiLoSeries series, object item)
Parameters
Type | Name | Description |
---|---|---|
System.Double | xVal | Used to specify segment x-value |
System.Double | hghValue | Used to specify segment higher bounds |
System.Double | lwValue | Used to specify segment lower bounds |
HiLoSeries | series | Used to specify corresponding series |
System.Object | item | Used to specify corresponding item model |
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(top) value bind with this segment.
Declaration
public double Low { get; set; }
Property Value
Type |
---|
System.Double |
XValue
Gets or sets the x value of the segment.
Declaration
public object XValue { get; set; }
Property Value
Type |
---|
System.Object |
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
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(Double[])
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(params double[] Values)
Parameters
Type | Name | Description |
---|---|---|
System.Double[] | 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) |