Class ChartTrendline
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()
Namespace: Syncfusion.EJ2.Charts
Assembly: Syncfusion.EJ2.dll
Syntax
public class ChartTrendline : EJTagHelper
Constructors
ChartTrendline()
Declaration
public ChartTrendline()
Properties
Animation
Options to customize the animation for trendlines
Declaration
[HtmlAttributeName("animation")]
public object Animation { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
BackwardForecast
Defines the period, by which the trend has to backward forecast
Declaration
[HtmlAttributeName("backwardForecast")]
public double BackwardForecast { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
DashArray
Defines the pattern of dashes and gaps to stroke.
Declaration
[HtmlAttributeName("dashArray")]
public string DashArray { get; set; }
Property Value
Type | Description |
---|---|
System.String |
EnableTooltip
Enables/disables tooltip for trendlines
Declaration
[HtmlAttributeName("enableTooltip")]
public bool EnableTooltip { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Fill
Defines the fill color of trendline
Declaration
[HtmlAttributeName("fill")]
public string Fill { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ForwardForecast
Defines the period, by which the trend has to forward forecast
Declaration
[HtmlAttributeName("forwardForecast")]
public double ForwardForecast { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Intercept
Defines the intercept of the trendline
Declaration
[HtmlAttributeName("intercept")]
public double Intercept { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
IsChild
Declaration
protected override bool IsChild { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
LegendShape
Sets the legend shape of the trendline
Declaration
[HtmlAttributeName("legendShape")]
public LegendShape LegendShape { get; set; }
Property Value
Type | Description |
---|---|
LegendShape |
Marker
Options to customize the marker for trendlines
Declaration
[HtmlAttributeName("marker")]
public ChartMarkerSettings Marker { get; set; }
Property Value
Type | Description |
---|---|
ChartMarkerSettings |
Name
Defines the name of trendline
Declaration
[HtmlAttributeName("name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Period
Defines the period, the price changes over which will be considered to predict moving average trend line
Declaration
[HtmlAttributeName("period")]
public double Period { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
PolynomialOrder
Defines the polynomial order of the polynomial trendline
Declaration
[HtmlAttributeName("polynomialOrder")]
public double PolynomialOrder { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Type
Defines the type of the trendline
Declaration
[HtmlAttributeName("type")]
public TrendlineTypes Type { get; set; }
Property Value
Type | Description |
---|---|
TrendlineTypes |
Visible
Specifies the visibility of trendline.
Declaration
[HtmlAttributeName("visible")]
public bool Visible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Width
Defines the width of the trendline
Declaration
[HtmlAttributeName("width")]
public double Width { get; set; }
Property Value
Type | Description |
---|---|
System.Double |