Class StockChartTrendlinesBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
StockChartTrendlinesBuilder
Namespace: Syncfusion.EJ2.Charts
Assembly: Syncfusion.EJ2.dll
Syntax
public class StockChartTrendlinesBuilder : ControlBuilder
Constructors
StockChartTrendlinesBuilder()
Declaration
public StockChartTrendlinesBuilder()
StockChartTrendlinesBuilder(List<StockChartTrendlines>)
Declaration
public StockChartTrendlinesBuilder(List<StockChartTrendlines> collection)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<StockChartTrendlines> | collection |
Methods
Add()
Declaration
public void Add()
Animation(Object)
Options to customize the animation for trendlines.
Declaration
public StockChartTrendlinesBuilder Animation(object animation)
Parameters
Type | Name | Description |
---|---|---|
System.Object | animation |
Returns
BackwardForecast(Double)
Defines the period, by which the trend has to backward forecast.
Declaration
public StockChartTrendlinesBuilder BackwardForecast(double backwardForecast)
Parameters
Type | Name | Description |
---|---|---|
System.Double | backwardForecast |
Returns
EnableTooltip(Boolean)
Enables/disables tooltip for trendlines.
Declaration
public StockChartTrendlinesBuilder EnableTooltip(bool enableTooltip)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | enableTooltip |
Returns
Fill(String)
Defines the fill color of trendline.
Declaration
public StockChartTrendlinesBuilder Fill(string fill)
Parameters
Type | Name | Description |
---|---|---|
System.String | fill |
Returns
ForwardForecast(Double)
Defines the period, by which the trend has to forward forecast.
Declaration
public StockChartTrendlinesBuilder ForwardForecast(double forwardForecast)
Parameters
Type | Name | Description |
---|---|---|
System.Double | forwardForecast |
Returns
Intercept(Double)
Defines the intercept of the trendline.
Declaration
public StockChartTrendlinesBuilder Intercept(double intercept)
Parameters
Type | Name | Description |
---|---|---|
System.Double | intercept |
Returns
LegendShape(LegendShape)
Sets the legend shape of the trendline.
Declaration
public StockChartTrendlinesBuilder LegendShape(LegendShape legendShape)
Parameters
Type | Name | Description |
---|---|---|
LegendShape | legendShape |
Returns
Marker(StockChartMarkerSettings)
Options to customize the marker for trendlines.
Declaration
public StockChartTrendlinesBuilder Marker(StockChartMarkerSettings marker)
Parameters
Type | Name | Description |
---|---|---|
StockChartMarkerSettings | marker |
Returns
Marker(Action<StockChartMarkerSettingsBuilder>)
Declaration
public StockChartTrendlinesBuilder Marker(Action<StockChartMarkerSettingsBuilder> marker)
Parameters
Type | Name | Description |
---|---|---|
System.Action<StockChartMarkerSettingsBuilder> | marker |
Returns
Name(String)
Defines the name of trendline.
Declaration
public StockChartTrendlinesBuilder Name(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Returns
Period(Double)
Defines the period, the price changes over which will be considered to predict moving average trend line.
Declaration
public StockChartTrendlinesBuilder Period(double period)
Parameters
Type | Name | Description |
---|---|---|
System.Double | period |
Returns
PolynomialOrder(Double)
Defines the polynomial order of the polynomial trendline.
Declaration
public StockChartTrendlinesBuilder PolynomialOrder(double polynomialOrder)
Parameters
Type | Name | Description |
---|---|---|
System.Double | polynomialOrder |
Returns
Type(TrendlineTypes)
Defines the type of the trendline.
Declaration
public StockChartTrendlinesBuilder Type(TrendlineTypes type)
Parameters
Type | Name | Description |
---|---|---|
TrendlineTypes | type |
Returns
Width(Double)
Defines the width of the trendline.
Declaration
public StockChartTrendlinesBuilder Width(double width)
Parameters
Type | Name | Description |
---|---|---|
System.Double | width |