Skip to content

RegressionSeries

Type module

Data item

RegressionSeries uses data items of type IRegressionSeriesDataItem.

Sources

Items from RegressionSeries can be imported/included and used via following ways.

/**
* Import via: RegressionSeries.ts
* Access items like: $regressionseries.myVariable
*/
import * as $regressionseries from "@amcharts/amcharts5/RegressionSeries";

Variables

RegressionSeries does not have any variables.

Functions

linear(t: Time)

Returns Time

No easing: the animation runs at a constant speed.

round(value: number,
precision?: undefined | number,
floor?: undefined | false | true
)

Returns number

Rounds a date down to the start of its period of count units, such as to midnight for "day". May change date itself.