Class HiLoOpenCloseSegment
Represents chart HiLoOpenClose segment.
Implements
Inherited Members
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.UWP.dll
Syntax
public class HiLoOpenCloseSegment : ChartSegment, INotifyPropertyChanged
Remarks
Class instance is created automatically by WINRT Chart building system.
Constructors
HiLoOpenCloseSegment()
Constructor
Declaration
public HiLoOpenCloseSegment()
HiLoOpenCloseSegment(ChartPoint, ChartPoint, ChartPoint, ChartPoint, ChartPoint, ChartPoint, Boolean, HiLoOpenCloseSeries, Object)
Declaration
public HiLoOpenCloseSegment(ChartPoint highpoint, ChartPoint lowpoint, ChartPoint sopoint, ChartPoint eopoint, ChartPoint scpoint, ChartPoint ecpoint, bool isbull, HiLoOpenCloseSeries series, object item)
Parameters
Type | Name | Description |
---|---|---|
ChartPoint | highpoint | |
ChartPoint | lowpoint | |
ChartPoint | sopoint | |
ChartPoint | eopoint | |
ChartPoint | scpoint | |
ChartPoint | ecpoint | |
System.Boolean | isbull | |
HiLoOpenCloseSeries | series | |
System.Object | item |
HiLoOpenCloseSegment(Point, Point, Point, Point, Point, Point, Boolean, HiLoOpenCloseSeries, Object)
Called when instance created for HiLoOpenCloseSegment
Declaration
public HiLoOpenCloseSegment(Point hghpoint, Point lowpoint, Point sopoint, Point eopoint, Point scpoint, Point ecpoint, bool isbull, HiLoOpenCloseSeries series, object item)
Parameters
Type | Name | Description |
---|---|---|
Windows.Foundation.Point | hghpoint | |
Windows.Foundation.Point | lowpoint | |
Windows.Foundation.Point | sopoint | |
Windows.Foundation.Point | eopoint | |
Windows.Foundation.Point | scpoint | |
Windows.Foundation.Point | ecpoint | |
System.Boolean | isbull | |
HiLoOpenCloseSeries | series | |
System.Object | item |
Properties
ActualInterior
Gets the actual color used to paint the interior of the segment.
Declaration
public Brush ActualInterior { get; }
Property Value
Type | Description |
---|---|
Windows.UI.Xaml.Media.Brush | The Windows.UI.Xaml.Media.Brush value. |
BearFillColor
Gets or sets the interior of the segment represents bear value.
Declaration
public Brush BearFillColor { get; set; }
Property Value
Type | Description |
---|---|
Windows.UI.Xaml.Media.Brush | The Windows.UI.Xaml.Media.Brush value. |
BullFillColor
Gets or sets the interior of the segment represents bull value.
Declaration
public Brush BullFillColor { get; set; }
Property Value
Type | Description |
---|---|
Windows.UI.Xaml.Media.Brush | The Windows.UI.Xaml.Media.Brush value. |
Close
Gets or sets the close value of this segment.
Declaration
public double Close { get; set; }
Property Value
Type |
---|
System.Double |
High
Gets or sets the high value of this segment.
Declaration
public double High { get; set; }
Property Value
Type |
---|
System.Double |
Low
Gets or sets the low value of this segment.
Declaration
public double Low { get; set; }
Property Value
Type |
---|
System.Double |
Open
Gets or sets the open value of this segment.
Declaration
public double Open { 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 |
---|---|---|
Windows.Foundation.Size | size | Size of the panel |
Returns
Type | Description |
---|---|
Windows.UI.Xaml.UIElement | retuns UIElement |
Overrides
GetRenderedVisual()
Gets the UIElement used for rendering this segment.
Declaration
public override UIElement GetRenderedVisual()
Returns
Type | Description |
---|---|
Windows.UI.Xaml.UIElement | reurns 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 overriden by any derived class.
Declaration
public override void OnSizeChanged(Size size)
Parameters
Type | Name | Description |
---|---|---|
Windows.Foundation.Size | size |
Overrides
SetData(ChartPoint, ChartPoint, ChartPoint, ChartPoint, ChartPoint, ChartPoint, Boolean)
Declaration
public override void SetData(ChartPoint hipoint, ChartPoint lopoint, ChartPoint sopoint, ChartPoint eopoint, ChartPoint scpoint, ChartPoint ecpoint, bool isbull)
Parameters
Type | Name | Description |
---|---|---|
ChartPoint | hipoint | |
ChartPoint | lopoint | |
ChartPoint | sopoint | |
ChartPoint | eopoint | |
ChartPoint | scpoint | |
ChartPoint | ecpoint | |
System.Boolean | isbull |
Overrides
SetData(Point, Point, Point, Point, Point, Point, Boolean)
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(Point hipoint, Point lopoint, Point sopoint, Point eopoint, Point scpoint, Point ecpoint, bool isbull)
Parameters
Type | Name | Description |
---|---|---|
Windows.Foundation.Point | hipoint | |
Windows.Foundation.Point | lopoint | |
Windows.Foundation.Point | sopoint | |
Windows.Foundation.Point | eopoint | |
Windows.Foundation.Point | scpoint | |
Windows.Foundation.Point | ecpoint | |
System.Boolean | isbull |
Overrides
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 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) |