@covalent/echarts 4.0.0-alpha.0 → 4.0.0-beta.4

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