Search results

Trendline API in React Pivot Table API component

Allows to configure the trendlines of the chart such as name, period, type, tooltip, marker, animation, color, legend shape, etc.

Properties

animation

PivotChartAnimationModel

Allows options to customize the animation for trendlines

backwardForecast

number

Allows to set the period, by which the trend has to backward forecast

Defaults to 0

dashArray

string

Allows to set the pattern of dashes and gaps to stroke.

Defaults to ‘0’

enableTooltip

boolean

Allows to set the visibility of the tooltip for trendlines

Defaults to true

fill

string

Allows to set the fill color of trendline

Defaults to

forwardForecast

number

Allows to set the period, by which the trend has to forward forecast

Defaults to 0

intercept

number

Allows to set the intercept of the trendline

Defaults to null

legendShape

LegendShape

Allows to set the legend shape of the trendline

Defaults to ‘SeriesType’

marker

PivotChartMarkerSettingsModel

Allows options to customize the marker for trendlines

name

string

Allows to set the name of trendline

Defaults to

period

number

Allows to set the period, the price changes over which will be considered to predict moving average trend line

Defaults to 2

polynomialOrder

number

Allows to set the polynomial order of the polynomial trendline

Defaults to 2

type

TrendlineTypes

Allows to set the type of the trendline

Defaults to ‘Linear’

visible

boolean

Allows to specify the visibility of trendline.

Defaults to true

width

number

Allows to set the width of the trendline

Defaults to 1