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