@covalent/echarts 6.4.0 → 6.4.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.
Files changed (212) hide show
  1. package/bar/bar.component.d.ts +1 -1
  2. package/base/axis/axis.component.d.ts +1 -1
  3. package/base/axis/x-axis.component.d.ts +1 -1
  4. package/base/axis/y-axis.component.d.ts +1 -1
  5. package/base/chart.component.d.ts +1 -1
  6. package/base/dataset/dataset.component.d.ts +1 -1
  7. package/base/series/series.component.d.ts +1 -1
  8. package/base/src/axis/README.md +58 -0
  9. package/base/src/dataset/README.md +80 -0
  10. package/clustering/clustering.component.d.ts +1 -1
  11. package/esm2020/bar/bar.component.mjs +135 -0
  12. package/{esm2022 → esm2020}/bar/bar.module.mjs +5 -5
  13. package/esm2020/base/axis/axis.component.mjs +127 -0
  14. package/esm2020/base/axis/x-axis.component.mjs +55 -0
  15. package/esm2020/base/axis/y-axis.component.mjs +55 -0
  16. package/{esm2022 → esm2020}/base/base.module.mjs +11 -11
  17. package/esm2020/base/chart-options.service.mjs +65 -0
  18. package/esm2020/base/chart.component.mjs +195 -0
  19. package/esm2020/base/dataset/dataset.component.mjs +52 -0
  20. package/esm2020/base/series/series.component.mjs +91 -0
  21. package/esm2020/clustering/clustering.component.mjs +233 -0
  22. package/{esm2022 → esm2020}/clustering/clustering.module.mjs +5 -5
  23. package/esm2020/graph/graph.component.mjs +185 -0
  24. package/{esm2022 → esm2020}/graph/graph.module.mjs +5 -5
  25. package/esm2020/histogram/histogram.component.mjs +125 -0
  26. package/{esm2022 → esm2020}/histogram/histogram.module.mjs +5 -5
  27. package/esm2020/line/line.component.mjs +159 -0
  28. package/{esm2022 → esm2020}/line/line.module.mjs +5 -5
  29. package/esm2020/map/map.component.mjs +132 -0
  30. package/{esm2022 → esm2020}/map/map.module.mjs +5 -5
  31. package/esm2020/pie/pie.component.mjs +127 -0
  32. package/{esm2022 → esm2020}/pie/pie.module.mjs +5 -5
  33. package/esm2020/regression/regression.component.mjs +137 -0
  34. package/{esm2022 → esm2020}/regression/regression.module.mjs +5 -5
  35. package/esm2020/sankey/sankey.component.mjs +117 -0
  36. package/{esm2022 → esm2020}/sankey/sankey.module.mjs +5 -5
  37. package/esm2020/scatter/scatter.component.mjs +144 -0
  38. package/{esm2022 → esm2020}/scatter/scatter.module.mjs +5 -5
  39. package/esm2020/toolbox/toolbox.component.mjs +135 -0
  40. package/{esm2022 → esm2020}/toolbox/toolbox.module.mjs +7 -7
  41. package/esm2020/tooltip/series-tooltip.component.mjs +102 -0
  42. package/esm2020/tooltip/tooltip.component.mjs +156 -0
  43. package/{esm2022 → esm2020}/tooltip/tooltip.module.mjs +9 -9
  44. package/esm2020/tree/tree.component.mjs +117 -0
  45. package/{esm2022 → esm2020}/tree/tree.module.mjs +5 -5
  46. package/esm2020/treemap/treemap.component.mjs +149 -0
  47. package/{esm2022 → esm2020}/treemap/treemap.module.mjs +5 -5
  48. package/esm2020/wordcloud/wordcloud.component.mjs +92 -0
  49. package/{esm2022 → esm2020}/wordcloud/wordcloud.module.mjs +5 -5
  50. package/{fesm2022 → fesm2015}/covalent-echarts-bar.mjs +12 -40
  51. package/fesm2015/covalent-echarts-bar.mjs.map +1 -0
  52. package/fesm2015/covalent-echarts-base.mjs +4931 -0
  53. package/{fesm2022 → fesm2015}/covalent-echarts-base.mjs.map +1 -1
  54. package/{fesm2022 → fesm2015}/covalent-echarts-clustering.mjs +12 -54
  55. package/fesm2015/covalent-echarts-clustering.mjs.map +1 -0
  56. package/{fesm2022 → fesm2015}/covalent-echarts-graph.mjs +12 -57
  57. package/{fesm2022 → fesm2015}/covalent-echarts-graph.mjs.map +1 -1
  58. package/fesm2015/covalent-echarts-histogram.mjs +151 -0
  59. package/fesm2015/covalent-echarts-histogram.mjs.map +1 -0
  60. package/{fesm2022 → fesm2015}/covalent-echarts-line.mjs +12 -48
  61. package/fesm2015/covalent-echarts-line.mjs.map +1 -0
  62. package/{fesm2022 → fesm2015}/covalent-echarts-map.mjs +12 -39
  63. package/fesm2015/covalent-echarts-map.mjs.map +1 -0
  64. package/{fesm2022 → fesm2015}/covalent-echarts-pie.mjs +12 -38
  65. package/fesm2015/covalent-echarts-pie.mjs.map +1 -0
  66. package/fesm2015/covalent-echarts-regression.mjs +163 -0
  67. package/fesm2015/covalent-echarts-regression.mjs.map +1 -0
  68. package/{fesm2022 → fesm2015}/covalent-echarts-sankey.mjs +12 -34
  69. package/fesm2015/covalent-echarts-sankey.mjs.map +1 -0
  70. package/{fesm2022 → fesm2015}/covalent-echarts-scatter.mjs +12 -43
  71. package/fesm2015/covalent-echarts-scatter.mjs.map +1 -0
  72. package/fesm2015/covalent-echarts-toolbox.mjs +158 -0
  73. package/fesm2015/covalent-echarts-toolbox.mjs.map +1 -0
  74. package/{fesm2022 → fesm2015}/covalent-echarts-tooltip.mjs +47 -69
  75. package/{fesm2022 → fesm2015}/covalent-echarts-tooltip.mjs.map +1 -1
  76. package/{fesm2022 → fesm2015}/covalent-echarts-tree.mjs +12 -34
  77. package/{fesm2022 → fesm2015}/covalent-echarts-tree.mjs.map +1 -1
  78. package/{fesm2022 → fesm2015}/covalent-echarts-treemap.mjs +13 -46
  79. package/fesm2015/covalent-echarts-treemap.mjs.map +1 -0
  80. package/{fesm2022 → fesm2015}/covalent-echarts-wordcloud.mjs +12 -26
  81. package/fesm2015/covalent-echarts-wordcloud.mjs.map +1 -0
  82. package/fesm2020/covalent-echarts-bar.mjs +158 -0
  83. package/fesm2020/covalent-echarts-bar.mjs.map +1 -0
  84. package/{fesm2022 → fesm2020}/covalent-echarts-base.mjs +69 -135
  85. package/fesm2020/covalent-echarts-base.mjs.map +1 -0
  86. package/fesm2020/covalent-echarts-clustering.mjs +258 -0
  87. package/{fesm2022 → fesm2020}/covalent-echarts-clustering.mjs.map +1 -1
  88. package/fesm2020/covalent-echarts-graph.mjs +210 -0
  89. package/fesm2020/covalent-echarts-graph.mjs.map +1 -0
  90. package/{fesm2022 → fesm2020}/covalent-echarts-histogram.mjs +12 -14
  91. package/{fesm2022 → fesm2020}/covalent-echarts-histogram.mjs.map +1 -1
  92. package/fesm2020/covalent-echarts-line.mjs +182 -0
  93. package/fesm2020/covalent-echarts-line.mjs.map +1 -0
  94. package/fesm2020/covalent-echarts-map.mjs +155 -0
  95. package/{fesm2022 → fesm2020}/covalent-echarts-map.mjs.map +1 -1
  96. package/fesm2020/covalent-echarts-pie.mjs +150 -0
  97. package/fesm2020/covalent-echarts-pie.mjs.map +1 -0
  98. package/{fesm2022 → fesm2020}/covalent-echarts-regression.mjs +12 -15
  99. package/fesm2020/covalent-echarts-regression.mjs.map +1 -0
  100. package/fesm2020/covalent-echarts-sankey.mjs +142 -0
  101. package/fesm2020/covalent-echarts-sankey.mjs.map +1 -0
  102. package/fesm2020/covalent-echarts-scatter.mjs +169 -0
  103. package/fesm2020/covalent-echarts-scatter.mjs.map +1 -0
  104. package/{fesm2022 → fesm2020}/covalent-echarts-toolbox.mjs +23 -37
  105. package/{fesm2022 → fesm2020}/covalent-echarts-toolbox.mjs.map +1 -1
  106. package/fesm2020/covalent-echarts-tooltip.mjs +283 -0
  107. package/fesm2020/covalent-echarts-tooltip.mjs.map +1 -0
  108. package/fesm2020/covalent-echarts-tree.mjs +140 -0
  109. package/fesm2020/covalent-echarts-tree.mjs.map +1 -0
  110. package/fesm2020/covalent-echarts-treemap.mjs +174 -0
  111. package/fesm2020/covalent-echarts-treemap.mjs.map +1 -0
  112. package/fesm2020/covalent-echarts-wordcloud.mjs +117 -0
  113. package/fesm2020/covalent-echarts-wordcloud.mjs.map +1 -0
  114. package/fesm2020/covalent-echarts.mjs +4 -0
  115. package/fesm2020/covalent-echarts.mjs.map +1 -0
  116. package/graph/graph.component.d.ts +1 -1
  117. package/histogram/histogram.component.d.ts +1 -1
  118. package/line/line.component.d.ts +1 -1
  119. package/map/map.component.d.ts +1 -1
  120. package/package.json +99 -57
  121. package/pie/pie.component.d.ts +1 -1
  122. package/regression/regression.component.d.ts +1 -1
  123. package/sankey/sankey.component.d.ts +1 -1
  124. package/scatter/scatter.component.d.ts +1 -1
  125. package/toolbox/toolbox.component.d.ts +1 -1
  126. package/tooltip/series-tooltip.component.d.ts +1 -1
  127. package/tooltip/tooltip.component.d.ts +1 -1
  128. package/tree/tree.component.d.ts +1 -1
  129. package/treemap/treemap.component.d.ts +2 -2
  130. package/wordcloud/wordcloud.component.d.ts +1 -1
  131. package/esm2022/bar/bar.component.mjs +0 -163
  132. package/esm2022/base/axis/axis.component.mjs +0 -157
  133. package/esm2022/base/axis/x-axis.component.mjs +0 -56
  134. package/esm2022/base/axis/y-axis.component.mjs +0 -56
  135. package/esm2022/base/chart-options.service.mjs +0 -63
  136. package/esm2022/base/chart.component.mjs +0 -211
  137. package/esm2022/base/dataset/dataset.component.mjs +0 -57
  138. package/esm2022/base/series/series.component.mjs +0 -106
  139. package/esm2022/clustering/clustering.component.mjs +0 -275
  140. package/esm2022/graph/graph.component.mjs +0 -230
  141. package/esm2022/histogram/histogram.component.mjs +0 -127
  142. package/esm2022/line/line.component.mjs +0 -195
  143. package/esm2022/map/map.component.mjs +0 -159
  144. package/esm2022/pie/pie.component.mjs +0 -153
  145. package/esm2022/regression/regression.component.mjs +0 -140
  146. package/esm2022/sankey/sankey.component.mjs +0 -139
  147. package/esm2022/scatter/scatter.component.mjs +0 -175
  148. package/esm2022/toolbox/toolbox.component.mjs +0 -149
  149. package/esm2022/tooltip/series-tooltip.component.mjs +0 -112
  150. package/esm2022/tooltip/tooltip.component.mjs +0 -168
  151. package/esm2022/tree/tree.component.mjs +0 -139
  152. package/esm2022/treemap/treemap.component.mjs +0 -182
  153. package/esm2022/wordcloud/wordcloud.component.mjs +0 -106
  154. package/fesm2022/covalent-echarts-bar.mjs.map +0 -1
  155. package/fesm2022/covalent-echarts-line.mjs.map +0 -1
  156. package/fesm2022/covalent-echarts-pie.mjs.map +0 -1
  157. package/fesm2022/covalent-echarts-regression.mjs.map +0 -1
  158. package/fesm2022/covalent-echarts-sankey.mjs.map +0 -1
  159. package/fesm2022/covalent-echarts-scatter.mjs.map +0 -1
  160. package/fesm2022/covalent-echarts-treemap.mjs.map +0 -1
  161. package/fesm2022/covalent-echarts-wordcloud.mjs.map +0 -1
  162. /package/{esm2022 → esm2020}/bar/covalent-echarts-bar.mjs +0 -0
  163. /package/{esm2022 → esm2020}/bar/public_api.mjs +0 -0
  164. /package/{esm2022 → esm2020}/base/axis/axis.interface.mjs +0 -0
  165. /package/{esm2022 → esm2020}/base/base.types.mjs +0 -0
  166. /package/{esm2022 → esm2020}/base/covalent-echarts-base.mjs +0 -0
  167. /package/{esm2022 → esm2020}/base/public_api.mjs +0 -0
  168. /package/{esm2022 → esm2020}/base/series/series.interface.mjs +0 -0
  169. /package/{esm2022 → esm2020}/base/themes/aqua-splash.mjs +0 -0
  170. /package/{esm2022 → esm2020}/base/themes/california-coast.mjs +0 -0
  171. /package/{esm2022 → esm2020}/base/themes/hawaiian-sunrise.mjs +0 -0
  172. /package/{esm2022 → esm2020}/base/themes/passion-flower.mjs +0 -0
  173. /package/{esm2022 → esm2020}/base/themes/razzleberry-pie.mjs +0 -0
  174. /package/{esm2022 → esm2020}/base/themes/teradata-classic.mjs +0 -0
  175. /package/{esm2022 → esm2020}/base/themes/teradata-default.mjs +0 -0
  176. /package/{esm2022 → esm2020}/base/themes/urban-sunrise.mjs +0 -0
  177. /package/{esm2022 → esm2020}/base/themes/volcanic-eruption.mjs +0 -0
  178. /package/{esm2022 → esm2020}/base/utils/assign-defined.mjs +0 -0
  179. /package/{esm2022 → esm2020}/base/utils/echarts.mjs +0 -0
  180. /package/{esm2022 → esm2020}/base/utils/index.mjs +0 -0
  181. /package/{esm2022 → esm2020}/clustering/covalent-echarts-clustering.mjs +0 -0
  182. /package/{esm2022 → esm2020}/clustering/public_api.mjs +0 -0
  183. /package/{esm2022 → esm2020}/covalent-echarts.mjs +0 -0
  184. /package/{esm2022 → esm2020}/graph/covalent-echarts-graph.mjs +0 -0
  185. /package/{esm2022 → esm2020}/graph/public_api.mjs +0 -0
  186. /package/{esm2022 → esm2020}/histogram/covalent-echarts-histogram.mjs +0 -0
  187. /package/{esm2022 → esm2020}/histogram/public_api.mjs +0 -0
  188. /package/{esm2022 → esm2020}/line/covalent-echarts-line.mjs +0 -0
  189. /package/{esm2022 → esm2020}/line/public_api.mjs +0 -0
  190. /package/{esm2022 → esm2020}/map/covalent-echarts-map.mjs +0 -0
  191. /package/{esm2022 → esm2020}/map/public_api.mjs +0 -0
  192. /package/{esm2022 → esm2020}/pie/covalent-echarts-pie.mjs +0 -0
  193. /package/{esm2022 → esm2020}/pie/public_api.mjs +0 -0
  194. /package/{esm2022 → esm2020}/public_api.mjs +0 -0
  195. /package/{esm2022 → esm2020}/regression/covalent-echarts-regression.mjs +0 -0
  196. /package/{esm2022 → esm2020}/regression/public_api.mjs +0 -0
  197. /package/{esm2022 → esm2020}/sankey/covalent-echarts-sankey.mjs +0 -0
  198. /package/{esm2022 → esm2020}/sankey/public_api.mjs +0 -0
  199. /package/{esm2022 → esm2020}/scatter/covalent-echarts-scatter.mjs +0 -0
  200. /package/{esm2022 → esm2020}/scatter/public_api.mjs +0 -0
  201. /package/{esm2022 → esm2020}/toolbox/covalent-echarts-toolbox.mjs +0 -0
  202. /package/{esm2022 → esm2020}/toolbox/public_api.mjs +0 -0
  203. /package/{esm2022 → esm2020}/tooltip/covalent-echarts-tooltip.mjs +0 -0
  204. /package/{esm2022 → esm2020}/tooltip/public_api.mjs +0 -0
  205. /package/{esm2022 → esm2020}/tree/covalent-echarts-tree.mjs +0 -0
  206. /package/{esm2022 → esm2020}/tree/public_api.mjs +0 -0
  207. /package/{esm2022 → esm2020}/treemap/covalent-echarts-treemap.mjs +0 -0
  208. /package/{esm2022 → esm2020}/treemap/public_api.mjs +0 -0
  209. /package/{esm2022 → esm2020}/wordcloud/covalent-echarts-wordcloud.mjs +0 -0
  210. /package/{esm2022 → esm2020}/wordcloud/public_api.mjs +0 -0
  211. /package/{fesm2022 → fesm2015}/covalent-echarts.mjs +0 -0
  212. /package/{fesm2022 → fesm2015}/covalent-echarts.mjs.map +0 -0
@@ -0,0 +1,4931 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Injectable, Optional, SkipSelf, EventEmitter, Component, ChangeDetectionStrategy, Input, Output, Directive, NgModule } from '@angular/core';
3
+ import { CommonModule } from '@angular/common';
4
+ import { BehaviorSubject, Subject, fromEvent, merge, timer } from 'rxjs';
5
+ import { takeUntil, debounceTime, distinctUntilChanged, tap } from 'rxjs/operators';
6
+
7
+ class TdChartOptionsService {
8
+ constructor() {
9
+ this._options = {};
10
+ this._optionsSubject = new BehaviorSubject(this._options);
11
+ }
12
+ setOption(option, value) {
13
+ const options = {};
14
+ options[option] = value;
15
+ Object.assign(this._options, options);
16
+ this._optionsSubject.next(this._options);
17
+ }
18
+ setArrayOption(option, value) {
19
+ let prevValue = this.getOption(option);
20
+ if (prevValue) {
21
+ const index = prevValue.indexOf(value);
22
+ index > -1 ? (prevValue[index] = value) : prevValue.push(value);
23
+ }
24
+ else {
25
+ prevValue = [value];
26
+ }
27
+ this.setOption(option, prevValue);
28
+ }
29
+ removeArrayOption(option, value) {
30
+ let prevValue = this.getOption(option);
31
+ if (prevValue) {
32
+ const index = prevValue.indexOf(value);
33
+ if (index > -1) {
34
+ /* tslint:disable-next-line */
35
+ prevValue[index] = null;
36
+ }
37
+ else {
38
+ prevValue = [];
39
+ }
40
+ }
41
+ this.setOption(option, prevValue);
42
+ }
43
+ getOption(option) {
44
+ return this._options[option];
45
+ }
46
+ clearOption(option) {
47
+ /* tslint:disable-next-line */
48
+ this.setOption(option, null);
49
+ }
50
+ listen() {
51
+ return this._optionsSubject.asObservable();
52
+ }
53
+ }
54
+ TdChartOptionsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TdChartOptionsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
55
+ TdChartOptionsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TdChartOptionsService });
56
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TdChartOptionsService, decorators: [{
57
+ type: Injectable
58
+ }] });
59
+ function CHART_PROVIDER_FACTORY(parent) {
60
+ return parent || new TdChartOptionsService();
61
+ }
62
+ const CHART_PROVIDER = {
63
+ // If there is already a service available, use that. Otherwise, provide a new one.
64
+ provide: TdChartOptionsService,
65
+ deps: [[new Optional(), new SkipSelf(), TdChartOptionsService]],
66
+ useFactory: CHART_PROVIDER_FACTORY,
67
+ };
68
+
69
+ function assignDefined(target, ...sources) {
70
+ const keys = new Set();
71
+ for (const source of sources) {
72
+ for (const key of Object.keys(source)) {
73
+ keys.add(key);
74
+ const val = source[key];
75
+ /* tslint:disable-next-line */
76
+ if (val !== undefined && val !== null) {
77
+ target[key] = val;
78
+ /* tslint:disable-next-line */
79
+ }
80
+ else if (val === null) {
81
+ delete target[key];
82
+ }
83
+ }
84
+ }
85
+ // delete keys that are not in any source
86
+ for (const key of Object.keys(target)) {
87
+ if (!keys.has(key)) {
88
+ delete target[key];
89
+ }
90
+ }
91
+ return target;
92
+ }
93
+
94
+ /* tslint:disable */
95
+ var aquaSplash = {
96
+ color: [
97
+ '#305b9e',
98
+ '#0076a9',
99
+ '#1d8daa',
100
+ '#51a2a8',
101
+ '#7fb5aa',
102
+ '#aac6b4',
103
+ '#CFD8C8',
104
+ '#ECEBE4',
105
+ ],
106
+ backgroundColor: 'transparent',
107
+ textStyle: {},
108
+ title: {
109
+ textStyle: {
110
+ color: '#aaaaaa',
111
+ },
112
+ subtextStyle: {
113
+ color: '#aaaaaa',
114
+ },
115
+ },
116
+ tree: {
117
+ itemStyle: {
118
+ color: '#ECEBE4',
119
+ borderColor: '#305b9e',
120
+ },
121
+ },
122
+ line: {
123
+ itemStyle: {
124
+ normal: {
125
+ borderWidth: '2',
126
+ },
127
+ },
128
+ lineStyle: {
129
+ normal: {
130
+ width: '2',
131
+ },
132
+ },
133
+ symbolSize: '6',
134
+ symbol: 'emptyCircle',
135
+ smooth: true,
136
+ },
137
+ radar: {
138
+ itemStyle: {
139
+ normal: {
140
+ borderWidth: '2',
141
+ },
142
+ },
143
+ lineStyle: {
144
+ normal: {
145
+ width: '2',
146
+ },
147
+ },
148
+ symbolSize: '6',
149
+ symbol: 'emptyCircle',
150
+ smooth: true,
151
+ },
152
+ bar: {
153
+ itemStyle: {
154
+ normal: {
155
+ barBorderWidth: 0,
156
+ barBorderColor: '#ccc',
157
+ },
158
+ emphasis: {
159
+ barBorderWidth: 0,
160
+ barBorderColor: '#ccc',
161
+ },
162
+ },
163
+ },
164
+ pie: {
165
+ itemStyle: {
166
+ normal: {
167
+ borderWidth: 0,
168
+ borderColor: '#ccc',
169
+ },
170
+ emphasis: {
171
+ borderWidth: 0,
172
+ borderColor: '#ccc',
173
+ },
174
+ },
175
+ },
176
+ scatter: {
177
+ itemStyle: {
178
+ normal: {
179
+ borderWidth: 0,
180
+ borderColor: '#ccc',
181
+ },
182
+ emphasis: {
183
+ borderWidth: 0,
184
+ borderColor: '#ccc',
185
+ },
186
+ },
187
+ },
188
+ boxplot: {
189
+ itemStyle: {
190
+ normal: {
191
+ borderWidth: 0,
192
+ borderColor: '#ccc',
193
+ },
194
+ emphasis: {
195
+ borderWidth: 0,
196
+ borderColor: '#ccc',
197
+ },
198
+ },
199
+ },
200
+ parallel: {
201
+ itemStyle: {
202
+ normal: {
203
+ borderWidth: 0,
204
+ borderColor: '#ccc',
205
+ },
206
+ emphasis: {
207
+ borderWidth: 0,
208
+ borderColor: '#ccc',
209
+ },
210
+ },
211
+ },
212
+ sankey: {
213
+ itemStyle: {
214
+ normal: {
215
+ borderWidth: 0,
216
+ borderColor: '#ccc',
217
+ },
218
+ emphasis: {
219
+ borderWidth: 0,
220
+ borderColor: '#ccc',
221
+ },
222
+ },
223
+ },
224
+ funnel: {
225
+ itemStyle: {
226
+ normal: {
227
+ borderWidth: 0,
228
+ borderColor: '#ccc',
229
+ },
230
+ emphasis: {
231
+ borderWidth: 0,
232
+ borderColor: '#ccc',
233
+ },
234
+ },
235
+ },
236
+ gauge: {
237
+ itemStyle: {
238
+ normal: {
239
+ borderWidth: 0,
240
+ borderColor: '#ccc',
241
+ },
242
+ emphasis: {
243
+ borderWidth: 0,
244
+ borderColor: '#ccc',
245
+ },
246
+ },
247
+ },
248
+ candlestick: {
249
+ itemStyle: {
250
+ normal: {
251
+ color: '#305b9e',
252
+ color0: 'transparent',
253
+ borderColor: '#305b9e',
254
+ borderColor0: '#1d8daa',
255
+ borderWidth: '2',
256
+ },
257
+ },
258
+ },
259
+ graph: {
260
+ itemStyle: {
261
+ normal: {
262
+ borderWidth: 0,
263
+ borderColor: '#ccc',
264
+ },
265
+ },
266
+ lineStyle: {
267
+ normal: {
268
+ width: 1,
269
+ color: '#aaaaaa',
270
+ },
271
+ },
272
+ symbolSize: '6',
273
+ symbol: 'emptyCircle',
274
+ smooth: true,
275
+ color: [
276
+ '#305b9e',
277
+ '#0076a9',
278
+ '#1d8daa',
279
+ '#51a2a8',
280
+ '#7fb5aa',
281
+ '#aac6b4',
282
+ '#CFD8C8',
283
+ '#ECEBE4',
284
+ ],
285
+ label: {
286
+ normal: {
287
+ textStyle: {
288
+ color: '#ffffff',
289
+ },
290
+ },
291
+ },
292
+ },
293
+ map: {
294
+ itemStyle: {
295
+ normal: {
296
+ areaColor: '#f3f3f3',
297
+ borderColor: '#999999',
298
+ borderWidth: 0.5,
299
+ },
300
+ emphasis: {
301
+ areaColor: 'rgba(254,198,77,1)',
302
+ borderColor: '#ecaf2b',
303
+ borderWidth: 1,
304
+ },
305
+ },
306
+ label: {
307
+ normal: {
308
+ textStyle: {
309
+ color: '#00475e',
310
+ },
311
+ },
312
+ emphasis: {
313
+ textStyle: {
314
+ color: 'rgb(0,71,94)',
315
+ },
316
+ },
317
+ },
318
+ },
319
+ geo: {
320
+ itemStyle: {
321
+ normal: {
322
+ areaColor: '#f3f3f3',
323
+ borderColor: '#999999',
324
+ borderWidth: 0.5,
325
+ },
326
+ emphasis: {
327
+ areaColor: 'rgba(254,198,77,1)',
328
+ borderColor: '#ecaf2b',
329
+ borderWidth: 1,
330
+ },
331
+ },
332
+ label: {
333
+ normal: {
334
+ textStyle: {
335
+ color: '#00475e',
336
+ },
337
+ },
338
+ emphasis: {
339
+ textStyle: {
340
+ color: 'rgb(0,71,94)',
341
+ },
342
+ },
343
+ },
344
+ },
345
+ categoryAxis: {
346
+ axisLine: {
347
+ show: true,
348
+ lineStyle: {
349
+ color: '#aaaaaa',
350
+ },
351
+ },
352
+ axisTick: {
353
+ show: false,
354
+ lineStyle: {
355
+ color: '#333',
356
+ },
357
+ },
358
+ axisLabel: {
359
+ show: true,
360
+ textStyle: {
361
+ color: '#999999',
362
+ },
363
+ },
364
+ splitLine: {
365
+ show: true,
366
+ lineStyle: {
367
+ color: ['#e6e6e6'],
368
+ },
369
+ },
370
+ splitArea: {
371
+ show: false,
372
+ areaStyle: {
373
+ color: ['rgba(250,250,250,0.05)', 'rgba(200,200,200,0.02)'],
374
+ },
375
+ },
376
+ },
377
+ valueAxis: {
378
+ axisLine: {
379
+ show: true,
380
+ lineStyle: {
381
+ color: '#aaaaaa',
382
+ },
383
+ },
384
+ axisTick: {
385
+ show: false,
386
+ lineStyle: {
387
+ color: '#333',
388
+ },
389
+ },
390
+ axisLabel: {
391
+ show: true,
392
+ textStyle: {
393
+ color: '#999999',
394
+ },
395
+ },
396
+ splitLine: {
397
+ show: true,
398
+ lineStyle: {
399
+ color: ['#e6e6e6'],
400
+ },
401
+ },
402
+ splitArea: {
403
+ show: false,
404
+ areaStyle: {
405
+ color: ['rgba(250,250,250,0.05)', 'rgba(200,200,200,0.02)'],
406
+ },
407
+ },
408
+ },
409
+ logAxis: {
410
+ axisLine: {
411
+ show: true,
412
+ lineStyle: {
413
+ color: '#aaaaaa',
414
+ },
415
+ },
416
+ axisTick: {
417
+ show: false,
418
+ lineStyle: {
419
+ color: '#333',
420
+ },
421
+ },
422
+ axisLabel: {
423
+ show: true,
424
+ textStyle: {
425
+ color: '#999999',
426
+ },
427
+ },
428
+ splitLine: {
429
+ show: true,
430
+ lineStyle: {
431
+ color: ['#e6e6e6'],
432
+ },
433
+ },
434
+ splitArea: {
435
+ show: false,
436
+ areaStyle: {
437
+ color: ['rgba(250,250,250,0.05)', 'rgba(200,200,200,0.02)'],
438
+ },
439
+ },
440
+ },
441
+ timeAxis: {
442
+ axisLine: {
443
+ show: true,
444
+ lineStyle: {
445
+ color: '#aaaaaa',
446
+ },
447
+ },
448
+ axisTick: {
449
+ show: false,
450
+ lineStyle: {
451
+ color: '#333',
452
+ },
453
+ },
454
+ axisLabel: {
455
+ show: true,
456
+ textStyle: {
457
+ color: '#999999',
458
+ },
459
+ },
460
+ splitLine: {
461
+ show: true,
462
+ lineStyle: {
463
+ color: ['#e6e6e6'],
464
+ },
465
+ },
466
+ splitArea: {
467
+ show: false,
468
+ areaStyle: {
469
+ color: ['rgba(250,250,250,0.05)', 'rgba(200,200,200,0.02)'],
470
+ },
471
+ },
472
+ },
473
+ toolbox: {
474
+ iconStyle: {
475
+ normal: {
476
+ borderColor: '#999999',
477
+ },
478
+ emphasis: {
479
+ borderColor: '#666666',
480
+ },
481
+ },
482
+ },
483
+ legend: {
484
+ textStyle: {
485
+ color: '#000000',
486
+ },
487
+ },
488
+ tooltip: {
489
+ axisPointer: {
490
+ lineStyle: {
491
+ color: '#cccccc',
492
+ width: 1,
493
+ },
494
+ crossStyle: {
495
+ color: '#cccccc',
496
+ width: 1,
497
+ },
498
+ },
499
+ },
500
+ timeline: {
501
+ lineStyle: {
502
+ color: '#666666',
503
+ width: 1,
504
+ },
505
+ itemStyle: {
506
+ normal: {
507
+ color: '#666666',
508
+ borderWidth: 1,
509
+ },
510
+ emphasis: {
511
+ color: '#f7ac4f',
512
+ },
513
+ },
514
+ controlStyle: {
515
+ normal: {
516
+ color: '#666666',
517
+ borderColor: '#666666',
518
+ borderWidth: 0.5,
519
+ },
520
+ emphasis: {
521
+ color: '#666666',
522
+ borderColor: '#666666',
523
+ borderWidth: 0.5,
524
+ },
525
+ },
526
+ checkpointStyle: {
527
+ color: '#f7ac4f',
528
+ borderColor: 'rgba(254,198,77,0.6)',
529
+ },
530
+ label: {
531
+ normal: {
532
+ textStyle: {
533
+ color: '#666666',
534
+ },
535
+ },
536
+ emphasis: {
537
+ textStyle: {
538
+ color: '#666666',
539
+ },
540
+ },
541
+ },
542
+ },
543
+ visualMap: {
544
+ color: [
545
+ '#305b9e',
546
+ '#0076a9',
547
+ '#1d8daa',
548
+ '#51a2a8',
549
+ '#7fb5aa',
550
+ '#aac6b4',
551
+ '#CFD8C8',
552
+ '#ECEBE4',
553
+ ],
554
+ },
555
+ dataZoom: {
556
+ backgroundColor: 'rgba(255,255,255,0)',
557
+ dataBackgroundColor: 'rgba(255,178,72,0.5)',
558
+ fillerColor: 'rgba(255,178,72,0.15)',
559
+ handleColor: '#ffb248',
560
+ handleSize: '100%',
561
+ textStyle: {
562
+ color: '#aaaaaa',
563
+ },
564
+ },
565
+ markPoint: {
566
+ label: {
567
+ normal: {
568
+ textStyle: {
569
+ color: '#ffffff',
570
+ },
571
+ },
572
+ emphasis: {
573
+ textStyle: {
574
+ color: '#ffffff',
575
+ },
576
+ },
577
+ },
578
+ },
579
+ };
580
+
581
+ /* tslint:disable */
582
+ var californiaCoast = {
583
+ color: ['#0098c9', '#6ab1d7', '#a0cae4', '#ffbb9c', '#fd986d', '#f3753f'],
584
+ backgroundColor: 'transparent',
585
+ textStyle: {},
586
+ title: {
587
+ textStyle: {
588
+ color: '#aaaaaa',
589
+ },
590
+ subtextStyle: {
591
+ color: '#aaaaaa',
592
+ },
593
+ },
594
+ tree: {
595
+ itemStyle: {
596
+ color: '#ffbb9c',
597
+ borderColor: '#0098c9',
598
+ },
599
+ },
600
+ line: {
601
+ itemStyle: {
602
+ normal: {
603
+ borderWidth: '2',
604
+ },
605
+ },
606
+ lineStyle: {
607
+ normal: {
608
+ width: '2',
609
+ },
610
+ },
611
+ symbolSize: '6',
612
+ symbol: 'emptyCircle',
613
+ smooth: true,
614
+ },
615
+ radar: {
616
+ itemStyle: {
617
+ normal: {
618
+ borderWidth: '2',
619
+ },
620
+ },
621
+ lineStyle: {
622
+ normal: {
623
+ width: '2',
624
+ },
625
+ },
626
+ symbolSize: '6',
627
+ symbol: 'emptyCircle',
628
+ smooth: true,
629
+ },
630
+ bar: {
631
+ itemStyle: {
632
+ normal: {
633
+ barBorderWidth: 0,
634
+ barBorderColor: '#ccc',
635
+ },
636
+ emphasis: {
637
+ barBorderWidth: 0,
638
+ barBorderColor: '#ccc',
639
+ },
640
+ },
641
+ },
642
+ pie: {
643
+ itemStyle: {
644
+ normal: {
645
+ borderWidth: 0,
646
+ borderColor: '#ccc',
647
+ },
648
+ emphasis: {
649
+ borderWidth: 0,
650
+ borderColor: '#ccc',
651
+ },
652
+ },
653
+ },
654
+ scatter: {
655
+ itemStyle: {
656
+ normal: {
657
+ borderWidth: 0,
658
+ borderColor: '#ccc',
659
+ },
660
+ emphasis: {
661
+ borderWidth: 0,
662
+ borderColor: '#ccc',
663
+ },
664
+ },
665
+ },
666
+ boxplot: {
667
+ itemStyle: {
668
+ normal: {
669
+ borderWidth: 0,
670
+ borderColor: '#ccc',
671
+ },
672
+ emphasis: {
673
+ borderWidth: 0,
674
+ borderColor: '#ccc',
675
+ },
676
+ },
677
+ },
678
+ parallel: {
679
+ itemStyle: {
680
+ normal: {
681
+ borderWidth: 0,
682
+ borderColor: '#ccc',
683
+ },
684
+ emphasis: {
685
+ borderWidth: 0,
686
+ borderColor: '#ccc',
687
+ },
688
+ },
689
+ },
690
+ sankey: {
691
+ itemStyle: {
692
+ normal: {
693
+ borderWidth: 0,
694
+ borderColor: '#ccc',
695
+ },
696
+ emphasis: {
697
+ borderWidth: 0,
698
+ borderColor: '#ccc',
699
+ },
700
+ },
701
+ },
702
+ funnel: {
703
+ itemStyle: {
704
+ normal: {
705
+ borderWidth: 0,
706
+ borderColor: '#ccc',
707
+ },
708
+ emphasis: {
709
+ borderWidth: 0,
710
+ borderColor: '#ccc',
711
+ },
712
+ },
713
+ },
714
+ gauge: {
715
+ itemStyle: {
716
+ normal: {
717
+ borderWidth: 0,
718
+ borderColor: '#ccc',
719
+ },
720
+ emphasis: {
721
+ borderWidth: 0,
722
+ borderColor: '#ccc',
723
+ },
724
+ },
725
+ },
726
+ candlestick: {
727
+ itemStyle: {
728
+ normal: {
729
+ color: '#f3753f',
730
+ color0: 'transparent',
731
+ borderColor: '#f3753f',
732
+ borderColor0: '#0098c9',
733
+ borderWidth: '2',
734
+ },
735
+ },
736
+ },
737
+ graph: {
738
+ itemStyle: {
739
+ normal: {
740
+ borderWidth: 0,
741
+ borderColor: '#ccc',
742
+ },
743
+ },
744
+ lineStyle: {
745
+ normal: {
746
+ width: 1,
747
+ color: '#aaaaaa',
748
+ },
749
+ },
750
+ symbolSize: '6',
751
+ symbol: 'emptyCircle',
752
+ smooth: true,
753
+ color: ['#0098c9', '#6ab1d7', '#a0cae4', '#ffbb9c', '#fd986d', '#f3753f'],
754
+ label: {
755
+ normal: {
756
+ textStyle: {
757
+ color: '#ffffff',
758
+ },
759
+ },
760
+ },
761
+ },
762
+ map: {
763
+ itemStyle: {
764
+ normal: {
765
+ areaColor: '#f3f3f3',
766
+ borderColor: '#999999',
767
+ borderWidth: 0.5,
768
+ },
769
+ emphasis: {
770
+ areaColor: 'rgba(254,198,77,1)',
771
+ borderColor: '#ecaf2b',
772
+ borderWidth: 1,
773
+ },
774
+ },
775
+ label: {
776
+ normal: {
777
+ textStyle: {
778
+ color: '#394851',
779
+ },
780
+ },
781
+ emphasis: {
782
+ textStyle: {
783
+ color: 'rgb(57,72,81)',
784
+ },
785
+ },
786
+ },
787
+ },
788
+ geo: {
789
+ itemStyle: {
790
+ normal: {
791
+ areaColor: '#f3f3f3',
792
+ borderColor: '#999999',
793
+ borderWidth: 0.5,
794
+ },
795
+ emphasis: {
796
+ areaColor: 'rgba(254,198,77,1)',
797
+ borderColor: '#ecaf2b',
798
+ borderWidth: 1,
799
+ },
800
+ },
801
+ label: {
802
+ normal: {
803
+ textStyle: {
804
+ color: '#394851',
805
+ },
806
+ },
807
+ emphasis: {
808
+ textStyle: {
809
+ color: 'rgb(57,72,81)',
810
+ },
811
+ },
812
+ },
813
+ },
814
+ categoryAxis: {
815
+ axisLine: {
816
+ show: true,
817
+ lineStyle: {
818
+ color: '#aaaaaa',
819
+ },
820
+ },
821
+ axisTick: {
822
+ show: false,
823
+ lineStyle: {
824
+ color: '#333',
825
+ },
826
+ },
827
+ axisLabel: {
828
+ show: true,
829
+ textStyle: {
830
+ color: '#999999',
831
+ },
832
+ },
833
+ splitLine: {
834
+ show: true,
835
+ lineStyle: {
836
+ color: ['#e6e6e6'],
837
+ },
838
+ },
839
+ splitArea: {
840
+ show: false,
841
+ areaStyle: {
842
+ color: ['rgba(250,250,250,0.05)', 'rgba(200,200,200,0.02)'],
843
+ },
844
+ },
845
+ },
846
+ valueAxis: {
847
+ axisLine: {
848
+ show: true,
849
+ lineStyle: {
850
+ color: '#aaaaaa',
851
+ },
852
+ },
853
+ axisTick: {
854
+ show: false,
855
+ lineStyle: {
856
+ color: '#333',
857
+ },
858
+ },
859
+ axisLabel: {
860
+ show: true,
861
+ textStyle: {
862
+ color: '#999999',
863
+ },
864
+ },
865
+ splitLine: {
866
+ show: true,
867
+ lineStyle: {
868
+ color: ['#e6e6e6'],
869
+ },
870
+ },
871
+ splitArea: {
872
+ show: false,
873
+ areaStyle: {
874
+ color: ['rgba(250,250,250,0.05)', 'rgba(200,200,200,0.02)'],
875
+ },
876
+ },
877
+ },
878
+ logAxis: {
879
+ axisLine: {
880
+ show: true,
881
+ lineStyle: {
882
+ color: '#aaaaaa',
883
+ },
884
+ },
885
+ axisTick: {
886
+ show: false,
887
+ lineStyle: {
888
+ color: '#333',
889
+ },
890
+ },
891
+ axisLabel: {
892
+ show: true,
893
+ textStyle: {
894
+ color: '#999999',
895
+ },
896
+ },
897
+ splitLine: {
898
+ show: true,
899
+ lineStyle: {
900
+ color: ['#e6e6e6'],
901
+ },
902
+ },
903
+ splitArea: {
904
+ show: false,
905
+ areaStyle: {
906
+ color: ['rgba(250,250,250,0.05)', 'rgba(200,200,200,0.02)'],
907
+ },
908
+ },
909
+ },
910
+ timeAxis: {
911
+ axisLine: {
912
+ show: true,
913
+ lineStyle: {
914
+ color: '#aaaaaa',
915
+ },
916
+ },
917
+ axisTick: {
918
+ show: false,
919
+ lineStyle: {
920
+ color: '#333',
921
+ },
922
+ },
923
+ axisLabel: {
924
+ show: true,
925
+ textStyle: {
926
+ color: '#999999',
927
+ },
928
+ },
929
+ splitLine: {
930
+ show: true,
931
+ lineStyle: {
932
+ color: ['#e6e6e6'],
933
+ },
934
+ },
935
+ splitArea: {
936
+ show: false,
937
+ areaStyle: {
938
+ color: ['rgba(250,250,250,0.05)', 'rgba(200,200,200,0.02)'],
939
+ },
940
+ },
941
+ },
942
+ toolbox: {
943
+ iconStyle: {
944
+ normal: {
945
+ borderColor: '#999999',
946
+ },
947
+ emphasis: {
948
+ borderColor: '#666666',
949
+ },
950
+ },
951
+ },
952
+ legend: {
953
+ textStyle: {
954
+ color: '#aaaaaa',
955
+ },
956
+ },
957
+ tooltip: {
958
+ axisPointer: {
959
+ lineStyle: {
960
+ color: '#cccccc',
961
+ width: 1,
962
+ },
963
+ crossStyle: {
964
+ color: '#cccccc',
965
+ width: 1,
966
+ },
967
+ },
968
+ },
969
+ timeline: {
970
+ lineStyle: {
971
+ color: '#666666',
972
+ width: 1,
973
+ },
974
+ itemStyle: {
975
+ normal: {
976
+ color: '#666666',
977
+ borderWidth: 1,
978
+ },
979
+ emphasis: {
980
+ color: '#fec64d',
981
+ },
982
+ },
983
+ controlStyle: {
984
+ normal: {
985
+ color: '#666666',
986
+ borderColor: '#666666',
987
+ borderWidth: 0.5,
988
+ },
989
+ emphasis: {
990
+ color: '#666666',
991
+ borderColor: '#666666',
992
+ borderWidth: 0.5,
993
+ },
994
+ },
995
+ checkpointStyle: {
996
+ color: '#f3753f',
997
+ borderColor: 'rgba(255,178,72,0.41)',
998
+ },
999
+ label: {
1000
+ normal: {
1001
+ textStyle: {
1002
+ color: '#666666',
1003
+ },
1004
+ },
1005
+ emphasis: {
1006
+ textStyle: {
1007
+ color: '#666666',
1008
+ },
1009
+ },
1010
+ },
1011
+ },
1012
+ visualMap: {
1013
+ color: ['#0098c9', '#6ab1d7', '#a0cae4', '#FFBB9C', '#FD986D', '#F3753F'],
1014
+ },
1015
+ dataZoom: {
1016
+ backgroundColor: 'rgba(255,255,255,0)',
1017
+ dataBackgroundColor: 'rgba(255,178,72,0.5)',
1018
+ fillerColor: 'rgba(255,178,72,0.15)',
1019
+ handleColor: '#fec64d',
1020
+ handleSize: '100%',
1021
+ textStyle: {
1022
+ color: '#aaaaaa',
1023
+ },
1024
+ },
1025
+ markPoint: {
1026
+ label: {
1027
+ normal: {
1028
+ textStyle: {
1029
+ color: '#ffffff',
1030
+ },
1031
+ },
1032
+ emphasis: {
1033
+ textStyle: {
1034
+ color: '#ffffff',
1035
+ },
1036
+ },
1037
+ },
1038
+ },
1039
+ };
1040
+
1041
+ /* tslint:disable */
1042
+ var hawaiianSunrise = {
1043
+ color: ['#00b2b1', '#69c6c4', '#a0d9d7', '#ffbb9c', '#fd986d', '#f3753f'],
1044
+ backgroundColor: 'transparent',
1045
+ textStyle: {},
1046
+ title: {
1047
+ textStyle: {
1048
+ color: '#aaaaaa',
1049
+ },
1050
+ subtextStyle: {
1051
+ color: '#aaaaaa',
1052
+ },
1053
+ },
1054
+ tree: {
1055
+ itemStyle: {
1056
+ color: '#a0d9d7',
1057
+ borderColor: '#00b2b1',
1058
+ },
1059
+ },
1060
+ line: {
1061
+ itemStyle: {
1062
+ normal: {
1063
+ borderWidth: '2',
1064
+ },
1065
+ },
1066
+ lineStyle: {
1067
+ normal: {
1068
+ width: '2',
1069
+ },
1070
+ },
1071
+ symbolSize: '6',
1072
+ symbol: 'emptyCircle',
1073
+ smooth: true,
1074
+ },
1075
+ radar: {
1076
+ itemStyle: {
1077
+ normal: {
1078
+ borderWidth: '2',
1079
+ },
1080
+ },
1081
+ lineStyle: {
1082
+ normal: {
1083
+ width: '2',
1084
+ },
1085
+ },
1086
+ symbolSize: '6',
1087
+ symbol: 'emptyCircle',
1088
+ smooth: true,
1089
+ },
1090
+ bar: {
1091
+ itemStyle: {
1092
+ normal: {
1093
+ barBorderWidth: 0,
1094
+ barBorderColor: '#ccc',
1095
+ },
1096
+ emphasis: {
1097
+ barBorderWidth: 0,
1098
+ barBorderColor: '#ccc',
1099
+ },
1100
+ },
1101
+ },
1102
+ pie: {
1103
+ itemStyle: {
1104
+ normal: {
1105
+ borderWidth: 0,
1106
+ borderColor: '#ccc',
1107
+ },
1108
+ emphasis: {
1109
+ borderWidth: 0,
1110
+ borderColor: '#ccc',
1111
+ },
1112
+ },
1113
+ },
1114
+ scatter: {
1115
+ itemStyle: {
1116
+ normal: {
1117
+ borderWidth: 0,
1118
+ borderColor: '#ccc',
1119
+ },
1120
+ emphasis: {
1121
+ borderWidth: 0,
1122
+ borderColor: '#ccc',
1123
+ },
1124
+ },
1125
+ },
1126
+ boxplot: {
1127
+ itemStyle: {
1128
+ normal: {
1129
+ borderWidth: 0,
1130
+ borderColor: '#ccc',
1131
+ },
1132
+ emphasis: {
1133
+ borderWidth: 0,
1134
+ borderColor: '#ccc',
1135
+ },
1136
+ },
1137
+ },
1138
+ parallel: {
1139
+ itemStyle: {
1140
+ normal: {
1141
+ borderWidth: 0,
1142
+ borderColor: '#ccc',
1143
+ },
1144
+ emphasis: {
1145
+ borderWidth: 0,
1146
+ borderColor: '#ccc',
1147
+ },
1148
+ },
1149
+ },
1150
+ sankey: {
1151
+ itemStyle: {
1152
+ normal: {
1153
+ borderWidth: 0,
1154
+ borderColor: '#ccc',
1155
+ },
1156
+ emphasis: {
1157
+ borderWidth: 0,
1158
+ borderColor: '#ccc',
1159
+ },
1160
+ },
1161
+ },
1162
+ funnel: {
1163
+ itemStyle: {
1164
+ normal: {
1165
+ borderWidth: 0,
1166
+ borderColor: '#ccc',
1167
+ },
1168
+ emphasis: {
1169
+ borderWidth: 0,
1170
+ borderColor: '#ccc',
1171
+ },
1172
+ },
1173
+ },
1174
+ gauge: {
1175
+ itemStyle: {
1176
+ normal: {
1177
+ borderWidth: 0,
1178
+ borderColor: '#ccc',
1179
+ },
1180
+ emphasis: {
1181
+ borderWidth: 0,
1182
+ borderColor: '#ccc',
1183
+ },
1184
+ },
1185
+ },
1186
+ candlestick: {
1187
+ itemStyle: {
1188
+ normal: {
1189
+ color: '#f3753f',
1190
+ color0: 'transparent',
1191
+ borderColor: '#f3753f',
1192
+ borderColor0: '#00b2b1',
1193
+ borderWidth: '2',
1194
+ },
1195
+ },
1196
+ },
1197
+ graph: {
1198
+ itemStyle: {
1199
+ normal: {
1200
+ borderWidth: 0,
1201
+ borderColor: '#ccc',
1202
+ },
1203
+ },
1204
+ lineStyle: {
1205
+ normal: {
1206
+ width: 1,
1207
+ color: '#aaaaaa',
1208
+ },
1209
+ },
1210
+ symbolSize: '6',
1211
+ symbol: 'emptyCircle',
1212
+ smooth: true,
1213
+ color: ['#00b2b1', '#69c6c4', '#a0d9d7', '#ffbb9c', '#fd986d', '#f3753f'],
1214
+ label: {
1215
+ normal: {
1216
+ textStyle: {
1217
+ color: '#ffffff',
1218
+ },
1219
+ },
1220
+ },
1221
+ },
1222
+ map: {
1223
+ itemStyle: {
1224
+ normal: {
1225
+ areaColor: '#f3f3f3',
1226
+ borderColor: '#999999',
1227
+ borderWidth: 0.5,
1228
+ },
1229
+ emphasis: {
1230
+ areaColor: 'rgba(254,198,77,1)',
1231
+ borderColor: '#ecaf2b',
1232
+ borderWidth: 1,
1233
+ },
1234
+ },
1235
+ label: {
1236
+ normal: {
1237
+ textStyle: {
1238
+ color: '#007373',
1239
+ },
1240
+ },
1241
+ emphasis: {
1242
+ textStyle: {
1243
+ color: 'rgb(0,115,115)',
1244
+ },
1245
+ },
1246
+ },
1247
+ },
1248
+ geo: {
1249
+ itemStyle: {
1250
+ normal: {
1251
+ areaColor: '#f3f3f3',
1252
+ borderColor: '#999999',
1253
+ borderWidth: 0.5,
1254
+ },
1255
+ emphasis: {
1256
+ areaColor: 'rgba(254,198,77,1)',
1257
+ borderColor: '#ecaf2b',
1258
+ borderWidth: 1,
1259
+ },
1260
+ },
1261
+ label: {
1262
+ normal: {
1263
+ textStyle: {
1264
+ color: '#007373',
1265
+ },
1266
+ },
1267
+ emphasis: {
1268
+ textStyle: {
1269
+ color: 'rgb(0,115,115)',
1270
+ },
1271
+ },
1272
+ },
1273
+ },
1274
+ categoryAxis: {
1275
+ axisLine: {
1276
+ show: true,
1277
+ lineStyle: {
1278
+ color: '#aaaaaa',
1279
+ },
1280
+ },
1281
+ axisTick: {
1282
+ show: false,
1283
+ lineStyle: {
1284
+ color: '#333',
1285
+ },
1286
+ },
1287
+ axisLabel: {
1288
+ show: true,
1289
+ textStyle: {
1290
+ color: '#999999',
1291
+ },
1292
+ },
1293
+ splitLine: {
1294
+ show: true,
1295
+ lineStyle: {
1296
+ color: ['#e6e6e6'],
1297
+ },
1298
+ },
1299
+ splitArea: {
1300
+ show: false,
1301
+ areaStyle: {
1302
+ color: ['rgba(250,250,250,0.05)', 'rgba(200,200,200,0.02)'],
1303
+ },
1304
+ },
1305
+ },
1306
+ valueAxis: {
1307
+ axisLine: {
1308
+ show: true,
1309
+ lineStyle: {
1310
+ color: '#aaaaaa',
1311
+ },
1312
+ },
1313
+ axisTick: {
1314
+ show: false,
1315
+ lineStyle: {
1316
+ color: '#333',
1317
+ },
1318
+ },
1319
+ axisLabel: {
1320
+ show: true,
1321
+ textStyle: {
1322
+ color: '#999999',
1323
+ },
1324
+ },
1325
+ splitLine: {
1326
+ show: true,
1327
+ lineStyle: {
1328
+ color: ['#e6e6e6'],
1329
+ },
1330
+ },
1331
+ splitArea: {
1332
+ show: false,
1333
+ areaStyle: {
1334
+ color: ['rgba(250,250,250,0.05)', 'rgba(200,200,200,0.02)'],
1335
+ },
1336
+ },
1337
+ },
1338
+ logAxis: {
1339
+ axisLine: {
1340
+ show: true,
1341
+ lineStyle: {
1342
+ color: '#aaaaaa',
1343
+ },
1344
+ },
1345
+ axisTick: {
1346
+ show: false,
1347
+ lineStyle: {
1348
+ color: '#333',
1349
+ },
1350
+ },
1351
+ axisLabel: {
1352
+ show: true,
1353
+ textStyle: {
1354
+ color: '#999999',
1355
+ },
1356
+ },
1357
+ splitLine: {
1358
+ show: true,
1359
+ lineStyle: {
1360
+ color: ['#e6e6e6'],
1361
+ },
1362
+ },
1363
+ splitArea: {
1364
+ show: false,
1365
+ areaStyle: {
1366
+ color: ['rgba(250,250,250,0.05)', 'rgba(200,200,200,0.02)'],
1367
+ },
1368
+ },
1369
+ },
1370
+ timeAxis: {
1371
+ axisLine: {
1372
+ show: true,
1373
+ lineStyle: {
1374
+ color: '#aaaaaa',
1375
+ },
1376
+ },
1377
+ axisTick: {
1378
+ show: false,
1379
+ lineStyle: {
1380
+ color: '#333',
1381
+ },
1382
+ },
1383
+ axisLabel: {
1384
+ show: true,
1385
+ textStyle: {
1386
+ color: '#999999',
1387
+ },
1388
+ },
1389
+ splitLine: {
1390
+ show: true,
1391
+ lineStyle: {
1392
+ color: ['#e6e6e6'],
1393
+ },
1394
+ },
1395
+ splitArea: {
1396
+ show: false,
1397
+ areaStyle: {
1398
+ color: ['rgba(250,250,250,0.05)', 'rgba(200,200,200,0.02)'],
1399
+ },
1400
+ },
1401
+ },
1402
+ toolbox: {
1403
+ iconStyle: {
1404
+ normal: {
1405
+ borderColor: '#999999',
1406
+ },
1407
+ emphasis: {
1408
+ borderColor: '#666666',
1409
+ },
1410
+ },
1411
+ },
1412
+ legend: {
1413
+ textStyle: {
1414
+ color: '#000000',
1415
+ },
1416
+ },
1417
+ tooltip: {
1418
+ axisPointer: {
1419
+ lineStyle: {
1420
+ color: '#cccccc',
1421
+ width: 1,
1422
+ },
1423
+ crossStyle: {
1424
+ color: '#cccccc',
1425
+ width: 1,
1426
+ },
1427
+ },
1428
+ },
1429
+ timeline: {
1430
+ lineStyle: {
1431
+ color: '#666666',
1432
+ width: 1,
1433
+ },
1434
+ itemStyle: {
1435
+ normal: {
1436
+ color: '#666666',
1437
+ borderWidth: 1,
1438
+ },
1439
+ emphasis: {
1440
+ color: '#fec64d',
1441
+ },
1442
+ },
1443
+ controlStyle: {
1444
+ normal: {
1445
+ color: '#666666',
1446
+ borderColor: '#666666',
1447
+ borderWidth: 0.5,
1448
+ },
1449
+ emphasis: {
1450
+ color: '#666666',
1451
+ borderColor: '#666666',
1452
+ borderWidth: 0.5,
1453
+ },
1454
+ },
1455
+ checkpointStyle: {
1456
+ color: '#f3753f',
1457
+ borderColor: 'rgba(255,178,72,0.41)',
1458
+ },
1459
+ label: {
1460
+ normal: {
1461
+ textStyle: {
1462
+ color: '#666666',
1463
+ },
1464
+ },
1465
+ emphasis: {
1466
+ textStyle: {
1467
+ color: '#666666',
1468
+ },
1469
+ },
1470
+ },
1471
+ },
1472
+ visualMap: {
1473
+ color: ['#00b2b1', '#69c6c4', '#a0d9d7', '#ffbb9c', '#fd986d', '#f3753f'],
1474
+ },
1475
+ dataZoom: {
1476
+ backgroundColor: 'rgba(255,255,255,0)',
1477
+ dataBackgroundColor: 'rgba(255,178,72,0.5)',
1478
+ fillerColor: 'rgba(255,178,72,0.15)',
1479
+ handleColor: '#fec64d',
1480
+ handleSize: '100%',
1481
+ textStyle: {
1482
+ color: '#aaaaaa',
1483
+ },
1484
+ },
1485
+ markPoint: {
1486
+ label: {
1487
+ normal: {
1488
+ textStyle: {
1489
+ color: '#ffffff',
1490
+ },
1491
+ },
1492
+ emphasis: {
1493
+ textStyle: {
1494
+ color: '#ffffff',
1495
+ },
1496
+ },
1497
+ },
1498
+ },
1499
+ };
1500
+
1501
+ /* tslint:disable */
1502
+ var passionFlower = {
1503
+ color: ['#007e7d', '#977ed2', '#d58a9c', '#97b6eb', '#ceccbb', '#f2dfd8'],
1504
+ backgroundColor: 'transparent',
1505
+ textStyle: {},
1506
+ title: {
1507
+ textStyle: {
1508
+ color: '#aaaaaa',
1509
+ },
1510
+ subtextStyle: {
1511
+ color: '#aaaaaa',
1512
+ },
1513
+ },
1514
+ tree: {
1515
+ itemStyle: {
1516
+ color: '#f2dfd8',
1517
+ borderColor: '#007e7d',
1518
+ },
1519
+ },
1520
+ line: {
1521
+ itemStyle: {
1522
+ normal: {
1523
+ borderWidth: '2',
1524
+ },
1525
+ },
1526
+ lineStyle: {
1527
+ normal: {
1528
+ width: '2',
1529
+ },
1530
+ },
1531
+ symbolSize: '6',
1532
+ symbol: 'emptyCircle',
1533
+ smooth: true,
1534
+ },
1535
+ radar: {
1536
+ itemStyle: {
1537
+ normal: {
1538
+ borderWidth: '2',
1539
+ },
1540
+ },
1541
+ lineStyle: {
1542
+ normal: {
1543
+ width: '2',
1544
+ },
1545
+ },
1546
+ symbolSize: '6',
1547
+ symbol: 'emptyCircle',
1548
+ smooth: true,
1549
+ },
1550
+ bar: {
1551
+ itemStyle: {
1552
+ normal: {
1553
+ barBorderWidth: 0,
1554
+ barBorderColor: '#ccc',
1555
+ },
1556
+ emphasis: {
1557
+ barBorderWidth: 0,
1558
+ barBorderColor: '#ccc',
1559
+ },
1560
+ },
1561
+ },
1562
+ pie: {
1563
+ itemStyle: {
1564
+ normal: {
1565
+ borderWidth: 0,
1566
+ borderColor: '#ccc',
1567
+ },
1568
+ emphasis: {
1569
+ borderWidth: 0,
1570
+ borderColor: '#ccc',
1571
+ },
1572
+ },
1573
+ },
1574
+ scatter: {
1575
+ itemStyle: {
1576
+ normal: {
1577
+ borderWidth: 0,
1578
+ borderColor: '#ccc',
1579
+ },
1580
+ emphasis: {
1581
+ borderWidth: 0,
1582
+ borderColor: '#ccc',
1583
+ },
1584
+ },
1585
+ },
1586
+ boxplot: {
1587
+ itemStyle: {
1588
+ normal: {
1589
+ borderWidth: 0,
1590
+ borderColor: '#ccc',
1591
+ },
1592
+ emphasis: {
1593
+ borderWidth: 0,
1594
+ borderColor: '#ccc',
1595
+ },
1596
+ },
1597
+ },
1598
+ parallel: {
1599
+ itemStyle: {
1600
+ normal: {
1601
+ borderWidth: 0,
1602
+ borderColor: '#ccc',
1603
+ },
1604
+ emphasis: {
1605
+ borderWidth: 0,
1606
+ borderColor: '#ccc',
1607
+ },
1608
+ },
1609
+ },
1610
+ sankey: {
1611
+ itemStyle: {
1612
+ normal: {
1613
+ borderWidth: 0,
1614
+ borderColor: '#ccc',
1615
+ },
1616
+ emphasis: {
1617
+ borderWidth: 0,
1618
+ borderColor: '#ccc',
1619
+ },
1620
+ },
1621
+ },
1622
+ funnel: {
1623
+ itemStyle: {
1624
+ normal: {
1625
+ borderWidth: 0,
1626
+ borderColor: '#ccc',
1627
+ },
1628
+ emphasis: {
1629
+ borderWidth: 0,
1630
+ borderColor: '#ccc',
1631
+ },
1632
+ },
1633
+ },
1634
+ gauge: {
1635
+ itemStyle: {
1636
+ normal: {
1637
+ borderWidth: 0,
1638
+ borderColor: '#ccc',
1639
+ },
1640
+ emphasis: {
1641
+ borderWidth: 0,
1642
+ borderColor: '#ccc',
1643
+ },
1644
+ },
1645
+ },
1646
+ candlestick: {
1647
+ itemStyle: {
1648
+ normal: {
1649
+ color: '#977ed2',
1650
+ color0: 'transparent',
1651
+ borderColor: '#977ed2',
1652
+ borderColor0: '#007e7d',
1653
+ borderWidth: '2',
1654
+ },
1655
+ },
1656
+ },
1657
+ graph: {
1658
+ itemStyle: {
1659
+ normal: {
1660
+ borderWidth: 0,
1661
+ borderColor: '#ccc',
1662
+ },
1663
+ },
1664
+ lineStyle: {
1665
+ normal: {
1666
+ width: 1,
1667
+ color: '#aaaaaa',
1668
+ },
1669
+ },
1670
+ symbolSize: '6',
1671
+ symbol: 'emptyCircle',
1672
+ smooth: true,
1673
+ color: ['#007e7d', '#977ed2', '#d58a9c', '#97b6eb', '#ceccbb', '#f2dfd8'],
1674
+ label: {
1675
+ normal: {
1676
+ textStyle: {
1677
+ color: '#ffffff',
1678
+ },
1679
+ },
1680
+ },
1681
+ },
1682
+ map: {
1683
+ itemStyle: {
1684
+ normal: {
1685
+ areaColor: '#f3f3f3',
1686
+ borderColor: '#999999',
1687
+ borderWidth: 0.5,
1688
+ },
1689
+ emphasis: {
1690
+ areaColor: 'rgba(254,198,77,1)',
1691
+ borderColor: '#ecaf2b',
1692
+ borderWidth: 1,
1693
+ },
1694
+ },
1695
+ label: {
1696
+ normal: {
1697
+ textStyle: {
1698
+ color: '#00475e',
1699
+ },
1700
+ },
1701
+ emphasis: {
1702
+ textStyle: {
1703
+ color: 'rgb(0,71,94)',
1704
+ },
1705
+ },
1706
+ },
1707
+ },
1708
+ geo: {
1709
+ itemStyle: {
1710
+ normal: {
1711
+ areaColor: '#f3f3f3',
1712
+ borderColor: '#999999',
1713
+ borderWidth: 0.5,
1714
+ },
1715
+ emphasis: {
1716
+ areaColor: 'rgba(254,198,77,1)',
1717
+ borderColor: '#ecaf2b',
1718
+ borderWidth: 1,
1719
+ },
1720
+ },
1721
+ label: {
1722
+ normal: {
1723
+ textStyle: {
1724
+ color: '#00475e',
1725
+ },
1726
+ },
1727
+ emphasis: {
1728
+ textStyle: {
1729
+ color: 'rgb(0,71,94)',
1730
+ },
1731
+ },
1732
+ },
1733
+ },
1734
+ categoryAxis: {
1735
+ axisLine: {
1736
+ show: true,
1737
+ lineStyle: {
1738
+ color: '#aaaaaa',
1739
+ },
1740
+ },
1741
+ axisTick: {
1742
+ show: false,
1743
+ lineStyle: {
1744
+ color: '#333',
1745
+ },
1746
+ },
1747
+ axisLabel: {
1748
+ show: true,
1749
+ textStyle: {
1750
+ color: '#999999',
1751
+ },
1752
+ },
1753
+ splitLine: {
1754
+ show: true,
1755
+ lineStyle: {
1756
+ color: ['#e6e6e6'],
1757
+ },
1758
+ },
1759
+ splitArea: {
1760
+ show: false,
1761
+ areaStyle: {
1762
+ color: ['rgba(250,250,250,0.05)', 'rgba(200,200,200,0.02)'],
1763
+ },
1764
+ },
1765
+ },
1766
+ valueAxis: {
1767
+ axisLine: {
1768
+ show: true,
1769
+ lineStyle: {
1770
+ color: '#aaaaaa',
1771
+ },
1772
+ },
1773
+ axisTick: {
1774
+ show: false,
1775
+ lineStyle: {
1776
+ color: '#333',
1777
+ },
1778
+ },
1779
+ axisLabel: {
1780
+ show: true,
1781
+ textStyle: {
1782
+ color: '#999999',
1783
+ },
1784
+ },
1785
+ splitLine: {
1786
+ show: true,
1787
+ lineStyle: {
1788
+ color: ['#e6e6e6'],
1789
+ },
1790
+ },
1791
+ splitArea: {
1792
+ show: false,
1793
+ areaStyle: {
1794
+ color: ['rgba(250,250,250,0.05)', 'rgba(200,200,200,0.02)'],
1795
+ },
1796
+ },
1797
+ },
1798
+ logAxis: {
1799
+ axisLine: {
1800
+ show: true,
1801
+ lineStyle: {
1802
+ color: '#aaaaaa',
1803
+ },
1804
+ },
1805
+ axisTick: {
1806
+ show: false,
1807
+ lineStyle: {
1808
+ color: '#333',
1809
+ },
1810
+ },
1811
+ axisLabel: {
1812
+ show: true,
1813
+ textStyle: {
1814
+ color: '#999999',
1815
+ },
1816
+ },
1817
+ splitLine: {
1818
+ show: true,
1819
+ lineStyle: {
1820
+ color: ['#e6e6e6'],
1821
+ },
1822
+ },
1823
+ splitArea: {
1824
+ show: false,
1825
+ areaStyle: {
1826
+ color: ['rgba(250,250,250,0.05)', 'rgba(200,200,200,0.02)'],
1827
+ },
1828
+ },
1829
+ },
1830
+ timeAxis: {
1831
+ axisLine: {
1832
+ show: true,
1833
+ lineStyle: {
1834
+ color: '#aaaaaa',
1835
+ },
1836
+ },
1837
+ axisTick: {
1838
+ show: false,
1839
+ lineStyle: {
1840
+ color: '#333',
1841
+ },
1842
+ },
1843
+ axisLabel: {
1844
+ show: true,
1845
+ textStyle: {
1846
+ color: '#999999',
1847
+ },
1848
+ },
1849
+ splitLine: {
1850
+ show: true,
1851
+ lineStyle: {
1852
+ color: ['#e6e6e6'],
1853
+ },
1854
+ },
1855
+ splitArea: {
1856
+ show: false,
1857
+ areaStyle: {
1858
+ color: ['rgba(250,250,250,0.05)', 'rgba(200,200,200,0.02)'],
1859
+ },
1860
+ },
1861
+ },
1862
+ toolbox: {
1863
+ iconStyle: {
1864
+ normal: {
1865
+ borderColor: '#999999',
1866
+ },
1867
+ emphasis: {
1868
+ borderColor: '#666666',
1869
+ },
1870
+ },
1871
+ },
1872
+ legend: {
1873
+ textStyle: {
1874
+ color: '#999999',
1875
+ },
1876
+ },
1877
+ tooltip: {
1878
+ axisPointer: {
1879
+ lineStyle: {
1880
+ color: '#cccccc',
1881
+ width: 1,
1882
+ },
1883
+ crossStyle: {
1884
+ color: '#cccccc',
1885
+ width: 1,
1886
+ },
1887
+ },
1888
+ },
1889
+ timeline: {
1890
+ lineStyle: {
1891
+ color: '#666666',
1892
+ width: 1,
1893
+ },
1894
+ itemStyle: {
1895
+ normal: {
1896
+ color: '#666666',
1897
+ borderWidth: 1,
1898
+ },
1899
+ emphasis: {
1900
+ color: '#f7ac4f',
1901
+ },
1902
+ },
1903
+ controlStyle: {
1904
+ normal: {
1905
+ color: '#666666',
1906
+ borderColor: '#666666',
1907
+ borderWidth: 0.5,
1908
+ },
1909
+ emphasis: {
1910
+ color: '#666666',
1911
+ borderColor: '#666666',
1912
+ borderWidth: 0.5,
1913
+ },
1914
+ },
1915
+ checkpointStyle: {
1916
+ color: '#f7ac4f',
1917
+ borderColor: 'rgba(254,198,77,0.6)',
1918
+ },
1919
+ label: {
1920
+ normal: {
1921
+ textStyle: {
1922
+ color: '#666666',
1923
+ },
1924
+ },
1925
+ emphasis: {
1926
+ textStyle: {
1927
+ color: '#666666',
1928
+ },
1929
+ },
1930
+ },
1931
+ },
1932
+ visualMap: {
1933
+ color: ['#007e7d', '#977ed2', '#d58a9c', '#97b6eb', '#ceccbb', '#f2dfd8'],
1934
+ },
1935
+ dataZoom: {
1936
+ backgroundColor: 'rgba(255,255,255,0)',
1937
+ dataBackgroundColor: 'rgba(255,178,72,0.5)',
1938
+ fillerColor: 'rgba(255,178,72,0.15)',
1939
+ handleColor: '#ffb248',
1940
+ handleSize: '100%',
1941
+ textStyle: {
1942
+ color: '#aaaaaa',
1943
+ },
1944
+ },
1945
+ markPoint: {
1946
+ label: {
1947
+ normal: {
1948
+ textStyle: {
1949
+ color: '#ffffff',
1950
+ },
1951
+ },
1952
+ emphasis: {
1953
+ textStyle: {
1954
+ color: '#ffffff',
1955
+ },
1956
+ },
1957
+ },
1958
+ },
1959
+ };
1960
+
1961
+ /* tslint:disable */
1962
+ var razzleberryPie = {
1963
+ color: [
1964
+ '#523e85',
1965
+ '#8b4f8f',
1966
+ '#b96595',
1967
+ '#e0829a',
1968
+ '#ffa3a2',
1969
+ '#f9b8a3',
1970
+ '#f1ccb1',
1971
+ '#ebddc8',
1972
+ ],
1973
+ backgroundColor: 'transparent',
1974
+ textStyle: {},
1975
+ title: {
1976
+ textStyle: {
1977
+ color: '#aaaaaa',
1978
+ },
1979
+ subtextStyle: {
1980
+ color: '#aaaaaa',
1981
+ },
1982
+ },
1983
+ tree: {
1984
+ itemStyle: {
1985
+ color: '#ffa3a2',
1986
+ borderColor: '#523e85',
1987
+ },
1988
+ },
1989
+ line: {
1990
+ itemStyle: {
1991
+ normal: {
1992
+ borderWidth: '2',
1993
+ },
1994
+ },
1995
+ lineStyle: {
1996
+ normal: {
1997
+ width: '2',
1998
+ },
1999
+ },
2000
+ symbolSize: '6',
2001
+ symbol: 'emptyCircle',
2002
+ smooth: true,
2003
+ },
2004
+ radar: {
2005
+ itemStyle: {
2006
+ normal: {
2007
+ borderWidth: '2',
2008
+ },
2009
+ },
2010
+ lineStyle: {
2011
+ normal: {
2012
+ width: '2',
2013
+ },
2014
+ },
2015
+ symbolSize: '6',
2016
+ symbol: 'emptyCircle',
2017
+ smooth: true,
2018
+ },
2019
+ bar: {
2020
+ itemStyle: {
2021
+ normal: {
2022
+ barBorderWidth: 0,
2023
+ barBorderColor: '#ccc',
2024
+ },
2025
+ emphasis: {
2026
+ barBorderWidth: 0,
2027
+ barBorderColor: '#ccc',
2028
+ },
2029
+ },
2030
+ },
2031
+ pie: {
2032
+ itemStyle: {
2033
+ normal: {
2034
+ borderWidth: 0,
2035
+ borderColor: '#ccc',
2036
+ },
2037
+ emphasis: {
2038
+ borderWidth: 0,
2039
+ borderColor: '#ccc',
2040
+ },
2041
+ },
2042
+ },
2043
+ scatter: {
2044
+ itemStyle: {
2045
+ normal: {
2046
+ borderWidth: 0,
2047
+ borderColor: '#ccc',
2048
+ },
2049
+ emphasis: {
2050
+ borderWidth: 0,
2051
+ borderColor: '#ccc',
2052
+ },
2053
+ },
2054
+ },
2055
+ boxplot: {
2056
+ itemStyle: {
2057
+ normal: {
2058
+ borderWidth: 0,
2059
+ borderColor: '#ccc',
2060
+ },
2061
+ emphasis: {
2062
+ borderWidth: 0,
2063
+ borderColor: '#ccc',
2064
+ },
2065
+ },
2066
+ },
2067
+ parallel: {
2068
+ itemStyle: {
2069
+ normal: {
2070
+ borderWidth: 0,
2071
+ borderColor: '#ccc',
2072
+ },
2073
+ emphasis: {
2074
+ borderWidth: 0,
2075
+ borderColor: '#ccc',
2076
+ },
2077
+ },
2078
+ },
2079
+ sankey: {
2080
+ itemStyle: {
2081
+ normal: {
2082
+ borderWidth: 0,
2083
+ borderColor: '#ccc',
2084
+ },
2085
+ emphasis: {
2086
+ borderWidth: 0,
2087
+ borderColor: '#ccc',
2088
+ },
2089
+ },
2090
+ },
2091
+ funnel: {
2092
+ itemStyle: {
2093
+ normal: {
2094
+ borderWidth: 0,
2095
+ borderColor: '#ccc',
2096
+ },
2097
+ emphasis: {
2098
+ borderWidth: 0,
2099
+ borderColor: '#ccc',
2100
+ },
2101
+ },
2102
+ },
2103
+ gauge: {
2104
+ itemStyle: {
2105
+ normal: {
2106
+ borderWidth: 0,
2107
+ borderColor: '#ccc',
2108
+ },
2109
+ emphasis: {
2110
+ borderWidth: 0,
2111
+ borderColor: '#ccc',
2112
+ },
2113
+ },
2114
+ },
2115
+ candlestick: {
2116
+ itemStyle: {
2117
+ normal: {
2118
+ color: '#8b4f8f',
2119
+ color0: '#ffa3a2',
2120
+ borderColor: '#8b4f8f',
2121
+ borderColor0: '#ffa3a2',
2122
+ borderWidth: '2',
2123
+ },
2124
+ },
2125
+ },
2126
+ graph: {
2127
+ itemStyle: {
2128
+ normal: {
2129
+ borderWidth: 0,
2130
+ borderColor: '#ccc',
2131
+ },
2132
+ },
2133
+ lineStyle: {
2134
+ normal: {
2135
+ width: 1,
2136
+ color: '#aaaaaa',
2137
+ },
2138
+ },
2139
+ symbolSize: '6',
2140
+ symbol: 'emptyCircle',
2141
+ smooth: true,
2142
+ color: [
2143
+ '#523e85',
2144
+ '#8b4f8f',
2145
+ '#b96595',
2146
+ '#e0829a',
2147
+ '#ffa3a2',
2148
+ '#f9b8a3',
2149
+ '#f1ccb1',
2150
+ '#ebddc8',
2151
+ ],
2152
+ label: {
2153
+ normal: {
2154
+ textStyle: {
2155
+ color: '#ffffff',
2156
+ },
2157
+ },
2158
+ },
2159
+ },
2160
+ map: {
2161
+ itemStyle: {
2162
+ normal: {
2163
+ areaColor: '#f3f3f3',
2164
+ borderColor: '#999999',
2165
+ borderWidth: 0.5,
2166
+ },
2167
+ emphasis: {
2168
+ areaColor: 'rgba(255,178,72,1)',
2169
+ borderColor: '#eb8146',
2170
+ borderWidth: 1,
2171
+ },
2172
+ },
2173
+ label: {
2174
+ normal: {
2175
+ textStyle: {
2176
+ color: '#523e85',
2177
+ },
2178
+ },
2179
+ emphasis: {
2180
+ textStyle: {
2181
+ color: 'rgb(82,62,133)',
2182
+ },
2183
+ },
2184
+ },
2185
+ },
2186
+ geo: {
2187
+ itemStyle: {
2188
+ normal: {
2189
+ areaColor: '#f3f3f3',
2190
+ borderColor: '#999999',
2191
+ borderWidth: 0.5,
2192
+ },
2193
+ emphasis: {
2194
+ areaColor: 'rgba(255,178,72,1)',
2195
+ borderColor: '#eb8146',
2196
+ borderWidth: 1,
2197
+ },
2198
+ },
2199
+ label: {
2200
+ normal: {
2201
+ textStyle: {
2202
+ color: '#523e85',
2203
+ },
2204
+ },
2205
+ emphasis: {
2206
+ textStyle: {
2207
+ color: 'rgb(82,62,133)',
2208
+ },
2209
+ },
2210
+ },
2211
+ },
2212
+ categoryAxis: {
2213
+ axisLine: {
2214
+ show: true,
2215
+ lineStyle: {
2216
+ color: '#aaaaaa',
2217
+ },
2218
+ },
2219
+ axisTick: {
2220
+ show: false,
2221
+ lineStyle: {
2222
+ color: '#333',
2223
+ },
2224
+ },
2225
+ axisLabel: {
2226
+ show: true,
2227
+ textStyle: {
2228
+ color: '#999999',
2229
+ },
2230
+ },
2231
+ splitLine: {
2232
+ show: true,
2233
+ lineStyle: {
2234
+ color: ['#e6e6e6'],
2235
+ },
2236
+ },
2237
+ splitArea: {
2238
+ show: false,
2239
+ areaStyle: {
2240
+ color: ['rgba(250,250,250,0.05)', 'rgba(200,200,200,0.02)'],
2241
+ },
2242
+ },
2243
+ },
2244
+ valueAxis: {
2245
+ axisLine: {
2246
+ show: true,
2247
+ lineStyle: {
2248
+ color: '#aaaaaa',
2249
+ },
2250
+ },
2251
+ axisTick: {
2252
+ show: false,
2253
+ lineStyle: {
2254
+ color: '#333',
2255
+ },
2256
+ },
2257
+ axisLabel: {
2258
+ show: true,
2259
+ textStyle: {
2260
+ color: '#999999',
2261
+ },
2262
+ },
2263
+ splitLine: {
2264
+ show: true,
2265
+ lineStyle: {
2266
+ color: ['#e6e6e6'],
2267
+ },
2268
+ },
2269
+ splitArea: {
2270
+ show: false,
2271
+ areaStyle: {
2272
+ color: ['rgba(250,250,250,0.05)', 'rgba(200,200,200,0.02)'],
2273
+ },
2274
+ },
2275
+ },
2276
+ logAxis: {
2277
+ axisLine: {
2278
+ show: true,
2279
+ lineStyle: {
2280
+ color: '#aaaaaa',
2281
+ },
2282
+ },
2283
+ axisTick: {
2284
+ show: false,
2285
+ lineStyle: {
2286
+ color: '#333',
2287
+ },
2288
+ },
2289
+ axisLabel: {
2290
+ show: true,
2291
+ textStyle: {
2292
+ color: '#999999',
2293
+ },
2294
+ },
2295
+ splitLine: {
2296
+ show: true,
2297
+ lineStyle: {
2298
+ color: ['#e6e6e6'],
2299
+ },
2300
+ },
2301
+ splitArea: {
2302
+ show: false,
2303
+ areaStyle: {
2304
+ color: ['rgba(250,250,250,0.05)', 'rgba(200,200,200,0.02)'],
2305
+ },
2306
+ },
2307
+ },
2308
+ timeAxis: {
2309
+ axisLine: {
2310
+ show: true,
2311
+ lineStyle: {
2312
+ color: '#aaaaaa',
2313
+ },
2314
+ },
2315
+ axisTick: {
2316
+ show: false,
2317
+ lineStyle: {
2318
+ color: '#333',
2319
+ },
2320
+ },
2321
+ axisLabel: {
2322
+ show: true,
2323
+ textStyle: {
2324
+ color: '#999999',
2325
+ },
2326
+ },
2327
+ splitLine: {
2328
+ show: true,
2329
+ lineStyle: {
2330
+ color: ['#e6e6e6'],
2331
+ },
2332
+ },
2333
+ splitArea: {
2334
+ show: false,
2335
+ areaStyle: {
2336
+ color: ['rgba(250,250,250,0.05)', 'rgba(200,200,200,0.02)'],
2337
+ },
2338
+ },
2339
+ },
2340
+ toolbox: {
2341
+ iconStyle: {
2342
+ normal: {
2343
+ borderColor: '#999999',
2344
+ },
2345
+ emphasis: {
2346
+ borderColor: '#666666',
2347
+ },
2348
+ },
2349
+ },
2350
+ legend: {
2351
+ textStyle: {
2352
+ color: '#000000',
2353
+ },
2354
+ },
2355
+ tooltip: {
2356
+ axisPointer: {
2357
+ lineStyle: {
2358
+ color: '#cccccc',
2359
+ width: 1,
2360
+ },
2361
+ crossStyle: {
2362
+ color: '#cccccc',
2363
+ width: 1,
2364
+ },
2365
+ },
2366
+ },
2367
+ timeline: {
2368
+ lineStyle: {
2369
+ color: '#523e85',
2370
+ width: 1,
2371
+ },
2372
+ itemStyle: {
2373
+ normal: {
2374
+ color: '#523e85',
2375
+ borderWidth: 1,
2376
+ },
2377
+ emphasis: {
2378
+ color: '#ffb248',
2379
+ },
2380
+ },
2381
+ controlStyle: {
2382
+ normal: {
2383
+ color: '#523e85',
2384
+ borderColor: '#523e85',
2385
+ borderWidth: 0.5,
2386
+ },
2387
+ emphasis: {
2388
+ color: '#523e85',
2389
+ borderColor: '#523e85',
2390
+ borderWidth: 0.5,
2391
+ },
2392
+ },
2393
+ checkpointStyle: {
2394
+ color: '#eb8146',
2395
+ borderColor: 'rgba(255,178,72,0.41)',
2396
+ },
2397
+ label: {
2398
+ normal: {
2399
+ textStyle: {
2400
+ color: '#523e85',
2401
+ },
2402
+ },
2403
+ emphasis: {
2404
+ textStyle: {
2405
+ color: '#523e85',
2406
+ },
2407
+ },
2408
+ },
2409
+ },
2410
+ visualMap: {
2411
+ color: [
2412
+ '#523e85',
2413
+ '#8b4f8f',
2414
+ '#b96595',
2415
+ '#e0829a',
2416
+ '#ffa3a2',
2417
+ '#f9b8a3',
2418
+ '#f1ccb1',
2419
+ '#ebddc8',
2420
+ ],
2421
+ },
2422
+ dataZoom: {
2423
+ backgroundColor: 'rgba(255,255,255,0)',
2424
+ dataBackgroundColor: 'rgba(255,178,72,0.5)',
2425
+ fillerColor: 'rgba(255,178,72,0.15)',
2426
+ handleColor: '#ffb248',
2427
+ handleSize: '100%',
2428
+ textStyle: {
2429
+ color: '#aaaaaa',
2430
+ },
2431
+ },
2432
+ markPoint: {
2433
+ label: {
2434
+ normal: {
2435
+ textStyle: {
2436
+ color: '#ffffff',
2437
+ },
2438
+ },
2439
+ emphasis: {
2440
+ textStyle: {
2441
+ color: '#ffffff',
2442
+ },
2443
+ },
2444
+ },
2445
+ },
2446
+ };
2447
+
2448
+ /* tslint:disable */
2449
+ var teradataClassic = {
2450
+ color: [
2451
+ '#005e7d',
2452
+ '#c54b17',
2453
+ '#009392',
2454
+ '#f5bb3c',
2455
+ '#0098c9',
2456
+ '#f58b5e',
2457
+ '#59cecd',
2458
+ '#fee2a6',
2459
+ ],
2460
+ backgroundColor: 'transparent',
2461
+ textStyle: {},
2462
+ title: {
2463
+ textStyle: {
2464
+ color: '#aaaaaa',
2465
+ },
2466
+ subtextStyle: {
2467
+ color: '#aaaaaa',
2468
+ },
2469
+ },
2470
+ tree: {
2471
+ itemStyle: {
2472
+ color: '#fee2a6',
2473
+ borderColor: '#005e7d',
2474
+ },
2475
+ },
2476
+ line: {
2477
+ itemStyle: {
2478
+ normal: {
2479
+ borderWidth: '2',
2480
+ },
2481
+ },
2482
+ lineStyle: {
2483
+ normal: {
2484
+ width: '2',
2485
+ },
2486
+ },
2487
+ symbolSize: '6',
2488
+ symbol: 'emptyCircle',
2489
+ smooth: true,
2490
+ },
2491
+ radar: {
2492
+ itemStyle: {
2493
+ normal: {
2494
+ borderWidth: '2',
2495
+ },
2496
+ },
2497
+ lineStyle: {
2498
+ normal: {
2499
+ width: '2',
2500
+ },
2501
+ },
2502
+ symbolSize: '6',
2503
+ symbol: 'emptyCircle',
2504
+ smooth: true,
2505
+ },
2506
+ bar: {
2507
+ itemStyle: {
2508
+ normal: {
2509
+ barBorderWidth: 0,
2510
+ barBorderColor: '#ccc',
2511
+ },
2512
+ emphasis: {
2513
+ barBorderWidth: 0,
2514
+ barBorderColor: '#ccc',
2515
+ },
2516
+ },
2517
+ },
2518
+ pie: {
2519
+ itemStyle: {
2520
+ normal: {
2521
+ borderWidth: 0,
2522
+ borderColor: '#ccc',
2523
+ },
2524
+ emphasis: {
2525
+ borderWidth: 0,
2526
+ borderColor: '#ccc',
2527
+ },
2528
+ },
2529
+ },
2530
+ scatter: {
2531
+ itemStyle: {
2532
+ normal: {
2533
+ borderWidth: 0,
2534
+ borderColor: '#ccc',
2535
+ },
2536
+ emphasis: {
2537
+ borderWidth: 0,
2538
+ borderColor: '#ccc',
2539
+ },
2540
+ },
2541
+ },
2542
+ boxplot: {
2543
+ itemStyle: {
2544
+ normal: {
2545
+ borderWidth: 0,
2546
+ borderColor: '#ccc',
2547
+ },
2548
+ emphasis: {
2549
+ borderWidth: 0,
2550
+ borderColor: '#ccc',
2551
+ },
2552
+ },
2553
+ },
2554
+ parallel: {
2555
+ itemStyle: {
2556
+ normal: {
2557
+ borderWidth: 0,
2558
+ borderColor: '#ccc',
2559
+ },
2560
+ emphasis: {
2561
+ borderWidth: 0,
2562
+ borderColor: '#ccc',
2563
+ },
2564
+ },
2565
+ },
2566
+ sankey: {
2567
+ itemStyle: {
2568
+ normal: {
2569
+ borderWidth: 0,
2570
+ borderColor: '#ccc',
2571
+ },
2572
+ emphasis: {
2573
+ borderWidth: 0,
2574
+ borderColor: '#ccc',
2575
+ },
2576
+ },
2577
+ },
2578
+ funnel: {
2579
+ itemStyle: {
2580
+ normal: {
2581
+ borderWidth: 0,
2582
+ borderColor: '#ccc',
2583
+ },
2584
+ emphasis: {
2585
+ borderWidth: 0,
2586
+ borderColor: '#ccc',
2587
+ },
2588
+ },
2589
+ },
2590
+ gauge: {
2591
+ itemStyle: {
2592
+ normal: {
2593
+ borderWidth: 0,
2594
+ borderColor: '#ccc',
2595
+ },
2596
+ emphasis: {
2597
+ borderWidth: 0,
2598
+ borderColor: '#ccc',
2599
+ },
2600
+ },
2601
+ },
2602
+ candlestick: {
2603
+ itemStyle: {
2604
+ normal: {
2605
+ color: '#0098c9',
2606
+ color0: 'transparent',
2607
+ borderColor: '#0098c9',
2608
+ borderColor0: '#c54b17',
2609
+ borderWidth: '2',
2610
+ },
2611
+ },
2612
+ },
2613
+ graph: {
2614
+ itemStyle: {
2615
+ normal: {
2616
+ borderWidth: 0,
2617
+ borderColor: '#ccc',
2618
+ },
2619
+ },
2620
+ lineStyle: {
2621
+ normal: {
2622
+ width: 1,
2623
+ color: '#aaaaaa',
2624
+ },
2625
+ },
2626
+ symbolSize: '6',
2627
+ symbol: 'emptyCircle',
2628
+ smooth: true,
2629
+ color: [
2630
+ '#005e7d',
2631
+ '#c54b17',
2632
+ '#009392',
2633
+ '#f5bb3c',
2634
+ '#0098c9',
2635
+ '#f58b5e',
2636
+ '#59cecd',
2637
+ '#fee2a6',
2638
+ ],
2639
+ label: {
2640
+ normal: {
2641
+ textStyle: {
2642
+ color: '#ffffff',
2643
+ },
2644
+ },
2645
+ },
2646
+ },
2647
+ map: {
2648
+ itemStyle: {
2649
+ normal: {
2650
+ areaColor: '#f3f3f3',
2651
+ borderColor: '#999999',
2652
+ borderWidth: 0.5,
2653
+ },
2654
+ emphasis: {
2655
+ areaColor: 'rgba(254,198,77,1)',
2656
+ borderColor: '#ecaf2b',
2657
+ borderWidth: 1,
2658
+ },
2659
+ },
2660
+ label: {
2661
+ normal: {
2662
+ textStyle: {
2663
+ color: '#00475e',
2664
+ },
2665
+ },
2666
+ emphasis: {
2667
+ textStyle: {
2668
+ color: 'rgb(0,71,94)',
2669
+ },
2670
+ },
2671
+ },
2672
+ },
2673
+ geo: {
2674
+ itemStyle: {
2675
+ normal: {
2676
+ areaColor: '#f3f3f3',
2677
+ borderColor: '#999999',
2678
+ borderWidth: 0.5,
2679
+ },
2680
+ emphasis: {
2681
+ areaColor: 'rgba(254,198,77,1)',
2682
+ borderColor: '#ecaf2b',
2683
+ borderWidth: 1,
2684
+ },
2685
+ },
2686
+ label: {
2687
+ normal: {
2688
+ textStyle: {
2689
+ color: '#00475e',
2690
+ },
2691
+ },
2692
+ emphasis: {
2693
+ textStyle: {
2694
+ color: 'rgb(0,71,94)',
2695
+ },
2696
+ },
2697
+ },
2698
+ },
2699
+ categoryAxis: {
2700
+ axisLine: {
2701
+ show: true,
2702
+ lineStyle: {
2703
+ color: '#aaaaaa',
2704
+ },
2705
+ },
2706
+ axisTick: {
2707
+ show: false,
2708
+ lineStyle: {
2709
+ color: '#333',
2710
+ },
2711
+ },
2712
+ axisLabel: {
2713
+ show: true,
2714
+ textStyle: {
2715
+ color: '#999999',
2716
+ },
2717
+ },
2718
+ splitLine: {
2719
+ show: true,
2720
+ lineStyle: {
2721
+ color: ['#e6e6e6'],
2722
+ },
2723
+ },
2724
+ splitArea: {
2725
+ show: false,
2726
+ areaStyle: {
2727
+ color: ['rgba(250,250,250,0.05)', 'rgba(200,200,200,0.02)'],
2728
+ },
2729
+ },
2730
+ },
2731
+ valueAxis: {
2732
+ axisLine: {
2733
+ show: true,
2734
+ lineStyle: {
2735
+ color: '#aaaaaa',
2736
+ },
2737
+ },
2738
+ axisTick: {
2739
+ show: false,
2740
+ lineStyle: {
2741
+ color: '#333',
2742
+ },
2743
+ },
2744
+ axisLabel: {
2745
+ show: true,
2746
+ textStyle: {
2747
+ color: '#999999',
2748
+ },
2749
+ },
2750
+ splitLine: {
2751
+ show: true,
2752
+ lineStyle: {
2753
+ color: ['#e6e6e6'],
2754
+ },
2755
+ },
2756
+ splitArea: {
2757
+ show: false,
2758
+ areaStyle: {
2759
+ color: ['rgba(250,250,250,0.05)', 'rgba(200,200,200,0.02)'],
2760
+ },
2761
+ },
2762
+ },
2763
+ logAxis: {
2764
+ axisLine: {
2765
+ show: true,
2766
+ lineStyle: {
2767
+ color: '#aaaaaa',
2768
+ },
2769
+ },
2770
+ axisTick: {
2771
+ show: false,
2772
+ lineStyle: {
2773
+ color: '#333',
2774
+ },
2775
+ },
2776
+ axisLabel: {
2777
+ show: true,
2778
+ textStyle: {
2779
+ color: '#999999',
2780
+ },
2781
+ },
2782
+ splitLine: {
2783
+ show: true,
2784
+ lineStyle: {
2785
+ color: ['#e6e6e6'],
2786
+ },
2787
+ },
2788
+ splitArea: {
2789
+ show: false,
2790
+ areaStyle: {
2791
+ color: ['rgba(250,250,250,0.05)', 'rgba(200,200,200,0.02)'],
2792
+ },
2793
+ },
2794
+ },
2795
+ timeAxis: {
2796
+ axisLine: {
2797
+ show: true,
2798
+ lineStyle: {
2799
+ color: '#aaaaaa',
2800
+ },
2801
+ },
2802
+ axisTick: {
2803
+ show: false,
2804
+ lineStyle: {
2805
+ color: '#333',
2806
+ },
2807
+ },
2808
+ axisLabel: {
2809
+ show: true,
2810
+ textStyle: {
2811
+ color: '#999999',
2812
+ },
2813
+ },
2814
+ splitLine: {
2815
+ show: true,
2816
+ lineStyle: {
2817
+ color: ['#e6e6e6'],
2818
+ },
2819
+ },
2820
+ splitArea: {
2821
+ show: false,
2822
+ areaStyle: {
2823
+ color: ['rgba(250,250,250,0.05)', 'rgba(200,200,200,0.02)'],
2824
+ },
2825
+ },
2826
+ },
2827
+ toolbox: {
2828
+ iconStyle: {
2829
+ normal: {
2830
+ borderColor: '#999999',
2831
+ },
2832
+ emphasis: {
2833
+ borderColor: '#666666',
2834
+ },
2835
+ },
2836
+ },
2837
+ legend: {
2838
+ textStyle: {
2839
+ color: '#999999',
2840
+ },
2841
+ },
2842
+ tooltip: {
2843
+ axisPointer: {
2844
+ lineStyle: {
2845
+ color: '#cccccc',
2846
+ width: 1,
2847
+ },
2848
+ crossStyle: {
2849
+ color: '#cccccc',
2850
+ width: 1,
2851
+ },
2852
+ },
2853
+ },
2854
+ timeline: {
2855
+ lineStyle: {
2856
+ color: '#666666',
2857
+ width: 1,
2858
+ },
2859
+ itemStyle: {
2860
+ normal: {
2861
+ color: '#666666',
2862
+ borderWidth: 1,
2863
+ },
2864
+ emphasis: {
2865
+ color: '#f7ac4f',
2866
+ },
2867
+ },
2868
+ controlStyle: {
2869
+ normal: {
2870
+ color: '#666666',
2871
+ borderColor: '#666666',
2872
+ borderWidth: 0.5,
2873
+ },
2874
+ emphasis: {
2875
+ color: '#666666',
2876
+ borderColor: '#666666',
2877
+ borderWidth: 0.5,
2878
+ },
2879
+ },
2880
+ checkpointStyle: {
2881
+ color: '#f7ac4f',
2882
+ borderColor: 'rgba(254,198,77,0.6)',
2883
+ },
2884
+ label: {
2885
+ normal: {
2886
+ textStyle: {
2887
+ color: '#666666',
2888
+ },
2889
+ },
2890
+ emphasis: {
2891
+ textStyle: {
2892
+ color: '#666666',
2893
+ },
2894
+ },
2895
+ },
2896
+ },
2897
+ visualMap: {
2898
+ color: [
2899
+ '#005e7d',
2900
+ '#c54b17',
2901
+ '#009392',
2902
+ '#f5bb3c',
2903
+ '#0098c9',
2904
+ '#f58b5e',
2905
+ '#59cecd',
2906
+ '#fee2a6',
2907
+ ],
2908
+ },
2909
+ dataZoom: {
2910
+ backgroundColor: 'rgba(255,255,255,0)',
2911
+ dataBackgroundColor: 'rgba(255,178,72,0.5)',
2912
+ fillerColor: 'rgba(255,178,72,0.15)',
2913
+ handleColor: '#ffb248',
2914
+ handleSize: '100%',
2915
+ textStyle: {
2916
+ color: '#aaaaaa',
2917
+ },
2918
+ },
2919
+ markPoint: {
2920
+ label: {
2921
+ normal: {
2922
+ textStyle: {
2923
+ color: '#ffffff',
2924
+ },
2925
+ },
2926
+ emphasis: {
2927
+ textStyle: {
2928
+ color: '#ffffff',
2929
+ },
2930
+ },
2931
+ },
2932
+ },
2933
+ };
2934
+
2935
+ /* tslint:disable */
2936
+ var teradataDefault = {
2937
+ color: ['#4d5b62', '#008ab6', '#f3753f', '#2cc0bf', '#fed887'],
2938
+ backgroundColor: 'transparent',
2939
+ textStyle: {},
2940
+ title: {
2941
+ textStyle: {
2942
+ color: '#aaaaaa',
2943
+ },
2944
+ subtextStyle: {
2945
+ color: '#aaaaaa',
2946
+ },
2947
+ },
2948
+ tree: {
2949
+ itemStyle: {
2950
+ color: '#fed887',
2951
+ borderColor: '#4d5b62',
2952
+ },
2953
+ },
2954
+ line: {
2955
+ itemStyle: {
2956
+ normal: {
2957
+ borderWidth: '2',
2958
+ },
2959
+ },
2960
+ lineStyle: {
2961
+ normal: {
2962
+ width: '2',
2963
+ },
2964
+ },
2965
+ symbolSize: '6',
2966
+ symbol: 'emptyCircle',
2967
+ smooth: true,
2968
+ },
2969
+ radar: {
2970
+ itemStyle: {
2971
+ normal: {
2972
+ borderWidth: '2',
2973
+ },
2974
+ },
2975
+ lineStyle: {
2976
+ normal: {
2977
+ width: '2',
2978
+ },
2979
+ },
2980
+ symbolSize: '6',
2981
+ symbol: 'emptyCircle',
2982
+ smooth: true,
2983
+ },
2984
+ bar: {
2985
+ itemStyle: {
2986
+ normal: {
2987
+ barBorderWidth: 0,
2988
+ barBorderColor: '#ccc',
2989
+ },
2990
+ emphasis: {
2991
+ barBorderWidth: 0,
2992
+ barBorderColor: '#ccc',
2993
+ },
2994
+ },
2995
+ },
2996
+ pie: {
2997
+ itemStyle: {
2998
+ normal: {
2999
+ borderWidth: 0,
3000
+ borderColor: '#ccc',
3001
+ },
3002
+ emphasis: {
3003
+ borderWidth: 0,
3004
+ borderColor: '#ccc',
3005
+ },
3006
+ },
3007
+ },
3008
+ scatter: {
3009
+ itemStyle: {
3010
+ normal: {
3011
+ borderWidth: 0,
3012
+ borderColor: '#ccc',
3013
+ },
3014
+ emphasis: {
3015
+ borderWidth: 0,
3016
+ borderColor: '#ccc',
3017
+ },
3018
+ },
3019
+ },
3020
+ boxplot: {
3021
+ itemStyle: {
3022
+ normal: {
3023
+ borderWidth: 0,
3024
+ borderColor: '#ccc',
3025
+ },
3026
+ emphasis: {
3027
+ borderWidth: 0,
3028
+ borderColor: '#ccc',
3029
+ },
3030
+ },
3031
+ },
3032
+ parallel: {
3033
+ itemStyle: {
3034
+ normal: {
3035
+ borderWidth: 0,
3036
+ borderColor: '#ccc',
3037
+ },
3038
+ emphasis: {
3039
+ borderWidth: 0,
3040
+ borderColor: '#ccc',
3041
+ },
3042
+ },
3043
+ },
3044
+ sankey: {
3045
+ itemStyle: {
3046
+ normal: {
3047
+ borderWidth: 0,
3048
+ borderColor: '#ccc',
3049
+ },
3050
+ emphasis: {
3051
+ borderWidth: 0,
3052
+ borderColor: '#ccc',
3053
+ },
3054
+ },
3055
+ },
3056
+ funnel: {
3057
+ itemStyle: {
3058
+ normal: {
3059
+ borderWidth: 0,
3060
+ borderColor: '#ccc',
3061
+ },
3062
+ emphasis: {
3063
+ borderWidth: 0,
3064
+ borderColor: '#ccc',
3065
+ },
3066
+ },
3067
+ },
3068
+ gauge: {
3069
+ itemStyle: {
3070
+ normal: {
3071
+ borderWidth: 0,
3072
+ borderColor: '#ccc',
3073
+ },
3074
+ emphasis: {
3075
+ borderWidth: 0,
3076
+ borderColor: '#ccc',
3077
+ },
3078
+ },
3079
+ },
3080
+ candlestick: {
3081
+ itemStyle: {
3082
+ normal: {
3083
+ color: '#977ed2',
3084
+ color0: 'transparent',
3085
+ borderColor: '#977ed2',
3086
+ borderColor0: '#009d9c',
3087
+ borderWidth: '2',
3088
+ },
3089
+ },
3090
+ },
3091
+ graph: {
3092
+ itemStyle: {
3093
+ normal: {
3094
+ borderWidth: 0,
3095
+ borderColor: '#ccc',
3096
+ },
3097
+ },
3098
+ lineStyle: {
3099
+ normal: {
3100
+ width: 1,
3101
+ color: '#aaaaaa',
3102
+ },
3103
+ },
3104
+ symbolSize: '6',
3105
+ symbol: 'emptyCircle',
3106
+ smooth: true,
3107
+ color: ['#4d5b62', '#008ab6', '#f3753f', '#2cc0bf', '#fed887'],
3108
+ label: {
3109
+ normal: {
3110
+ textStyle: {
3111
+ color: '#ffffff',
3112
+ },
3113
+ },
3114
+ },
3115
+ },
3116
+ map: {
3117
+ itemStyle: {
3118
+ normal: {
3119
+ areaColor: '#f3f3f3',
3120
+ borderColor: '#999999',
3121
+ borderWidth: 0.5,
3122
+ },
3123
+ emphasis: {
3124
+ areaColor: 'rgba(254,198,77,1)',
3125
+ borderColor: '#ecaf2b',
3126
+ borderWidth: 1,
3127
+ },
3128
+ },
3129
+ label: {
3130
+ normal: {
3131
+ textStyle: {
3132
+ color: '#00475e',
3133
+ },
3134
+ },
3135
+ emphasis: {
3136
+ textStyle: {
3137
+ color: 'rgb(0,71,94)',
3138
+ },
3139
+ },
3140
+ },
3141
+ },
3142
+ geo: {
3143
+ itemStyle: {
3144
+ normal: {
3145
+ areaColor: '#f3f3f3',
3146
+ borderColor: '#999999',
3147
+ borderWidth: 0.5,
3148
+ },
3149
+ emphasis: {
3150
+ areaColor: 'rgba(254,198,77,1)',
3151
+ borderColor: '#ecaf2b',
3152
+ borderWidth: 1,
3153
+ },
3154
+ },
3155
+ label: {
3156
+ normal: {
3157
+ textStyle: {
3158
+ color: '#00475e',
3159
+ },
3160
+ },
3161
+ emphasis: {
3162
+ textStyle: {
3163
+ color: 'rgb(0,71,94)',
3164
+ },
3165
+ },
3166
+ },
3167
+ },
3168
+ categoryAxis: {
3169
+ axisLine: {
3170
+ show: true,
3171
+ lineStyle: {
3172
+ color: '#aaaaaa',
3173
+ },
3174
+ },
3175
+ axisTick: {
3176
+ show: false,
3177
+ lineStyle: {
3178
+ color: '#333',
3179
+ },
3180
+ },
3181
+ axisLabel: {
3182
+ show: true,
3183
+ textStyle: {
3184
+ color: '#999999',
3185
+ },
3186
+ },
3187
+ splitLine: {
3188
+ show: true,
3189
+ lineStyle: {
3190
+ color: ['#e6e6e6'],
3191
+ },
3192
+ },
3193
+ splitArea: {
3194
+ show: false,
3195
+ areaStyle: {
3196
+ color: ['rgba(250,250,250,0.05)', 'rgba(200,200,200,0.02)'],
3197
+ },
3198
+ },
3199
+ },
3200
+ valueAxis: {
3201
+ axisLine: {
3202
+ show: true,
3203
+ lineStyle: {
3204
+ color: '#aaaaaa',
3205
+ },
3206
+ },
3207
+ axisTick: {
3208
+ show: false,
3209
+ lineStyle: {
3210
+ color: '#333',
3211
+ },
3212
+ },
3213
+ axisLabel: {
3214
+ show: true,
3215
+ textStyle: {
3216
+ color: '#999999',
3217
+ },
3218
+ },
3219
+ splitLine: {
3220
+ show: true,
3221
+ lineStyle: {
3222
+ color: ['#e6e6e6'],
3223
+ },
3224
+ },
3225
+ splitArea: {
3226
+ show: false,
3227
+ areaStyle: {
3228
+ color: ['rgba(250,250,250,0.05)', 'rgba(200,200,200,0.02)'],
3229
+ },
3230
+ },
3231
+ },
3232
+ logAxis: {
3233
+ axisLine: {
3234
+ show: true,
3235
+ lineStyle: {
3236
+ color: '#aaaaaa',
3237
+ },
3238
+ },
3239
+ axisTick: {
3240
+ show: false,
3241
+ lineStyle: {
3242
+ color: '#333',
3243
+ },
3244
+ },
3245
+ axisLabel: {
3246
+ show: true,
3247
+ textStyle: {
3248
+ color: '#999999',
3249
+ },
3250
+ },
3251
+ splitLine: {
3252
+ show: true,
3253
+ lineStyle: {
3254
+ color: ['#e6e6e6'],
3255
+ },
3256
+ },
3257
+ splitArea: {
3258
+ show: false,
3259
+ areaStyle: {
3260
+ color: ['rgba(250,250,250,0.05)', 'rgba(200,200,200,0.02)'],
3261
+ },
3262
+ },
3263
+ },
3264
+ timeAxis: {
3265
+ axisLine: {
3266
+ show: true,
3267
+ lineStyle: {
3268
+ color: '#aaaaaa',
3269
+ },
3270
+ },
3271
+ axisTick: {
3272
+ show: false,
3273
+ lineStyle: {
3274
+ color: '#333',
3275
+ },
3276
+ },
3277
+ axisLabel: {
3278
+ show: true,
3279
+ textStyle: {
3280
+ color: '#999999',
3281
+ },
3282
+ },
3283
+ splitLine: {
3284
+ show: true,
3285
+ lineStyle: {
3286
+ color: ['#e6e6e6'],
3287
+ },
3288
+ },
3289
+ splitArea: {
3290
+ show: false,
3291
+ areaStyle: {
3292
+ color: ['rgba(250,250,250,0.05)', 'rgba(200,200,200,0.02)'],
3293
+ },
3294
+ },
3295
+ },
3296
+ toolbox: {
3297
+ iconStyle: {
3298
+ normal: {
3299
+ borderColor: '#999999',
3300
+ },
3301
+ emphasis: {
3302
+ borderColor: '#666666',
3303
+ },
3304
+ },
3305
+ },
3306
+ legend: {
3307
+ textStyle: {
3308
+ color: '#999999',
3309
+ },
3310
+ },
3311
+ tooltip: {
3312
+ axisPointer: {
3313
+ lineStyle: {
3314
+ color: '#cccccc',
3315
+ width: 1,
3316
+ },
3317
+ crossStyle: {
3318
+ color: '#cccccc',
3319
+ width: 1,
3320
+ },
3321
+ },
3322
+ },
3323
+ timeline: {
3324
+ lineStyle: {
3325
+ color: '#666666',
3326
+ width: 1,
3327
+ },
3328
+ itemStyle: {
3329
+ normal: {
3330
+ color: '#666666',
3331
+ borderWidth: 1,
3332
+ },
3333
+ emphasis: {
3334
+ color: '#f7ac4f',
3335
+ },
3336
+ },
3337
+ controlStyle: {
3338
+ normal: {
3339
+ color: '#666666',
3340
+ borderColor: '#666666',
3341
+ borderWidth: 0.5,
3342
+ },
3343
+ emphasis: {
3344
+ color: '#666666',
3345
+ borderColor: '#666666',
3346
+ borderWidth: 0.5,
3347
+ },
3348
+ },
3349
+ checkpointStyle: {
3350
+ color: '#f7ac4f',
3351
+ borderColor: 'rgba(254,198,77,0.6)',
3352
+ },
3353
+ label: {
3354
+ normal: {
3355
+ textStyle: {
3356
+ color: '#666666',
3357
+ },
3358
+ },
3359
+ emphasis: {
3360
+ textStyle: {
3361
+ color: '#666666',
3362
+ },
3363
+ },
3364
+ },
3365
+ },
3366
+ visualMap: {
3367
+ color: ['#4d5b62', '#008ab6', '#f3753f', '#2cc0bf', '#fed887'],
3368
+ },
3369
+ dataZoom: {
3370
+ backgroundColor: 'rgba(255,255,255,0)',
3371
+ dataBackgroundColor: 'rgba(255,178,72,0.5)',
3372
+ fillerColor: 'rgba(255,178,72,0.15)',
3373
+ handleColor: '#ffb248',
3374
+ handleSize: '100%',
3375
+ textStyle: {
3376
+ color: '#aaaaaa',
3377
+ },
3378
+ },
3379
+ markPoint: {
3380
+ label: {
3381
+ normal: {
3382
+ textStyle: {
3383
+ color: '#ffffff',
3384
+ },
3385
+ },
3386
+ emphasis: {
3387
+ textStyle: {
3388
+ color: '#ffffff',
3389
+ },
3390
+ },
3391
+ },
3392
+ },
3393
+ };
3394
+
3395
+ /* tslint:disable */
3396
+ var urbanSunrise = {
3397
+ color: ['#667279', '#979ea4', '#caced0', '#ffbb9c', '#fd986d', '#F3753F'],
3398
+ backgroundColor: 'transparent',
3399
+ textStyle: {},
3400
+ title: {
3401
+ textStyle: {
3402
+ color: '#aaaaaa',
3403
+ },
3404
+ subtextStyle: {
3405
+ color: '#aaaaaa',
3406
+ },
3407
+ },
3408
+ tree: {
3409
+ itemStyle: {
3410
+ color: '#ffbb9c',
3411
+ borderColor: '#667279',
3412
+ },
3413
+ },
3414
+ line: {
3415
+ itemStyle: {
3416
+ normal: {
3417
+ borderWidth: '2',
3418
+ },
3419
+ },
3420
+ lineStyle: {
3421
+ normal: {
3422
+ width: '2',
3423
+ },
3424
+ },
3425
+ symbolSize: '6',
3426
+ symbol: 'emptyCircle',
3427
+ smooth: true,
3428
+ },
3429
+ radar: {
3430
+ itemStyle: {
3431
+ normal: {
3432
+ borderWidth: '2',
3433
+ },
3434
+ },
3435
+ lineStyle: {
3436
+ normal: {
3437
+ width: '2',
3438
+ },
3439
+ },
3440
+ symbolSize: '6',
3441
+ symbol: 'emptyCircle',
3442
+ smooth: true,
3443
+ },
3444
+ bar: {
3445
+ itemStyle: {
3446
+ normal: {
3447
+ barBorderWidth: 0,
3448
+ barBorderColor: '#ccc',
3449
+ },
3450
+ emphasis: {
3451
+ barBorderWidth: 0,
3452
+ barBorderColor: '#ccc',
3453
+ },
3454
+ },
3455
+ },
3456
+ pie: {
3457
+ itemStyle: {
3458
+ normal: {
3459
+ borderWidth: 0,
3460
+ borderColor: '#ccc',
3461
+ },
3462
+ emphasis: {
3463
+ borderWidth: 0,
3464
+ borderColor: '#ccc',
3465
+ },
3466
+ },
3467
+ },
3468
+ scatter: {
3469
+ itemStyle: {
3470
+ normal: {
3471
+ borderWidth: 0,
3472
+ borderColor: '#ccc',
3473
+ },
3474
+ emphasis: {
3475
+ borderWidth: 0,
3476
+ borderColor: '#ccc',
3477
+ },
3478
+ },
3479
+ },
3480
+ boxplot: {
3481
+ itemStyle: {
3482
+ normal: {
3483
+ borderWidth: 0,
3484
+ borderColor: '#ccc',
3485
+ },
3486
+ emphasis: {
3487
+ borderWidth: 0,
3488
+ borderColor: '#ccc',
3489
+ },
3490
+ },
3491
+ },
3492
+ parallel: {
3493
+ itemStyle: {
3494
+ normal: {
3495
+ borderWidth: 0,
3496
+ borderColor: '#ccc',
3497
+ },
3498
+ emphasis: {
3499
+ borderWidth: 0,
3500
+ borderColor: '#ccc',
3501
+ },
3502
+ },
3503
+ },
3504
+ sankey: {
3505
+ itemStyle: {
3506
+ normal: {
3507
+ borderWidth: 0,
3508
+ borderColor: '#ccc',
3509
+ },
3510
+ emphasis: {
3511
+ borderWidth: 0,
3512
+ borderColor: '#ccc',
3513
+ },
3514
+ },
3515
+ },
3516
+ funnel: {
3517
+ itemStyle: {
3518
+ normal: {
3519
+ borderWidth: 0,
3520
+ borderColor: '#ccc',
3521
+ },
3522
+ emphasis: {
3523
+ borderWidth: 0,
3524
+ borderColor: '#ccc',
3525
+ },
3526
+ },
3527
+ },
3528
+ gauge: {
3529
+ itemStyle: {
3530
+ normal: {
3531
+ borderWidth: 0,
3532
+ borderColor: '#ccc',
3533
+ },
3534
+ emphasis: {
3535
+ borderWidth: 0,
3536
+ borderColor: '#ccc',
3537
+ },
3538
+ },
3539
+ },
3540
+ candlestick: {
3541
+ itemStyle: {
3542
+ normal: {
3543
+ color: '#f3753f',
3544
+ color0: 'transparent',
3545
+ borderColor: '#f3753f',
3546
+ borderColor0: '#667279',
3547
+ borderWidth: '2',
3548
+ },
3549
+ },
3550
+ },
3551
+ graph: {
3552
+ itemStyle: {
3553
+ normal: {
3554
+ borderWidth: 0,
3555
+ borderColor: '#ccc',
3556
+ },
3557
+ },
3558
+ lineStyle: {
3559
+ normal: {
3560
+ width: 1,
3561
+ color: '#aaaaaa',
3562
+ },
3563
+ },
3564
+ symbolSize: '6',
3565
+ symbol: 'emptyCircle',
3566
+ smooth: true,
3567
+ color: ['#667279', '#979ea4', '#caced0', '#ffbb9c', '#fd986d', '#F3753F'],
3568
+ label: {
3569
+ normal: {
3570
+ textStyle: {
3571
+ color: '#ffffff',
3572
+ },
3573
+ },
3574
+ },
3575
+ },
3576
+ map: {
3577
+ itemStyle: {
3578
+ normal: {
3579
+ areaColor: '#f3f3f3',
3580
+ borderColor: '#999999',
3581
+ borderWidth: 0.5,
3582
+ },
3583
+ emphasis: {
3584
+ areaColor: 'rgba(254,198,77,1)',
3585
+ borderColor: '#ecaf2b',
3586
+ borderWidth: 1,
3587
+ },
3588
+ },
3589
+ label: {
3590
+ normal: {
3591
+ textStyle: {
3592
+ color: '#667279',
3593
+ },
3594
+ },
3595
+ emphasis: {
3596
+ textStyle: {
3597
+ color: 'rgb(102,114,121)',
3598
+ },
3599
+ },
3600
+ },
3601
+ },
3602
+ geo: {
3603
+ itemStyle: {
3604
+ normal: {
3605
+ areaColor: '#f3f3f3',
3606
+ borderColor: '#999999',
3607
+ borderWidth: 0.5,
3608
+ },
3609
+ emphasis: {
3610
+ areaColor: 'rgba(254,198,77,1)',
3611
+ borderColor: '#ecaf2b',
3612
+ borderWidth: 1,
3613
+ },
3614
+ },
3615
+ label: {
3616
+ normal: {
3617
+ textStyle: {
3618
+ color: '#667279',
3619
+ },
3620
+ },
3621
+ emphasis: {
3622
+ textStyle: {
3623
+ color: 'rgb(102,114,121)',
3624
+ },
3625
+ },
3626
+ },
3627
+ },
3628
+ categoryAxis: {
3629
+ axisLine: {
3630
+ show: true,
3631
+ lineStyle: {
3632
+ color: '#aaaaaa',
3633
+ },
3634
+ },
3635
+ axisTick: {
3636
+ show: false,
3637
+ lineStyle: {
3638
+ color: '#333',
3639
+ },
3640
+ },
3641
+ axisLabel: {
3642
+ show: true,
3643
+ textStyle: {
3644
+ color: '#999999',
3645
+ },
3646
+ },
3647
+ splitLine: {
3648
+ show: true,
3649
+ lineStyle: {
3650
+ color: ['#e6e6e6'],
3651
+ },
3652
+ },
3653
+ splitArea: {
3654
+ show: false,
3655
+ areaStyle: {
3656
+ color: ['rgba(250,250,250,0.05)', 'rgba(200,200,200,0.02)'],
3657
+ },
3658
+ },
3659
+ },
3660
+ valueAxis: {
3661
+ axisLine: {
3662
+ show: true,
3663
+ lineStyle: {
3664
+ color: '#aaaaaa',
3665
+ },
3666
+ },
3667
+ axisTick: {
3668
+ show: false,
3669
+ lineStyle: {
3670
+ color: '#333',
3671
+ },
3672
+ },
3673
+ axisLabel: {
3674
+ show: true,
3675
+ textStyle: {
3676
+ color: '#999999',
3677
+ },
3678
+ },
3679
+ splitLine: {
3680
+ show: true,
3681
+ lineStyle: {
3682
+ color: ['#e6e6e6'],
3683
+ },
3684
+ },
3685
+ splitArea: {
3686
+ show: false,
3687
+ areaStyle: {
3688
+ color: ['rgba(250,250,250,0.05)', 'rgba(200,200,200,0.02)'],
3689
+ },
3690
+ },
3691
+ },
3692
+ logAxis: {
3693
+ axisLine: {
3694
+ show: true,
3695
+ lineStyle: {
3696
+ color: '#aaaaaa',
3697
+ },
3698
+ },
3699
+ axisTick: {
3700
+ show: false,
3701
+ lineStyle: {
3702
+ color: '#333',
3703
+ },
3704
+ },
3705
+ axisLabel: {
3706
+ show: true,
3707
+ textStyle: {
3708
+ color: '#999999',
3709
+ },
3710
+ },
3711
+ splitLine: {
3712
+ show: true,
3713
+ lineStyle: {
3714
+ color: ['#e6e6e6'],
3715
+ },
3716
+ },
3717
+ splitArea: {
3718
+ show: false,
3719
+ areaStyle: {
3720
+ color: ['rgba(250,250,250,0.05)', 'rgba(200,200,200,0.02)'],
3721
+ },
3722
+ },
3723
+ },
3724
+ timeAxis: {
3725
+ axisLine: {
3726
+ show: true,
3727
+ lineStyle: {
3728
+ color: '#aaaaaa',
3729
+ },
3730
+ },
3731
+ axisTick: {
3732
+ show: false,
3733
+ lineStyle: {
3734
+ color: '#333',
3735
+ },
3736
+ },
3737
+ axisLabel: {
3738
+ show: true,
3739
+ textStyle: {
3740
+ color: '#999999',
3741
+ },
3742
+ },
3743
+ splitLine: {
3744
+ show: true,
3745
+ lineStyle: {
3746
+ color: ['#e6e6e6'],
3747
+ },
3748
+ },
3749
+ splitArea: {
3750
+ show: false,
3751
+ areaStyle: {
3752
+ color: ['rgba(250,250,250,0.05)', 'rgba(200,200,200,0.02)'],
3753
+ },
3754
+ },
3755
+ },
3756
+ toolbox: {
3757
+ iconStyle: {
3758
+ normal: {
3759
+ borderColor: '#999999',
3760
+ },
3761
+ emphasis: {
3762
+ borderColor: '#666666',
3763
+ },
3764
+ },
3765
+ },
3766
+ legend: {
3767
+ textStyle: {
3768
+ color: '#999999',
3769
+ },
3770
+ },
3771
+ tooltip: {
3772
+ axisPointer: {
3773
+ lineStyle: {
3774
+ color: '#cccccc',
3775
+ width: 1,
3776
+ },
3777
+ crossStyle: {
3778
+ color: '#cccccc',
3779
+ width: 1,
3780
+ },
3781
+ },
3782
+ },
3783
+ timeline: {
3784
+ lineStyle: {
3785
+ color: '#666666',
3786
+ width: 1,
3787
+ },
3788
+ itemStyle: {
3789
+ normal: {
3790
+ color: '#666666',
3791
+ borderWidth: 1,
3792
+ },
3793
+ emphasis: {
3794
+ color: '#fec64d',
3795
+ },
3796
+ },
3797
+ controlStyle: {
3798
+ normal: {
3799
+ color: '#666666',
3800
+ borderColor: '#666666',
3801
+ borderWidth: 0.5,
3802
+ },
3803
+ emphasis: {
3804
+ color: '#666666',
3805
+ borderColor: '#666666',
3806
+ borderWidth: 0.5,
3807
+ },
3808
+ },
3809
+ checkpointStyle: {
3810
+ color: '#f3753f',
3811
+ borderColor: 'rgba(255,178,72,0.41)',
3812
+ },
3813
+ label: {
3814
+ normal: {
3815
+ textStyle: {
3816
+ color: '#666666',
3817
+ },
3818
+ },
3819
+ emphasis: {
3820
+ textStyle: {
3821
+ color: '#666666',
3822
+ },
3823
+ },
3824
+ },
3825
+ },
3826
+ visualMap: {
3827
+ color: ['#667279', '#979ea4', '#caced0', '#ffbb9c', '#fd986d', '#F3753F'],
3828
+ },
3829
+ dataZoom: {
3830
+ backgroundColor: 'rgba(255,255,255,0)',
3831
+ dataBackgroundColor: 'rgba(255,178,72,0.5)',
3832
+ fillerColor: 'rgba(255,178,72,0.15)',
3833
+ handleColor: '#fec64d',
3834
+ handleSize: '100%',
3835
+ textStyle: {
3836
+ color: '#aaaaaa',
3837
+ },
3838
+ },
3839
+ markPoint: {
3840
+ label: {
3841
+ normal: {
3842
+ textStyle: {
3843
+ color: '#ffffff',
3844
+ },
3845
+ },
3846
+ emphasis: {
3847
+ textStyle: {
3848
+ color: '#ffffff',
3849
+ },
3850
+ },
3851
+ },
3852
+ },
3853
+ };
3854
+
3855
+ /* tslint:disable */
3856
+ var volcanicEruption = {
3857
+ color: ['#565a83', '#7c5c91', '#a85a90', '#cf5880', '#ea5f64', '#f3753f'],
3858
+ backgroundColor: 'transparent',
3859
+ textStyle: {},
3860
+ title: {
3861
+ textStyle: {
3862
+ color: '#aaaaaa',
3863
+ },
3864
+ subtextStyle: {
3865
+ color: '#aaaaaa',
3866
+ },
3867
+ },
3868
+ tree: {
3869
+ itemStyle: {
3870
+ color: '#a85a90',
3871
+ borderColor: '#565a83',
3872
+ },
3873
+ },
3874
+ line: {
3875
+ itemStyle: {
3876
+ normal: {
3877
+ borderWidth: '2',
3878
+ },
3879
+ },
3880
+ lineStyle: {
3881
+ normal: {
3882
+ width: '2',
3883
+ },
3884
+ },
3885
+ symbolSize: '6',
3886
+ symbol: 'emptyCircle',
3887
+ smooth: true,
3888
+ },
3889
+ radar: {
3890
+ itemStyle: {
3891
+ normal: {
3892
+ borderWidth: '2',
3893
+ },
3894
+ },
3895
+ lineStyle: {
3896
+ normal: {
3897
+ width: '2',
3898
+ },
3899
+ },
3900
+ symbolSize: '6',
3901
+ symbol: 'emptyCircle',
3902
+ smooth: true,
3903
+ },
3904
+ bar: {
3905
+ itemStyle: {
3906
+ normal: {
3907
+ barBorderWidth: 0,
3908
+ barBorderColor: '#ccc',
3909
+ },
3910
+ emphasis: {
3911
+ barBorderWidth: 0,
3912
+ barBorderColor: '#ccc',
3913
+ },
3914
+ },
3915
+ },
3916
+ pie: {
3917
+ itemStyle: {
3918
+ normal: {
3919
+ borderWidth: 0,
3920
+ borderColor: '#ccc',
3921
+ },
3922
+ emphasis: {
3923
+ borderWidth: 0,
3924
+ borderColor: '#ccc',
3925
+ },
3926
+ },
3927
+ },
3928
+ scatter: {
3929
+ itemStyle: {
3930
+ normal: {
3931
+ borderWidth: 0,
3932
+ borderColor: '#ccc',
3933
+ },
3934
+ emphasis: {
3935
+ borderWidth: 0,
3936
+ borderColor: '#ccc',
3937
+ },
3938
+ },
3939
+ },
3940
+ boxplot: {
3941
+ itemStyle: {
3942
+ normal: {
3943
+ borderWidth: 0,
3944
+ borderColor: '#ccc',
3945
+ },
3946
+ emphasis: {
3947
+ borderWidth: 0,
3948
+ borderColor: '#ccc',
3949
+ },
3950
+ },
3951
+ },
3952
+ parallel: {
3953
+ itemStyle: {
3954
+ normal: {
3955
+ borderWidth: 0,
3956
+ borderColor: '#ccc',
3957
+ },
3958
+ emphasis: {
3959
+ borderWidth: 0,
3960
+ borderColor: '#ccc',
3961
+ },
3962
+ },
3963
+ },
3964
+ sankey: {
3965
+ itemStyle: {
3966
+ normal: {
3967
+ borderWidth: 0,
3968
+ borderColor: '#ccc',
3969
+ },
3970
+ emphasis: {
3971
+ borderWidth: 0,
3972
+ borderColor: '#ccc',
3973
+ },
3974
+ },
3975
+ },
3976
+ funnel: {
3977
+ itemStyle: {
3978
+ normal: {
3979
+ borderWidth: 0,
3980
+ borderColor: '#ccc',
3981
+ },
3982
+ emphasis: {
3983
+ borderWidth: 0,
3984
+ borderColor: '#ccc',
3985
+ },
3986
+ },
3987
+ },
3988
+ gauge: {
3989
+ itemStyle: {
3990
+ normal: {
3991
+ borderWidth: 0,
3992
+ borderColor: '#ccc',
3993
+ },
3994
+ emphasis: {
3995
+ borderWidth: 0,
3996
+ borderColor: '#ccc',
3997
+ },
3998
+ },
3999
+ },
4000
+ candlestick: {
4001
+ itemStyle: {
4002
+ normal: {
4003
+ color: '#f3753f',
4004
+ color0: 'transparent',
4005
+ borderColor: '#f3753f',
4006
+ borderColor0: '#667279',
4007
+ borderWidth: '2',
4008
+ },
4009
+ },
4010
+ },
4011
+ graph: {
4012
+ itemStyle: {
4013
+ normal: {
4014
+ borderWidth: 0,
4015
+ borderColor: '#ccc',
4016
+ },
4017
+ },
4018
+ lineStyle: {
4019
+ normal: {
4020
+ width: 1,
4021
+ color: '#aaaaaa',
4022
+ },
4023
+ },
4024
+ symbolSize: '6',
4025
+ symbol: 'emptyCircle',
4026
+ smooth: true,
4027
+ color: ['#565a83', '#7c5c91', '#a85a90', '#cf5880', '#ea5f64', '#f3753f'],
4028
+ label: {
4029
+ normal: {
4030
+ textStyle: {
4031
+ color: '#ffffff',
4032
+ },
4033
+ },
4034
+ },
4035
+ },
4036
+ map: {
4037
+ itemStyle: {
4038
+ normal: {
4039
+ areaColor: '#f3f3f3',
4040
+ borderColor: '#999999',
4041
+ borderWidth: 0.5,
4042
+ },
4043
+ emphasis: {
4044
+ areaColor: 'rgba(254,198,77,1)',
4045
+ borderColor: '#ecaf2b',
4046
+ borderWidth: 1,
4047
+ },
4048
+ },
4049
+ label: {
4050
+ normal: {
4051
+ textStyle: {
4052
+ color: '#667279',
4053
+ },
4054
+ },
4055
+ emphasis: {
4056
+ textStyle: {
4057
+ color: 'rgb(102,114,121)',
4058
+ },
4059
+ },
4060
+ },
4061
+ },
4062
+ geo: {
4063
+ itemStyle: {
4064
+ normal: {
4065
+ areaColor: '#f3f3f3',
4066
+ borderColor: '#999999',
4067
+ borderWidth: 0.5,
4068
+ },
4069
+ emphasis: {
4070
+ areaColor: 'rgba(254,198,77,1)',
4071
+ borderColor: '#ecaf2b',
4072
+ borderWidth: 1,
4073
+ },
4074
+ },
4075
+ label: {
4076
+ normal: {
4077
+ textStyle: {
4078
+ color: '#667279',
4079
+ },
4080
+ },
4081
+ emphasis: {
4082
+ textStyle: {
4083
+ color: 'rgb(102,114,121)',
4084
+ },
4085
+ },
4086
+ },
4087
+ },
4088
+ categoryAxis: {
4089
+ axisLine: {
4090
+ show: true,
4091
+ lineStyle: {
4092
+ color: '#aaaaaa',
4093
+ },
4094
+ },
4095
+ axisTick: {
4096
+ show: false,
4097
+ lineStyle: {
4098
+ color: '#333',
4099
+ },
4100
+ },
4101
+ axisLabel: {
4102
+ show: true,
4103
+ textStyle: {
4104
+ color: '#999999',
4105
+ },
4106
+ },
4107
+ splitLine: {
4108
+ show: true,
4109
+ lineStyle: {
4110
+ color: ['#e6e6e6'],
4111
+ },
4112
+ },
4113
+ splitArea: {
4114
+ show: false,
4115
+ areaStyle: {
4116
+ color: ['rgba(250,250,250,0.05)', 'rgba(200,200,200,0.02)'],
4117
+ },
4118
+ },
4119
+ },
4120
+ valueAxis: {
4121
+ axisLine: {
4122
+ show: true,
4123
+ lineStyle: {
4124
+ color: '#aaaaaa',
4125
+ },
4126
+ },
4127
+ axisTick: {
4128
+ show: false,
4129
+ lineStyle: {
4130
+ color: '#333',
4131
+ },
4132
+ },
4133
+ axisLabel: {
4134
+ show: true,
4135
+ textStyle: {
4136
+ color: '#999999',
4137
+ },
4138
+ },
4139
+ splitLine: {
4140
+ show: true,
4141
+ lineStyle: {
4142
+ color: ['#e6e6e6'],
4143
+ },
4144
+ },
4145
+ splitArea: {
4146
+ show: false,
4147
+ areaStyle: {
4148
+ color: ['rgba(250,250,250,0.05)', 'rgba(200,200,200,0.02)'],
4149
+ },
4150
+ },
4151
+ },
4152
+ logAxis: {
4153
+ axisLine: {
4154
+ show: true,
4155
+ lineStyle: {
4156
+ color: '#aaaaaa',
4157
+ },
4158
+ },
4159
+ axisTick: {
4160
+ show: false,
4161
+ lineStyle: {
4162
+ color: '#333',
4163
+ },
4164
+ },
4165
+ axisLabel: {
4166
+ show: true,
4167
+ textStyle: {
4168
+ color: '#999999',
4169
+ },
4170
+ },
4171
+ splitLine: {
4172
+ show: true,
4173
+ lineStyle: {
4174
+ color: ['#e6e6e6'],
4175
+ },
4176
+ },
4177
+ splitArea: {
4178
+ show: false,
4179
+ areaStyle: {
4180
+ color: ['rgba(250,250,250,0.05)', 'rgba(200,200,200,0.02)'],
4181
+ },
4182
+ },
4183
+ },
4184
+ timeAxis: {
4185
+ axisLine: {
4186
+ show: true,
4187
+ lineStyle: {
4188
+ color: '#aaaaaa',
4189
+ },
4190
+ },
4191
+ axisTick: {
4192
+ show: false,
4193
+ lineStyle: {
4194
+ color: '#333',
4195
+ },
4196
+ },
4197
+ axisLabel: {
4198
+ show: true,
4199
+ textStyle: {
4200
+ color: '#999999',
4201
+ },
4202
+ },
4203
+ splitLine: {
4204
+ show: true,
4205
+ lineStyle: {
4206
+ color: ['#e6e6e6'],
4207
+ },
4208
+ },
4209
+ splitArea: {
4210
+ show: false,
4211
+ areaStyle: {
4212
+ color: ['rgba(250,250,250,0.05)', 'rgba(200,200,200,0.02)'],
4213
+ },
4214
+ },
4215
+ },
4216
+ toolbox: {
4217
+ iconStyle: {
4218
+ normal: {
4219
+ borderColor: '#999999',
4220
+ },
4221
+ emphasis: {
4222
+ borderColor: '#666666',
4223
+ },
4224
+ },
4225
+ },
4226
+ legend: {
4227
+ textStyle: {
4228
+ color: '#000000',
4229
+ },
4230
+ },
4231
+ tooltip: {
4232
+ axisPointer: {
4233
+ lineStyle: {
4234
+ color: '#cccccc',
4235
+ width: 1,
4236
+ },
4237
+ crossStyle: {
4238
+ color: '#cccccc',
4239
+ width: 1,
4240
+ },
4241
+ },
4242
+ },
4243
+ timeline: {
4244
+ lineStyle: {
4245
+ color: '#666666',
4246
+ width: 1,
4247
+ },
4248
+ itemStyle: {
4249
+ normal: {
4250
+ color: '#666666',
4251
+ borderWidth: 1,
4252
+ },
4253
+ emphasis: {
4254
+ color: '#fec64d',
4255
+ },
4256
+ },
4257
+ controlStyle: {
4258
+ normal: {
4259
+ color: '#666666',
4260
+ borderColor: '#666666',
4261
+ borderWidth: 0.5,
4262
+ },
4263
+ emphasis: {
4264
+ color: '#666666',
4265
+ borderColor: '#666666',
4266
+ borderWidth: 0.5,
4267
+ },
4268
+ },
4269
+ checkpointStyle: {
4270
+ color: '#f3753f',
4271
+ borderColor: 'rgba(255,178,72,0.41)',
4272
+ },
4273
+ label: {
4274
+ normal: {
4275
+ textStyle: {
4276
+ color: '#666666',
4277
+ },
4278
+ },
4279
+ emphasis: {
4280
+ textStyle: {
4281
+ color: '#666666',
4282
+ },
4283
+ },
4284
+ },
4285
+ },
4286
+ visualMap: {
4287
+ color: ['#565a83', '#7c5c91', '#a85a90', '#cf5880', '#ea5f64', '#f3753f'],
4288
+ },
4289
+ dataZoom: {
4290
+ backgroundColor: 'rgba(255,255,255,0)',
4291
+ dataBackgroundColor: 'rgba(255,178,72,0.5)',
4292
+ fillerColor: 'rgba(255,178,72,0.15)',
4293
+ handleColor: '#fec64d',
4294
+ handleSize: '100%',
4295
+ textStyle: {
4296
+ color: '#aaaaaa',
4297
+ },
4298
+ },
4299
+ markPoint: {
4300
+ label: {
4301
+ normal: {
4302
+ textStyle: {
4303
+ color: '#ffffff',
4304
+ },
4305
+ },
4306
+ emphasis: {
4307
+ textStyle: {
4308
+ color: '#ffffff',
4309
+ },
4310
+ },
4311
+ },
4312
+ },
4313
+ };
4314
+
4315
+ /**
4316
+ * Function used to register a theme into echarts
4317
+ * Theme name and theme object needed as stated in
4318
+ * https://ecomfe.github.io/echarts-doc/public/en/api.html#echarts.registerTheme
4319
+ */
4320
+ function registerTheme(themeName, theme) {
4321
+ echarts.registerTheme(themeName, theme);
4322
+ }
4323
+ /**
4324
+ * Function to register all default themes
4325
+ * @internal
4326
+ */
4327
+ function registerDefaultThemes() {
4328
+ registerTheme('aqua-splash', aquaSplash);
4329
+ registerTheme('california-coast', californiaCoast);
4330
+ registerTheme('hawaiian-sunrise', hawaiianSunrise);
4331
+ registerTheme('passion-flower', passionFlower);
4332
+ registerTheme('razzleberry-pie', razzleberryPie);
4333
+ registerTheme('teradata-classic', teradataClassic);
4334
+ registerTheme('teradata-default', teradataDefault);
4335
+ registerTheme('urban-sunrise', urbanSunrise);
4336
+ registerTheme('volcanic-eruption', volcanicEruption);
4337
+ }
4338
+ /**
4339
+ * Returns all the theme names bundled with covalent echarts.
4340
+ */
4341
+ function getThemes() {
4342
+ return [
4343
+ 'aqua-splash',
4344
+ 'california-coast',
4345
+ 'hawaiian-sunrise',
4346
+ 'passion-flower',
4347
+ 'razzleberry-pie',
4348
+ 'teradata-classic',
4349
+ 'teradata-default',
4350
+ 'urban-sunrise',
4351
+ 'volcanic-eruption',
4352
+ ];
4353
+ }
4354
+
4355
+ class TdChartComponent {
4356
+ /**
4357
+ * returns the echarts instance
4358
+ */
4359
+ get instance() {
4360
+ return this._instance;
4361
+ }
4362
+ constructor(_changeDetectorRef, _elementRef, _optionsService) {
4363
+ this._changeDetectorRef = _changeDetectorRef;
4364
+ this._elementRef = _elementRef;
4365
+ this._optionsService = _optionsService;
4366
+ this._destroy = new Subject();
4367
+ this._widthSubject = new Subject();
4368
+ this._heightSubject = new Subject();
4369
+ this._state = {};
4370
+ this._options = {};
4371
+ /**
4372
+ * config?: any;
4373
+ * Sets the JS config object if you choose to not use the property inputs.
4374
+ * Note: [config] input properties will override input values
4375
+ * https://ecomfe.github.io/echarts-doc/public/en/option.html
4376
+ */
4377
+ this.config = {};
4378
+ /**
4379
+ * renderer: 'svg' | 'canvas'
4380
+ * sets the rendering mode for the chart.
4381
+ * defaults to 'canvas'
4382
+ * https://ecomfe.github.io/echarts-doc/public/en/tutorial.html#Render%20by%20Canvas%20or%20SVG
4383
+ */
4384
+ this.renderer = 'canvas';
4385
+ this.chartClick = new EventEmitter();
4386
+ this.chartDblclick = new EventEmitter();
4387
+ this.chartContextmenu = new EventEmitter();
4388
+ this.magicTypeChanged = new EventEmitter();
4389
+ this.dataViewChanged = new EventEmitter();
4390
+ this.datazoom = new EventEmitter();
4391
+ this.restore = new EventEmitter();
4392
+ }
4393
+ ngAfterViewInit() {
4394
+ this._initializeChart();
4395
+ }
4396
+ ngOnChanges(changes) {
4397
+ if (this._instance) {
4398
+ // destroy and reinitialize chart only when `renderer`, `themeName` and `group` changes
4399
+ if (changes['renderer'] || changes['themeName'] || changes['group']) {
4400
+ this._disposeChart();
4401
+ this._initializeChart();
4402
+ }
4403
+ else {
4404
+ this.render();
4405
+ }
4406
+ }
4407
+ }
4408
+ ngOnDestroy() {
4409
+ this._disposeChart();
4410
+ this._destroy.unsubscribe();
4411
+ }
4412
+ render() {
4413
+ if (this._instance) {
4414
+ this._instance.setOption(assignDefined(this._state, {
4415
+ grid: {
4416
+ show: true,
4417
+ left: '20',
4418
+ right: '20',
4419
+ bottom: (this.config.toolbox &&
4420
+ typeof this.config.toolbox.bottom === 'number') ||
4421
+ (this._options.toolbox &&
4422
+ typeof this._options.toolbox.bottom === 'number')
4423
+ ? '40'
4424
+ : '10',
4425
+ top: (this.config.toolbox &&
4426
+ typeof this.config.toolbox.top === 'number') ||
4427
+ (this._options.toolbox &&
4428
+ typeof this._options.toolbox.top === 'number')
4429
+ ? '40'
4430
+ : '10',
4431
+ containLabel: true,
4432
+ },
4433
+ }, this._options, this.config ? this.config : {}), true);
4434
+ this._changeDetectorRef.markForCheck();
4435
+ }
4436
+ }
4437
+ _initializeChart() {
4438
+ var _a;
4439
+ this._instance = echarts.init(this._elementRef.nativeElement, (_a = this.themeName) !== null && _a !== void 0 ? _a : '', {
4440
+ renderer: this.renderer,
4441
+ });
4442
+ fromEvent(this._instance, 'click')
4443
+ .pipe(takeUntil(this._destroy))
4444
+ .subscribe((params) => {
4445
+ this.chartClick.next(params);
4446
+ });
4447
+ fromEvent(this._instance, 'dblclick')
4448
+ .pipe(takeUntil(this._destroy))
4449
+ .subscribe((params) => {
4450
+ this.chartDblclick.next(params);
4451
+ });
4452
+ fromEvent(this._instance, 'contextmenu')
4453
+ .pipe(takeUntil(this._destroy))
4454
+ .subscribe((params) => {
4455
+ this.chartContextmenu.next(params);
4456
+ });
4457
+ fromEvent(this._instance, 'magictypechanged')
4458
+ .pipe(takeUntil(this._destroy))
4459
+ .subscribe((params) => {
4460
+ this.magicTypeChanged.next(params);
4461
+ });
4462
+ fromEvent(this._instance, 'dataviewchanged')
4463
+ .pipe(takeUntil(this._destroy))
4464
+ .subscribe((params) => {
4465
+ this.dataViewChanged.next(params);
4466
+ });
4467
+ fromEvent(this._instance, 'datazoom')
4468
+ .pipe(takeUntil(this._destroy))
4469
+ .subscribe((params) => {
4470
+ this.datazoom.next(params);
4471
+ });
4472
+ fromEvent(this._instance, 'restore')
4473
+ .pipe(takeUntil(this._destroy))
4474
+ .subscribe((params) => {
4475
+ this.restore.next(params);
4476
+ });
4477
+ if (this.group) {
4478
+ this._instance.group = this.group;
4479
+ echarts.connect(this.group);
4480
+ this._changeDetectorRef.markForCheck();
4481
+ }
4482
+ merge(fromEvent(window, 'resize').pipe(debounceTime(100)), this._widthSubject.asObservable().pipe(distinctUntilChanged()), this._heightSubject.asObservable().pipe(distinctUntilChanged()))
4483
+ .pipe(takeUntil(this._destroy), debounceTime(100))
4484
+ .subscribe(() => {
4485
+ if (this._instance) {
4486
+ this._instance.resize();
4487
+ this._changeDetectorRef.markForCheck();
4488
+ }
4489
+ });
4490
+ this._optionsService
4491
+ .listen()
4492
+ .pipe(tap((options) => {
4493
+ assignDefined(this._options, options);
4494
+ }), debounceTime(0), takeUntil(this._destroy))
4495
+ .subscribe(() => {
4496
+ this.render();
4497
+ });
4498
+ timer(500, 250)
4499
+ .pipe(takeUntil(this._destroy))
4500
+ .subscribe(() => {
4501
+ if (this._elementRef && this._elementRef.nativeElement) {
4502
+ this._widthSubject.next((this._elementRef.nativeElement).getBoundingClientRect().width);
4503
+ this._heightSubject.next((this._elementRef.nativeElement).getBoundingClientRect().height);
4504
+ }
4505
+ });
4506
+ }
4507
+ _disposeChart() {
4508
+ if (this._instance) {
4509
+ this._instance.clear();
4510
+ echarts.dispose(this._instance);
4511
+ }
4512
+ this._destroy.next(true);
4513
+ }
4514
+ }
4515
+ TdChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TdChartComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
4516
+ TdChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", 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: "15.2.10", ngImport: i0, type: TdChartComponent, decorators: [{
4518
+ type: Component,
4519
+ args: [{ selector: 'td-chart', template: '', changeDetection: ChangeDetectionStrategy.OnPush, providers: [CHART_PROVIDER], styles: [":host{display:block;width:100%}\n"] }]
4520
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: TdChartOptionsService }]; }, propDecorators: { config: [{
4521
+ type: Input
4522
+ }], group: [{
4523
+ type: Input
4524
+ }], themeName: [{
4525
+ type: Input
4526
+ }], renderer: [{
4527
+ type: Input
4528
+ }], chartClick: [{
4529
+ type: Output
4530
+ }], chartDblclick: [{
4531
+ type: Output
4532
+ }], chartContextmenu: [{
4533
+ type: Output
4534
+ }], magicTypeChanged: [{
4535
+ type: Output
4536
+ }], dataViewChanged: [{
4537
+ type: Output
4538
+ }], datazoom: [{
4539
+ type: Output
4540
+ }], restore: [{
4541
+ type: Output
4542
+ }] } });
4543
+
4544
+ class TdChartAxisDirective {
4545
+ constructor(_axisOption, _optionsService) {
4546
+ this._axisOption = _axisOption;
4547
+ this._optionsService = _optionsService;
4548
+ this._state = {};
4549
+ this.config = {};
4550
+ this.show = true;
4551
+ }
4552
+ ngOnInit() {
4553
+ this._setOptions();
4554
+ }
4555
+ ngOnChanges() {
4556
+ this._setOptions();
4557
+ }
4558
+ ngOnDestroy() {
4559
+ this._removeOption();
4560
+ }
4561
+ _setOptions() {
4562
+ const config = assignDefined(this._state, {
4563
+ id: this.id,
4564
+ show: this.show,
4565
+ gridIndex: this.gridIndex,
4566
+ position: this.position,
4567
+ offset: this.offset,
4568
+ type: this.type,
4569
+ name: this.name,
4570
+ nameLocation: this.nameLocation,
4571
+ nameTextStyle: this.nameTextStyle,
4572
+ nameGap: this.nameGap,
4573
+ nameRotate: this.nameRotate,
4574
+ inverse: this.inverse,
4575
+ boundaryGap: this.boundaryGap,
4576
+ min: this.min,
4577
+ max: this.max,
4578
+ scale: this.scale,
4579
+ minInterval: this.minInterval,
4580
+ interval: this.interval,
4581
+ logBase: this.logBase,
4582
+ silent: this.silent,
4583
+ triggerEvent: this.triggerEvent,
4584
+ axisLine: this.axisLine,
4585
+ axisTick: this.axisTick,
4586
+ axisLabel: this.axisLabel,
4587
+ splitLine: this.splitLine,
4588
+ splitArea: this.splitArea,
4589
+ data: this.data,
4590
+ axisPointer: this.axisPointer,
4591
+ zlevel: this.zlevel,
4592
+ z: this.z,
4593
+ }, this.config ? this.config : {});
4594
+ this._optionsService.setArrayOption(this._axisOption, config);
4595
+ }
4596
+ _removeOption() {
4597
+ this._optionsService.clearOption(this._axisOption);
4598
+ }
4599
+ }
4600
+ TdChartAxisDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TdChartAxisDirective, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
4601
+ TdChartAxisDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", 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: "15.2.10", ngImport: i0, type: TdChartAxisDirective, decorators: [{
4603
+ type: Directive
4604
+ }], ctorParameters: function () { return [{ type: undefined }, { type: TdChartOptionsService }]; }, propDecorators: { config: [{
4605
+ type: Input
4606
+ }], id: [{
4607
+ type: Input
4608
+ }], show: [{
4609
+ type: Input
4610
+ }], gridIndex: [{
4611
+ type: Input
4612
+ }], offset: [{
4613
+ type: Input
4614
+ }], type: [{
4615
+ type: Input
4616
+ }], name: [{
4617
+ type: Input
4618
+ }], nameLocation: [{
4619
+ type: Input
4620
+ }], nameTextStyle: [{
4621
+ type: Input
4622
+ }], nameGap: [{
4623
+ type: Input
4624
+ }], nameRotate: [{
4625
+ type: Input
4626
+ }], inverse: [{
4627
+ type: Input
4628
+ }], boundaryGap: [{
4629
+ type: Input
4630
+ }], min: [{
4631
+ type: Input
4632
+ }], max: [{
4633
+ type: Input
4634
+ }], scale: [{
4635
+ type: Input
4636
+ }], minInterval: [{
4637
+ type: Input
4638
+ }], interval: [{
4639
+ type: Input
4640
+ }], logBase: [{
4641
+ type: Input
4642
+ }], silent: [{
4643
+ type: Input
4644
+ }], triggerEvent: [{
4645
+ type: Input
4646
+ }], axisLine: [{
4647
+ type: Input
4648
+ }], axisTick: [{
4649
+ type: Input
4650
+ }], axisLabel: [{
4651
+ type: Input
4652
+ }], splitLine: [{
4653
+ type: Input
4654
+ }], splitArea: [{
4655
+ type: Input
4656
+ }], data: [{
4657
+ type: Input
4658
+ }], axisPointer: [{
4659
+ type: Input
4660
+ }], zlevel: [{
4661
+ type: Input
4662
+ }], z: [{
4663
+ type: Input
4664
+ }] } });
4665
+
4666
+ class TdChartXAxisComponent extends TdChartAxisDirective {
4667
+ constructor(_optionsService) {
4668
+ super('xAxis', _optionsService);
4669
+ }
4670
+ }
4671
+ TdChartXAxisComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TdChartXAxisComponent, deps: [{ token: TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
4672
+ TdChartXAxisComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", 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: "15.2.10", ngImport: i0, type: TdChartXAxisComponent, decorators: [{
4674
+ type: Component,
4675
+ args: [{
4676
+ selector: 'td-chart-x-axis',
4677
+ template: '',
4678
+ inputs: [
4679
+ 'config',
4680
+ 'id',
4681
+ 'show',
4682
+ 'gridIndex',
4683
+ 'offset',
4684
+ 'type',
4685
+ 'name',
4686
+ 'nameLocation',
4687
+ 'nameTextStyle',
4688
+ 'nameGap',
4689
+ 'nameRotate',
4690
+ 'inverse',
4691
+ 'boundaryGap',
4692
+ 'min',
4693
+ 'max',
4694
+ 'scale',
4695
+ 'minInterval',
4696
+ 'interval',
4697
+ 'logBase',
4698
+ 'silent',
4699
+ 'triggerEvent',
4700
+ 'axisLine',
4701
+ 'axisTick',
4702
+ 'axisLabel',
4703
+ 'splitLine',
4704
+ 'splitArea',
4705
+ 'data',
4706
+ 'axisPointer',
4707
+ 'zlevel',
4708
+ 'z',
4709
+ ],
4710
+ changeDetection: ChangeDetectionStrategy.OnPush,
4711
+ }]
4712
+ }], ctorParameters: function () { return [{ type: TdChartOptionsService }]; }, propDecorators: { position: [{
4713
+ type: Input
4714
+ }] } });
4715
+
4716
+ class TdChartYAxisComponent extends TdChartAxisDirective {
4717
+ constructor(_optionsService) {
4718
+ super('yAxis', _optionsService);
4719
+ }
4720
+ }
4721
+ TdChartYAxisComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TdChartYAxisComponent, deps: [{ token: TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
4722
+ TdChartYAxisComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", 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: "15.2.10", ngImport: i0, type: TdChartYAxisComponent, decorators: [{
4724
+ type: Component,
4725
+ args: [{
4726
+ selector: 'td-chart-y-axis',
4727
+ template: '',
4728
+ inputs: [
4729
+ 'config',
4730
+ 'id',
4731
+ 'show',
4732
+ 'gridIndex',
4733
+ 'offset',
4734
+ 'type',
4735
+ 'name',
4736
+ 'nameLocation',
4737
+ 'nameTextStyle',
4738
+ 'nameGap',
4739
+ 'nameRotate',
4740
+ 'inverse',
4741
+ 'boundaryGap',
4742
+ 'min',
4743
+ 'max',
4744
+ 'scale',
4745
+ 'minInterval',
4746
+ 'interval',
4747
+ 'logBase',
4748
+ 'silent',
4749
+ 'triggerEvent',
4750
+ 'axisLine',
4751
+ 'axisTick',
4752
+ 'axisLabel',
4753
+ 'splitLine',
4754
+ 'splitArea',
4755
+ 'data',
4756
+ 'axisPointer',
4757
+ 'zlevel',
4758
+ 'z',
4759
+ ],
4760
+ changeDetection: ChangeDetectionStrategy.OnPush,
4761
+ }]
4762
+ }], ctorParameters: function () { return [{ type: TdChartOptionsService }]; }, propDecorators: { position: [{
4763
+ type: Input
4764
+ }] } });
4765
+
4766
+ class TdDatasetComponent {
4767
+ constructor(_optionsService) {
4768
+ this._optionsService = _optionsService;
4769
+ this._state = {};
4770
+ this.config = {};
4771
+ }
4772
+ ngOnChanges() {
4773
+ this._setOptions();
4774
+ }
4775
+ ngOnDestroy() {
4776
+ this._removeOption();
4777
+ }
4778
+ _setOptions() {
4779
+ const config = assignDefined(this._state, {
4780
+ id: this.id,
4781
+ source: this.source,
4782
+ dimensions: this.dimensions,
4783
+ sourceHeader: this.sourceHeader,
4784
+ }, this.config ? this.config : {});
4785
+ // set dataset configuration in parent chart and render new configurations
4786
+ this._optionsService.setOption('dataset', config);
4787
+ }
4788
+ _removeOption() {
4789
+ this._optionsService.clearOption('dataset');
4790
+ }
4791
+ }
4792
+ TdDatasetComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TdDatasetComponent, deps: [{ token: TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
4793
+ TdDatasetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", 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: "15.2.10", ngImport: i0, type: TdDatasetComponent, decorators: [{
4795
+ type: Component,
4796
+ args: [{
4797
+ template: '',
4798
+ selector: 'td-chart-dataset',
4799
+ changeDetection: ChangeDetectionStrategy.OnPush,
4800
+ }]
4801
+ }], ctorParameters: function () { return [{ type: TdChartOptionsService }]; }, propDecorators: { id: [{
4802
+ type: Input
4803
+ }], config: [{
4804
+ type: Input
4805
+ }], source: [{
4806
+ type: Input
4807
+ }], dimensions: [{
4808
+ type: Input
4809
+ }], sourceHeader: [{
4810
+ type: Input
4811
+ }] } });
4812
+
4813
+ const BASE_MODULE_COMPONENTS = [
4814
+ TdChartComponent,
4815
+ TdChartXAxisComponent,
4816
+ TdChartYAxisComponent,
4817
+ TdDatasetComponent,
4818
+ ];
4819
+ registerDefaultThemes();
4820
+ class CovalentBaseEchartsModule {
4821
+ }
4822
+ CovalentBaseEchartsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CovalentBaseEchartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
4823
+ CovalentBaseEchartsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", 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: "15.2.10", ngImport: i0, type: CovalentBaseEchartsModule, imports: [CommonModule] });
4831
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CovalentBaseEchartsModule, decorators: [{
4832
+ type: NgModule,
4833
+ args: [{
4834
+ imports: [CommonModule],
4835
+ declarations: [BASE_MODULE_COMPONENTS],
4836
+ exports: [BASE_MODULE_COMPONENTS],
4837
+ }]
4838
+ }] });
4839
+
4840
+ class TdSeriesDirective {
4841
+ get type() {
4842
+ return this._type;
4843
+ }
4844
+ constructor(type, optionsService) {
4845
+ this.optionsService = optionsService;
4846
+ this._state = {};
4847
+ this._options = {};
4848
+ this.config = {};
4849
+ this._type = type;
4850
+ }
4851
+ ngOnInit() {
4852
+ this._setOptions();
4853
+ }
4854
+ ngOnChanges() {
4855
+ this._setOptions();
4856
+ }
4857
+ ngOnDestroy() {
4858
+ this._removeOption();
4859
+ }
4860
+ setStateOption(option, value) {
4861
+ this._options[option] = value;
4862
+ this._setOptions();
4863
+ }
4864
+ removeStateOption(option) {
4865
+ /* tslint:disable-next-line */
4866
+ this._options[option] = null;
4867
+ this._setOptions();
4868
+ }
4869
+ _setOptions() {
4870
+ const config = assignDefined(this._state, {
4871
+ id: this.id,
4872
+ type: this.type,
4873
+ name: this.name,
4874
+ color: this.color,
4875
+ data: this.data,
4876
+ animation: this.animation,
4877
+ animationThreshold: this.animationThreshold,
4878
+ animationDuration: this.animationDuration,
4879
+ animationEasing: this.animationEasing,
4880
+ animationDelay: this.animationDelay,
4881
+ animationDurationUpdate: this.animationDurationUpdate,
4882
+ animationEasingUpdate: this.animationEasingUpdate,
4883
+ animationDelayUpdate: this.animationDelayUpdate,
4884
+ tooltip: this.tooltip,
4885
+ }, this.getConfig(), this._options, this.config ? this.config : {});
4886
+ this.optionsService.setArrayOption('series', config);
4887
+ }
4888
+ _removeOption() {
4889
+ this.optionsService.removeArrayOption('series', this._state);
4890
+ }
4891
+ }
4892
+ TdSeriesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TdSeriesDirective, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
4893
+ TdSeriesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", 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: "15.2.10", ngImport: i0, type: TdSeriesDirective, decorators: [{
4895
+ type: Directive
4896
+ }], ctorParameters: function () { return [{ type: undefined }, { type: TdChartOptionsService }]; }, propDecorators: { config: [{
4897
+ type: Input
4898
+ }], id: [{
4899
+ type: Input
4900
+ }], name: [{
4901
+ type: Input
4902
+ }], color: [{
4903
+ type: Input
4904
+ }], data: [{
4905
+ type: Input
4906
+ }], animation: [{
4907
+ type: Input
4908
+ }], animationThreshold: [{
4909
+ type: Input
4910
+ }], animationDuration: [{
4911
+ type: Input
4912
+ }], animationEasing: [{
4913
+ type: Input
4914
+ }], animationDelay: [{
4915
+ type: Input
4916
+ }], animationDurationUpdate: [{
4917
+ type: Input
4918
+ }], animationEasingUpdate: [{
4919
+ type: Input
4920
+ }], animationDelayUpdate: [{
4921
+ type: Input
4922
+ }], tooltip: [{
4923
+ type: Input
4924
+ }] } });
4925
+
4926
+ /**
4927
+ * Generated bundle index. Do not edit.
4928
+ */
4929
+
4930
+ export { BASE_MODULE_COMPONENTS, CovalentBaseEchartsModule, TdChartAxisDirective, TdChartComponent, TdChartOptionsService, TdChartXAxisComponent, TdChartYAxisComponent, TdDatasetComponent, TdSeriesDirective, assignDefined, getThemes, registerDefaultThemes, registerTheme };
4931
+ //# sourceMappingURL=covalent-echarts-base.mjs.map