@covalent/echarts
Version:
Teradata UI Platform Echarts Module
23 lines (22 loc) • 1.62 kB
TypeScript
import { OnChanges } from '@angular/core';
import { TdChartOptionsService } from '@covalent/echarts/base';
import { ITdScatterSeries, TdChartSeriesScatterComponent } from '@covalent/echarts/scatter';
import * as i0 from "@angular/core";
export type TdRegressionType = 'linear' | 'exponential' | 'logarithmic' | 'polynomial';
export interface ITdRegressionSeries extends ITdScatterSeries {
data?: number[][];
regressionType?: TdRegressionType;
polinomialOrder?: number;
}
export declare class TdChartSeriesRegressionComponent extends TdChartSeriesScatterComponent implements ITdRegressionSeries, OnChanges {
data?: number[][];
regressionType?: TdRegressionType;
polinomialOrder?: number;
constructor(_optionsService: TdChartOptionsService);
ngOnChanges(): void;
getConfig(): any;
private setOptions;
private render;
static ɵfac: i0.ɵɵFactoryDeclaration<TdChartSeriesRegressionComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TdChartSeriesRegressionComponent, "td-chart-series[td-regression]", never, { "config": "config"; "id": "id"; "name": "name"; "color": "color"; "data": "data"; "animation": "animation"; "animationThreshold": "animationThreshold"; "animationDuration": "animationDuration"; "animationEasing": "animationEasing"; "animationDelay": "animationDelay"; "animationDurationUpdate": "animationDurationUpdate"; "animationEasingUpdate": "animationEasingUpdate"; "animationDelayUpdate": "animationDelayUpdate"; "tooltip": "tooltip"; "regressionType": "regressionType"; "polinomialOrder": "polinomialOrder"; }, {}, never, never, false, never>;
}