Class SFStochasticIndicator
Represents a stochastic indicator. To render this indicator, create an instance of this class and add it to TechnicalIndicators collection property and set the required properties.
Inherited Members
Namespace: Syncfusion.MacOS.Charts.SfChart
Assembly: Syncfusion.SfChart.XForms.macOS.dll
Syntax
public class SFStochasticIndicator : SFTechnicalIndicator
Remarks
This indicator can be associated to a financial series in SFChart by specifying the name of series using SeriesName property. If the SeriesName is specified, all the required properties such as ItemsSource, XBindingPath, High, Low, Open and Close will be derived from the associated series. In case, the SeriesName is not specified, all those required properties need to be explicitly specified in SFRSIIndicator.
Constructors
SFStochasticIndicator()
Declaration
public SFStochasticIndicator()
Properties
DPeriod
Gets or sets the d-period for the indicator.
Declaration
public int DPeriod { get; set; }
Property Value
Type |
---|
System.Int32 |
KPeriod
Gets or sets the k-period for the indicator.
Declaration
public int KPeriod { get; set; }
Property Value
Type |
---|
System.Int32 |
LowerLineColor
Gets or sets the color of the lower line.
Declaration
public NSColor LowerLineColor { get; set; }
Property Value
Type |
---|
AppKit.NSColor |
Period
Gets or sets the period for the indicator.
Declaration
public int Period { get; set; }
Property Value
Type |
---|
System.Int32 |
PeriodLineColor
Gets or sets the color of the period line.
Declaration
public NSColor PeriodLineColor { get; set; }
Property Value
Type |
---|
AppKit.NSColor |
UpperLineColor
Gets or sets the color of the upper line.
Declaration
public NSColor UpperLineColor { get; set; }
Property Value
Type |
---|
AppKit.NSColor |
Methods
CreateSegment()
Declaration
protected override SFChartSegment CreateSegment()
Returns
Type |
---|
SFChartSegment |
Overrides
GeneratePoints()
Declaration
protected override void GeneratePoints()
Overrides
ToString()
Declaration
public override string ToString()
Returns
Type |
---|
System.String |