/**-----------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { TrendlineForecast } from "../../common/property-types";
/**
 * Represents the series trendlines options.
 */
export interface SeriesTrendline {
    /**
     * Configures the trendline forecast settings.
     * By default, the trendline does not display a forecast and this setting is supported for Linear Trendlines on date and scatter series.
     */
    forecast?: TrendlineForecast;
    /**
     * Sets the number of intervals to take when calculating averages.
     * The value should be an integer greater than 2 and this setting is supported only for Moving Average trendlines.
     */
    period?: number;
    /**
     * Sets the order (degree) of the Polynomial trendline.
     * Accepted values are from 2 to 6:
     * * 2&mdash;Creates a Quadratic polynomial trendline with a single extreme point (minimum or maximum) point.
     * * 3&mdash;Creates a Cubic polynomial trendline with up to 2 extreme points.
     * * 4&mdash;Creates a polynomial trendline of 4th degree with up to 3 extreme points.
     * * 5&mdash;Creates a polynomial trendline of 5th degree with up to 4 extreme points.
     * * 6&mdash;Creates a polynomial trendline of 6th degree with up to 5 extreme points.
     *
     * @default 2
     */
    order?: number;
}
