Class TechnicalIndicatorSegment
Represents chart technical indicator segment.
Implements
Inherited Members
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.UWP.dll
Syntax
public class TechnicalIndicatorSegment : FastLineSegment, INotifyPropertyChanged
Remarks
Class instance is created automatically by WINRT Chart building system.
Constructors
TechnicalIndicatorSegment()
Declaration
public TechnicalIndicatorSegment()
TechnicalIndicatorSegment(List<Double>, List<Double>, Brush, ChartSeriesBase)
Called when instance created for TechnicalIndicatorSegment
Declaration
public TechnicalIndicatorSegment(List<double> xVals, List<double> yVals, Brush stroke, ChartSeriesBase series)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<System.Double> | xVals | |
System.Collections.Generic.List<System.Double> | yVals | |
Windows.UI.Xaml.Media.Brush | stroke | |
ChartSeriesBase | series |
TechnicalIndicatorSegment(List<Double>, List<Double>, Brush, ChartSeriesBase, Int32)
Called when instance created for TechnicalIndicatorSegment
Declaration
public TechnicalIndicatorSegment(List<double> xVals, List<double> yVals, Brush stroke, ChartSeriesBase series, int length)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<System.Double> | xVals | |
System.Collections.Generic.List<System.Double> | yVals | |
Windows.UI.Xaml.Media.Brush | stroke | |
ChartSeriesBase | series | |
System.Int32 | length |
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
SetData(IList<Double>, IList<Double>, Brush)
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(IList<double> xVals, IList<double> yVals, Brush strokeBrush)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<System.Double> | xVals | |
System.Collections.Generic.IList<System.Double> | yVals | |
Windows.UI.Xaml.Media.Brush | strokeBrush |
Overrides
SetData(IList<Double>, IList<Double>, Brush, Int32)
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(IList<double> xVals, IList<double> yVals, Brush strokeBrush, int length)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<System.Double> | xVals | |
System.Collections.Generic.IList<System.Double> | yVals | |
Windows.UI.Xaml.Media.Brush | strokeBrush | |
System.Int32 | length |
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) |