@covalent/echarts 4.0.0-beta.4 → 4.1.0-develop.4
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/README.md +4 -90
- package/bar/README.md +23 -21
- package/bar/bar.component.d.ts +27 -27
- package/bar/covalent-echarts-bar.d.ts +1 -1
- package/bar/{public-api.d.ts → public_api.d.ts} +0 -0
- package/base/README.md +26 -26
- package/base/axis/axis.component.d.ts +29 -29
- package/base/chart.component.d.ts +3 -3
- package/base/covalent-echarts-base.d.ts +1 -1
- package/base/dataset/dataset.component.d.ts +5 -5
- package/base/{public-api.d.ts → public_api.d.ts} +0 -0
- package/base/series/series.component.d.ts +15 -15
- package/base/{axis → src/axis}/README.md +19 -19
- package/base/{dataset → src/dataset}/README.md +19 -16
- package/covalent-echarts.d.ts +1 -1
- package/esm2020/bar/bar.component.mjs +95 -96
- package/esm2020/bar/bar.module.mjs +12 -13
- package/esm2020/bar/covalent-echarts-bar.mjs +2 -2
- package/esm2020/bar/public_api.mjs +3 -0
- package/esm2020/base/axis/axis.component.mjs +66 -66
- package/esm2020/base/axis/axis.interface.mjs +1 -1
- package/esm2020/base/axis/x-axis.component.mjs +45 -45
- package/esm2020/base/axis/y-axis.component.mjs +45 -45
- package/esm2020/base/base.module.mjs +13 -14
- package/esm2020/base/base.types.mjs +1 -1
- package/esm2020/base/chart-options.service.mjs +6 -6
- package/esm2020/base/chart.component.mjs +42 -38
- package/esm2020/base/covalent-echarts-base.mjs +2 -2
- package/esm2020/base/dataset/dataset.component.mjs +22 -22
- package/esm2020/base/public_api.mjs +10 -0
- package/esm2020/base/series/series.component.mjs +34 -34
- package/esm2020/base/series/series.interface.mjs +1 -1
- package/esm2020/base/themes/aqua-splash.mjs +31 -4
- package/esm2020/base/themes/california-coast.mjs +1 -1
- package/esm2020/base/themes/hawaiian-sunrise.mjs +1 -1
- package/esm2020/base/themes/passion-flower.mjs +1 -1
- package/esm2020/base/themes/razzleberry-pie.mjs +31 -4
- package/esm2020/base/themes/teradata-classic.mjs +31 -4
- package/esm2020/base/themes/teradata-default.mjs +1 -1
- package/esm2020/base/themes/urban-sunrise.mjs +1 -1
- package/esm2020/base/themes/volcanic-eruption.mjs +1 -1
- package/esm2020/base/utils/assign-defined.mjs +1 -1
- package/esm2020/base/utils/echarts.mjs +1 -1
- package/esm2020/base/utils/index.mjs +1 -1
- package/esm2020/covalent-echarts.mjs +2 -2
- package/esm2020/graph/covalent-echarts-graph.mjs +2 -2
- package/esm2020/graph/graph.component.mjs +129 -130
- package/esm2020/graph/graph.module.mjs +15 -14
- package/esm2020/graph/public_api.mjs +3 -0
- package/esm2020/line/covalent-echarts-line.mjs +2 -2
- package/esm2020/line/line.component.mjs +111 -112
- package/esm2020/line/line.module.mjs +12 -13
- package/esm2020/line/public_api.mjs +3 -0
- package/esm2020/map/covalent-echarts-map.mjs +2 -2
- package/esm2020/map/map.component.mjs +93 -94
- package/esm2020/map/map.module.mjs +12 -13
- package/esm2020/map/public_api.mjs +3 -0
- package/esm2020/pie/covalent-echarts-pie.mjs +2 -2
- package/esm2020/pie/pie.component.mjs +91 -92
- package/esm2020/pie/pie.module.mjs +12 -13
- package/esm2020/pie/public_api.mjs +3 -0
- package/esm2020/public_api.mjs +2 -0
- package/esm2020/sankey/covalent-echarts-sankey.mjs +2 -2
- package/esm2020/sankey/public_api.mjs +3 -0
- package/esm2020/sankey/sankey.component.mjs +83 -84
- package/esm2020/sankey/sankey.module.mjs +15 -14
- package/esm2020/scatter/covalent-echarts-scatter.mjs +2 -2
- package/esm2020/scatter/public_api.mjs +3 -0
- package/esm2020/scatter/scatter.component.mjs +101 -102
- package/esm2020/scatter/scatter.module.mjs +15 -14
- package/esm2020/toolbox/covalent-echarts-toolbox.mjs +2 -2
- package/esm2020/toolbox/public_api.mjs +3 -0
- package/esm2020/toolbox/toolbox.component.mjs +60 -76
- package/esm2020/toolbox/toolbox.module.mjs +19 -15
- package/esm2020/tooltip/covalent-echarts-tooltip.mjs +2 -2
- package/esm2020/tooltip/public_api.mjs +4 -0
- package/esm2020/tooltip/series-tooltip.component.mjs +40 -49
- package/esm2020/tooltip/tooltip.component.mjs +71 -80
- package/esm2020/tooltip/tooltip.module.mjs +14 -15
- package/esm2020/tree/covalent-echarts-tree.mjs +2 -2
- package/esm2020/tree/public_api.mjs +3 -0
- package/esm2020/tree/tree.component.mjs +83 -84
- package/esm2020/tree/tree.module.mjs +12 -13
- package/esm2020/treemap/covalent-echarts-treemap.mjs +2 -2
- package/esm2020/treemap/public_api.mjs +3 -0
- package/esm2020/treemap/treemap.component.mjs +107 -108
- package/esm2020/treemap/treemap.module.mjs +15 -14
- package/esm2020/wordcloud/covalent-echarts-wordcloud.mjs +2 -2
- package/esm2020/wordcloud/public_api.mjs +3 -0
- package/esm2020/wordcloud/wordcloud.component.mjs +68 -69
- package/esm2020/wordcloud/wordcloud.module.mjs +15 -14
- package/fesm2015/covalent-echarts-bar.mjs +16 -22
- package/fesm2015/covalent-echarts-bar.mjs.map +1 -1
- package/fesm2015/covalent-echarts-base.mjs +148 -81
- package/fesm2015/covalent-echarts-base.mjs.map +1 -1
- package/fesm2015/covalent-echarts-graph.mjs +19 -23
- package/fesm2015/covalent-echarts-graph.mjs.map +1 -1
- package/fesm2015/covalent-echarts-line.mjs +16 -22
- package/fesm2015/covalent-echarts-line.mjs.map +1 -1
- package/fesm2015/covalent-echarts-map.mjs +16 -22
- package/fesm2015/covalent-echarts-map.mjs.map +1 -1
- package/fesm2015/covalent-echarts-pie.mjs +16 -22
- package/fesm2015/covalent-echarts-pie.mjs.map +1 -1
- package/fesm2015/covalent-echarts-sankey.mjs +19 -23
- package/fesm2015/covalent-echarts-sankey.mjs.map +1 -1
- package/fesm2015/covalent-echarts-scatter.mjs +19 -23
- package/fesm2015/covalent-echarts-scatter.mjs.map +1 -1
- package/fesm2015/covalent-echarts-toolbox.mjs +23 -49
- package/fesm2015/covalent-echarts-toolbox.mjs.map +1 -1
- package/fesm2015/covalent-echarts-tooltip.mjs +43 -90
- package/fesm2015/covalent-echarts-tooltip.mjs.map +1 -1
- package/fesm2015/covalent-echarts-tree.mjs +16 -22
- package/fesm2015/covalent-echarts-tree.mjs.map +1 -1
- package/fesm2015/covalent-echarts-treemap.mjs +19 -23
- package/fesm2015/covalent-echarts-treemap.mjs.map +1 -1
- package/fesm2015/covalent-echarts-wordcloud.mjs +19 -23
- package/fesm2015/covalent-echarts-wordcloud.mjs.map +1 -1
- package/fesm2015/covalent-echarts.mjs.map +1 -1
- package/fesm2020/covalent-echarts-bar.mjs +104 -106
- package/fesm2020/covalent-echarts-bar.mjs.map +1 -1
- package/fesm2020/covalent-echarts-base.mjs +353 -269
- package/fesm2020/covalent-echarts-base.mjs.map +1 -1
- package/fesm2020/covalent-echarts-graph.mjs +141 -141
- package/fesm2020/covalent-echarts-graph.mjs.map +1 -1
- package/fesm2020/covalent-echarts-line.mjs +120 -122
- package/fesm2020/covalent-echarts-line.mjs.map +1 -1
- package/fesm2020/covalent-echarts-map.mjs +102 -104
- package/fesm2020/covalent-echarts-map.mjs.map +1 -1
- package/fesm2020/covalent-echarts-pie.mjs +100 -102
- package/fesm2020/covalent-echarts-pie.mjs.map +1 -1
- package/fesm2020/covalent-echarts-sankey.mjs +95 -95
- package/fesm2020/covalent-echarts-sankey.mjs.map +1 -1
- package/fesm2020/covalent-echarts-scatter.mjs +113 -113
- package/fesm2020/covalent-echarts-scatter.mjs.map +1 -1
- package/fesm2020/covalent-echarts-toolbox.mjs +76 -88
- package/fesm2020/covalent-echarts-toolbox.mjs.map +1 -1
- package/fesm2020/covalent-echarts-tooltip.mjs +120 -139
- package/fesm2020/covalent-echarts-tooltip.mjs.map +1 -1
- package/fesm2020/covalent-echarts-tree.mjs +92 -94
- package/fesm2020/covalent-echarts-tree.mjs.map +1 -1
- package/fesm2020/covalent-echarts-treemap.mjs +119 -119
- package/fesm2020/covalent-echarts-treemap.mjs.map +1 -1
- package/fesm2020/covalent-echarts-wordcloud.mjs +79 -79
- package/fesm2020/covalent-echarts-wordcloud.mjs.map +1 -1
- package/fesm2020/covalent-echarts.mjs.map +1 -1
- package/graph/README.md +21 -19
- package/graph/covalent-echarts-graph.d.ts +1 -1
- package/graph/graph.component.d.ts +60 -60
- package/graph/{public-api.d.ts → public_api.d.ts} +0 -0
- package/line/README.md +19 -21
- package/line/covalent-echarts-line.d.ts +1 -1
- package/line/line.component.d.ts +35 -35
- package/line/{public-api.d.ts → public_api.d.ts} +0 -0
- package/map/README.md +19 -17
- package/map/covalent-echarts-map.d.ts +1 -1
- package/map/map.component.d.ts +27 -27
- package/map/{public-api.d.ts → public_api.d.ts} +0 -0
- package/package.json +11 -31
- package/pie/README.md +17 -15
- package/pie/covalent-echarts-pie.d.ts +1 -1
- package/pie/pie.component.d.ts +26 -26
- package/pie/{public-api.d.ts → public_api.d.ts} +0 -0
- package/{index.d.ts → public_api.d.ts} +0 -0
- package/sankey/README.md +22 -20
- package/sankey/covalent-echarts-sankey.d.ts +1 -1
- package/sankey/{public-api.d.ts → public_api.d.ts} +0 -0
- package/sankey/sankey.component.d.ts +22 -22
- package/scatter/README.md +19 -21
- package/scatter/covalent-echarts-scatter.d.ts +1 -1
- package/scatter/{public-api.d.ts → public_api.d.ts} +0 -0
- package/scatter/scatter.component.d.ts +31 -31
- package/toolbox/README.md +12 -11
- package/toolbox/covalent-echarts-toolbox.d.ts +1 -1
- package/toolbox/{public-api.d.ts → public_api.d.ts} +0 -0
- package/toolbox/toolbox.component.d.ts +10 -10
- package/tooltip/README.md +30 -26
- package/tooltip/covalent-echarts-tooltip.d.ts +1 -1
- package/tooltip/{public-api.d.ts → public_api.d.ts} +0 -0
- package/tooltip/series-tooltip.component.d.ts +11 -9
- package/tooltip/tooltip.component.d.ts +16 -16
- package/tree/README.md +20 -18
- package/tree/covalent-echarts-tree.d.ts +1 -1
- package/tree/{public-api.d.ts → public_api.d.ts} +0 -0
- package/tree/tree.component.d.ts +24 -24
- package/treemap/README.md +23 -21
- package/treemap/covalent-echarts-treemap.d.ts +1 -1
- package/treemap/{public-api.d.ts → public_api.d.ts} +0 -0
- package/treemap/treemap.component.d.ts +37 -37
- package/wordcloud/README.md +25 -23
- package/wordcloud/covalent-echarts-wordcloud.d.ts +1 -1
- package/wordcloud/{public-api.d.ts → public_api.d.ts} +0 -0
- package/wordcloud/wordcloud.component.d.ts +14 -14
- package/bar/index.d.ts +0 -1
- package/base/chart.component.scss +0 -4
- package/base/index.d.ts +0 -1
- package/esm2020/bar/index.mjs +0 -2
- package/esm2020/bar/public-api.mjs +0 -3
- package/esm2020/base/index.mjs +0 -2
- package/esm2020/base/public-api.mjs +0 -10
- package/esm2020/graph/index.mjs +0 -2
- package/esm2020/graph/public-api.mjs +0 -3
- package/esm2020/index.mjs +0 -2
- package/esm2020/line/index.mjs +0 -2
- package/esm2020/line/public-api.mjs +0 -3
- package/esm2020/map/index.mjs +0 -2
- package/esm2020/map/public-api.mjs +0 -3
- package/esm2020/pie/index.mjs +0 -2
- package/esm2020/pie/public-api.mjs +0 -3
- package/esm2020/sankey/index.mjs +0 -2
- package/esm2020/sankey/public-api.mjs +0 -3
- package/esm2020/scatter/index.mjs +0 -2
- package/esm2020/scatter/public-api.mjs +0 -3
- package/esm2020/toolbox/index.mjs +0 -2
- package/esm2020/toolbox/public-api.mjs +0 -3
- package/esm2020/tooltip/index.mjs +0 -2
- package/esm2020/tooltip/public-api.mjs +0 -4
- package/esm2020/tree/index.mjs +0 -2
- package/esm2020/tree/public-api.mjs +0 -3
- package/esm2020/treemap/index.mjs +0 -2
- package/esm2020/treemap/public-api.mjs +0 -3
- package/esm2020/wordcloud/index.mjs +0 -2
- package/esm2020/wordcloud/public-api.mjs +0 -3
- package/graph/index.d.ts +0 -1
- package/line/index.d.ts +0 -1
- package/map/index.d.ts +0 -1
- package/pie/index.d.ts +0 -1
- package/sankey/index.d.ts +0 -1
- package/scatter/index.d.ts +0 -1
- package/toolbox/index.d.ts +0 -1
- package/tooltip/index.d.ts +0 -1
- package/tree/index.d.ts +0 -1
- package/treemap/index.d.ts +0 -1
- package/wordcloud/index.d.ts +0 -1
|
@@ -51,13 +51,11 @@ class TdChartOptionsService {
|
|
|
51
51
|
return this._optionsSubject.asObservable();
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
(
|
|
57
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdChartOptionsService, [{
|
|
54
|
+
TdChartOptionsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartOptionsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
55
|
+
TdChartOptionsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartOptionsService });
|
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartOptionsService, decorators: [{
|
|
58
57
|
type: Injectable
|
|
59
|
-
}]
|
|
60
|
-
})();
|
|
58
|
+
}] });
|
|
61
59
|
function CHART_PROVIDER_FACTORY(parent) {
|
|
62
60
|
return parent || new TdChartOptionsService();
|
|
63
61
|
}
|
|
@@ -95,7 +93,16 @@ function assignDefined(target, ...sources) {
|
|
|
95
93
|
|
|
96
94
|
/* tslint:disable */
|
|
97
95
|
var aquaSplash = {
|
|
98
|
-
color: [
|
|
96
|
+
color: [
|
|
97
|
+
'#305b9e',
|
|
98
|
+
'#0076a9',
|
|
99
|
+
'#1d8daa',
|
|
100
|
+
'#51a2a8',
|
|
101
|
+
'#7fb5aa',
|
|
102
|
+
'#aac6b4',
|
|
103
|
+
'#CFD8C8',
|
|
104
|
+
'#ECEBE4',
|
|
105
|
+
],
|
|
99
106
|
backgroundColor: 'transparent',
|
|
100
107
|
textStyle: {},
|
|
101
108
|
title: {
|
|
@@ -265,7 +272,16 @@ var aquaSplash = {
|
|
|
265
272
|
symbolSize: '6',
|
|
266
273
|
symbol: 'emptyCircle',
|
|
267
274
|
smooth: true,
|
|
268
|
-
color: [
|
|
275
|
+
color: [
|
|
276
|
+
'#305b9e',
|
|
277
|
+
'#0076a9',
|
|
278
|
+
'#1d8daa',
|
|
279
|
+
'#51a2a8',
|
|
280
|
+
'#7fb5aa',
|
|
281
|
+
'#aac6b4',
|
|
282
|
+
'#CFD8C8',
|
|
283
|
+
'#ECEBE4',
|
|
284
|
+
],
|
|
269
285
|
label: {
|
|
270
286
|
normal: {
|
|
271
287
|
textStyle: {
|
|
@@ -525,7 +541,16 @@ var aquaSplash = {
|
|
|
525
541
|
},
|
|
526
542
|
},
|
|
527
543
|
visualMap: {
|
|
528
|
-
color: [
|
|
544
|
+
color: [
|
|
545
|
+
'#305b9e',
|
|
546
|
+
'#0076a9',
|
|
547
|
+
'#1d8daa',
|
|
548
|
+
'#51a2a8',
|
|
549
|
+
'#7fb5aa',
|
|
550
|
+
'#aac6b4',
|
|
551
|
+
'#CFD8C8',
|
|
552
|
+
'#ECEBE4',
|
|
553
|
+
],
|
|
529
554
|
},
|
|
530
555
|
dataZoom: {
|
|
531
556
|
backgroundColor: 'rgba(255,255,255,0)',
|
|
@@ -1935,7 +1960,16 @@ var passionFlower = {
|
|
|
1935
1960
|
|
|
1936
1961
|
/* tslint:disable */
|
|
1937
1962
|
var razzleberryPie = {
|
|
1938
|
-
color: [
|
|
1963
|
+
color: [
|
|
1964
|
+
'#523e85',
|
|
1965
|
+
'#8b4f8f',
|
|
1966
|
+
'#b96595',
|
|
1967
|
+
'#e0829a',
|
|
1968
|
+
'#ffa3a2',
|
|
1969
|
+
'#f9b8a3',
|
|
1970
|
+
'#f1ccb1',
|
|
1971
|
+
'#ebddc8',
|
|
1972
|
+
],
|
|
1939
1973
|
backgroundColor: 'transparent',
|
|
1940
1974
|
textStyle: {},
|
|
1941
1975
|
title: {
|
|
@@ -2105,7 +2139,16 @@ var razzleberryPie = {
|
|
|
2105
2139
|
symbolSize: '6',
|
|
2106
2140
|
symbol: 'emptyCircle',
|
|
2107
2141
|
smooth: true,
|
|
2108
|
-
color: [
|
|
2142
|
+
color: [
|
|
2143
|
+
'#523e85',
|
|
2144
|
+
'#8b4f8f',
|
|
2145
|
+
'#b96595',
|
|
2146
|
+
'#e0829a',
|
|
2147
|
+
'#ffa3a2',
|
|
2148
|
+
'#f9b8a3',
|
|
2149
|
+
'#f1ccb1',
|
|
2150
|
+
'#ebddc8',
|
|
2151
|
+
],
|
|
2109
2152
|
label: {
|
|
2110
2153
|
normal: {
|
|
2111
2154
|
textStyle: {
|
|
@@ -2365,7 +2408,16 @@ var razzleberryPie = {
|
|
|
2365
2408
|
},
|
|
2366
2409
|
},
|
|
2367
2410
|
visualMap: {
|
|
2368
|
-
color: [
|
|
2411
|
+
color: [
|
|
2412
|
+
'#523e85',
|
|
2413
|
+
'#8b4f8f',
|
|
2414
|
+
'#b96595',
|
|
2415
|
+
'#e0829a',
|
|
2416
|
+
'#ffa3a2',
|
|
2417
|
+
'#f9b8a3',
|
|
2418
|
+
'#f1ccb1',
|
|
2419
|
+
'#ebddc8',
|
|
2420
|
+
],
|
|
2369
2421
|
},
|
|
2370
2422
|
dataZoom: {
|
|
2371
2423
|
backgroundColor: 'rgba(255,255,255,0)',
|
|
@@ -2395,7 +2447,16 @@ var razzleberryPie = {
|
|
|
2395
2447
|
|
|
2396
2448
|
/* tslint:disable */
|
|
2397
2449
|
var teradataClassic = {
|
|
2398
|
-
color: [
|
|
2450
|
+
color: [
|
|
2451
|
+
'#005e7d',
|
|
2452
|
+
'#c54b17',
|
|
2453
|
+
'#009392',
|
|
2454
|
+
'#f5bb3c',
|
|
2455
|
+
'#0098c9',
|
|
2456
|
+
'#f58b5e',
|
|
2457
|
+
'#59cecd',
|
|
2458
|
+
'#fee2a6',
|
|
2459
|
+
],
|
|
2399
2460
|
backgroundColor: 'transparent',
|
|
2400
2461
|
textStyle: {},
|
|
2401
2462
|
title: {
|
|
@@ -2565,7 +2626,16 @@ var teradataClassic = {
|
|
|
2565
2626
|
symbolSize: '6',
|
|
2566
2627
|
symbol: 'emptyCircle',
|
|
2567
2628
|
smooth: true,
|
|
2568
|
-
color: [
|
|
2629
|
+
color: [
|
|
2630
|
+
'#005e7d',
|
|
2631
|
+
'#c54b17',
|
|
2632
|
+
'#009392',
|
|
2633
|
+
'#f5bb3c',
|
|
2634
|
+
'#0098c9',
|
|
2635
|
+
'#f58b5e',
|
|
2636
|
+
'#59cecd',
|
|
2637
|
+
'#fee2a6',
|
|
2638
|
+
],
|
|
2569
2639
|
label: {
|
|
2570
2640
|
normal: {
|
|
2571
2641
|
textStyle: {
|
|
@@ -2825,7 +2895,16 @@ var teradataClassic = {
|
|
|
2825
2895
|
},
|
|
2826
2896
|
},
|
|
2827
2897
|
visualMap: {
|
|
2828
|
-
color: [
|
|
2898
|
+
color: [
|
|
2899
|
+
'#005e7d',
|
|
2900
|
+
'#c54b17',
|
|
2901
|
+
'#009392',
|
|
2902
|
+
'#f5bb3c',
|
|
2903
|
+
'#0098c9',
|
|
2904
|
+
'#f58b5e',
|
|
2905
|
+
'#59cecd',
|
|
2906
|
+
'#fee2a6',
|
|
2907
|
+
],
|
|
2829
2908
|
},
|
|
2830
2909
|
dataZoom: {
|
|
2831
2910
|
backgroundColor: 'rgba(255,255,255,0)',
|
|
@@ -4317,7 +4396,7 @@ class TdChartComponent {
|
|
|
4317
4396
|
ngOnChanges(changes) {
|
|
4318
4397
|
if (this._instance) {
|
|
4319
4398
|
// destroy and reinitialize chart only when `renderer`, `themeName` and `group` changes
|
|
4320
|
-
if (changes
|
|
4399
|
+
if (changes['renderer'] || changes['themeName'] || changes['group']) {
|
|
4321
4400
|
this._disposeChart();
|
|
4322
4401
|
this._initializeChart();
|
|
4323
4402
|
}
|
|
@@ -4337,12 +4416,16 @@ class TdChartComponent {
|
|
|
4337
4416
|
show: true,
|
|
4338
4417
|
left: '20',
|
|
4339
4418
|
right: '20',
|
|
4340
|
-
bottom: (this.config.toolbox &&
|
|
4341
|
-
|
|
4419
|
+
bottom: (this.config.toolbox &&
|
|
4420
|
+
typeof this.config.toolbox.bottom === 'number') ||
|
|
4421
|
+
(this._options.toolbox &&
|
|
4422
|
+
typeof this._options.toolbox.bottom === 'number')
|
|
4342
4423
|
? '40'
|
|
4343
4424
|
: '10',
|
|
4344
|
-
top: (this.config.toolbox &&
|
|
4345
|
-
|
|
4425
|
+
top: (this.config.toolbox &&
|
|
4426
|
+
typeof this.config.toolbox.top === 'number') ||
|
|
4427
|
+
(this._options.toolbox &&
|
|
4428
|
+
typeof this._options.toolbox.top === 'number')
|
|
4346
4429
|
? '40'
|
|
4347
4430
|
: '10',
|
|
4348
4431
|
containLabel: true,
|
|
@@ -4352,7 +4435,8 @@ class TdChartComponent {
|
|
|
4352
4435
|
}
|
|
4353
4436
|
}
|
|
4354
4437
|
_initializeChart() {
|
|
4355
|
-
|
|
4438
|
+
var _a;
|
|
4439
|
+
this._instance = echarts.init(this._elementRef.nativeElement, (_a = this.themeName) !== null && _a !== void 0 ? _a : '', {
|
|
4356
4440
|
renderer: this.renderer,
|
|
4357
4441
|
});
|
|
4358
4442
|
fromEvent(this._instance, 'click')
|
|
@@ -4415,8 +4499,8 @@ class TdChartComponent {
|
|
|
4415
4499
|
.pipe(takeUntil(this._destroy))
|
|
4416
4500
|
.subscribe(() => {
|
|
4417
4501
|
if (this._elementRef && this._elementRef.nativeElement) {
|
|
4418
|
-
this._widthSubject.next(this._elementRef.nativeElement.getBoundingClientRect().width);
|
|
4419
|
-
this._heightSubject.next(this._elementRef.nativeElement.getBoundingClientRect().height);
|
|
4502
|
+
this._widthSubject.next((this._elementRef.nativeElement).getBoundingClientRect().width);
|
|
4503
|
+
this._heightSubject.next((this._elementRef.nativeElement).getBoundingClientRect().height);
|
|
4420
4504
|
}
|
|
4421
4505
|
});
|
|
4422
4506
|
}
|
|
@@ -4428,13 +4512,12 @@ class TdChartComponent {
|
|
|
4428
4512
|
this._destroy.next(true);
|
|
4429
4513
|
}
|
|
4430
4514
|
}
|
|
4431
|
-
|
|
4432
|
-
|
|
4433
|
-
(
|
|
4434
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdChartComponent, [{
|
|
4515
|
+
TdChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4516
|
+
TdChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: TdChartComponent, selector: "td-chart", inputs: { config: "config", group: "group", themeName: "themeName", renderer: "renderer" }, outputs: { chartClick: "chartClick", chartDblclick: "chartDblclick", chartContextmenu: "chartContextmenu", magicTypeChanged: "magicTypeChanged", dataViewChanged: "dataViewChanged", datazoom: "datazoom", restore: "restore" }, providers: [CHART_PROVIDER], usesOnChanges: true, ngImport: i0, template: '', isInline: true, styles: [":host{display:block;width:100%}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4517
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartComponent, decorators: [{
|
|
4435
4518
|
type: Component,
|
|
4436
4519
|
args: [{ selector: 'td-chart', template: '', changeDetection: ChangeDetectionStrategy.OnPush, providers: [CHART_PROVIDER], styles: [":host{display:block;width:100%}\n"] }]
|
|
4437
|
-
}], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: TdChartOptionsService }]; }, { config: [{
|
|
4520
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: TdChartOptionsService }]; }, propDecorators: { config: [{
|
|
4438
4521
|
type: Input
|
|
4439
4522
|
}], group: [{
|
|
4440
4523
|
type: Input
|
|
@@ -4456,8 +4539,7 @@ class TdChartComponent {
|
|
|
4456
4539
|
type: Output
|
|
4457
4540
|
}], restore: [{
|
|
4458
4541
|
type: Output
|
|
4459
|
-
}] });
|
|
4460
|
-
})();
|
|
4542
|
+
}] } });
|
|
4461
4543
|
|
|
4462
4544
|
class TdChartAxisDirective {
|
|
4463
4545
|
constructor(_axisOption, _optionsService) {
|
|
@@ -4515,12 +4597,11 @@ class TdChartAxisDirective {
|
|
|
4515
4597
|
this._optionsService.clearOption(this._axisOption);
|
|
4516
4598
|
}
|
|
4517
4599
|
}
|
|
4518
|
-
|
|
4519
|
-
|
|
4520
|
-
(
|
|
4521
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdChartAxisDirective, [{
|
|
4600
|
+
TdChartAxisDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartAxisDirective, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
|
|
4601
|
+
TdChartAxisDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.2", type: TdChartAxisDirective, inputs: { config: "config", id: "id", show: "show", gridIndex: "gridIndex", offset: "offset", type: "type", name: "name", nameLocation: "nameLocation", nameTextStyle: "nameTextStyle", nameGap: "nameGap", nameRotate: "nameRotate", inverse: "inverse", boundaryGap: "boundaryGap", min: "min", max: "max", scale: "scale", minInterval: "minInterval", interval: "interval", logBase: "logBase", silent: "silent", triggerEvent: "triggerEvent", axisLine: "axisLine", axisTick: "axisTick", axisLabel: "axisLabel", splitLine: "splitLine", splitArea: "splitArea", data: "data", axisPointer: "axisPointer", zlevel: "zlevel", z: "z" }, usesOnChanges: true, ngImport: i0 });
|
|
4602
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartAxisDirective, decorators: [{
|
|
4522
4603
|
type: Directive
|
|
4523
|
-
}], function () { return [{ type: undefined }, { type: TdChartOptionsService }]; }, { config: [{
|
|
4604
|
+
}], ctorParameters: function () { return [{ type: undefined }, { type: TdChartOptionsService }]; }, propDecorators: { config: [{
|
|
4524
4605
|
type: Input
|
|
4525
4606
|
}], id: [{
|
|
4526
4607
|
type: Input
|
|
@@ -4580,18 +4661,16 @@ class TdChartAxisDirective {
|
|
|
4580
4661
|
type: Input
|
|
4581
4662
|
}], z: [{
|
|
4582
4663
|
type: Input
|
|
4583
|
-
}] });
|
|
4584
|
-
})();
|
|
4664
|
+
}] } });
|
|
4585
4665
|
|
|
4586
4666
|
class TdChartXAxisComponent extends TdChartAxisDirective {
|
|
4587
4667
|
constructor(_optionsService) {
|
|
4588
4668
|
super('xAxis', _optionsService);
|
|
4589
4669
|
}
|
|
4590
4670
|
}
|
|
4591
|
-
|
|
4592
|
-
|
|
4593
|
-
(
|
|
4594
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdChartXAxisComponent, [{
|
|
4671
|
+
TdChartXAxisComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartXAxisComponent, deps: [{ token: TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4672
|
+
TdChartXAxisComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: TdChartXAxisComponent, selector: "td-chart-x-axis", inputs: { config: "config", id: "id", show: "show", gridIndex: "gridIndex", offset: "offset", type: "type", name: "name", nameLocation: "nameLocation", nameTextStyle: "nameTextStyle", nameGap: "nameGap", nameRotate: "nameRotate", inverse: "inverse", boundaryGap: "boundaryGap", min: "min", max: "max", scale: "scale", minInterval: "minInterval", interval: "interval", logBase: "logBase", silent: "silent", triggerEvent: "triggerEvent", axisLine: "axisLine", axisTick: "axisTick", axisLabel: "axisLabel", splitLine: "splitLine", splitArea: "splitArea", data: "data", axisPointer: "axisPointer", zlevel: "zlevel", z: "z", position: "position" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4673
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartXAxisComponent, decorators: [{
|
|
4595
4674
|
type: Component,
|
|
4596
4675
|
args: [{
|
|
4597
4676
|
selector: 'td-chart-x-axis',
|
|
@@ -4630,20 +4709,18 @@ class TdChartXAxisComponent extends TdChartAxisDirective {
|
|
|
4630
4709
|
],
|
|
4631
4710
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4632
4711
|
}]
|
|
4633
|
-
}], function () { return [{ type: TdChartOptionsService }]; }, { position: [{
|
|
4712
|
+
}], ctorParameters: function () { return [{ type: TdChartOptionsService }]; }, propDecorators: { position: [{
|
|
4634
4713
|
type: Input
|
|
4635
|
-
}] });
|
|
4636
|
-
})();
|
|
4714
|
+
}] } });
|
|
4637
4715
|
|
|
4638
4716
|
class TdChartYAxisComponent extends TdChartAxisDirective {
|
|
4639
4717
|
constructor(_optionsService) {
|
|
4640
4718
|
super('yAxis', _optionsService);
|
|
4641
4719
|
}
|
|
4642
4720
|
}
|
|
4643
|
-
|
|
4644
|
-
|
|
4645
|
-
(
|
|
4646
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdChartYAxisComponent, [{
|
|
4721
|
+
TdChartYAxisComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartYAxisComponent, deps: [{ token: TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4722
|
+
TdChartYAxisComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: TdChartYAxisComponent, selector: "td-chart-y-axis", inputs: { config: "config", id: "id", show: "show", gridIndex: "gridIndex", offset: "offset", type: "type", name: "name", nameLocation: "nameLocation", nameTextStyle: "nameTextStyle", nameGap: "nameGap", nameRotate: "nameRotate", inverse: "inverse", boundaryGap: "boundaryGap", min: "min", max: "max", scale: "scale", minInterval: "minInterval", interval: "interval", logBase: "logBase", silent: "silent", triggerEvent: "triggerEvent", axisLine: "axisLine", axisTick: "axisTick", axisLabel: "axisLabel", splitLine: "splitLine", splitArea: "splitArea", data: "data", axisPointer: "axisPointer", zlevel: "zlevel", z: "z", position: "position" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4723
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdChartYAxisComponent, decorators: [{
|
|
4647
4724
|
type: Component,
|
|
4648
4725
|
args: [{
|
|
4649
4726
|
selector: 'td-chart-y-axis',
|
|
@@ -4682,10 +4759,9 @@ class TdChartYAxisComponent extends TdChartAxisDirective {
|
|
|
4682
4759
|
],
|
|
4683
4760
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4684
4761
|
}]
|
|
4685
|
-
}], function () { return [{ type: TdChartOptionsService }]; }, { position: [{
|
|
4762
|
+
}], ctorParameters: function () { return [{ type: TdChartOptionsService }]; }, propDecorators: { position: [{
|
|
4686
4763
|
type: Input
|
|
4687
|
-
}] });
|
|
4688
|
-
})();
|
|
4764
|
+
}] } });
|
|
4689
4765
|
|
|
4690
4766
|
class TdDatasetComponent {
|
|
4691
4767
|
constructor(_optionsService) {
|
|
@@ -4713,17 +4789,16 @@ class TdDatasetComponent {
|
|
|
4713
4789
|
this._optionsService.clearOption('dataset');
|
|
4714
4790
|
}
|
|
4715
4791
|
}
|
|
4716
|
-
|
|
4717
|
-
|
|
4718
|
-
(
|
|
4719
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdDatasetComponent, [{
|
|
4792
|
+
TdDatasetComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdDatasetComponent, deps: [{ token: TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4793
|
+
TdDatasetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: TdDatasetComponent, selector: "td-chart-dataset", inputs: { id: "id", config: "config", source: "source", dimensions: "dimensions", sourceHeader: "sourceHeader" }, usesOnChanges: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4794
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdDatasetComponent, decorators: [{
|
|
4720
4795
|
type: Component,
|
|
4721
4796
|
args: [{
|
|
4722
4797
|
template: '',
|
|
4723
4798
|
selector: 'td-chart-dataset',
|
|
4724
4799
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4725
4800
|
}]
|
|
4726
|
-
}], function () { return [{ type: TdChartOptionsService }]; }, { id: [{
|
|
4801
|
+
}], ctorParameters: function () { return [{ type: TdChartOptionsService }]; }, propDecorators: { id: [{
|
|
4727
4802
|
type: Input
|
|
4728
4803
|
}], config: [{
|
|
4729
4804
|
type: Input
|
|
@@ -4733,8 +4808,7 @@ class TdDatasetComponent {
|
|
|
4733
4808
|
type: Input
|
|
4734
4809
|
}], sourceHeader: [{
|
|
4735
4810
|
type: Input
|
|
4736
|
-
}] });
|
|
4737
|
-
})();
|
|
4811
|
+
}] } });
|
|
4738
4812
|
|
|
4739
4813
|
const BASE_MODULE_COMPONENTS = [
|
|
4740
4814
|
TdChartComponent,
|
|
@@ -4745,28 +4819,23 @@ const BASE_MODULE_COMPONENTS = [
|
|
|
4745
4819
|
registerDefaultThemes();
|
|
4746
4820
|
class CovalentBaseEchartsModule {
|
|
4747
4821
|
}
|
|
4748
|
-
|
|
4749
|
-
|
|
4750
|
-
|
|
4751
|
-
|
|
4752
|
-
|
|
4822
|
+
CovalentBaseEchartsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentBaseEchartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4823
|
+
CovalentBaseEchartsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentBaseEchartsModule, declarations: [TdChartComponent,
|
|
4824
|
+
TdChartXAxisComponent,
|
|
4825
|
+
TdChartYAxisComponent,
|
|
4826
|
+
TdDatasetComponent], imports: [CommonModule], exports: [TdChartComponent,
|
|
4827
|
+
TdChartXAxisComponent,
|
|
4828
|
+
TdChartYAxisComponent,
|
|
4829
|
+
TdDatasetComponent] });
|
|
4830
|
+
CovalentBaseEchartsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentBaseEchartsModule, imports: [[CommonModule]] });
|
|
4831
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CovalentBaseEchartsModule, decorators: [{
|
|
4753
4832
|
type: NgModule,
|
|
4754
4833
|
args: [{
|
|
4755
4834
|
imports: [CommonModule],
|
|
4756
4835
|
declarations: [BASE_MODULE_COMPONENTS],
|
|
4757
4836
|
exports: [BASE_MODULE_COMPONENTS],
|
|
4758
4837
|
}]
|
|
4759
|
-
}]
|
|
4760
|
-
})();
|
|
4761
|
-
(function () {
|
|
4762
|
-
(typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(CovalentBaseEchartsModule, { declarations: [TdChartComponent,
|
|
4763
|
-
TdChartXAxisComponent,
|
|
4764
|
-
TdChartYAxisComponent,
|
|
4765
|
-
TdDatasetComponent], imports: [CommonModule], exports: [TdChartComponent,
|
|
4766
|
-
TdChartXAxisComponent,
|
|
4767
|
-
TdChartYAxisComponent,
|
|
4768
|
-
TdDatasetComponent] });
|
|
4769
|
-
})();
|
|
4838
|
+
}] });
|
|
4770
4839
|
|
|
4771
4840
|
class TdSeriesDirective {
|
|
4772
4841
|
constructor(type, optionsService) {
|
|
@@ -4820,12 +4889,11 @@ class TdSeriesDirective {
|
|
|
4820
4889
|
this.optionsService.removeArrayOption('series', this._state);
|
|
4821
4890
|
}
|
|
4822
4891
|
}
|
|
4823
|
-
|
|
4824
|
-
|
|
4825
|
-
(
|
|
4826
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdSeriesDirective, [{
|
|
4892
|
+
TdSeriesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdSeriesDirective, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
|
|
4893
|
+
TdSeriesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.2", type: TdSeriesDirective, inputs: { 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" }, usesOnChanges: true, ngImport: i0 });
|
|
4894
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: TdSeriesDirective, decorators: [{
|
|
4827
4895
|
type: Directive
|
|
4828
|
-
}], function () { return [{ type: undefined }, { type: TdChartOptionsService }]; }, { config: [{
|
|
4896
|
+
}], ctorParameters: function () { return [{ type: undefined }, { type: TdChartOptionsService }]; }, propDecorators: { config: [{
|
|
4829
4897
|
type: Input
|
|
4830
4898
|
}], id: [{
|
|
4831
4899
|
type: Input
|
|
@@ -4853,8 +4921,7 @@ class TdSeriesDirective {
|
|
|
4853
4921
|
type: Input
|
|
4854
4922
|
}], tooltip: [{
|
|
4855
4923
|
type: Input
|
|
4856
|
-
}] });
|
|
4857
|
-
})();
|
|
4924
|
+
}] } });
|
|
4858
4925
|
|
|
4859
4926
|
/**
|
|
4860
4927
|
* Generated bundle index. Do not edit.
|