@covalent/echarts
Version:
Teradata UI Platform Echarts Module
36 lines (32 loc) • 2.78 kB
TypeScript
import * as i0 from '@angular/core';
import { OnChanges, Type } from '@angular/core';
import { TdChartSeriesScatterComponent, ITdScatterSeries } from '@covalent/echarts/scatter';
type TdRegressionType = 'linear' | 'exponential' | 'logarithmic' | 'polynomial';
interface ITdRegressionSeries extends ITdScatterSeries {
data?: number[][];
regressionType?: TdRegressionType;
polinomialOrder?: number;
}
declare class TdChartSeriesRegressionComponent extends TdChartSeriesScatterComponent implements ITdRegressionSeries, OnChanges {
data?: number[][];
regressionType?: TdRegressionType;
polinomialOrder?: number;
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": { "alias": "config"; "required": false; }; "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "color": { "alias": "color"; "required": false; }; "data": { "alias": "data"; "required": false; }; "animation": { "alias": "animation"; "required": false; }; "animationThreshold": { "alias": "animationThreshold"; "required": false; }; "animationDuration": { "alias": "animationDuration"; "required": false; }; "animationEasing": { "alias": "animationEasing"; "required": false; }; "animationDelay": { "alias": "animationDelay"; "required": false; }; "animationDurationUpdate": { "alias": "animationDurationUpdate"; "required": false; }; "animationEasingUpdate": { "alias": "animationEasingUpdate"; "required": false; }; "animationDelayUpdate": { "alias": "animationDelayUpdate"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "regressionType": { "alias": "regressionType"; "required": false; }; "polinomialOrder": { "alias": "polinomialOrder"; "required": false; }; }, {}, never, never, true, never>;
}
declare const REGRESSION_MODULE_COMPONENTS: Type<any>[];
/**
* @deprecated This module is deprecated and will be removed in future versions.
* Please migrate to using standalone components as soon as possible.
*/
declare class CovalentRegressionEchartsModule {
static ɵfac: i0.ɵɵFactoryDeclaration<CovalentRegressionEchartsModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<CovalentRegressionEchartsModule, never, [typeof TdChartSeriesRegressionComponent], [typeof TdChartSeriesRegressionComponent]>;
static ɵinj: i0.ɵɵInjectorDeclaration<CovalentRegressionEchartsModule>;
}
export { CovalentRegressionEchartsModule, REGRESSION_MODULE_COMPONENTS, TdChartSeriesRegressionComponent };
export type { ITdRegressionSeries, TdRegressionType };