@covalent/echarts
Version:
Teradata UI Platform Echarts Module
604 lines (589 loc) • 26.6 kB
TypeScript
import * as i0 from '@angular/core';
import { AfterViewInit, OnChanges, OnDestroy, EventEmitter, SimpleChanges, OnInit, Type } from '@angular/core';
import { Observable } from 'rxjs';
declare class TdChartComponent implements AfterViewInit, OnChanges, OnDestroy {
private _changeDetectorRef;
private _elementRef;
private _optionsService;
private _destroy;
private _widthSubject;
private _heightSubject;
private _instance;
/**
* returns the echarts instance
*/
get instance(): any;
private _state;
private _options;
/**
* config?: any;
* Sets the JS config object if you choose to not use the property inputs.
* Note: [config] input properties will override input values
* https://ecomfe.github.io/echarts-doc/public/en/option.html
*/
config?: any;
/**
* group?: string
* group name in which the chart instance will be connected to
* https://ecomfe.github.io/echarts-doc/public/en/api.html#echarts.connect
*/
group?: string;
/**
* themeName?: string
* theme to be applied into chart instance
* https://ecomfe.github.io/echarts-doc/public/en/tutorial.html#Overview%20of%20Style%20Customization
*/
themeName?: string | null;
/**
* renderer: 'svg' | 'canvas'
* sets the rendering mode for the chart.
* defaults to 'canvas'
* https://ecomfe.github.io/echarts-doc/public/en/tutorial.html#Render%20by%20Canvas%20or%20SVG
*/
renderer: 'canvas' | 'svg';
chartClick: EventEmitter<any>;
chartDblclick: EventEmitter<any>;
chartContextmenu: EventEmitter<any>;
magicTypeChanged: EventEmitter<any>;
dataViewChanged: EventEmitter<any>;
datazoom: EventEmitter<any>;
restore: EventEmitter<any>;
ngAfterViewInit(): void;
ngOnChanges(changes: SimpleChanges): void;
ngOnDestroy(): void;
render(): void;
private _initializeChart;
private _disposeChart;
static ɵfac: i0.ɵɵFactoryDeclaration<TdChartComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TdChartComponent, "td-chart", never, { "config": { "alias": "config"; "required": false; }; "group": { "alias": "group"; "required": false; }; "themeName": { "alias": "themeName"; "required": false; }; "renderer": { "alias": "renderer"; "required": false; }; }, { "chartClick": "chartClick"; "chartDblclick": "chartDblclick"; "chartContextmenu": "chartContextmenu"; "magicTypeChanged": "magicTypeChanged"; "dataViewChanged": "dataViewChanged"; "datazoom": "datazoom"; "restore": "restore"; }, never, never, true, never>;
}
interface ITdShadow {
shadowBlur?: number;
shadowColor?: any;
shadowOffsetX?: number;
shadowOffsetY?: number;
}
interface ITdLineStyle extends ITdShadow {
color?: any;
width?: number;
type?: TdLineType;
opacity?: number;
}
interface ITdLineCurveStyle extends ITdLineStyle {
curveness?: number;
emphasis?: ITdLineStyle;
}
interface ITdAnimation {
animation?: boolean;
animationThreshold?: number;
animationDuration?: number | Function;
animationEasing?: string;
animationDelay?: number | Function;
animationDurationUpdate?: number | Function;
animationEasingUpdate?: string;
animationDelayUpdate?: number | Function;
}
interface ITdTextShadow {
textShadowColor?: string;
textShadowBlur?: number;
textShadowOffsetX?: number;
textShadowOffsetY?: number;
}
interface ITdFont {
fontStyle?: TdFontStyle;
fontWeight?: TdFontWeight;
fontFamily?: string;
fontSize?: number;
}
interface ITdTooltip {
show?: boolean;
trigger?: TdTooltipTrigger;
axisPointer?: ITdTooltipAxisPointer;
showContent?: boolean;
alwaysShowContent?: boolean;
triggerOn?: TdTooltipTriggerOn;
showDelay?: number;
hideDelay?: number;
enterable?: boolean;
renderMode?: 'html' | 'richText';
confine?: boolean;
transitionDuration?: number;
position?: string | any[] | Function;
formatter?: string | Function;
backgroundColor?: string;
borderColor?: string;
borderWidth?: number;
padding?: number;
textStyle?: ITdTextStyle;
extraCssText?: string;
}
interface ITdTooltipAxisPointer {
type?: TdAxisPointerType;
axis?: TdAxisPointerAxis;
snap?: boolean;
z?: number;
label?: ITdAxisPointerLabel;
lineStyle?: ITdLineStyle;
shadowStyle?: ITdBaseStyle;
crossStyle?: ITdLineStyle;
}
interface ITdBaseStyle extends ITdShadow {
color?: any;
opacity?: number;
}
interface ITdTextStyle extends ITdTextShadow, ITdFont {
color?: string | object;
lineHeight?: number;
width?: number | string;
height?: number | string;
textBorderColor?: string;
textBorderWidth?: number;
rich?: object;
}
interface ITdEdgeLabel extends ITdShadow, ITdTextShadow, ITdFont {
show?: boolean;
position?: TdLabelPosition;
rotate?: number;
offset?: number[];
formatter?: any | Function;
color?: any;
align?: TdAlign;
verticalAlign?: TdVerticalAlign;
lineHeight?: number;
backgroundColor?: string | object;
borderColor?: string;
borderWidth?: number;
borderRadius?: number;
padding?: number;
width?: number | string;
height?: number | string;
textBorderColor?: string;
textBorderWidth?: number;
rich?: any;
}
interface ITdLabel extends ITdEdgeLabel, ITdShadow, ITdTextShadow, ITdFont {
distance?: number;
}
interface ITdAxisPointerLabel extends ITdShadow, ITdTextShadow, ITdFont {
show?: boolean;
precision?: string | number;
formatter?: string | Function;
margin?: number;
color?: any;
lineHeight?: number;
width?: number | string;
height?: number | string;
textBorderColor?: string;
textBorderWidth?: number;
padding?: number | number[];
backgroundColor?: string;
borderColor?: string;
borderWidth?: number;
}
type TdAxisPointerAxis = 'x' | 'y' | 'radius' | 'angle';
type TdTooltipTrigger = 'item' | 'axis' | 'none';
type TdTooltipTriggerOn = 'mousemove' | 'click' | 'none' | 'mousemove|click';
type TdAxisPointerType = 'line' | 'shadow' | 'cross';
type TdLabelPosition = 'top' | 'left' | 'right' | 'bottom' | 'inside' | 'insideLeft' | 'insideRight' | 'insideTop' | 'insideBottom' | 'insideTopLeft' | 'insideBottomLeft' | 'insideTopRight' | 'insideBottomRight' | string[];
type TdTextPosition = 'left' | 'right' | 'top' | 'bottom';
type TdAlign = 'left' | 'center' | 'right';
type TdTextAlign = 'left' | 'right';
type TdLineType = 'solid' | 'dashed' | 'dotted';
type TdAreaOrigin = 'auto' | 'start' | 'end';
type TdLineLabelPosition = 'middle' | 'start' | 'end';
type TdTooltipPosition = 'inside' | 'top' | 'left' | 'right' | 'bottom' | string[] | number[] | Function;
type TdFontWeight = 'normal' | 'bold' | 'bolder' | 'lighter' | number;
type TdVerticalAlign = 'top' | 'middle' | 'bottom' | 'center';
type TdPointerType = 'line' | 'shadow';
type TdFontStyle = 'normal' | 'italic' | 'oblique';
type TdStatus = 'show' | 'hide';
type TdMarkPointSymbol = 'circle' | 'rect' | 'roundRect' | 'triangle' | 'diamond' | 'pin' | 'arrow' | 'none';
interface ITdNameTextStyle extends ITdShadow, ITdTextShadow, ITdFont {
color?: string | any;
align?: TdAlign;
verticalAlign?: TdVerticalAlign;
lineHeight?: number;
backgroundColor?: string | any;
borderColor?: string;
borderWidth?: number;
borderRadius?: number;
padding?: number | number[];
width?: number | string;
height?: number | string;
textBorderColor?: string;
textBorderWidth?: number;
/**
* used to define rish text styles
* https://ecomfe.github.io/echarts-doc/public/en/tutorial.html#Rich%20Text
*/
rich: any;
}
interface ITdAxisLine {
show: boolean;
onZero?: boolean;
onZeroAxisIndex?: number;
symbol?: 'none' | 'arrow' | string[];
symbolSize?: number[];
symbolOffset?: number | number[];
lineStyle?: ITdLineStyle;
}
interface ITdAxisTick {
show?: boolean;
alignWithLabel?: boolean;
interval?: number | Function;
inside?: boolean;
length?: number;
lineStyle?: ITdLineStyle;
}
interface ITdAxisLabel extends ITdShadow, ITdTextShadow, ITdFont {
show?: boolean;
interval?: number | Function;
inside?: boolean;
rotate?: number;
margin?: number;
formatter?: string | Function;
showMinLabel?: boolean;
showMaxLabel?: boolean;
color?: string | Function;
align?: TdAlign;
verticalAlign?: TdVerticalAlign;
lineHeight?: number;
backgroundColor?: string | object;
borderColor?: string | object;
borderWidth?: number;
borderRadius?: number;
padding?: number;
width?: number | string;
height?: number | string;
textBorderColor?: string | object;
textBorderWidth?: number;
}
interface ITdSplitLine {
type?: TdLineType;
show?: boolean;
interval?: any;
lineStyle?: ITdLineStyle;
}
interface ITdSplitArea {
show?: boolean;
interval?: any;
areaStyle?: ITdBaseStyle;
}
interface ITdAxisPointer {
show?: boolean;
type?: TdPointerType;
snap?: boolean;
z?: number;
label?: ITdAxisPointerLabel;
lineStyle?: ITdLineStyle;
shadowStyle?: ITdBaseStyle;
triggerTooltip?: boolean;
value?: number;
status?: TdStatus;
handle?: any;
}
interface ITdXAxisConfig {
id?: string;
show?: boolean;
gridIndex?: number;
position?: TdXAxisPosition;
offset?: number;
type?: TdAxisType;
name?: string;
nameLocation?: TdNameLocation;
nameTextStyle?: ITdTextStyle;
nameGap?: number;
nameRotate?: number;
inverse?: boolean;
boundaryGap?: boolean | any[];
min?: number | string | Function;
max?: number | string;
scale?: boolean;
splitNumber?: number;
minInterval?: number;
maxInterval?: number;
interval?: number;
logBase?: number;
silent?: false;
triggerEvent?: boolean;
axisLine?: ITdAxisLine;
axisTick?: ITdAxisTick;
axisLabel?: ITdAxisLabel;
splitLine?: ITdSplitLine;
splitArea?: ITdSplitArea;
data?: any[];
axisPointer?: ITdAxisPointer;
zlevel?: number;
z?: number;
}
interface ITdYAxisConfig {
id?: string;
show?: boolean;
gridIndex?: number;
position?: TdYAxisPosition;
offset?: number;
type?: TdAxisType;
name?: string;
nameLocation?: TdNameLocation;
nameTextStyle?: ITdTextStyle;
nameGap?: number;
nameRotate?: number;
inverse?: boolean;
boundaryGap?: boolean | any[];
min?: number | string | Function;
max?: number | string;
scale?: boolean;
splitNumber?: number;
minInterval?: number;
maxInterval?: number;
interval?: number;
logBase?: number;
silent?: false;
triggerEvent?: boolean;
axisLine?: ITdAxisLine;
axisTick?: ITdAxisTick;
axisLabel?: ITdAxisLabel;
splitLine?: ITdSplitLine;
splitArea?: ITdSplitArea;
data?: any[];
axisPointer?: ITdAxisPointer;
zlevel?: number;
z?: number;
}
type TdNameLocation = 'start' | 'middle' | 'center' | 'end';
type TdAxisType = 'value' | 'category' | 'time' | 'log';
type TdYAxisPosition = 'left' | 'right';
type TdXAxisPosition = 'top' | 'bottom';
declare class TdChartOptionsService {
private _options;
private _optionsSubject;
setOption(option: string, value: any): void;
setArrayOption(option: string, value: any): any;
removeArrayOption(option: string, value: any): any;
getOption(option: string): any[];
clearOption(option: string): void;
listen(): Observable<any>;
static ɵfac: i0.ɵɵFactoryDeclaration<TdChartOptionsService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<TdChartOptionsService>;
}
declare abstract class TdChartAxisDirective implements OnChanges, OnInit, OnDestroy {
private _axisOption;
private _optionsService;
private _state;
config: any;
id?: string;
show?: boolean;
gridIndex?: number;
offset?: number;
abstract position: TdXAxisPosition | TdYAxisPosition;
type?: TdAxisType;
name?: string;
nameLocation?: TdNameLocation;
nameTextStyle?: any;
nameGap?: number;
nameRotate?: number;
inverse?: boolean;
boundaryGap?: boolean | string[];
min?: string | number;
max?: string | number;
scale?: boolean;
minInterval?: number;
interval?: number;
logBase?: number;
silent?: boolean;
triggerEvent?: boolean;
axisLine?: ITdAxisLine;
axisTick?: ITdAxisTick;
axisLabel?: ITdAxisLabel;
splitLine?: ITdSplitLine;
splitArea?: ITdSplitArea;
data?: any;
axisPointer?: ITdAxisPointer;
zlevel?: number;
z?: number;
constructor(_axisOption: string, _optionsService: TdChartOptionsService);
ngOnInit(): void;
ngOnChanges(): void;
ngOnDestroy(): void;
private _setOptions;
private _removeOption;
static ɵfac: i0.ɵɵFactoryDeclaration<TdChartAxisDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<TdChartAxisDirective, never, never, { "config": { "alias": "config"; "required": false; }; "id": { "alias": "id"; "required": false; }; "show": { "alias": "show"; "required": false; }; "gridIndex": { "alias": "gridIndex"; "required": false; }; "offset": { "alias": "offset"; "required": false; }; "type": { "alias": "type"; "required": false; }; "name": { "alias": "name"; "required": false; }; "nameLocation": { "alias": "nameLocation"; "required": false; }; "nameTextStyle": { "alias": "nameTextStyle"; "required": false; }; "nameGap": { "alias": "nameGap"; "required": false; }; "nameRotate": { "alias": "nameRotate"; "required": false; }; "inverse": { "alias": "inverse"; "required": false; }; "boundaryGap": { "alias": "boundaryGap"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "scale": { "alias": "scale"; "required": false; }; "minInterval": { "alias": "minInterval"; "required": false; }; "interval": { "alias": "interval"; "required": false; }; "logBase": { "alias": "logBase"; "required": false; }; "silent": { "alias": "silent"; "required": false; }; "triggerEvent": { "alias": "triggerEvent"; "required": false; }; "axisLine": { "alias": "axisLine"; "required": false; }; "axisTick": { "alias": "axisTick"; "required": false; }; "axisLabel": { "alias": "axisLabel"; "required": false; }; "splitLine": { "alias": "splitLine"; "required": false; }; "splitArea": { "alias": "splitArea"; "required": false; }; "data": { "alias": "data"; "required": false; }; "axisPointer": { "alias": "axisPointer"; "required": false; }; "zlevel": { "alias": "zlevel"; "required": false; }; "z": { "alias": "z"; "required": false; }; }, {}, never, never, true, never>;
}
declare class TdChartXAxisComponent extends TdChartAxisDirective {
position: TdXAxisPosition;
constructor();
static ɵfac: i0.ɵɵFactoryDeclaration<TdChartXAxisComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TdChartXAxisComponent, "td-chart-x-axis", never, { "config": { "alias": "config"; "required": false; }; "id": { "alias": "id"; "required": false; }; "show": { "alias": "show"; "required": false; }; "gridIndex": { "alias": "gridIndex"; "required": false; }; "offset": { "alias": "offset"; "required": false; }; "type": { "alias": "type"; "required": false; }; "name": { "alias": "name"; "required": false; }; "nameLocation": { "alias": "nameLocation"; "required": false; }; "nameTextStyle": { "alias": "nameTextStyle"; "required": false; }; "nameGap": { "alias": "nameGap"; "required": false; }; "nameRotate": { "alias": "nameRotate"; "required": false; }; "inverse": { "alias": "inverse"; "required": false; }; "boundaryGap": { "alias": "boundaryGap"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "scale": { "alias": "scale"; "required": false; }; "minInterval": { "alias": "minInterval"; "required": false; }; "interval": { "alias": "interval"; "required": false; }; "logBase": { "alias": "logBase"; "required": false; }; "silent": { "alias": "silent"; "required": false; }; "triggerEvent": { "alias": "triggerEvent"; "required": false; }; "axisLine": { "alias": "axisLine"; "required": false; }; "axisTick": { "alias": "axisTick"; "required": false; }; "axisLabel": { "alias": "axisLabel"; "required": false; }; "splitLine": { "alias": "splitLine"; "required": false; }; "splitArea": { "alias": "splitArea"; "required": false; }; "data": { "alias": "data"; "required": false; }; "axisPointer": { "alias": "axisPointer"; "required": false; }; "zlevel": { "alias": "zlevel"; "required": false; }; "z": { "alias": "z"; "required": false; }; "position": { "alias": "position"; "required": false; }; }, {}, never, never, true, never>;
}
declare class TdChartYAxisComponent extends TdChartAxisDirective {
position: TdYAxisPosition;
constructor();
static ɵfac: i0.ɵɵFactoryDeclaration<TdChartYAxisComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TdChartYAxisComponent, "td-chart-y-axis", never, { "config": { "alias": "config"; "required": false; }; "id": { "alias": "id"; "required": false; }; "show": { "alias": "show"; "required": false; }; "gridIndex": { "alias": "gridIndex"; "required": false; }; "offset": { "alias": "offset"; "required": false; }; "type": { "alias": "type"; "required": false; }; "name": { "alias": "name"; "required": false; }; "nameLocation": { "alias": "nameLocation"; "required": false; }; "nameTextStyle": { "alias": "nameTextStyle"; "required": false; }; "nameGap": { "alias": "nameGap"; "required": false; }; "nameRotate": { "alias": "nameRotate"; "required": false; }; "inverse": { "alias": "inverse"; "required": false; }; "boundaryGap": { "alias": "boundaryGap"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "scale": { "alias": "scale"; "required": false; }; "minInterval": { "alias": "minInterval"; "required": false; }; "interval": { "alias": "interval"; "required": false; }; "logBase": { "alias": "logBase"; "required": false; }; "silent": { "alias": "silent"; "required": false; }; "triggerEvent": { "alias": "triggerEvent"; "required": false; }; "axisLine": { "alias": "axisLine"; "required": false; }; "axisTick": { "alias": "axisTick"; "required": false; }; "axisLabel": { "alias": "axisLabel"; "required": false; }; "splitLine": { "alias": "splitLine"; "required": false; }; "splitArea": { "alias": "splitArea"; "required": false; }; "data": { "alias": "data"; "required": false; }; "axisPointer": { "alias": "axisPointer"; "required": false; }; "zlevel": { "alias": "zlevel"; "required": false; }; "z": { "alias": "z"; "required": false; }; "position": { "alias": "position"; "required": false; }; }, {}, never, never, true, never>;
}
declare class TdDatasetComponent implements OnChanges, OnDestroy {
private _optionsService;
private _state;
id?: string;
config?: any;
source?: object | any[];
dimensions?: any[];
sourceHeader?: boolean;
ngOnChanges(): void;
ngOnDestroy(): void;
private _setOptions;
private _removeOption;
static ɵfac: i0.ɵɵFactoryDeclaration<TdDatasetComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TdDatasetComponent, "td-chart-dataset", never, { "id": { "alias": "id"; "required": false; }; "config": { "alias": "config"; "required": false; }; "source": { "alias": "source"; "required": false; }; "dimensions": { "alias": "dimensions"; "required": false; }; "sourceHeader": { "alias": "sourceHeader"; "required": false; }; }, {}, never, never, true, never>;
}
declare const BASE_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 CovalentBaseEchartsModule {
static ɵfac: i0.ɵɵFactoryDeclaration<CovalentBaseEchartsModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<CovalentBaseEchartsModule, never, [typeof TdChartComponent, typeof TdChartXAxisComponent, typeof TdChartYAxisComponent, typeof TdDatasetComponent], [typeof TdChartComponent, typeof TdChartXAxisComponent, typeof TdChartYAxisComponent, typeof TdDatasetComponent]>;
static ɵinj: i0.ɵɵInjectorDeclaration<CovalentBaseEchartsModule>;
}
declare function assignDefined(target: any, ...sources: any[]): any;
/**
* Function used to register a theme into echarts
* Theme name and theme object needed as stated in
* https://ecomfe.github.io/echarts-doc/public/en/api.html#echarts.registerTheme
*/
declare function registerTheme(themeName: string, theme: object): void;
/**
* Function to register all default themes
* @internal
*/
declare function registerDefaultThemes(): void;
/**
* Returns all the theme names bundled with covalent echarts.
*/
declare function getThemes(): string[];
interface ITdItemStyle extends ITdShadow {
color?: any;
borderColor?: string;
borderWidth?: number;
borderType?: string;
opacity?: number;
}
interface ITdLabelLine {
show?: boolean;
length?: number;
length2?: number;
smooth?: boolean | number;
lineStyle?: ITdLineStyle;
}
interface ITdAreaStyle extends ITdShadow {
color?: any;
origin?: TdAreaOrigin;
opacity?: number;
}
interface ITdEmphasis {
label?: ITdLabel;
itemStyle?: ITdItemStyle;
}
interface ITdMarkPoint extends ITdAnimation {
symbol?: TdMarkPointSymbol | string;
symbolSize?: number;
symbolRotate?: number;
symbolKeepAspect?: boolean;
symbolOffset?: any[];
silent?: boolean;
label?: ITdLabel;
itemStyle?: ITdItemStyle;
emphasis?: ITdEmphasis;
data?: any[];
}
interface ITdMarkLineEmphasis {
label?: ITdLineLabel;
itemStyle?: ITdLineStyle;
}
interface ITdMarkAreaEmphasis {
label?: ITdLabel;
itemStyle?: ITdLineStyle;
}
interface ITdLineLabel {
show?: boolean;
position?: TdLineLabelPosition;
formatter?: string | Function;
}
interface ITdMarkLine extends ITdAnimation {
silent?: boolean;
symbol?: string | any[];
symbolSize?: number;
precision?: number;
label?: ITdLineLabel;
lineStyle?: ITdLineStyle;
emphasis?: ITdMarkLineEmphasis;
data?: any[];
}
interface ITdMarkArea extends ITdAnimation {
silent?: boolean;
label?: ITdLabel;
lineStyle?: ITdLineStyle;
emphasis?: ITdMarkAreaEmphasis;
data?: any[];
}
interface ITdSeriesTooltip {
position?: TdTooltipPosition | any;
formatter?: any;
backgroundColor?: any;
borderColor?: any;
borderWidth?: number;
padding?: number;
textStyle?: ITdTextStyle;
extraCssText?: string;
}
type TdCoordinateSystem = 'cartesian2d' | 'polar';
/**
* 'column': By default, the datasetcolumns correspond to the series, so that dataseteach column is a dimension (dimension).
* 'row': datasetthe row corresponding to the series, so that dataseteach row is a dimension (dimension).
* http://echarts.baidu.com/option.html#series-line.seriesLayoutBy
*/
type TdSeriesLayoutBy = 'column' | 'row';
type TdProgressiveChunkMode = 'sequential' | 'mod';
interface ITdSeries extends ITdAnimation {
id?: string;
name?: string;
color?: string;
type?: string;
tooltip?: ITdSeriesTooltip;
}
declare abstract class TdSeriesDirective implements ITdSeries, OnChanges, OnInit, OnDestroy {
protected optionsService: TdChartOptionsService;
private _type;
get type(): string;
_state: any;
_options: any;
config?: any;
id?: string;
name?: string;
color?: string;
data?: any[];
animation?: boolean;
animationThreshold?: number;
animationDuration?: number | Function;
animationEasing?: string;
animationDelay?: number | Function;
animationDurationUpdate?: number | Function;
animationEasingUpdate?: string;
animationDelayUpdate?: number | Function;
tooltip?: ITdSeriesTooltip;
constructor(type: string, optionsService: TdChartOptionsService);
ngOnInit(): void;
ngOnChanges(): void;
ngOnDestroy(): void;
setStateOption(option: string, value: any): void;
removeStateOption(option: string): void;
abstract getConfig(): any;
private _setOptions;
private _removeOption;
static ɵfac: i0.ɵɵFactoryDeclaration<TdSeriesDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<TdSeriesDirective, never, 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; }; }, {}, never, never, true, never>;
}
export { BASE_MODULE_COMPONENTS, CovalentBaseEchartsModule, TdChartAxisDirective, TdChartComponent, TdChartOptionsService, TdChartXAxisComponent, TdChartYAxisComponent, TdDatasetComponent, TdSeriesDirective, assignDefined, getThemes, registerDefaultThemes, registerTheme };
export type { ITdAnimation, ITdAreaStyle, ITdAxisLabel, ITdAxisLine, ITdAxisPointer, ITdAxisPointerLabel, ITdAxisTick, ITdBaseStyle, ITdEdgeLabel, ITdEmphasis, ITdItemStyle, ITdLabel, ITdLabelLine, ITdLineCurveStyle, ITdLineLabel, ITdLineStyle, ITdMarkArea, ITdMarkAreaEmphasis, ITdMarkLine, ITdMarkLineEmphasis, ITdMarkPoint, ITdNameTextStyle, ITdSeries, ITdSeriesTooltip, ITdShadow, ITdSplitArea, ITdSplitLine, ITdTextStyle, ITdTooltip, ITdTooltipAxisPointer, ITdXAxisConfig, ITdYAxisConfig, TdAlign, TdAreaOrigin, TdAxisPointerAxis, TdAxisPointerType, TdAxisType, TdCoordinateSystem, TdFontStyle, TdFontWeight, TdLabelPosition, TdLineLabelPosition, TdLineType, TdMarkPointSymbol, TdNameLocation, TdPointerType, TdProgressiveChunkMode, TdSeriesLayoutBy, TdStatus, TdTextAlign, TdTextPosition, TdTooltipPosition, TdTooltipTrigger, TdTooltipTriggerOn, TdVerticalAlign, TdXAxisPosition, TdYAxisPosition };