Class ChartIndicator
Inheritance
System.Object
ChartIndicator
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Syncfusion.EJ2.dll
Syntax
public class ChartIndicator : EJTagHelper
Constructors
ChartIndicator()
Declaration
Properties
Animation
Options to customizing animation for the series.
Declaration
[HtmlAttributeName("animation")]
public ChartAnimation Animation { get; set; }
Property Value
BandColor
Options for customizing the BollingerBand in the indicator.
Declaration
[HtmlAttributeName("bandColor")]
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
[HtmlAttributeName("close")]
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
[HtmlAttributeName("colorName")]
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
[HtmlAttributeName("dashArray")]
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
[HtmlAttributeName("dataSource")]
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
[HtmlAttributeName("dPeriod")]
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
[HtmlAttributeName("enableComplexProperty")]
public bool EnableComplexProperty { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
FastPeriod
Sets the fast period to define the Macd line
Declaration
[HtmlAttributeName("fastPeriod")]
public double FastPeriod { get; set; }
Property Value
Type |
Description |
System.Double |
|
Field
Defines the field to compare the current value with previous values
Declaration
[HtmlAttributeName("field")]
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
[HtmlAttributeName("fill")]
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
[HtmlAttributeName("high")]
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
[HtmlAttributeName("kPeriod")]
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
[HtmlAttributeName("low")]
public string Low { get; set; }
Property Value
Type |
Description |
System.String |
|
LowerLine
Defines the appearance of lower line in technical indicators
Declaration
[HtmlAttributeName("lowerLine")]
public ChartConnector LowerLine { get; set; }
Property Value
MacdLine
Defines the appearance of the the MacdLine of Macd indicator
Declaration
[HtmlAttributeName("macdLine")]
public ChartConnector MacdLine { get; set; }
Property Value
MacdNegativeColor
Defines the color of the negative bars in Macd indicators
Declaration
[HtmlAttributeName("macdNegativeColor")]
public string MacdNegativeColor { get; set; }
Property Value
Type |
Description |
System.String |
|
MacdPositiveColor
Defines the color of the positive bars in Macd indicators
Declaration
[HtmlAttributeName("macdPositiveColor")]
public string MacdPositiveColor { get; set; }
Property Value
Type |
Description |
System.String |
|
MacdType
Defines the type of the Macd indicator.
Declaration
[HtmlAttributeName("macdType")]
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
[HtmlAttributeName("open")]
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
[HtmlAttributeName("overBought")]
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
[HtmlAttributeName("overSold")]
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
[HtmlAttributeName("period")]
public double Period { get; set; }
Property Value
Type |
Description |
System.Double |
|
PeriodLine
Defines the appearance of period line in technical indicators
Declaration
[HtmlAttributeName("periodLine")]
public ChartConnector PeriodLine { get; set; }
Property Value
PointColorMapping
The DataSource field that contains the color value of point
It is applicable for series
Declaration
[HtmlAttributeName("pointColorMapping")]
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
[HtmlAttributeName("query")]
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
[HtmlAttributeName("segmentAxis")]
public Segment SegmentAxis { get; set; }
Property Value
Segments
Defines the collection of regions that helps to differentiate a line series.
Declaration
[HtmlAttributeName("segments")]
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
[HtmlAttributeName("seriesName")]
public string SeriesName { get; set; }
Property Value
Type |
Description |
System.String |
|
ShowZones
Enables/Disables the over-bought and over-sold regions
Declaration
[HtmlAttributeName("showZones")]
public bool ShowZones { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
SlowPeriod
Sets the slow period to define the Macd line
Declaration
[HtmlAttributeName("slowPeriod")]
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
[HtmlAttributeName("standardDeviation")]
public double StandardDeviation { get; set; }
Property Value
Type |
Description |
System.Double |
|
Type
Defines the type of the technical indicator
Declaration
[HtmlAttributeName("type")]
public TechnicalIndicators Type { get; set; }
Property Value
UpperLine
Defines the appearance of the upper line in technical indicators
Declaration
[HtmlAttributeName("upperLine")]
public ChartConnector UpperLine { get; set; }
Property Value
Visible
Specifies the visibility of series.
Declaration
[HtmlAttributeName("visible")]
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
[HtmlAttributeName("volume")]
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
[HtmlAttributeName("width")]
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
[HtmlAttributeName("xAxisName")]
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
[HtmlAttributeName("xName")]
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
[HtmlAttributeName("yAxisName")]
public string YAxisName { get; set; }
Property Value
Type |
Description |
System.String |
|