Class ChartTrendlineBuilder
Inheritance
System.Object
ChartTrendlineBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class ChartTrendlineBuilder : ControlBuilder
Constructors
ChartTrendlineBuilder()
Declaration
public ChartTrendlineBuilder()
ChartTrendlineBuilder(List<ChartTrendline>)
Declaration
public ChartTrendlineBuilder(List<ChartTrendline> collection)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<ChartTrendline> |
collection |
|
Methods
Add()
Declaration
Animation(Object)
Options to customize the animation for trendlines.
Declaration
public ChartTrendlineBuilder 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 ChartTrendlineBuilder BackwardForecast(double backwardForecast)
Parameters
Type |
Name |
Description |
System.Double |
backwardForecast |
|
Returns
DashArray(String)
Defines the pattern of dashes and gaps to stroke.
Declaration
public ChartTrendlineBuilder DashArray(string dashArray)
Parameters
Type |
Name |
Description |
System.String |
dashArray |
|
Returns
Enables/disables tooltip for trendlines.
Declaration
public ChartTrendlineBuilder EnableTooltip(bool enableTooltip)
Parameters
Type |
Name |
Description |
System.Boolean |
enableTooltip |
|
Returns
Fill(String)
Defines the fill color of trendline.
Declaration
public ChartTrendlineBuilder 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 ChartTrendlineBuilder ForwardForecast(double forwardForecast)
Parameters
Type |
Name |
Description |
System.Double |
forwardForecast |
|
Returns
Intercept(Double)
Defines the intercept of the trendline.
Declaration
public ChartTrendlineBuilder Intercept(double intercept)
Parameters
Type |
Name |
Description |
System.Double |
intercept |
|
Returns
LegendShape(LegendShape)
Sets the legend shape of the trendline.
Declaration
public ChartTrendlineBuilder LegendShape(LegendShape legendShape)
Parameters
Returns
Marker(ChartMarkerSettings)
Options to customize the marker for trendlines.
Declaration
public ChartTrendlineBuilder Marker(ChartMarkerSettings marker)
Parameters
Returns
Marker(Action<ChartMarkerSettingsBuilder>)
Declaration
public ChartTrendlineBuilder Marker(Action<ChartMarkerSettingsBuilder> marker)
Parameters
Returns
Name(String)
Defines the name of trendline.
Declaration
public ChartTrendlineBuilder 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 ChartTrendlineBuilder Period(double period)
Parameters
Type |
Name |
Description |
System.Double |
period |
|
Returns
PolynomialOrder(Double)
Defines the polynomial order of the polynomial trendline.
Declaration
public ChartTrendlineBuilder PolynomialOrder(double polynomialOrder)
Parameters
Type |
Name |
Description |
System.Double |
polynomialOrder |
|
Returns
Type(TrendlineTypes)
Defines the type of the trendline.
Declaration
public ChartTrendlineBuilder Type(TrendlineTypes type)
Parameters
Returns
Visible(Boolean)
Specifies the visibility of trendline.
Declaration
public ChartTrendlineBuilder Visible(bool visible)
Parameters
Type |
Name |
Description |
System.Boolean |
visible |
|
Returns
Width(Double)
Defines the width of the trendline.
Declaration
public ChartTrendlineBuilder Width(double width)
Parameters
Type |
Name |
Description |
System.Double |
width |
|
Returns