menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class AccumulationDistributionIndicator - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class AccumulationDistributionIndicator

    To render an AccumulationDistributionIndicator, create an instance of its class and add it to TechnicalIndicators collection property and set required properties.

    Inheritance
    System.Object
    FinancialTechnicalIndicator
    AccumulationDistributionIndicator
    Inherited Members
    FinancialTechnicalIndicator.AnimationDuration
    FinancialTechnicalIndicator.AnimationDurationProperty
    FinancialTechnicalIndicator.Close
    FinancialTechnicalIndicator.CloseProperty
    FinancialTechnicalIndicator.EnableAnimation
    FinancialTechnicalIndicator.EnableAnimationProperty
    FinancialTechnicalIndicator.High
    FinancialTechnicalIndicator.HighProperty
    FinancialTechnicalIndicator.IsVisible
    FinancialTechnicalIndicator.IsVisibleProperty
    FinancialTechnicalIndicator.ItemsSource
    FinancialTechnicalIndicator.ItemsSourceProperty
    FinancialTechnicalIndicator.Low
    FinancialTechnicalIndicator.LowProperty
    FinancialTechnicalIndicator.OnBindingContextChanged()
    FinancialTechnicalIndicator.OnParentSet()
    FinancialTechnicalIndicator.Open
    FinancialTechnicalIndicator.OpenProperty
    FinancialTechnicalIndicator.SeriesName
    FinancialTechnicalIndicator.SeriesNameProperty
    FinancialTechnicalIndicator.StrokeWidth
    FinancialTechnicalIndicator.StrokeWidthProperty
    FinancialTechnicalIndicator.XAxis
    FinancialTechnicalIndicator.XAxisProperty
    FinancialTechnicalIndicator.XBindingPath
    FinancialTechnicalIndicator.XBindingPathProperty
    FinancialTechnicalIndicator.YAxis
    FinancialTechnicalIndicator.YAxisProperty
    Namespace: Syncfusion.SfChart.XForms
    Assembly: Syncfusion.SfChart.XForms.dll
    Syntax
    public class AccumulationDistributionIndicator : FinancialTechnicalIndicator, IThemeElement
    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 AccumulationDistributionIndicator.

    Examples
    SfChart chart = new SfChart();
    chart.PrimaryAxis = new NumericalAxis();
    chart.SecondaryAxis = new NumericalAxis();
    CandleSeries series = new CandleSeries();
    series.Name = "series";
    ObservableCollection<ChartDataPoint> Data = new ObservableCollection<ChartDataPoint>
    {
      new ChartDataPoint(1, 30,35,20,25),
      new ChartDataPoint(2, 90,100,10,20),
      new ChartDataPoint(3, 20,90,10,80),
      new ChartDataPoint(5, 10,0,80,70),
      new ChartDataPoint(10, 25,20,49,12),
      new ChartDataPoint(12, 68,60,30,50)
    };
    series.ItemsSource = Data;
    chart.Series.Add(series);
    chart.TechnicalIndicators.Add(new AccumulationDistributionIndicator(){SeriesName="series"});

    Constructors

    AccumulationDistributionIndicator()

    Initializes a new instance of the AccumulationDistributionIndicator class.

    Declaration
    public AccumulationDistributionIndicator()

    Fields

    SignalLineColorProperty

    Gets or sets the SignalLineColor property.

    Declaration
    public static readonly BindableProperty SignalLineColorProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    VolumeProperty

    Gets or sets the property path to retrieve volume data from ItemsSource.

    Declaration
    public static readonly BindableProperty VolumeProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    Properties

    SignalLineColor

    Gets or sets the fill color for the Signal Line.

    Declaration
    public Color SignalLineColor { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Color

    This property takes the Xamarin.Forms.Color as its value.

    Volume

    Gets or sets the String property defines the binding path in ItemsSource. This is a bindable property.

    Declaration
    public string Volume { get; set; }
    Property Value
    Type Description
    System.String

    This property takes the System.String as its value.

    Methods

    GetChartDataPoints()

    Gets the ChartDataPoint collection which are used to draw indicator.

    Declaration
    public override IList<ChartDataPoint> GetChartDataPoints()
    Returns
    Type Description
    System.Collections.Generic.IList<ChartDataPoint>

    returns chartDataPoints.

    Overrides
    FinancialTechnicalIndicator.GetChartDataPoints()
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved