@squareys/webdecks-sdk - v0.0.0
    Preparing search index...

    Interface TrendlineOptions

    Trendline options for Chart.addTrendline.

    interface TrendlineOptions {
        order?: number;
        period?: number;
        showEquation?: boolean;
        showR2?: boolean;
    }
    Index
    order?: number

    Polynomial order (2..6).

    period?: number

    Moving-average period (>= 2).

    showEquation?: boolean

    Show the fit equation on the plot.

    showR2?: boolean

    Show the R² value on the plot.