Class StockChartStockChartIndicator
Inheritance
Namespace: Syncfusion.EJ2.Charts
Assembly: Syncfusion.EJ2.dll
Syntax
public class StockChartStockChartIndicator : EJTagHelper
Constructors
StockChartStockChartIndicator()
Declaration
public StockChartStockChartIndicator()
Properties
Animation
Options to customizing animation for the series.
Declaration
public StockChartAnimation Animation { get; set; }
Property Value
Type | Description |
---|---|
StockChartAnimation | The default value is null |
BandColor
Options for customizing the BollingerBand in the indicator.
Declaration
public string BandColor { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "rgba(211,211,211,0.25)" |
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 | Description |
---|---|
System.String | The default value is "" |
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 | Description |
---|---|
System.String | The default value is "0" |
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 | Description |
---|---|
System.Object | The default value is null |
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 | Description |
---|---|
System.Double | The default value is 3 |
FastPeriod
Sets the fast period to define the Macd line.
Declaration
public double FastPeriod { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 26 |
Field
Defines the field to compare the current value with previous values.
Declaration
public FinancialDataFields Field { get; set; }
Property Value
Type | Description |
---|---|
FinancialDataFields | The default value is FinancialDataFields.Close |
Fill
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 | Description |
---|---|
System.String | The default value is "" |
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 | Description |
---|---|
System.Double | The default value is 14 |
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 | Description |
---|---|
System.String | The default value is "" |
LowerLine
Defines the appearance of lower line in technical indicators.
Declaration
public StockChartLowerLine LowerLine { get; set; }
Property Value
Type | Description |
---|---|
StockChartLowerLine | The default value is null |
MacdLine
Defines the appearance of the the MacdLine of Macd indicator.
Declaration
public StockChartConnector MacdLine { get; set; }
Property Value
Type | Description |
---|---|
StockChartConnector | The default value is null |
MacdNegativeColor
Defines the color of the negative bars in Macd indicators.
Declaration
public string MacdNegativeColor { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "#e74c3d" |
MacdPositiveColor
Defines the color of the positive bars in Macd indicators.
Declaration
public string MacdPositiveColor { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "#2ecd71" |
MacdType
Defines the type of the Macd indicator.
Declaration
public MacdType MacdType { get; set; }
Property Value
Type | Description |
---|---|
MacdType | The default value is MacdType.Both |
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 | Description |
---|---|
System.String | The default value is "" |
OverBought
Defines the over-bought(threshold) values. It is applicable for RSI and stochastic indicators.
Declaration
public double OverBought { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 80 |
OverSold
Defines the over-sold(threshold) values. It is applicable for RSI and stochastic indicators.
Declaration
public double OverSold { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 20 |
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 | Description |
---|---|
System.Double | The default value is 14 |
PeriodLine
Defines the appearance of period line in technical indicators.
Declaration
public StockChartPeriodLine PeriodLine { get; set; }
Property Value
Type | Description |
---|---|
StockChartPeriodLine | The default value is null |
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 | Description |
---|---|
System.String | The default value is "" |
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 | Description |
---|---|
System.String | The default value is null |
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 | Description |
---|---|
System.String | The default value is "" |
ShowZones
Enables/Disables the over-bought and over-sold regions.
Declaration
public bool ShowZones { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is true |
SlowPeriod
Sets the slow period to define the Macd line.
Declaration
public double SlowPeriod { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 12 |
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 | Description |
---|---|
System.Double | The default value is 2 |
Type
Defines the type of the technical indicator.
Declaration
public TechnicalIndicators Type { get; set; }
Property Value
Type | Description |
---|---|
TechnicalIndicators | The default value is TechnicalIndicators.Sma |
UpperLine
Defines the appearance of the upper line in technical indicators.
Declaration
public StockChartUpperLine UpperLine { get; set; }
Property Value
Type | Description |
---|---|
StockChartUpperLine | The default value is null |
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 | Description |
---|---|
System.String | The default value is "" |
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 | Description |
---|---|
System.Double | The default value is 1 |
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 | Description |
---|---|
System.String | The default value is null |
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 | Description |
---|---|
System.String | The default value is "" |
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 | Description |
---|---|
System.String | The default value is null |