menu

Xamarin.Android

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class StochasticIndicator - API Reference

    Show / Hide Table of Contents

    Class StochasticIndicator

    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.

    Inheritance
    System.Object
    ChartSeries
    FinancialTechnicalIndicator
    StochasticIndicator
    Inherited Members
    FinancialTechnicalIndicator.GetChart()
    FinancialTechnicalIndicator.ScheduleUpdateArea()
    FinancialTechnicalIndicator.InvalidateRender()
    FinancialTechnicalIndicator.High
    FinancialTechnicalIndicator.Low
    FinancialTechnicalIndicator.Open
    FinancialTechnicalIndicator.Close
    FinancialTechnicalIndicator.XAxis
    FinancialTechnicalIndicator.YAxis
    FinancialTechnicalIndicator.ActualXAxis
    FinancialTechnicalIndicator.ActualYAxis
    FinancialTechnicalIndicator.SeriesName
    FinancialTechnicalIndicator.SignalLineColor
    ChartSeries.GeneratePoints(String[], IList<Double>[])
    ChartSeries.GetSelectionColor()
    ChartSeries.GetGradientStartPoint(ChartSegment)
    ChartSeries.GetGradientEndPoint(ChartSegment)
    ChartSeries.OnBindingPathChanged()
    ChartSeries.SetIndividualPoint(Int32, Object, Boolean)
    ChartSeries.ClearUnUsedDataMarkerLabels(Int32)
    ChartSeries.SeriesContainsPoint(PointF)
    ChartSeries.GetDataPointIndex(Single, Single)
    ChartSeries.OnAttachedToChart()
    ChartSeries.OnDetachedFromChart()
    ChartSeries.SetFillColor(ChartSegment)
    ChartSeries.SetStrokeWidth(ChartSegment)
    ChartSeries.SuspendNotification()
    ChartSeries.ResumeNotification()
    ChartSeries.DrawDataMarker(Int32, Canvas, Paint, Paint, Single, Single)
    ChartSeries.DrawDataMarkerLabel(Int32, Canvas, String, Single, Single)
    ChartSeries.OnTouchMove(MotionEvent)
    ChartSeries.Animate()
    ChartSeries.GetView()
    ChartSeries.ListenPropertyChange
    ChartSeries.DataMarker
    ChartSeries.EnableAnimation
    ChartSeries.AnimationDuration
    ChartSeries.IsSelected
    ChartSeries.SelectedDataPointIndex
    ChartSeries.DataPointSelectionEnabled
    ChartSeries.SelectedDataPointColor
    ChartSeries.DataCount
    ChartSeries.Name
    ChartSeries.Color
    ChartSeries.StrokeWidth
    ChartSeries.Alpha
    ChartSeries.LegendIcon
    ChartSeries.Label
    ChartSeries.TooltipEnabled
    ChartSeries.ItemsSource
    ChartSeries.XBindingPath
    ChartSeries.ColorModel
    ChartSeries.XRange
    ChartSeries.YRange
    ChartSeries.Segments
    ChartSeries.Chart
    ChartSeries.VisibilityOnLegend
    ChartSeries.Visibility
    ChartSeries.DataMarkerLabelCreated
    Namespace: Com.Syncfusion.Charts
    Assembly: Syncfusion.SfChart.Android.dll
    Syntax
    public class StochasticIndicator : FinancialTechnicalIndicator
    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 RSIIndicator.

    Constructors

    StochasticIndicator()

    Declaration
    public StochasticIndicator()

    Properties

    DPeriod

    Gets or sets the d-period for the indicator.

    Declaration
    public int DPeriod { get; set; }
    Property Value
    Type Description
    System.Int32

    KPeriod

    Gets or sets the k-period for the indicator.

    Declaration
    public int KPeriod { get; set; }
    Property Value
    Type Description
    System.Int32

    LowerLineColor

    Gets or sets the color of the lower line.

    Declaration
    public Color LowerLineColor { get; set; }
    Property Value
    Type Description
    Android.Graphics.Color

    Period

    Gets or sets the period for the indicator.

    Declaration
    public int Period { get; set; }
    Property Value
    Type Description
    System.Int32

    PeriodLineColor

    Gets or sets the color of the period line.

    Declaration
    public Color PeriodLineColor { get; set; }
    Property Value
    Type Description
    Android.Graphics.Color

    UpperLineColor

    Gets or sets the color of the upper line.

    Declaration
    public Color UpperLineColor { get; set; }
    Property Value
    Type Description
    Android.Graphics.Color

    Methods

    CreateSegment()

    Declaration
    protected override ChartSegment CreateSegment()
    Returns
    Type Description
    ChartSegment
    Overrides
    ChartSeries.CreateSegment()

    CreateSegments()

    Declaration
    protected override void CreateSegments()
    Overrides
    FinancialTechnicalIndicator.CreateSegments()

    GeneratePoints()

    Declaration
    protected override void GeneratePoints()
    Overrides
    FinancialTechnicalIndicator.GeneratePoints()

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved