@covalent/echarts 10.4.0-beta.2 → 11.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bar/index.d.ts +82 -3
- package/base/index.d.ts +603 -3
- package/clustering/index.d.ts +117 -3
- package/fesm2022/covalent-echarts-bar.mjs +1 -1
- package/fesm2022/covalent-echarts-bar.mjs.map +1 -1
- package/fesm2022/covalent-echarts-base.mjs +1 -1
- package/fesm2022/covalent-echarts-base.mjs.map +1 -1
- package/fesm2022/covalent-echarts-clustering.mjs +1 -1
- package/fesm2022/covalent-echarts-clustering.mjs.map +1 -1
- package/fesm2022/covalent-echarts-graph.mjs +1 -1
- package/fesm2022/covalent-echarts-graph.mjs.map +1 -1
- package/fesm2022/covalent-echarts-histogram.mjs +1 -1
- package/fesm2022/covalent-echarts-histogram.mjs.map +1 -1
- package/fesm2022/covalent-echarts-line.mjs +1 -1
- package/fesm2022/covalent-echarts-line.mjs.map +1 -1
- package/fesm2022/covalent-echarts-map.mjs +1 -1
- package/fesm2022/covalent-echarts-map.mjs.map +1 -1
- package/fesm2022/covalent-echarts-pie.mjs +1 -1
- package/fesm2022/covalent-echarts-pie.mjs.map +1 -1
- package/fesm2022/covalent-echarts-regression.mjs +1 -1
- package/fesm2022/covalent-echarts-regression.mjs.map +1 -1
- package/fesm2022/covalent-echarts-sankey.mjs +1 -1
- package/fesm2022/covalent-echarts-sankey.mjs.map +1 -1
- package/fesm2022/covalent-echarts-scatter.mjs +1 -1
- package/fesm2022/covalent-echarts-scatter.mjs.map +1 -1
- package/fesm2022/covalent-echarts-toolbox.mjs +1 -1
- package/fesm2022/covalent-echarts-toolbox.mjs.map +1 -1
- package/fesm2022/covalent-echarts-tooltip.mjs +1 -1
- package/fesm2022/covalent-echarts-tooltip.mjs.map +1 -1
- package/fesm2022/covalent-echarts-tree.mjs +1 -1
- package/fesm2022/covalent-echarts-tree.mjs.map +1 -1
- package/fesm2022/covalent-echarts-treemap.mjs +1 -1
- package/fesm2022/covalent-echarts-treemap.mjs.map +1 -1
- package/fesm2022/covalent-echarts-wordcloud.mjs +1 -1
- package/fesm2022/covalent-echarts-wordcloud.mjs.map +1 -1
- package/fesm2022/covalent-echarts.mjs.map +1 -1
- package/graph/index.d.ts +143 -3
- package/histogram/index.d.ts +32 -3
- package/index.d.ts +2 -5
- package/line/index.d.ts +100 -3
- package/map/index.d.ts +89 -3
- package/package.json +4 -4
- package/pie/index.d.ts +78 -3
- package/regression/index.d.ts +35 -3
- package/sankey/index.d.ts +79 -3
- package/scatter/index.d.ts +90 -3
- package/toolbox/index.d.ts +155 -3
- package/tooltip/index.d.ts +94 -3
- package/tree/index.d.ts +96 -3
- package/treemap/index.d.ts +147 -3
- package/wordcloud/index.d.ts +69 -3
- package/bar/bar.component.d.ts +0 -68
- package/bar/bar.module.d.ts +0 -13
- package/bar/public_api.d.ts +0 -2
- package/base/axis/axis.component.d.ts +0 -48
- package/base/axis/axis.interface.d.ts +0 -157
- package/base/axis/x-axis.component.d.ts +0 -10
- package/base/axis/y-axis.component.d.ts +0 -10
- package/base/base.module.d.ts +0 -16
- package/base/base.types.d.ts +0 -141
- package/base/chart-options.service.d.ts +0 -17
- package/base/chart.component.d.ts +0 -60
- package/base/dataset/dataset.component.d.ts +0 -19
- package/base/public_api.d.ts +0 -12
- package/base/series/series.component.d.ts +0 -44
- package/base/series/series.interface.d.ts +0 -84
- package/base/themes/aqua-splash.d.ts +0 -459
- package/base/themes/california-coast.d.ts +0 -459
- package/base/themes/hawaiian-sunrise.d.ts +0 -459
- package/base/themes/passion-flower.d.ts +0 -459
- package/base/themes/razzleberry-pie.d.ts +0 -459
- package/base/themes/teradata-classic.d.ts +0 -459
- package/base/themes/teradata-default.d.ts +0 -459
- package/base/themes/urban-sunrise.d.ts +0 -459
- package/base/themes/volcanic-eruption.d.ts +0 -459
- package/base/utils/assign-defined.d.ts +0 -1
- package/base/utils/echarts.d.ts +0 -15
- package/base/utils/index.d.ts +0 -2
- package/clustering/clustering.component.d.ts +0 -104
- package/clustering/clustering.module.d.ts +0 -13
- package/clustering/public_api.d.ts +0 -2
- package/graph/graph.component.d.ts +0 -129
- package/graph/graph.module.d.ts +0 -13
- package/graph/public_api.d.ts +0 -2
- package/histogram/histogram.component.d.ts +0 -19
- package/histogram/histogram.module.d.ts +0 -13
- package/histogram/public_api.d.ts +0 -2
- package/line/line.component.d.ts +0 -86
- package/line/line.module.d.ts +0 -13
- package/line/public_api.d.ts +0 -2
- package/map/map.component.d.ts +0 -75
- package/map/map.module.d.ts +0 -13
- package/map/public_api.d.ts +0 -2
- package/pie/pie.component.d.ts +0 -64
- package/pie/pie.module.d.ts +0 -13
- package/pie/public_api.d.ts +0 -2
- package/public_api.d.ts +0 -1
- package/regression/public_api.d.ts +0 -2
- package/regression/regression.component.d.ts +0 -22
- package/regression/regression.module.d.ts +0 -13
- package/sankey/public_api.d.ts +0 -2
- package/sankey/sankey.component.d.ts +0 -65
- package/sankey/sankey.module.d.ts +0 -13
- package/scatter/public_api.d.ts +0 -2
- package/scatter/scatter.component.d.ts +0 -76
- package/scatter/scatter.module.d.ts +0 -13
- package/toolbox/public_api.d.ts +0 -2
- package/toolbox/toolbox.component.d.ts +0 -142
- package/toolbox/toolbox.module.d.ts +0 -13
- package/tooltip/public_api.d.ts +0 -3
- package/tooltip/series-tooltip.component.d.ts +0 -36
- package/tooltip/tooltip.component.d.ts +0 -49
- package/tooltip/tooltip.module.d.ts +0 -14
- package/tree/public_api.d.ts +0 -2
- package/tree/tree.component.d.ts +0 -83
- package/tree/tree.module.d.ts +0 -13
- package/treemap/public_api.d.ts +0 -2
- package/treemap/treemap.component.d.ts +0 -134
- package/treemap/treemap.module.d.ts +0 -13
- package/wordcloud/public_api.d.ts +0 -2
- package/wordcloud/wordcloud.component.d.ts +0 -55
- package/wordcloud/wordcloud.module.d.ts +0 -13
package/base/base.types.d.ts
DELETED
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
export interface ITdShadow {
|
|
2
|
-
shadowBlur?: number;
|
|
3
|
-
shadowColor?: any;
|
|
4
|
-
shadowOffsetX?: number;
|
|
5
|
-
shadowOffsetY?: number;
|
|
6
|
-
}
|
|
7
|
-
export interface ITdLineStyle extends ITdShadow {
|
|
8
|
-
color?: any;
|
|
9
|
-
width?: number;
|
|
10
|
-
type?: TdLineType;
|
|
11
|
-
opacity?: number;
|
|
12
|
-
}
|
|
13
|
-
export interface ITdLineCurveStyle extends ITdLineStyle {
|
|
14
|
-
curveness?: number;
|
|
15
|
-
emphasis?: ITdLineStyle;
|
|
16
|
-
}
|
|
17
|
-
export interface ITdAnimation {
|
|
18
|
-
animation?: boolean;
|
|
19
|
-
animationThreshold?: number;
|
|
20
|
-
animationDuration?: number | Function;
|
|
21
|
-
animationEasing?: string;
|
|
22
|
-
animationDelay?: number | Function;
|
|
23
|
-
animationDurationUpdate?: number | Function;
|
|
24
|
-
animationEasingUpdate?: string;
|
|
25
|
-
animationDelayUpdate?: number | Function;
|
|
26
|
-
}
|
|
27
|
-
export interface ITdTextShadow {
|
|
28
|
-
textShadowColor?: string;
|
|
29
|
-
textShadowBlur?: number;
|
|
30
|
-
textShadowOffsetX?: number;
|
|
31
|
-
textShadowOffsetY?: number;
|
|
32
|
-
}
|
|
33
|
-
export interface ITdFont {
|
|
34
|
-
fontStyle?: TdFontStyle;
|
|
35
|
-
fontWeight?: TdFontWeight;
|
|
36
|
-
fontFamily?: string;
|
|
37
|
-
fontSize?: number;
|
|
38
|
-
}
|
|
39
|
-
export interface ITdTooltip {
|
|
40
|
-
show?: boolean;
|
|
41
|
-
trigger?: TdTooltipTrigger;
|
|
42
|
-
axisPointer?: ITdTooltipAxisPointer;
|
|
43
|
-
showContent?: boolean;
|
|
44
|
-
alwaysShowContent?: boolean;
|
|
45
|
-
triggerOn?: TdTooltipTriggerOn;
|
|
46
|
-
showDelay?: number;
|
|
47
|
-
hideDelay?: number;
|
|
48
|
-
enterable?: boolean;
|
|
49
|
-
renderMode?: 'html' | 'richText';
|
|
50
|
-
confine?: boolean;
|
|
51
|
-
transitionDuration?: number;
|
|
52
|
-
position?: string | any[] | Function;
|
|
53
|
-
formatter?: string | Function;
|
|
54
|
-
backgroundColor?: string;
|
|
55
|
-
borderColor?: string;
|
|
56
|
-
borderWidth?: number;
|
|
57
|
-
padding?: number;
|
|
58
|
-
textStyle?: ITdTextStyle;
|
|
59
|
-
extraCssText?: string;
|
|
60
|
-
}
|
|
61
|
-
export interface ITdTooltipAxisPointer {
|
|
62
|
-
type?: TdAxisPointerType;
|
|
63
|
-
axis?: TdAxisPointerAxis;
|
|
64
|
-
snap?: boolean;
|
|
65
|
-
z?: number;
|
|
66
|
-
label?: ITdAxisPointerLabel;
|
|
67
|
-
lineStyle?: ITdLineStyle;
|
|
68
|
-
shadowStyle?: ITdBaseStyle;
|
|
69
|
-
crossStyle?: ITdLineStyle;
|
|
70
|
-
}
|
|
71
|
-
export interface ITdBaseStyle extends ITdShadow {
|
|
72
|
-
color?: any;
|
|
73
|
-
opacity?: number;
|
|
74
|
-
}
|
|
75
|
-
export interface ITdTextStyle extends ITdTextShadow, ITdFont {
|
|
76
|
-
color?: string | object;
|
|
77
|
-
lineHeight?: number;
|
|
78
|
-
width?: number | string;
|
|
79
|
-
height?: number | string;
|
|
80
|
-
textBorderColor?: string;
|
|
81
|
-
textBorderWidth?: number;
|
|
82
|
-
rich?: object;
|
|
83
|
-
}
|
|
84
|
-
export interface ITdEdgeLabel extends ITdShadow, ITdTextShadow, ITdFont {
|
|
85
|
-
show?: boolean;
|
|
86
|
-
position?: TdLabelPosition;
|
|
87
|
-
rotate?: number;
|
|
88
|
-
offset?: number[];
|
|
89
|
-
formatter?: any | Function;
|
|
90
|
-
color?: any;
|
|
91
|
-
align?: TdAlign;
|
|
92
|
-
verticalAlign?: TdVerticalAlign;
|
|
93
|
-
lineHeight?: number;
|
|
94
|
-
backgroundColor?: string | object;
|
|
95
|
-
borderColor?: string;
|
|
96
|
-
borderWidth?: number;
|
|
97
|
-
borderRadius?: number;
|
|
98
|
-
padding?: number;
|
|
99
|
-
width?: number | string;
|
|
100
|
-
height?: number | string;
|
|
101
|
-
textBorderColor?: string;
|
|
102
|
-
textBorderWidth?: number;
|
|
103
|
-
rich?: any;
|
|
104
|
-
}
|
|
105
|
-
export interface ITdLabel extends ITdEdgeLabel, ITdShadow, ITdTextShadow, ITdFont {
|
|
106
|
-
distance?: number;
|
|
107
|
-
}
|
|
108
|
-
export interface ITdAxisPointerLabel extends ITdShadow, ITdTextShadow, ITdFont {
|
|
109
|
-
show?: boolean;
|
|
110
|
-
precision?: string | number;
|
|
111
|
-
formatter?: string | Function;
|
|
112
|
-
margin?: number;
|
|
113
|
-
color?: any;
|
|
114
|
-
lineHeight?: number;
|
|
115
|
-
width?: number | string;
|
|
116
|
-
height?: number | string;
|
|
117
|
-
textBorderColor?: string;
|
|
118
|
-
textBorderWidth?: number;
|
|
119
|
-
padding?: number | number[];
|
|
120
|
-
backgroundColor?: string;
|
|
121
|
-
borderColor?: string;
|
|
122
|
-
borderWidth?: number;
|
|
123
|
-
}
|
|
124
|
-
export type TdAxisPointerAxis = 'x' | 'y' | 'radius' | 'angle';
|
|
125
|
-
export type TdTooltipTrigger = 'item' | 'axis' | 'none';
|
|
126
|
-
export type TdTooltipTriggerOn = 'mousemove' | 'click' | 'none' | 'mousemove|click';
|
|
127
|
-
export type TdAxisPointerType = 'line' | 'shadow' | 'cross';
|
|
128
|
-
export type TdLabelPosition = 'top' | 'left' | 'right' | 'bottom' | 'inside' | 'insideLeft' | 'insideRight' | 'insideTop' | 'insideBottom' | 'insideTopLeft' | 'insideBottomLeft' | 'insideTopRight' | 'insideBottomRight' | string[];
|
|
129
|
-
export type TdTextPosition = 'left' | 'right' | 'top' | 'bottom';
|
|
130
|
-
export type TdAlign = 'left' | 'center' | 'right';
|
|
131
|
-
export type TdTextAlign = 'left' | 'right';
|
|
132
|
-
export type TdLineType = 'solid' | 'dashed' | 'dotted';
|
|
133
|
-
export type TdAreaOrigin = 'auto' | 'start' | 'end';
|
|
134
|
-
export type TdLineLabelPosition = 'middle' | 'start' | 'end';
|
|
135
|
-
export type TdTooltipPosition = 'inside' | 'top' | 'left' | 'right' | 'bottom' | string[] | number[] | Function;
|
|
136
|
-
export type TdFontWeight = 'normal' | 'bold' | 'bolder' | 'lighter' | number;
|
|
137
|
-
export type TdVerticalAlign = 'top' | 'middle' | 'bottom' | 'center';
|
|
138
|
-
export type TdPointerType = 'line' | 'shadow';
|
|
139
|
-
export type TdFontStyle = 'normal' | 'italic' | 'oblique';
|
|
140
|
-
export type TdStatus = 'show' | 'hide';
|
|
141
|
-
export type TdMarkPointSymbol = 'circle' | 'rect' | 'roundRect' | 'triangle' | 'diamond' | 'pin' | 'arrow' | 'none';
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Provider } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TdChartOptionsService {
|
|
5
|
-
private _options;
|
|
6
|
-
private _optionsSubject;
|
|
7
|
-
setOption(option: string, value: any): void;
|
|
8
|
-
setArrayOption(option: string, value: any): any;
|
|
9
|
-
removeArrayOption(option: string, value: any): any;
|
|
10
|
-
getOption(option: string): any[];
|
|
11
|
-
clearOption(option: string): void;
|
|
12
|
-
listen(): Observable<any>;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TdChartOptionsService, never>;
|
|
14
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TdChartOptionsService>;
|
|
15
|
-
}
|
|
16
|
-
export declare function CHART_PROVIDER_FACTORY(parent: TdChartOptionsService): TdChartOptionsService;
|
|
17
|
-
export declare const CHART_PROVIDER: Provider;
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, ElementRef, ChangeDetectorRef, AfterViewInit, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { TdChartOptionsService } from './chart-options.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TdChartComponent implements AfterViewInit, OnChanges, OnDestroy {
|
|
5
|
-
private _changeDetectorRef;
|
|
6
|
-
private _elementRef;
|
|
7
|
-
private _optionsService;
|
|
8
|
-
private _destroy;
|
|
9
|
-
private _widthSubject;
|
|
10
|
-
private _heightSubject;
|
|
11
|
-
private _instance;
|
|
12
|
-
/**
|
|
13
|
-
* returns the echarts instance
|
|
14
|
-
*/
|
|
15
|
-
get instance(): any;
|
|
16
|
-
private _state;
|
|
17
|
-
private _options;
|
|
18
|
-
/**
|
|
19
|
-
* config?: any;
|
|
20
|
-
* Sets the JS config object if you choose to not use the property inputs.
|
|
21
|
-
* Note: [config] input properties will override input values
|
|
22
|
-
* https://ecomfe.github.io/echarts-doc/public/en/option.html
|
|
23
|
-
*/
|
|
24
|
-
config?: any;
|
|
25
|
-
/**
|
|
26
|
-
* group?: string
|
|
27
|
-
* group name in which the chart instance will be connected to
|
|
28
|
-
* https://ecomfe.github.io/echarts-doc/public/en/api.html#echarts.connect
|
|
29
|
-
*/
|
|
30
|
-
group?: string;
|
|
31
|
-
/**
|
|
32
|
-
* themeName?: string
|
|
33
|
-
* theme to be applied into chart instance
|
|
34
|
-
* https://ecomfe.github.io/echarts-doc/public/en/tutorial.html#Overview%20of%20Style%20Customization
|
|
35
|
-
*/
|
|
36
|
-
themeName?: string | null;
|
|
37
|
-
/**
|
|
38
|
-
* renderer: 'svg' | 'canvas'
|
|
39
|
-
* sets the rendering mode for the chart.
|
|
40
|
-
* defaults to 'canvas'
|
|
41
|
-
* https://ecomfe.github.io/echarts-doc/public/en/tutorial.html#Render%20by%20Canvas%20or%20SVG
|
|
42
|
-
*/
|
|
43
|
-
renderer: 'canvas' | 'svg';
|
|
44
|
-
chartClick: EventEmitter<any>;
|
|
45
|
-
chartDblclick: EventEmitter<any>;
|
|
46
|
-
chartContextmenu: EventEmitter<any>;
|
|
47
|
-
magicTypeChanged: EventEmitter<any>;
|
|
48
|
-
dataViewChanged: EventEmitter<any>;
|
|
49
|
-
datazoom: EventEmitter<any>;
|
|
50
|
-
restore: EventEmitter<any>;
|
|
51
|
-
constructor(_changeDetectorRef: ChangeDetectorRef, _elementRef: ElementRef, _optionsService: TdChartOptionsService);
|
|
52
|
-
ngAfterViewInit(): void;
|
|
53
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
54
|
-
ngOnDestroy(): void;
|
|
55
|
-
render(): void;
|
|
56
|
-
private _initializeChart;
|
|
57
|
-
private _disposeChart;
|
|
58
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TdChartComponent, never>;
|
|
59
|
-
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>;
|
|
60
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { OnChanges, OnDestroy } from '@angular/core';
|
|
2
|
-
import { TdChartOptionsService } from '../chart-options.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TdDatasetComponent implements OnChanges, OnDestroy {
|
|
5
|
-
private _optionsService;
|
|
6
|
-
private _state;
|
|
7
|
-
id?: string;
|
|
8
|
-
config?: any;
|
|
9
|
-
source?: object | any[];
|
|
10
|
-
dimensions?: any[];
|
|
11
|
-
sourceHeader?: boolean;
|
|
12
|
-
constructor(_optionsService: TdChartOptionsService);
|
|
13
|
-
ngOnChanges(): void;
|
|
14
|
-
ngOnDestroy(): void;
|
|
15
|
-
private _setOptions;
|
|
16
|
-
private _removeOption;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TdDatasetComponent, never>;
|
|
18
|
-
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>;
|
|
19
|
-
}
|
package/base/public_api.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export * from './base.module';
|
|
2
|
-
export { TdChartComponent } from './chart.component';
|
|
3
|
-
export { TdChartAxisDirective } from './axis/axis.component';
|
|
4
|
-
export { TdChartYAxisComponent } from './axis/y-axis.component';
|
|
5
|
-
export { TdChartXAxisComponent } from './axis/x-axis.component';
|
|
6
|
-
export { TdDatasetComponent } from './dataset/dataset.component';
|
|
7
|
-
export { TdChartOptionsService } from './chart-options.service';
|
|
8
|
-
export * from './utils';
|
|
9
|
-
export { ITdAxisLine, ITdAxisLabel, ITdAxisTick, ITdSplitLine, ITdNameTextStyle, ITdSplitArea, ITdAxisPointer, TdYAxisPosition, TdXAxisPosition, TdNameLocation, TdAxisType, ITdXAxisConfig, ITdYAxisConfig, } from './axis/axis.interface';
|
|
10
|
-
export { ITdAnimation, ITdShadow, TdAlign, TdFontStyle, TdFontWeight, TdVerticalAlign, TdPointerType, TdStatus, TdLineType, TdTooltipTrigger, TdLabelPosition, TdAxisPointerType, TdTooltipTriggerOn, ITdLineStyle, TdAreaOrigin, TdMarkPointSymbol, TdTooltipPosition, ITdTooltip, ITdTextStyle, TdLineLabelPosition, ITdLineCurveStyle, ITdLabel, ITdAxisPointerLabel, ITdBaseStyle, ITdTooltipAxisPointer, TdAxisPointerAxis, ITdEdgeLabel, TdTextPosition, TdTextAlign, } from './base.types';
|
|
11
|
-
export * from './series/series.component';
|
|
12
|
-
export { ITdItemStyle, ITdAreaStyle, ITdEmphasis, ITdMarkPoint, TdCoordinateSystem, ITdMarkLine, ITdMarkArea, ITdLineLabel, ITdLabelLine, ITdMarkLineEmphasis, ITdSeriesTooltip, TdSeriesLayoutBy, TdProgressiveChunkMode, ITdMarkAreaEmphasis, } from './series/series.interface';
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { OnChanges, OnInit, OnDestroy } from '@angular/core';
|
|
2
|
-
import { TdChartOptionsService } from '../chart-options.service';
|
|
3
|
-
import { ITdSeriesTooltip } from './series.interface';
|
|
4
|
-
import { ITdAnimation } from '../base.types';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export interface ITdSeries extends ITdAnimation {
|
|
7
|
-
id?: string;
|
|
8
|
-
name?: string;
|
|
9
|
-
color?: string;
|
|
10
|
-
type?: string;
|
|
11
|
-
tooltip?: ITdSeriesTooltip;
|
|
12
|
-
}
|
|
13
|
-
export declare abstract class TdSeriesDirective implements ITdSeries, OnChanges, OnInit, OnDestroy {
|
|
14
|
-
protected optionsService: TdChartOptionsService;
|
|
15
|
-
private _type;
|
|
16
|
-
get type(): string;
|
|
17
|
-
_state: any;
|
|
18
|
-
_options: any;
|
|
19
|
-
config?: any;
|
|
20
|
-
id?: string;
|
|
21
|
-
name?: string;
|
|
22
|
-
color?: string;
|
|
23
|
-
data?: any[];
|
|
24
|
-
animation?: boolean;
|
|
25
|
-
animationThreshold?: number;
|
|
26
|
-
animationDuration?: number | Function;
|
|
27
|
-
animationEasing?: string;
|
|
28
|
-
animationDelay?: number | Function;
|
|
29
|
-
animationDurationUpdate?: number | Function;
|
|
30
|
-
animationEasingUpdate?: string;
|
|
31
|
-
animationDelayUpdate?: number | Function;
|
|
32
|
-
tooltip?: ITdSeriesTooltip;
|
|
33
|
-
constructor(type: string, optionsService: TdChartOptionsService);
|
|
34
|
-
ngOnInit(): void;
|
|
35
|
-
ngOnChanges(): void;
|
|
36
|
-
ngOnDestroy(): void;
|
|
37
|
-
setStateOption(option: string, value: any): void;
|
|
38
|
-
removeStateOption(option: string): void;
|
|
39
|
-
abstract getConfig(): any;
|
|
40
|
-
private _setOptions;
|
|
41
|
-
private _removeOption;
|
|
42
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TdSeriesDirective, never>;
|
|
43
|
-
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>;
|
|
44
|
-
}
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { TdAreaOrigin, ITdLabel, TdMarkPointSymbol, TdLineLabelPosition, ITdLineStyle, ITdTextStyle, TdTooltipPosition, ITdAnimation, ITdShadow } from '../base.types';
|
|
2
|
-
export interface ITdItemStyle extends ITdShadow {
|
|
3
|
-
color?: any;
|
|
4
|
-
borderColor?: string;
|
|
5
|
-
borderWidth?: number;
|
|
6
|
-
borderType?: string;
|
|
7
|
-
opacity?: number;
|
|
8
|
-
}
|
|
9
|
-
export interface ITdLabelLine {
|
|
10
|
-
show?: boolean;
|
|
11
|
-
length?: number;
|
|
12
|
-
length2?: number;
|
|
13
|
-
smooth?: boolean | number;
|
|
14
|
-
lineStyle?: ITdLineStyle;
|
|
15
|
-
}
|
|
16
|
-
export interface ITdAreaStyle extends ITdShadow {
|
|
17
|
-
color?: any;
|
|
18
|
-
origin?: TdAreaOrigin;
|
|
19
|
-
opacity?: number;
|
|
20
|
-
}
|
|
21
|
-
export interface ITdEmphasis {
|
|
22
|
-
label?: ITdLabel;
|
|
23
|
-
itemStyle?: ITdItemStyle;
|
|
24
|
-
}
|
|
25
|
-
export interface ITdMarkPoint extends ITdAnimation {
|
|
26
|
-
symbol?: TdMarkPointSymbol | string;
|
|
27
|
-
symbolSize?: number;
|
|
28
|
-
symbolRotate?: number;
|
|
29
|
-
symbolKeepAspect?: boolean;
|
|
30
|
-
symbolOffset?: any[];
|
|
31
|
-
silent?: boolean;
|
|
32
|
-
label?: ITdLabel;
|
|
33
|
-
itemStyle?: ITdItemStyle;
|
|
34
|
-
emphasis?: ITdEmphasis;
|
|
35
|
-
data?: any[];
|
|
36
|
-
}
|
|
37
|
-
export interface ITdMarkLineEmphasis {
|
|
38
|
-
label?: ITdLineLabel;
|
|
39
|
-
itemStyle?: ITdLineStyle;
|
|
40
|
-
}
|
|
41
|
-
export interface ITdMarkAreaEmphasis {
|
|
42
|
-
label?: ITdLabel;
|
|
43
|
-
itemStyle?: ITdLineStyle;
|
|
44
|
-
}
|
|
45
|
-
export interface ITdLineLabel {
|
|
46
|
-
show?: boolean;
|
|
47
|
-
position?: TdLineLabelPosition;
|
|
48
|
-
formatter?: string | Function;
|
|
49
|
-
}
|
|
50
|
-
export interface ITdMarkLine extends ITdAnimation {
|
|
51
|
-
silent?: boolean;
|
|
52
|
-
symbol?: string | any[];
|
|
53
|
-
symbolSize?: number;
|
|
54
|
-
precision?: number;
|
|
55
|
-
label?: ITdLineLabel;
|
|
56
|
-
lineStyle?: ITdLineStyle;
|
|
57
|
-
emphasis?: ITdMarkLineEmphasis;
|
|
58
|
-
data?: any[];
|
|
59
|
-
}
|
|
60
|
-
export interface ITdMarkArea extends ITdAnimation {
|
|
61
|
-
silent?: boolean;
|
|
62
|
-
label?: ITdLabel;
|
|
63
|
-
lineStyle?: ITdLineStyle;
|
|
64
|
-
emphasis?: ITdMarkAreaEmphasis;
|
|
65
|
-
data?: any[];
|
|
66
|
-
}
|
|
67
|
-
export interface ITdSeriesTooltip {
|
|
68
|
-
position?: TdTooltipPosition | any;
|
|
69
|
-
formatter?: any;
|
|
70
|
-
backgroundColor?: any;
|
|
71
|
-
borderColor?: any;
|
|
72
|
-
borderWidth?: number;
|
|
73
|
-
padding?: number;
|
|
74
|
-
textStyle?: ITdTextStyle;
|
|
75
|
-
extraCssText?: string;
|
|
76
|
-
}
|
|
77
|
-
export type TdCoordinateSystem = 'cartesian2d' | 'polar';
|
|
78
|
-
/**
|
|
79
|
-
* 'column': By default, the datasetcolumns correspond to the series, so that dataseteach column is a dimension (dimension).
|
|
80
|
-
* 'row': datasetthe row corresponding to the series, so that dataseteach row is a dimension (dimension).
|
|
81
|
-
* http://echarts.baidu.com/option.html#series-line.seriesLayoutBy
|
|
82
|
-
*/
|
|
83
|
-
export type TdSeriesLayoutBy = 'column' | 'row';
|
|
84
|
-
export type TdProgressiveChunkMode = 'sequential' | 'mod';
|