Class ChartIndicator
Inheritance
System.Object
ChartIndicator
Assembly: Syncfusion.EJ2.dll
Syntax
public class ChartIndicator : EJTagHelper
Constructors
ChartIndicator()
Declaration
Properties
Animation
Options to customizing animation for the series.
Declaration
public ChartAnimation Animation { get; set; }
Property Value
BandColor
Options for customizing the BollingerBand in the indicator.
Declaration
public string BandColor { get; set; }
Property Value
Type |
Description |
System.String |
|
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 |
|
ColorName
The Data Source field that contains the color mapping value.
It is applicable for range color mapping properly.
Declaration
public string ColorName { get; set; }
Property Value
Type |
Description |
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 |
Description |
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 |
Description |
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 |
Description |
System.Double |
|
EnableComplexProperty
This property used to improve chart performance via data mapping for series dataSource.
Declaration
public bool EnableComplexProperty { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
FastPeriod
Sets the fast period to define the Macd line
Declaration
public double FastPeriod { get; set; }
Property Value
Type |
Description |
System.Double |
|
Field
Defines the field to compare the current value with previous values
Declaration
public FinancialDataFields Field { get; set; }
Property Value
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 |
Description |
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 |
|
IsChild
Declaration
protected override bool IsChild { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
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 |
|
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 |
|
LowerLine
Defines the appearance of lower line in technical indicators
Declaration
public ChartConnector LowerLine { get; set; }
Property Value
MacdLine
Defines the appearance of the the MacdLine of Macd indicator
Declaration
public ChartConnector MacdLine { get; set; }
Property Value
MacdNegativeColor
Defines the color of the negative bars in Macd indicators
Declaration
public string MacdNegativeColor { get; set; }
Property Value
Type |
Description |
System.String |
|
MacdPositiveColor
Defines the color of the positive bars in Macd indicators
Declaration
public string MacdPositiveColor { get; set; }
Property Value
Type |
Description |
System.String |
|
MacdType
Defines the type of the Macd indicator.
Declaration
public MacdType MacdType { get; set; }
Property Value
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 |
|
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 |
|
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 |
|
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 |
|
PeriodLine
Defines the appearance of period line in technical indicators
Declaration
public ChartConnector PeriodLine { get; set; }
Property Value
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 |
|
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 |
|
SegmentAxis
Defines the axis, based on which the line series will be split.
Declaration
public Segment SegmentAxis { get; set; }
Property Value
Segments
Defines the collection of regions that helps to differentiate a line series.
Declaration
public object Segments { get; set; }
Property Value
Type |
Description |
System.Object |
|
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 |
|
ShowZones
Enables/Disables the over-bought and over-sold regions
Declaration
public bool ShowZones { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
SlowPeriod
Sets the slow period to define the Macd line
Declaration
public double SlowPeriod { get; set; }
Property Value
Type |
Description |
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 |
Description |
System.Double |
|
Type
Defines the type of the technical indicator
Declaration
public TechnicalIndicators Type { get; set; }
Property Value
UpperLine
Defines the appearance of the upper line in technical indicators
Declaration
public ChartConnector UpperLine { get; set; }
Property Value
Visible
Specifies the visibility of series.
Declaration
public bool Visible { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|