Class StockChartIndicator
To specify customization options for stock chart indicator.
Inherited Members
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class StockChartIndicator : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Constructors
StockChartIndicator()
Declaration
public StockChartIndicator()
Properties
BandColor
Options for customizing the BollingerBand in the indicator.
Declaration
[Parameter]
public string BandColor { get; set; }
Property Value
| Type |
|---|
| string |
Close
The DataSource field that contains the close value of y It is applicable for series and technical indicators.
Declaration
[Parameter]
public string Close { get; set; }
Property Value
| Type |
|---|
| string |
DPeriod
Defines the period, the price changes over which will define the %D value in stochastic indicators.
Declaration
[Parameter]
public double DPeriod { get; set; }
Property Value
| Type |
|---|
| double |
DashArray
Defines the pattern of dashes and gaps to stroke the lines in Line type series.
Declaration
[Parameter]
public string DashArray { get; set; }
Property Value
| Type |
|---|
| string |
DataSource
Specifies the DataSource for the series. It can be an array of JSON objects or an instance of DataManager.
Declaration
[Parameter]
public object DataSource { get; set; }
Property Value
| Type |
|---|
| object |
FastPeriod
Sets the fast period to define the Macd line.
Declaration
[Parameter]
public double FastPeriod { get; set; }
Property Value
| Type |
|---|
| double |
Field
Defines the field to compare the current value with previous values.
Declaration
[Parameter]
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
[Parameter]
public string Fill { get; set; }
Property Value
| Type |
|---|
| string |
High
The DataSource field that contains the high value of y It is applicable for series and technical indicators.
Declaration
[Parameter]
public string High { get; set; }
Property Value
| Type |
|---|
| string |
KPeriod
Defines the look back period, the price changes over which will define the %K value in stochastic indicators.
Declaration
[Parameter]
public double KPeriod { get; set; }
Property Value
| Type |
|---|
| double |
Low
The DataSource field that contains the low value of y It is applicable for series and technical indicators.
Declaration
[Parameter]
public string Low { get; set; }
Property Value
| Type |
|---|
| string |
MacdNegativeColor
Defines the color of the negative bars in Macd indicators.
Declaration
[Parameter]
public string MacdNegativeColor { get; set; }
Property Value
| Type |
|---|
| string |
MacdPositiveColor
Defines the color of the positive bars in Macd indicators.
Declaration
[Parameter]
public string MacdPositiveColor { get; set; }
Property Value
| Type |
|---|
| string |
MacdType
Defines the type of the Macd indicator.
Declaration
[Parameter]
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
[Parameter]
public string Open { get; set; }
Property Value
| Type |
|---|
| string |
OverBought
Defines the over-bought(threshold) values. It is applicable for RSI and stochastic indicators.
Declaration
[Parameter]
public double OverBought { get; set; }
Property Value
| Type |
|---|
| double |
OverSold
Defines the over-sold(threshold) values. It is applicable for RSI and stochastic indicators.
Declaration
[Parameter]
public double OverSold { get; set; }
Property Value
| Type |
|---|
| double |
Period
Defines the period, the price changes over which will be considered to predict the trend.
Declaration
[Parameter]
public double Period { get; set; }
Property Value
| Type |
|---|
| double |
PointColorMapping
The DataSource field that contains the color value of point. It is applicable for series.
Declaration
[Parameter]
public string PointColorMapping { get; set; }
Property Value
| Type |
|---|
| string |
Query
Specifies query to select data from DataSource. This property is applicable only when the DataSource is Ej.DataManager.
Declaration
[Parameter]
public string Query { get; set; }
Property Value
| Type |
|---|
| string |
SeriesName
Defines the name of the series, the data of which has to be depicted as indicator.
Declaration
[Parameter]
public string SeriesName { get; set; }
Property Value
| Type |
|---|
| string |
ShowZones
Enables/Disables the over-bought and over-sold regions.
Declaration
[Parameter]
public bool ShowZones { get; set; }
Property Value
| Type |
|---|
| bool |
SlowPeriod
Sets the slow period to define the Macd line.
Declaration
[Parameter]
public double SlowPeriod { get; set; }
Property Value
| Type |
|---|
| double |
StandardDeviation
Sets the standard deviation values that helps to define the upper and lower bollinger bands.
Declaration
[Parameter]
public double StandardDeviation { get; set; }
Property Value
| Type |
|---|
| double |
Type
Defines the type of the technical indicator.
Declaration
[Parameter]
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
[Parameter]
public string Volume { get; set; }
Property Value
| Type |
|---|
| 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
[Parameter]
public double Width { get; set; }
Property Value
| Type |
|---|
| 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
[Parameter]
public string XAxisName { get; set; }
Property Value
| Type |
|---|
| string |
XName
The DataSource field that contains the x value. It is applicable for series and technical indicators.
Declaration
[Parameter]
public string XName { get; set; }
Property Value
| Type |
|---|
| 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
[Parameter]
public string YAxisName { get; set; }
Property Value
| Type |
|---|
| string |
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
| Type | Name | Description |
|---|---|---|
| RenderTreeBuilder | __builder |