menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class StockChartIndicator - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class StockChartIndicator

    To specify customization options for stockchart indicator.

    Inheritance
    System.Object
    StockChartIndicator
    Namespace: Syncfusion.Blazor.Charts
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class StockChartIndicator : OwningComponentBase

    Constructors

    StockChartIndicator()

    Declaration
    public StockChartIndicator()

    Properties

    BandColor

    Options for customizing the BollingerBand in the indicator.

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

    ChildContent

    Gets and sets the content of the UI element.

    Declaration
    public RenderFragment ChildContent { get; set; }
    Property Value
    Type
    Microsoft.AspNetCore.Components.RenderFragment

    Close

    The DataSource field that contains the close value of y It is applicable for series and technical indicators.

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

    DashArray

    Defines the pattern of dashes and gaps to stroke the lines in Line type series.

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

    DataSource

    Specifies the DataSource for the series. It can be an array of JSON objects or an instance of DataManager.

    Declaration
    public object DataSource { get; set; }
    Property Value
    Type
    System.Object

    DPeriod

    Defines the period, the price changes over which will define the %D value in stochastic indicators.

    Declaration
    public double DPeriod { get; set; }
    Property Value
    Type
    System.Double

    FastPeriod

    Sets the fast period to define the Macd line.

    Declaration
    public double FastPeriod { get; set; }
    Property Value
    Type
    System.Double

    Field

    Defines the field to compare the current value with previous values.

    Declaration
    public FinancialDataFields Field { get; set; }
    Property Value
    Type
    FinancialDataFields

    Fill

    The fill color for the series that accepts value in hex and rgba as a valid CSS color string. It also represents the color of the signal lines in technical indicators. For technical indicators, the default value is 'blue' and for series, it has null.

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

    High

    The DataSource field that contains the high value of y It is applicable for series and technical indicators.

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

    KPeriod

    Defines the look back period, the price changes over which will define the %K value in stochastic indicators.

    Declaration
    public double KPeriod { get; set; }
    Property Value
    Type
    System.Double

    Low

    The DataSource field that contains the low value of y It is applicable for series and technical indicators.

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

    MacdNegativeColor

    Defines the color of the negative bars in Macd indicators.

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

    MacdPositiveColor

    Defines the color of the positive bars in Macd indicators.

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

    MacdType

    Defines the type of the Macd indicator.

    Declaration
    public MacdType MacdType { get; set; }
    Property Value
    Type
    MacdType

    Open

    The DataSource field that contains the open value of y It is applicable for series and technical indicators.

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

    OverBought

    Defines the over-bought(threshold) values. It is applicable for RSI and stochastic indicators.

    Declaration
    public double OverBought { get; set; }
    Property Value
    Type
    System.Double

    OverSold

    Defines the over-sold(threshold) values. It is applicable for RSI and stochastic indicators.

    Declaration
    public double OverSold { get; set; }
    Property Value
    Type
    System.Double

    Period

    Defines the period, the price changes over which will be considered to predict the trend.

    Declaration
    public double Period { get; set; }
    Property Value
    Type
    System.Double

    PointColorMapping

    The DataSource field that contains the color value of point. It is applicable for series.

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

    Query

    Specifies query to select data from DataSource. This property is applicable only when the DataSource is Ej.DataManager.

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

    SeriesName

    Defines the name of the series, the data of which has to be depicted as indicator.

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

    ShowZones

    Enables/Disables the over-bought and over-sold regions.

    Declaration
    public bool ShowZones { get; set; }
    Property Value
    Type
    System.Boolean

    SlowPeriod

    Sets the slow period to define the Macd line.

    Declaration
    public double SlowPeriod { get; set; }
    Property Value
    Type
    System.Double

    StandardDeviation

    Sets the standard deviation values that helps to define the upper and lower bollinger bands.

    Declaration
    public double StandardDeviation { get; set; }
    Property Value
    Type
    System.Double

    Type

    Defines the type of the technical indicator.

    Declaration
    public TechnicalIndicators Type { get; set; }
    Property Value
    Type
    TechnicalIndicators

    Volume

    Defines the data source field that contains the volume value in candle charts It is applicable for financial series and technical indicators.

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

    Width

    The stroke width for the series that is applicable only for Line type series. It also represents the stroke width of the signal lines in technical indicators.

    Declaration
    public double Width { get; set; }
    Property Value
    Type
    System.Double

    XAxisName

    The name of the horizontal axis associated with the series. It requires Axes of the chart. It is applicable for series and technical indicators.

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

    XName

    The DataSource field that contains the x value. It is applicable for series and technical indicators.

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

    YAxisName

    The name of the vertical axis associated with the series. It requires Axes of the chart. It is applicable for series and technical indicators.

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

    Methods

    BuildRenderTree(RenderTreeBuilder)

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder

    Dispose(Boolean)

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    OnInitializedAsync()

    Method invoked when the component is ready to start.

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task

    A System.Threading.Tasks.Task representing the asynchronous operation.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved