Class TechnicalIndicatorSegment
Represents the chart technical indicator segment.
Implements
Inherited Members
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.WPF.dll
Syntax
public class TechnicalIndicatorSegment : FastLineSegment, INotifyPropertyChanged
Remarks
Class instance is created automatically by Chart building system.
Constructors
TechnicalIndicatorSegment()
Called when instance created for 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 | Used to specify the x values |
System.Collections.Generic.List<System.Double> | yVals | Used to specify the y values |
System.Windows.Media.Brush | stroke | Used to specify the stroke |
ChartSeriesBase | series | Used to specify the 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 | Used to specify the x values |
System.Collections.Generic.List<System.Double> | yVals | Used to specify the y values |
System.Windows.Media.Brush | stroke | Used to specify the stroke |
ChartSeriesBase | series | Used to specify the series |
System.Int32 | length | Used to specify the 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 |
---|---|---|
System.Windows.Size | size | Size of the panel |
Returns
Type | Description |
---|---|
System.Windows.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 | Used to specify segment x-values. |
System.Collections.Generic.IList<System.Double> | yVals | Used to specify segment y-values. |
System.Windows.Media.Brush | strokeBrush | Used to specify brush for segment stroke. |
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 | Used to specify the x values. |
System.Collections.Generic.IList<System.Double> | yVals | Used to specify the y values. |
System.Windows.Media.Brush | strokeBrush | Used to specify the stroke. |
System.Int32 | length | Used to specify the 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) |