@visactor/vchart 1.5.1-alpha.6 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (607) hide show
  1. package/build/es5/index.js +1 -1
  2. package/build/index.js +1349 -417
  3. package/build/index.min.js +1 -1
  4. package/build/tsconfig.tsbuildinfo +1 -1
  5. package/cjs/chart/base-chart.js +4 -1
  6. package/cjs/chart/base-chart.js.map +1 -1
  7. package/cjs/chart/common/interface.d.ts +2 -1
  8. package/cjs/chart/common/interface.js.map +1 -1
  9. package/cjs/chart/correlation/correlation.d.ts +11 -0
  10. package/cjs/chart/correlation/correlation.js +53 -0
  11. package/cjs/chart/correlation/correlation.js.map +1 -0
  12. package/cjs/chart/correlation/index.d.ts +2 -0
  13. package/cjs/chart/correlation/index.js +21 -0
  14. package/cjs/chart/correlation/index.js.map +1 -0
  15. package/cjs/chart/correlation/interface.d.ts +6 -0
  16. package/cjs/chart/correlation/interface.js +6 -0
  17. package/cjs/chart/correlation/interface.js.map +1 -0
  18. package/cjs/chart/index.d.ts +5 -3
  19. package/cjs/chart/index.js +16 -2
  20. package/cjs/chart/index.js.map +1 -1
  21. package/cjs/chart/interface/type.d.ts +2 -1
  22. package/cjs/chart/interface/type.js +2 -1
  23. package/cjs/chart/interface/type.js.map +1 -1
  24. package/cjs/chart/sequence/sequence.js +0 -1
  25. package/cjs/chart/sequence/sequence.js.map +1 -1
  26. package/cjs/chart/waterfall/waterfall.js.map +1 -1
  27. package/cjs/component/axis/base-axis.d.ts +2 -2
  28. package/cjs/component/axis/base-axis.js.map +1 -1
  29. package/cjs/component/axis/cartesian/axis.d.ts +4 -0
  30. package/cjs/component/axis/cartesian/axis.js +51 -9
  31. package/cjs/component/axis/cartesian/axis.js.map +1 -1
  32. package/cjs/component/axis/cartesian/interface/common.d.ts +6 -1
  33. package/cjs/component/axis/cartesian/interface/common.js.map +1 -1
  34. package/cjs/component/axis/cartesian/interface/spec.d.ts +2 -1
  35. package/cjs/component/axis/cartesian/interface/spec.js.map +1 -1
  36. package/cjs/component/axis/cartesian/interface/theme.d.ts +2 -1
  37. package/cjs/component/axis/cartesian/interface/theme.js.map +1 -1
  38. package/cjs/component/base/base-component.d.ts +1 -1
  39. package/cjs/component/base/base-component.js.map +1 -1
  40. package/cjs/component/brush/brush.d.ts +2 -2
  41. package/cjs/component/brush/brush.js.map +1 -1
  42. package/cjs/component/brush/interface.d.ts +1 -1
  43. package/cjs/component/brush/interface.js.map +1 -1
  44. package/cjs/component/common/trigger/desktop.d.ts +1 -0
  45. package/cjs/component/common/trigger/desktop.js +1 -0
  46. package/cjs/component/common/trigger/desktop.js.map +1 -1
  47. package/cjs/component/common/trigger/mobile.d.ts +1 -0
  48. package/cjs/component/common/trigger/mobile.js +1 -0
  49. package/cjs/component/common/trigger/mobile.js.map +1 -1
  50. package/cjs/component/crosshair/cartesian.d.ts +2 -2
  51. package/cjs/component/crosshair/cartesian.js.map +1 -1
  52. package/cjs/component/crosshair/polar.d.ts +2 -2
  53. package/cjs/component/crosshair/polar.js.map +1 -1
  54. package/cjs/component/custom-mark/custom-mark.d.ts +2 -2
  55. package/cjs/component/custom-mark/custom-mark.js.map +1 -1
  56. package/cjs/component/data-zoom/data-filter-base-component.d.ts +26 -9
  57. package/cjs/component/data-zoom/data-filter-base-component.js +92 -20
  58. package/cjs/component/data-zoom/data-filter-base-component.js.map +1 -1
  59. package/cjs/component/data-zoom/data-zoom/data-zoom.d.ts +2 -3
  60. package/cjs/component/data-zoom/data-zoom/data-zoom.js +16 -8
  61. package/cjs/component/data-zoom/data-zoom/data-zoom.js.map +1 -1
  62. package/cjs/component/data-zoom/interface.d.ts +36 -2
  63. package/cjs/component/data-zoom/interface.js.map +1 -1
  64. package/cjs/component/data-zoom/scroll-bar/scroll-bar.d.ts +3 -3
  65. package/cjs/component/data-zoom/scroll-bar/scroll-bar.js +17 -9
  66. package/cjs/component/data-zoom/scroll-bar/scroll-bar.js.map +1 -1
  67. package/cjs/component/geo/geo-coordinate.d.ts +2 -2
  68. package/cjs/component/geo/geo-coordinate.js.map +1 -1
  69. package/cjs/component/indicator/indicator.d.ts +2 -2
  70. package/cjs/component/indicator/indicator.js.map +1 -1
  71. package/cjs/component/interface/common.d.ts +2 -2
  72. package/cjs/component/interface/common.js.map +1 -1
  73. package/cjs/component/label/base-label.d.ts +2 -2
  74. package/cjs/component/label/base-label.js.map +1 -1
  75. package/cjs/component/legend/base-legend.d.ts +2 -2
  76. package/cjs/component/legend/base-legend.js.map +1 -1
  77. package/cjs/component/legend/continuous/legend.d.ts +1 -1
  78. package/cjs/component/legend/discrete/legend.d.ts +1 -1
  79. package/cjs/component/legend/interface.d.ts +3 -0
  80. package/cjs/component/legend/interface.js.map +1 -1
  81. package/cjs/component/map-label/component.d.ts +3 -3
  82. package/cjs/component/map-label/component.js.map +1 -1
  83. package/cjs/component/marker/base-marker.d.ts +2 -2
  84. package/cjs/component/marker/base-marker.js.map +1 -1
  85. package/cjs/component/marker/mark-line/mark-line.js.map +1 -1
  86. package/cjs/component/marker/mark-point/mark-point.js.map +1 -1
  87. package/cjs/component/player/player.d.ts +2 -2
  88. package/cjs/component/player/player.js.map +1 -1
  89. package/cjs/component/title/title.d.ts +2 -2
  90. package/cjs/component/title/title.js.map +1 -1
  91. package/cjs/component/tooltip/handler/base.d.ts +1 -1
  92. package/cjs/component/tooltip/handler/dom/util.js.map +1 -1
  93. package/cjs/component/tooltip/handler/utils/common.js.map +1 -1
  94. package/cjs/component/tooltip/handler/utils/compose.js +2 -1
  95. package/cjs/component/tooltip/handler/utils/compose.js.map +1 -1
  96. package/cjs/component/tooltip/tooltip.d.ts +2 -2
  97. package/cjs/component/tooltip/tooltip.js.map +1 -1
  98. package/cjs/constant/correlation.d.ts +3 -0
  99. package/cjs/constant/correlation.js +11 -0
  100. package/cjs/constant/correlation.js.map +1 -0
  101. package/cjs/constant/index.d.ts +1 -0
  102. package/cjs/constant/index.js +2 -1
  103. package/cjs/constant/index.js.map +1 -1
  104. package/cjs/constant/word-cloud.js +1 -2
  105. package/cjs/core/factory.js +2 -1
  106. package/cjs/core/index.d.ts +1 -1
  107. package/cjs/core/index.js +1 -1
  108. package/cjs/core/index.js.map +1 -1
  109. package/cjs/data/transforms/correlation-center.d.ts +4 -0
  110. package/cjs/data/transforms/correlation-center.js +18 -0
  111. package/cjs/data/transforms/correlation-center.js.map +1 -0
  112. package/cjs/data/transforms/correlation.d.ts +17 -0
  113. package/cjs/data/transforms/correlation.js +58 -0
  114. package/cjs/data/transforms/correlation.js.map +1 -0
  115. package/cjs/interaction/dimension-trigger.js +1 -2
  116. package/cjs/interaction/interaction.js +2 -1
  117. package/cjs/interaction/zoom/zoomable.d.ts +20 -12
  118. package/cjs/interaction/zoom/zoomable.js +94 -74
  119. package/cjs/interaction/zoom/zoomable.js.map +1 -1
  120. package/cjs/layout/base-layout.d.ts +7 -1
  121. package/cjs/layout/base-layout.js +24 -10
  122. package/cjs/layout/base-layout.js.map +1 -1
  123. package/cjs/layout/layout3d/index.d.ts +6 -0
  124. package/cjs/layout/layout3d/index.js +14 -0
  125. package/cjs/layout/layout3d/index.js.map +1 -1
  126. package/cjs/mark/arc-3d.js +1 -1
  127. package/cjs/mark/index.d.ts +3 -2
  128. package/cjs/mark/index.js +10 -1
  129. package/cjs/mark/index.js.map +1 -1
  130. package/cjs/mark/interface/type.d.ts +1 -0
  131. package/cjs/mark/interface/type.js +1 -1
  132. package/cjs/mark/interface/type.js.map +1 -1
  133. package/cjs/mark/ripple.d.ts +12 -0
  134. package/cjs/mark/ripple.js +29 -0
  135. package/cjs/mark/ripple.js.map +1 -0
  136. package/cjs/model/base-model.d.ts +0 -3
  137. package/cjs/model/base-model.js +0 -3
  138. package/cjs/model/base-model.js.map +1 -1
  139. package/cjs/model/interface.d.ts +0 -2
  140. package/cjs/model/interface.js.map +1 -1
  141. package/cjs/series/area/area.js +4 -2
  142. package/cjs/series/area/area.js.map +1 -1
  143. package/cjs/series/bar/bar.d.ts +1 -0
  144. package/cjs/series/bar/bar.js +4 -3
  145. package/cjs/series/bar/bar.js.map +1 -1
  146. package/cjs/series/base/base-series.js +6 -9
  147. package/cjs/series/base/base-series.js.map +1 -1
  148. package/cjs/series/box-plot/box-plot.js +9 -9
  149. package/cjs/series/box-plot/box-plot.js.map +1 -1
  150. package/cjs/series/circle-packing/circle-packing.js +7 -6
  151. package/cjs/series/circle-packing/circle-packing.js.map +1 -1
  152. package/cjs/series/correlation/animation.d.ts +8 -0
  153. package/cjs/series/correlation/animation.js +22 -0
  154. package/cjs/series/correlation/animation.js.map +1 -0
  155. package/cjs/series/correlation/constant.d.ts +2 -0
  156. package/cjs/series/correlation/constant.js +27 -0
  157. package/cjs/series/correlation/constant.js.map +1 -0
  158. package/cjs/series/correlation/correlation.d.ts +57 -0
  159. package/cjs/series/correlation/correlation.js +215 -0
  160. package/cjs/series/correlation/correlation.js.map +1 -0
  161. package/cjs/series/correlation/interface.d.ts +37 -0
  162. package/cjs/series/correlation/interface.js +6 -0
  163. package/cjs/series/correlation/interface.js.map +1 -0
  164. package/cjs/series/dot/dot.js +2 -4
  165. package/cjs/series/dot/dot.js.map +1 -1
  166. package/cjs/series/funnel/funnel.js +4 -6
  167. package/cjs/series/funnel/funnel.js.map +1 -1
  168. package/cjs/series/gauge/gauge-pointer.d.ts +1 -0
  169. package/cjs/series/gauge/gauge-pointer.js +4 -2
  170. package/cjs/series/gauge/gauge-pointer.js.map +1 -1
  171. package/cjs/series/gauge/gauge.d.ts +1 -0
  172. package/cjs/series/gauge/gauge.js +5 -3
  173. package/cjs/series/gauge/gauge.js.map +1 -1
  174. package/cjs/series/heatmap/heatmap.js +2 -4
  175. package/cjs/series/heatmap/heatmap.js.map +1 -1
  176. package/cjs/series/index.d.ts +4 -2
  177. package/cjs/series/index.js +11 -2
  178. package/cjs/series/index.js.map +1 -1
  179. package/cjs/series/interface/series.d.ts +1 -1
  180. package/cjs/series/interface/series.js.map +1 -1
  181. package/cjs/series/interface/theme.d.ts +2 -0
  182. package/cjs/series/interface/theme.js +3 -2
  183. package/cjs/series/interface/theme.js.map +1 -1
  184. package/cjs/series/interface/type.d.ts +7 -2
  185. package/cjs/series/interface/type.js +4 -2
  186. package/cjs/series/interface/type.js.map +1 -1
  187. package/cjs/series/line/line.d.ts +1 -0
  188. package/cjs/series/line/line.js +4 -0
  189. package/cjs/series/line/line.js.map +1 -1
  190. package/cjs/series/link/link.js +6 -7
  191. package/cjs/series/link/link.js.map +1 -1
  192. package/cjs/series/map/map.js +2 -4
  193. package/cjs/series/map/map.js.map +1 -1
  194. package/cjs/series/mixin/line-mixin.js +2 -5
  195. package/cjs/series/mixin/line-mixin.js.map +1 -1
  196. package/cjs/series/pie/interface.d.ts +2 -0
  197. package/cjs/series/pie/interface.js.map +1 -1
  198. package/cjs/series/pie/pie-3d.js +6 -6
  199. package/cjs/series/pie/pie-3d.js.map +1 -1
  200. package/cjs/series/pie/pie.d.ts +2 -0
  201. package/cjs/series/pie/pie.js +18 -3
  202. package/cjs/series/pie/pie.js.map +1 -1
  203. package/cjs/series/progress/circular/circular.d.ts +1 -0
  204. package/cjs/series/progress/circular/circular.js +5 -3
  205. package/cjs/series/progress/circular/circular.js.map +1 -1
  206. package/cjs/series/progress/linear/linear.js +6 -6
  207. package/cjs/series/progress/linear/linear.js.map +1 -1
  208. package/cjs/series/radar/animation.js.map +1 -1
  209. package/cjs/series/radar/radar.d.ts +1 -0
  210. package/cjs/series/radar/radar.js +6 -2
  211. package/cjs/series/radar/radar.js.map +1 -1
  212. package/cjs/series/range-area/range-area.js +2 -3
  213. package/cjs/series/range-area/range-area.js.map +1 -1
  214. package/cjs/series/range-column/range-column.d.ts +1 -0
  215. package/cjs/series/range-column/range-column.js +11 -11
  216. package/cjs/series/range-column/range-column.js.map +1 -1
  217. package/cjs/series/rose/rose.d.ts +1 -0
  218. package/cjs/series/rose/rose.js +4 -2
  219. package/cjs/series/rose/rose.js.map +1 -1
  220. package/cjs/series/sankey/sankey.js +7 -9
  221. package/cjs/series/sankey/sankey.js.map +1 -1
  222. package/cjs/series/scatter/scatter.d.ts +1 -0
  223. package/cjs/series/scatter/scatter.js +4 -3
  224. package/cjs/series/scatter/scatter.js.map +1 -1
  225. package/cjs/series/sunburst/sunburst.js +4 -6
  226. package/cjs/series/sunburst/sunburst.js.map +1 -1
  227. package/cjs/series/treemap/treemap.js +10 -9
  228. package/cjs/series/treemap/treemap.js.map +1 -1
  229. package/cjs/series/word-cloud/base.d.ts +1 -0
  230. package/cjs/series/word-cloud/base.js +6 -3
  231. package/cjs/series/word-cloud/base.js.map +1 -1
  232. package/cjs/series/word-cloud/word-cloud-3d.js +2 -3
  233. package/cjs/series/word-cloud/word-cloud-3d.js.map +1 -1
  234. package/cjs/theme/builtin/common/component/axis/cartesian-axis.js +31 -3
  235. package/cjs/theme/builtin/common/component/axis/cartesian-axis.js.map +1 -1
  236. package/cjs/theme/builtin/common/component/indicator.js +1 -1
  237. package/cjs/theme/builtin/common/component/indicator.js.map +1 -1
  238. package/cjs/theme/builtin/common/component/legend/continuous.js +1 -1
  239. package/cjs/theme/builtin/common/component/legend/continuous.js.map +1 -1
  240. package/cjs/theme/builtin/common/component/legend/discrete-legend.js +1 -1
  241. package/cjs/theme/builtin/common/component/legend/discrete-legend.js.map +1 -1
  242. package/cjs/theme/builtin/common/component/mark-area.js +12 -10
  243. package/cjs/theme/builtin/common/component/mark-area.js.map +1 -1
  244. package/cjs/theme/builtin/common/component/mark-line.js +19 -12
  245. package/cjs/theme/builtin/common/component/mark-line.js.map +1 -1
  246. package/cjs/theme/builtin/common/component/mark-point.js +8 -2
  247. package/cjs/theme/builtin/common/component/mark-point.js.map +1 -1
  248. package/cjs/theme/builtin/common/component/poptip.js +1 -1
  249. package/cjs/theme/builtin/common/component/poptip.js.map +1 -1
  250. package/cjs/theme/builtin/common/component/title.js +1 -1
  251. package/cjs/theme/builtin/common/component/title.js.map +1 -1
  252. package/cjs/theme/builtin/common/component/tooltip.js +2 -2
  253. package/cjs/theme/builtin/common/component/tooltip.js.map +1 -1
  254. package/cjs/theme/builtin/common/component/total-label.js +1 -1
  255. package/cjs/theme/builtin/common/component/total-label.js.map +1 -1
  256. package/cjs/theme/builtin/common/series/area.js +4 -1
  257. package/cjs/theme/builtin/common/series/area.js.map +1 -1
  258. package/cjs/theme/builtin/common/series/bar.js +4 -1
  259. package/cjs/theme/builtin/common/series/bar.js.map +1 -1
  260. package/cjs/theme/builtin/common/series/circle-packing.js +4 -1
  261. package/cjs/theme/builtin/common/series/circle-packing.js.map +1 -1
  262. package/cjs/theme/builtin/common/series/correlation.d.ts +2 -0
  263. package/cjs/theme/builtin/common/series/correlation.js +22 -0
  264. package/cjs/theme/builtin/common/series/correlation.js.map +1 -0
  265. package/cjs/theme/builtin/common/series/funnel.js +12 -3
  266. package/cjs/theme/builtin/common/series/funnel.js.map +1 -1
  267. package/cjs/theme/builtin/common/series/index.js +3 -2
  268. package/cjs/theme/builtin/common/series/index.js.map +1 -1
  269. package/cjs/theme/builtin/common/series/line.js +4 -1
  270. package/cjs/theme/builtin/common/series/line.js.map +1 -1
  271. package/cjs/theme/builtin/common/series/map.js +4 -1
  272. package/cjs/theme/builtin/common/series/map.js.map +1 -1
  273. package/cjs/theme/builtin/common/series/pie.js +9 -1
  274. package/cjs/theme/builtin/common/series/pie.js.map +1 -1
  275. package/cjs/theme/builtin/common/series/radar.js +4 -1
  276. package/cjs/theme/builtin/common/series/radar.js.map +1 -1
  277. package/cjs/theme/builtin/common/series/rose.js +5 -1
  278. package/cjs/theme/builtin/common/series/rose.js.map +1 -1
  279. package/cjs/theme/builtin/common/series/scatter.js +4 -1
  280. package/cjs/theme/builtin/common/series/scatter.js.map +1 -1
  281. package/cjs/theme/builtin/common/series/treemap.js +4 -1
  282. package/cjs/theme/builtin/common/series/treemap.js.map +1 -1
  283. package/cjs/theme/builtin/dark/color-scheme.js +1 -1
  284. package/cjs/theme/builtin/dark/color-scheme.js.map +1 -1
  285. package/cjs/theme/builtin/light/color-scheme.js +3 -3
  286. package/cjs/theme/builtin/light/color-scheme.js.map +1 -1
  287. package/cjs/theme/color-scheme/builtin/interface.d.ts +1 -1
  288. package/cjs/theme/color-scheme/builtin/interface.js.map +1 -1
  289. package/cjs/theme/color-scheme/interface.d.ts +1 -1
  290. package/cjs/theme/color-scheme/interface.js.map +1 -1
  291. package/cjs/theme/color-scheme/util.js +3 -7
  292. package/cjs/theme/color-scheme/util.js.map +1 -1
  293. package/cjs/typings/event.d.ts +1 -0
  294. package/cjs/typings/event.js +6 -0
  295. package/cjs/typings/event.js.map +1 -0
  296. package/cjs/typings/spec/chart.d.ts +2 -0
  297. package/cjs/typings/spec/chart.js.map +1 -1
  298. package/cjs/typings/spec/common.d.ts +8 -6
  299. package/cjs/typings/spec/common.js.map +1 -1
  300. package/cjs/typings/tooltip/line.d.ts +1 -0
  301. package/cjs/typings/tooltip/line.js.map +1 -1
  302. package/cjs/typings/visual.d.ts +4 -0
  303. package/cjs/typings/visual.js.map +1 -1
  304. package/cjs/vchart-all.js +2 -2
  305. package/cjs/vchart-all.js.map +1 -1
  306. package/esm/chart/base-chart.js +4 -1
  307. package/esm/chart/base-chart.js.map +1 -1
  308. package/esm/chart/common/interface.d.ts +2 -1
  309. package/esm/chart/common/interface.js.map +1 -1
  310. package/esm/chart/correlation/correlation.d.ts +11 -0
  311. package/esm/chart/correlation/correlation.js +52 -0
  312. package/esm/chart/correlation/correlation.js.map +1 -0
  313. package/esm/chart/correlation/index.d.ts +2 -0
  314. package/esm/chart/correlation/index.js +4 -0
  315. package/esm/chart/correlation/index.js.map +1 -0
  316. package/esm/chart/correlation/interface.d.ts +6 -0
  317. package/esm/chart/correlation/interface.js +2 -0
  318. package/esm/chart/correlation/interface.js.map +1 -0
  319. package/esm/chart/index.d.ts +5 -3
  320. package/esm/chart/index.js +4 -2
  321. package/esm/chart/index.js.map +1 -1
  322. package/esm/chart/interface/type.d.ts +2 -1
  323. package/esm/chart/interface/type.js +2 -1
  324. package/esm/chart/interface/type.js.map +1 -1
  325. package/esm/chart/sequence/sequence.js +0 -1
  326. package/esm/chart/sequence/sequence.js.map +1 -1
  327. package/esm/chart/waterfall/waterfall.js.map +1 -1
  328. package/esm/component/axis/base-axis.d.ts +2 -2
  329. package/esm/component/axis/base-axis.js.map +1 -1
  330. package/esm/component/axis/cartesian/axis.d.ts +4 -0
  331. package/esm/component/axis/cartesian/axis.js +52 -8
  332. package/esm/component/axis/cartesian/axis.js.map +1 -1
  333. package/esm/component/axis/cartesian/interface/common.d.ts +6 -1
  334. package/esm/component/axis/cartesian/interface/common.js.map +1 -1
  335. package/esm/component/axis/cartesian/interface/spec.d.ts +2 -1
  336. package/esm/component/axis/cartesian/interface/spec.js.map +1 -1
  337. package/esm/component/axis/cartesian/interface/theme.d.ts +2 -1
  338. package/esm/component/axis/cartesian/interface/theme.js.map +1 -1
  339. package/esm/component/base/base-component.d.ts +1 -1
  340. package/esm/component/base/base-component.js.map +1 -1
  341. package/esm/component/brush/brush.d.ts +2 -2
  342. package/esm/component/brush/brush.js.map +1 -1
  343. package/esm/component/brush/interface.d.ts +1 -1
  344. package/esm/component/brush/interface.js.map +1 -1
  345. package/esm/component/common/trigger/desktop.d.ts +1 -0
  346. package/esm/component/common/trigger/desktop.js +1 -0
  347. package/esm/component/common/trigger/desktop.js.map +1 -1
  348. package/esm/component/common/trigger/mobile.d.ts +1 -0
  349. package/esm/component/common/trigger/mobile.js +1 -0
  350. package/esm/component/common/trigger/mobile.js.map +1 -1
  351. package/esm/component/crosshair/cartesian.d.ts +2 -2
  352. package/esm/component/crosshair/cartesian.js.map +1 -1
  353. package/esm/component/crosshair/polar.d.ts +2 -2
  354. package/esm/component/crosshair/polar.js.map +1 -1
  355. package/esm/component/custom-mark/custom-mark.d.ts +2 -2
  356. package/esm/component/custom-mark/custom-mark.js.map +1 -1
  357. package/esm/component/data-zoom/data-filter-base-component.d.ts +26 -9
  358. package/esm/component/data-zoom/data-filter-base-component.js +91 -20
  359. package/esm/component/data-zoom/data-filter-base-component.js.map +1 -1
  360. package/esm/component/data-zoom/data-zoom/data-zoom.d.ts +2 -3
  361. package/esm/component/data-zoom/data-zoom/data-zoom.js +17 -9
  362. package/esm/component/data-zoom/data-zoom/data-zoom.js.map +1 -1
  363. package/esm/component/data-zoom/interface.d.ts +36 -2
  364. package/esm/component/data-zoom/interface.js.map +1 -1
  365. package/esm/component/data-zoom/scroll-bar/scroll-bar.d.ts +3 -3
  366. package/esm/component/data-zoom/scroll-bar/scroll-bar.js +18 -10
  367. package/esm/component/data-zoom/scroll-bar/scroll-bar.js.map +1 -1
  368. package/esm/component/geo/geo-coordinate.d.ts +2 -2
  369. package/esm/component/geo/geo-coordinate.js.map +1 -1
  370. package/esm/component/indicator/indicator.d.ts +2 -2
  371. package/esm/component/indicator/indicator.js.map +1 -1
  372. package/esm/component/interface/common.d.ts +2 -2
  373. package/esm/component/interface/common.js.map +1 -1
  374. package/esm/component/label/base-label.d.ts +2 -2
  375. package/esm/component/label/base-label.js.map +1 -1
  376. package/esm/component/legend/base-legend.d.ts +2 -2
  377. package/esm/component/legend/base-legend.js.map +1 -1
  378. package/esm/component/legend/continuous/legend.d.ts +1 -1
  379. package/esm/component/legend/discrete/legend.d.ts +1 -1
  380. package/esm/component/legend/interface.d.ts +3 -0
  381. package/esm/component/legend/interface.js.map +1 -1
  382. package/esm/component/map-label/component.d.ts +3 -3
  383. package/esm/component/map-label/component.js.map +1 -1
  384. package/esm/component/marker/base-marker.d.ts +2 -2
  385. package/esm/component/marker/base-marker.js.map +1 -1
  386. package/esm/component/marker/mark-line/mark-line.js.map +1 -1
  387. package/esm/component/marker/mark-point/mark-point.js.map +1 -1
  388. package/esm/component/player/player.d.ts +2 -2
  389. package/esm/component/player/player.js.map +1 -1
  390. package/esm/component/title/title.d.ts +2 -2
  391. package/esm/component/title/title.js.map +1 -1
  392. package/esm/component/tooltip/handler/base.d.ts +1 -1
  393. package/esm/component/tooltip/handler/dom/util.js.map +1 -1
  394. package/esm/component/tooltip/handler/utils/common.js.map +1 -1
  395. package/esm/component/tooltip/handler/utils/compose.js +2 -1
  396. package/esm/component/tooltip/handler/utils/compose.js.map +1 -1
  397. package/esm/component/tooltip/tooltip.d.ts +2 -2
  398. package/esm/component/tooltip/tooltip.js.map +1 -1
  399. package/esm/constant/correlation.d.ts +3 -0
  400. package/esm/constant/correlation.js +8 -0
  401. package/esm/constant/correlation.js.map +1 -0
  402. package/esm/constant/index.d.ts +1 -0
  403. package/esm/constant/index.js +2 -0
  404. package/esm/constant/index.js.map +1 -1
  405. package/esm/constant/word-cloud.js +1 -2
  406. package/esm/core/factory.js +2 -1
  407. package/esm/core/index.d.ts +1 -1
  408. package/esm/core/index.js +1 -1
  409. package/esm/core/index.js.map +1 -1
  410. package/esm/data/transforms/correlation-center.d.ts +4 -0
  411. package/esm/data/transforms/correlation-center.js +14 -0
  412. package/esm/data/transforms/correlation-center.js.map +1 -0
  413. package/esm/data/transforms/correlation.d.ts +17 -0
  414. package/esm/data/transforms/correlation.js +49 -0
  415. package/esm/data/transforms/correlation.js.map +1 -0
  416. package/esm/interaction/dimension-trigger.js +1 -2
  417. package/esm/interaction/interaction.js +2 -1
  418. package/esm/interaction/zoom/zoomable.d.ts +20 -12
  419. package/esm/interaction/zoom/zoomable.js +96 -74
  420. package/esm/interaction/zoom/zoomable.js.map +1 -1
  421. package/esm/layout/base-layout.d.ts +7 -1
  422. package/esm/layout/base-layout.js +24 -10
  423. package/esm/layout/base-layout.js.map +1 -1
  424. package/esm/layout/layout3d/index.d.ts +6 -0
  425. package/esm/layout/layout3d/index.js +14 -0
  426. package/esm/layout/layout3d/index.js.map +1 -1
  427. package/esm/mark/arc-3d.js +1 -1
  428. package/esm/mark/index.d.ts +3 -2
  429. package/esm/mark/index.js +3 -1
  430. package/esm/mark/index.js.map +1 -1
  431. package/esm/mark/interface/type.d.ts +1 -0
  432. package/esm/mark/interface/type.js +1 -1
  433. package/esm/mark/interface/type.js.map +1 -1
  434. package/esm/mark/ripple.d.ts +12 -0
  435. package/esm/mark/ripple.js +27 -0
  436. package/esm/mark/ripple.js.map +1 -0
  437. package/esm/model/base-model.d.ts +0 -3
  438. package/esm/model/base-model.js +0 -3
  439. package/esm/model/base-model.js.map +1 -1
  440. package/esm/model/interface.d.ts +0 -2
  441. package/esm/model/interface.js.map +1 -1
  442. package/esm/series/area/area.js +4 -3
  443. package/esm/series/area/area.js.map +1 -1
  444. package/esm/series/bar/bar.d.ts +1 -0
  445. package/esm/series/bar/bar.js +4 -2
  446. package/esm/series/bar/bar.js.map +1 -1
  447. package/esm/series/base/base-series.js +5 -7
  448. package/esm/series/base/base-series.js.map +1 -1
  449. package/esm/series/box-plot/box-plot.js +10 -8
  450. package/esm/series/box-plot/box-plot.js.map +1 -1
  451. package/esm/series/circle-packing/circle-packing.js +7 -6
  452. package/esm/series/circle-packing/circle-packing.js.map +1 -1
  453. package/esm/series/correlation/animation.d.ts +8 -0
  454. package/esm/series/correlation/animation.js +16 -0
  455. package/esm/series/correlation/animation.js.map +1 -0
  456. package/esm/series/correlation/constant.d.ts +2 -0
  457. package/esm/series/correlation/constant.js +25 -0
  458. package/esm/series/correlation/constant.js.map +1 -0
  459. package/esm/series/correlation/correlation.d.ts +57 -0
  460. package/esm/series/correlation/correlation.js +237 -0
  461. package/esm/series/correlation/correlation.js.map +1 -0
  462. package/esm/series/correlation/interface.d.ts +37 -0
  463. package/esm/series/correlation/interface.js +2 -0
  464. package/esm/series/correlation/interface.js.map +1 -0
  465. package/esm/series/dot/dot.js +2 -3
  466. package/esm/series/dot/dot.js.map +1 -1
  467. package/esm/series/funnel/funnel.js +4 -5
  468. package/esm/series/funnel/funnel.js.map +1 -1
  469. package/esm/series/gauge/gauge-pointer.d.ts +1 -0
  470. package/esm/series/gauge/gauge-pointer.js +4 -2
  471. package/esm/series/gauge/gauge-pointer.js.map +1 -1
  472. package/esm/series/gauge/gauge.d.ts +1 -0
  473. package/esm/series/gauge/gauge.js +5 -3
  474. package/esm/series/gauge/gauge.js.map +1 -1
  475. package/esm/series/heatmap/heatmap.js +2 -4
  476. package/esm/series/heatmap/heatmap.js.map +1 -1
  477. package/esm/series/index.d.ts +4 -2
  478. package/esm/series/index.js +3 -1
  479. package/esm/series/index.js.map +1 -1
  480. package/esm/series/interface/series.d.ts +1 -1
  481. package/esm/series/interface/series.js.map +1 -1
  482. package/esm/series/interface/theme.d.ts +2 -0
  483. package/esm/series/interface/theme.js +4 -1
  484. package/esm/series/interface/theme.js.map +1 -1
  485. package/esm/series/interface/type.d.ts +7 -2
  486. package/esm/series/interface/type.js +4 -2
  487. package/esm/series/interface/type.js.map +1 -1
  488. package/esm/series/line/line.d.ts +1 -0
  489. package/esm/series/line/line.js +4 -0
  490. package/esm/series/line/line.js.map +1 -1
  491. package/esm/series/link/link.js +6 -5
  492. package/esm/series/link/link.js.map +1 -1
  493. package/esm/series/map/map.js +2 -3
  494. package/esm/series/map/map.js.map +1 -1
  495. package/esm/series/mixin/line-mixin.js +3 -5
  496. package/esm/series/mixin/line-mixin.js.map +1 -1
  497. package/esm/series/pie/interface.d.ts +2 -0
  498. package/esm/series/pie/interface.js.map +1 -1
  499. package/esm/series/pie/pie-3d.js +6 -6
  500. package/esm/series/pie/pie-3d.js.map +1 -1
  501. package/esm/series/pie/pie.d.ts +2 -0
  502. package/esm/series/pie/pie.js +16 -2
  503. package/esm/series/pie/pie.js.map +1 -1
  504. package/esm/series/progress/circular/circular.d.ts +1 -0
  505. package/esm/series/progress/circular/circular.js +5 -2
  506. package/esm/series/progress/circular/circular.js.map +1 -1
  507. package/esm/series/progress/linear/linear.js +5 -5
  508. package/esm/series/progress/linear/linear.js.map +1 -1
  509. package/esm/series/radar/animation.js.map +1 -1
  510. package/esm/series/radar/radar.d.ts +1 -0
  511. package/esm/series/radar/radar.js +6 -2
  512. package/esm/series/radar/radar.js.map +1 -1
  513. package/esm/series/range-area/range-area.js +2 -2
  514. package/esm/series/range-area/range-area.js.map +1 -1
  515. package/esm/series/range-column/range-column.d.ts +1 -0
  516. package/esm/series/range-column/range-column.js +10 -11
  517. package/esm/series/range-column/range-column.js.map +1 -1
  518. package/esm/series/rose/rose.d.ts +1 -0
  519. package/esm/series/rose/rose.js +4 -2
  520. package/esm/series/rose/rose.js.map +1 -1
  521. package/esm/series/sankey/sankey.js +7 -9
  522. package/esm/series/sankey/sankey.js.map +1 -1
  523. package/esm/series/scatter/scatter.d.ts +1 -0
  524. package/esm/series/scatter/scatter.js +4 -3
  525. package/esm/series/scatter/scatter.js.map +1 -1
  526. package/esm/series/sunburst/sunburst.js +4 -6
  527. package/esm/series/sunburst/sunburst.js.map +1 -1
  528. package/esm/series/treemap/treemap.js +10 -9
  529. package/esm/series/treemap/treemap.js.map +1 -1
  530. package/esm/series/word-cloud/base.d.ts +1 -0
  531. package/esm/series/word-cloud/base.js +6 -3
  532. package/esm/series/word-cloud/base.js.map +1 -1
  533. package/esm/series/word-cloud/word-cloud-3d.js +2 -3
  534. package/esm/series/word-cloud/word-cloud-3d.js.map +1 -1
  535. package/esm/theme/builtin/common/component/axis/cartesian-axis.js +28 -2
  536. package/esm/theme/builtin/common/component/axis/cartesian-axis.js.map +1 -1
  537. package/esm/theme/builtin/common/component/indicator.js +1 -1
  538. package/esm/theme/builtin/common/component/indicator.js.map +1 -1
  539. package/esm/theme/builtin/common/component/legend/continuous.js +1 -1
  540. package/esm/theme/builtin/common/component/legend/continuous.js.map +1 -1
  541. package/esm/theme/builtin/common/component/legend/discrete-legend.js +1 -1
  542. package/esm/theme/builtin/common/component/legend/discrete-legend.js.map +1 -1
  543. package/esm/theme/builtin/common/component/mark-area.js +12 -10
  544. package/esm/theme/builtin/common/component/mark-area.js.map +1 -1
  545. package/esm/theme/builtin/common/component/mark-line.js +19 -12
  546. package/esm/theme/builtin/common/component/mark-line.js.map +1 -1
  547. package/esm/theme/builtin/common/component/mark-point.js +8 -2
  548. package/esm/theme/builtin/common/component/mark-point.js.map +1 -1
  549. package/esm/theme/builtin/common/component/poptip.js +1 -1
  550. package/esm/theme/builtin/common/component/poptip.js.map +1 -1
  551. package/esm/theme/builtin/common/component/title.js +1 -1
  552. package/esm/theme/builtin/common/component/title.js.map +1 -1
  553. package/esm/theme/builtin/common/component/tooltip.js +2 -2
  554. package/esm/theme/builtin/common/component/tooltip.js.map +1 -1
  555. package/esm/theme/builtin/common/component/total-label.js +1 -1
  556. package/esm/theme/builtin/common/component/total-label.js.map +1 -1
  557. package/esm/theme/builtin/common/series/area.js +4 -1
  558. package/esm/theme/builtin/common/series/area.js.map +1 -1
  559. package/esm/theme/builtin/common/series/bar.js +4 -1
  560. package/esm/theme/builtin/common/series/bar.js.map +1 -1
  561. package/esm/theme/builtin/common/series/circle-packing.js +4 -1
  562. package/esm/theme/builtin/common/series/circle-packing.js.map +1 -1
  563. package/esm/theme/builtin/common/series/correlation.d.ts +2 -0
  564. package/esm/theme/builtin/common/series/correlation.js +18 -0
  565. package/esm/theme/builtin/common/series/correlation.js.map +1 -0
  566. package/esm/theme/builtin/common/series/funnel.js +12 -3
  567. package/esm/theme/builtin/common/series/funnel.js.map +1 -1
  568. package/esm/theme/builtin/common/series/index.js +4 -1
  569. package/esm/theme/builtin/common/series/index.js.map +1 -1
  570. package/esm/theme/builtin/common/series/line.js +4 -1
  571. package/esm/theme/builtin/common/series/line.js.map +1 -1
  572. package/esm/theme/builtin/common/series/map.js +4 -1
  573. package/esm/theme/builtin/common/series/map.js.map +1 -1
  574. package/esm/theme/builtin/common/series/pie.js +9 -1
  575. package/esm/theme/builtin/common/series/pie.js.map +1 -1
  576. package/esm/theme/builtin/common/series/radar.js +4 -1
  577. package/esm/theme/builtin/common/series/radar.js.map +1 -1
  578. package/esm/theme/builtin/common/series/rose.js +5 -1
  579. package/esm/theme/builtin/common/series/rose.js.map +1 -1
  580. package/esm/theme/builtin/common/series/scatter.js +4 -1
  581. package/esm/theme/builtin/common/series/scatter.js.map +1 -1
  582. package/esm/theme/builtin/common/series/treemap.js +4 -1
  583. package/esm/theme/builtin/common/series/treemap.js.map +1 -1
  584. package/esm/theme/builtin/dark/color-scheme.js +1 -1
  585. package/esm/theme/builtin/dark/color-scheme.js.map +1 -1
  586. package/esm/theme/builtin/light/color-scheme.js +3 -3
  587. package/esm/theme/builtin/light/color-scheme.js.map +1 -1
  588. package/esm/theme/color-scheme/builtin/interface.d.ts +1 -1
  589. package/esm/theme/color-scheme/builtin/interface.js.map +1 -1
  590. package/esm/theme/color-scheme/interface.d.ts +1 -1
  591. package/esm/theme/color-scheme/interface.js.map +1 -1
  592. package/esm/theme/color-scheme/util.js +4 -7
  593. package/esm/theme/color-scheme/util.js.map +1 -1
  594. package/esm/typings/event.d.ts +1 -0
  595. package/esm/typings/event.js +2 -0
  596. package/esm/typings/event.js.map +1 -0
  597. package/esm/typings/spec/chart.d.ts +2 -0
  598. package/esm/typings/spec/chart.js.map +1 -1
  599. package/esm/typings/spec/common.d.ts +8 -6
  600. package/esm/typings/spec/common.js.map +1 -1
  601. package/esm/typings/tooltip/line.d.ts +1 -0
  602. package/esm/typings/tooltip/line.js.map +1 -1
  603. package/esm/typings/visual.d.ts +4 -0
  604. package/esm/typings/visual.js.map +1 -1
  605. package/esm/vchart-all.js +4 -2
  606. package/esm/vchart-all.js.map +1 -1
  607. package/package.json +11 -8
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/series/word-cloud/word-cloud-3d.ts"],"names":[],"mappings":";;;AAAA,6CAAkE;AAClE,0CAA2D;AAC3D,4CAAuE;AAGvE,iDAA6E;AAC7E,6CAA+C;AAC/C,2DAAiD;AACjD,0DAKmC;AAEnC,iCAA6C;AAC7C,gDAA6C;AAC7C,2CAA2D;AAE3D,MAAa,iBAEX,SAAQ,0BAAsB;IAFhC;;QAIE,SAAI,GAAG,qBAAc,CAAC,WAAW,CAAC;IAoQpC,CAAC;IAlQC,OAAO;;QACL,KAAK,CAAC,OAAO,EAAE,CAAC;QAEhB,MAAM,mBAAmB,GAAU,EAAE,CAAC;QACtC,MAAM,UAAU,GAAG,IAAI,CAAC,WAAW,CAAC;QAC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AAK,CAAC,CAChE,CACF,CAAC;SACH;IACH,CAAC;;AAvQH,8CAwQC;AArQiB,sBAAI,GAAW,qBAAc,CAAC,WAAW,CAAC;AAuQrD,MAAM,yBAAyB,GAAG,GAAG,EAAE;IAC5C,iBAAO,CAAC,YAAY,CAAC,eAAQ,CAAC,IAAI,EAAE,eAAQ,CAAC,CAAC;IAC9C,iBAAO,CAAC,cAAc,CAAC,iBAAiB,CAAC,IAAI,EAAE,iBAAiB,CAAC,CAAC;IAClE,IAAA,wCAA4B,GAAE,CAAC;AACjC,CAAC,CAAC;AAJW,QAAA,yBAAyB,6BAIpC","file":"word-cloud-3d.js","sourcesContent":["import { AttributeLevel, DEFAULT_DATA_KEY } from '../../constant';\nimport { TextMark, type ITextMark } from '../../mark/text';\nimport { SeriesMarkNameEnum, SeriesTypeEnum } from '../interface/type';\nimport type { IWordCloud3dSeriesSpec } from './interface';\nimport type { Datum } from '../../typings';\nimport { animationConfig, userAnimationConfig } from '../../animation/utils';\nimport { LinearScale } from '@visactor/vscale';\nimport { extent } from '@visactor/vgrammar-util';\nimport {\n WORD_CLOUD_ANGLE,\n WORD_CLOUD_FILLING_ANGLE,\n WORD_CLOUD_TEXT,\n WORD_CLOUD_WEIGHT\n} from '../../constant/word-cloud';\nimport type { ICompilableMark } from '../../compile/mark';\nimport { BaseWordCloudSeries } from './base';\nimport { Factory } from '../../core/factory';\nimport { registerWordCloud3dAnimation } from './animation';\n\nexport class WordCloud3dSeries<\n T extends IWordCloud3dSeriesSpec = IWordCloud3dSeriesSpec\n> extends BaseWordCloudSeries<T> {\n static readonly type: string = SeriesTypeEnum.wordCloud3d;\n type = SeriesTypeEnum.wordCloud3d;\n\n compile(): void {\n super.compile();\n\n const wordCloudTransforms: any[] = [];\n const valueField = this._valueField;\n const valueScale = new LinearScale();\n const fontWeightRange = this._fontWeightRange;\n const rotateAngles = this._rotateAngles;\n const fontWeightField = this._fontWeightField;\n const fillingRotateAngles = this._wordCloudShapeConfig.fillingRotateAngles;\n\n // fontWeight处理\n if (valueField) {\n const [minValue, maxValue] = extent(this.getViewData()?.latestData.map((datum: any) => +datum[valueField]));\n valueScale.domain([minValue, maxValue], true).range(fontWeightRange);\n wordCloudTransforms.push({\n type: 'map',\n as: WORD_CLOUD_WEIGHT,\n callback: (datum: any) => {\n if (minValue === maxValue) {\n return valueScale.scale(maxValue);\n }\n return valueScale.scale(datum[valueField]);\n }\n });\n }\n\n // rotateAngles处理\n wordCloudTransforms.push({\n type: 'map',\n as: WORD_CLOUD_ANGLE,\n callback: () => {\n return rotateAngles[Math.floor(Math.random() * rotateAngles.length)];\n }\n });\n wordCloudTransforms.push({\n type: 'map',\n as: WORD_CLOUD_FILLING_ANGLE,\n callback: () => {\n return fillingRotateAngles[Math.floor(Math.random() * fillingRotateAngles.length)];\n }\n });\n\n // text fromat method 处理\n if (this._spec.word?.formatMethod) {\n wordCloudTransforms.push({\n type: 'map',\n as: WORD_CLOUD_TEXT,\n callback: this._spec.word.formatMethod\n });\n }\n\n const textField = this._spec.word?.formatMethod ? WORD_CLOUD_TEXT : this._nameField;\n\n // 词云 transform\n if (!this._isWordCloudShape) {\n wordCloudTransforms.push({\n type: 'wordcloud',\n layoutType: this._wordCloudConfig.layoutMode,\n size: [this._region.getLayoutRect().width, this._region.getLayoutRect().height],\n shape: this._maskShape,\n postProjection: this._spec.postProjection ?? 'StereographicProjection',\n dataIndexKey: DEFAULT_DATA_KEY,\n text: { field: textField },\n fontSize: valueField ? { field: valueField } : this._fontSizeRange[0],\n fontSizeRange: this._fontSizeRange,\n padding: this._fontPadding,\n rotate: { field: WORD_CLOUD_ANGLE },\n fontFamily: this._fontFamilyField ?? this._spec.word?.style?.fontFamily ?? this._option?.getTheme()?.fontFamily,\n fontWeight: fontWeightField ? { field: fontWeightField } : valueField ? { field: WORD_CLOUD_WEIGHT } : null,\n fontStyle: this._fontStyleField ?? this._spec.word?.style?.fontStyle,\n depth_3d: this._spec.depth_3d,\n\n randomVisible: this._random,\n clip: this._wordCloudConfig.drawOutOfBound === 'clip',\n shrink: this._wordCloudConfig.zoomToFit.shrink,\n enlarge: this._wordCloudConfig.zoomToFit.enlarge,\n minFontSize: this._wordCloudConfig.zoomToFit.fontSizeLimitMin,\n progressiveTime: this._wordCloudConfig.progressiveTime,\n progressiveStep: this._wordCloudConfig.progressiveStep\n });\n // 挂到mark的trnsform上,注册的时候决定transform的执行时机\n (this._wordMark as ICompilableMark).getProduct().transform(wordCloudTransforms);\n }\n // 形状词云 transform\n else {\n wordCloudTransforms.push({\n type: 'wordcloudShape',\n size: [this._region.getLayoutRect().width, this._region.getLayoutRect().height],\n shape: this._maskShape,\n postProjection: this._spec.postProjection ?? 'StereographicProjection',\n dataIndexKey: DEFAULT_DATA_KEY,\n text: { field: textField },\n fontSize: valueField ? { field: valueField } : this._fontSizeRange[0],\n fontSizeRange: this._fontSizeRange,\n padding: this._fontPadding,\n rotateList: rotateAngles,\n fontFamily: this._fontFamilyField ?? this._spec.word?.style?.fontFamily ?? this._option?.getTheme()?.fontFamily,\n fontWeight: fontWeightField ? { field: fontWeightField } : valueField ? { field: WORD_CLOUD_WEIGHT } : null,\n fontStyle: this._fontStyleField ?? this._spec.word?.style?.fontStyle,\n depth_3d: this._spec.depth_3d,\n\n fillingFontFamily:\n this._wordCloudShapeConfig?.fillingFontFamilyField ??\n this._spec.word?.style?.fontFamily ??\n this._option?.getTheme()?.fontFamily,\n fillingPadding: this._fillingFontPadding,\n fillingFontStyle: this._wordCloudShapeConfig?.fillingFontStyleField ?? this._spec.word?.style?.fontStyle,\n fillingFontWeight: this._wordCloudShapeConfig?.fillingFontWeightField ?? this._spec.word?.style?.fontWeight, // 填充词fontWeight默认不跟随valueField\n fillingRotateList: fillingRotateAngles,\n\n fillingTimes: this._wordCloudShapeConfig?.fillingTimes,\n fillingXStep: this._wordCloudShapeConfig?.fillingXStep,\n fillingYStep: this._wordCloudShapeConfig?.fillingYStep,\n fillingXRatioStep: this._wordCloudShapeConfig?.fillingXRatioStep,\n fillingYRatioStep: this._wordCloudShapeConfig?.fillingYRatioStep,\n fillingInitialOpacity: this._wordCloudShapeConfig?.fillingInitialOpacity,\n fillingDeltaOpacity: this._wordCloudShapeConfig?.fillingDeltaOpacity,\n fillingInitialFontSize: this._wordCloudShapeConfig?.fillingInitialFontSize,\n fillingDeltaFontSize: this._wordCloudShapeConfig?.fillingDeltaFontSize,\n\n ratio: this._wordCloudShapeConfig?.ratio,\n fillingRatio: this._wordCloudShapeConfig?.fillingRatio,\n removeWhiteBorder: this._wordCloudShapeConfig?.removeWhiteBorder,\n textLayoutTimes: this._wordCloudShapeConfig?.textLayoutTimes,\n fontSizeShrinkFactor: this._wordCloudShapeConfig?.fontSizeShrinkFactor,\n stepFactor: this._wordCloudShapeConfig?.stepFactor,\n layoutMode: this._wordCloudShapeConfig?.layoutMode,\n importantWordCount: this._wordCloudShapeConfig?.importantWordCount,\n globalShinkLimit: this._wordCloudShapeConfig?.globalShinkLimit,\n fontSizeEnlargeFactor: this._wordCloudShapeConfig?.fontSizeEnlargeFactor,\n fillingDeltaFontSizeFactor: this._wordCloudShapeConfig?.fillingDeltaFontSizeFactor\n });\n }\n // 把transform挂载到data的product上\n this._data.getProduct().transform(wordCloudTransforms);\n }\n\n initMark(): void {\n this._wordMark = this._createMark(BaseWordCloudSeries.mark.word, {\n groupKey: this._seriesField,\n support3d: true,\n isSeriesMark: true\n }) as ITextMark;\n if (this._isWordCloudShape) {\n this._fillingWordMark = this._createMark(BaseWordCloudSeries.mark.fillingWord, {\n groupKey: this._seriesField,\n support3d: true,\n isSeriesMark: true\n }) as ITextMark;\n }\n }\n\n initMarkStyle() {\n const wordMark = this._wordMark;\n const fillingWordMark = this._fillingWordMark;\n if (wordMark) {\n this.setMarkStyle(\n wordMark,\n {\n fill: this._colorHexField\n ? (datum: Datum) => datum[this._colorHexField]\n : this.getWordColorAttribute(this._seriesField, false),\n text: (datum: Datum) => datum[this._nameField],\n x: (datum: Datum) => datum.x,\n y: (datum: Datum) => datum.y,\n z: (datum: Datum) => datum.z ?? 0,\n fontFamily: (datum: Datum) => datum.fontFamily,\n fontSize: (datum: Datum) => datum.fontSize,\n fontStyle: (datum: Datum) => datum.fontStyle,\n fontWeight: (datum: Datum) => datum.fontWeight,\n angle: (datum: Datum) => datum.angle,\n visible: (datum: Datum) => !datum.isFillingWord\n },\n 'normal',\n AttributeLevel.Series\n );\n this.setMarkStyle(\n wordMark,\n {\n fontFamily: this._spec.word?.style?.fontFamily ?? this._option?.getTheme()?.fontFamily\n },\n 'normal',\n AttributeLevel.User_Mark\n );\n }\n if (fillingWordMark) {\n this.setMarkStyle(\n fillingWordMark,\n {\n fill: this._wordCloudShapeConfig.fillingColorHexField\n ? (datum: Datum) => datum[this._wordCloudShapeConfig.fillingColorHexField]\n : this.getWordColorAttribute(this._wordCloudShapeConfig.fillingSeriesField, true),\n text: (datum: Datum) => datum[this._nameField],\n x: (datum: Datum) => datum.x,\n y: (datum: Datum) => datum.y,\n z: (datum: Datum) => datum.z ?? 0,\n fontFamily: (datum: Datum) => datum.fontFamily,\n fontSize: (datum: Datum) => datum.fontSize,\n fontStyle: (datum: Datum) => datum.fontStyle,\n fontWeight: (datum: Datum) => datum.fontWeight,\n angle: (datum: Datum) => datum.angle,\n visible: (datum: Datum) => datum.isFillingWord\n },\n 'normal',\n AttributeLevel.Series\n );\n this.setMarkStyle(\n fillingWordMark,\n {\n fontFamily: this._spec.word?.style?.fontFamily ?? this._option?.getTheme()?.fontFamily\n },\n 'normal',\n AttributeLevel.User_Mark\n );\n }\n this._trigger.registerMark(wordMark);\n this._tooltipHelper?.activeTriggerSet.mark.add(wordMark);\n this._trigger.registerMark(fillingWordMark);\n this._tooltipHelper?.activeTriggerSet.mark.add(fillingWordMark);\n }\n\n initAnimation() {\n if (this._wordMark) {\n this._wordMark.setAnimationConfig(\n animationConfig(\n Factory.getAnimationInKey('wordCloud3d')?.(() => {\n const srView = this.getCompiler().getVGrammarView();\n const width = srView.width() - this._padding?.left || 0 - this._padding?.right || 0;\n const height = srView.height() - this._padding?.top || 0 - this._padding?.bottom || 0;\n const r = Math.max(width, height) / 2;\n return {\n center: { x: r, y: r, z: this._spec.depth_3d ?? r },\n r\n };\n }),\n userAnimationConfig(SeriesMarkNameEnum.word, this._spec)\n )\n );\n }\n if (this._fillingWordMark) {\n this._fillingWordMark.setAnimationConfig(\n animationConfig(\n Factory.getAnimationInKey('wordCloud3d')?.(() => {\n const srView = this.getCompiler().getVGrammarView();\n const width = srView.width() - this._padding?.left || 0 - this._padding?.right || 0;\n const height = srView.height() - this._padding?.top || 0 - this._padding?.bottom || 0;\n const r = Math.max(width, height) / 2;\n return {\n center: { x: r, y: r, z: this._spec.depth_3d ?? r },\n r\n };\n }),\n userAnimationConfig(SeriesMarkNameEnum.fillingWord, this._spec)\n )\n );\n }\n }\n}\n\nexport const registerWordCloud3dSeries = () => {\n Factory.registerMark(TextMark.type, TextMark);\n Factory.registerSeries(WordCloud3dSeries.type, WordCloud3dSeries);\n registerWordCloud3dAnimation();\n};\n"]}
1
+ {"version":3,"sources":["../src/series/word-cloud/word-cloud-3d.ts"],"names":[],"mappings":";;;AAAA,6CAAkE;AAClE,0CAA2D;AAC3D,4CAAuE;AAGvE,iDAA6E;AAC7E,6CAA+C;AAC/C,2DAAiD;AACjD,0DAKmC;AAEnC,iCAA6C;AAC7C,gDAA6C;AAC7C,2CAA2D;AAE3D,MAAa,iBAEX,SAAQ,0BAAsB;IAFhC;;QAIE,SAAI,GAAG,qBAAc,CAAC,WAAW,CAAC;IAkQpC,CAAC;IAhQC,OAAO;;QACL,KAAK,CAAC,OAAO,EAAE,CAAC;QAEhB,MAAM,mBAAmB,GAAU,EAAE,CAAC;QACtC,MAAM,UAAU,GAAG,IAAI,CAAC,WAAW,CAAC;QACpC,MAAM,UAAU,GAAG,IAAI,oBAAW,EAAE,CAAC;QACrC,MAAM,eAAe,GAAG,IAAI,CAAC,gBAAgB,CAAC;QAC9C,MAAM,YAAY,GAAG,IAAI,CAAC,aA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AE,CAAC;AACjC,CAAC,CAAC;AAJW,QAAA,yBAAyB,6BAIpC","file":"word-cloud-3d.js","sourcesContent":["import { AttributeLevel, DEFAULT_DATA_KEY } from '../../constant';\nimport { TextMark, type ITextMark } from '../../mark/text';\nimport { SeriesMarkNameEnum, SeriesTypeEnum } from '../interface/type';\nimport type { IWordCloud3dSeriesSpec } from './interface';\nimport type { Datum } from '../../typings';\nimport { animationConfig, userAnimationConfig } from '../../animation/utils';\nimport { LinearScale } from '@visactor/vscale';\nimport { extent } from '@visactor/vgrammar-util';\nimport {\n WORD_CLOUD_ANGLE,\n WORD_CLOUD_FILLING_ANGLE,\n WORD_CLOUD_TEXT,\n WORD_CLOUD_WEIGHT\n} from '../../constant/word-cloud';\nimport type { ICompilableMark } from '../../compile/mark';\nimport { BaseWordCloudSeries } from './base';\nimport { Factory } from '../../core/factory';\nimport { registerWordCloud3dAnimation } from './animation';\n\nexport class WordCloud3dSeries<\n T extends IWordCloud3dSeriesSpec = IWordCloud3dSeriesSpec\n> extends BaseWordCloudSeries<T> {\n static readonly type: string = SeriesTypeEnum.wordCloud3d;\n type = SeriesTypeEnum.wordCloud3d;\n\n compile(): void {\n super.compile();\n\n const wordCloudTransforms: any[] = [];\n const valueField = this._valueField;\n const valueScale = new LinearScale();\n const fontWeightRange = this._fontWeightRange;\n const rotateAngles = this._rotateAngles;\n const fontWeightField = this._fontWeightField;\n const fillingRotateAngles = this._wordCloudShapeConfig.fillingRotateAngles;\n\n // fontWeight处理\n if (valueField) {\n const [minValue, maxValue] = extent(this.getViewData()?.latestData.map((datum: any) => +datum[valueField]));\n valueScale.domain([minValue, maxValue], true).range(fontWeightRange);\n wordCloudTransforms.push({\n type: 'map',\n as: WORD_CLOUD_WEIGHT,\n callback: (datum: any) => {\n if (minValue === maxValue) {\n return valueScale.scale(maxValue);\n }\n return valueScale.scale(datum[valueField]);\n }\n });\n }\n\n // rotateAngles处理\n wordCloudTransforms.push({\n type: 'map',\n as: WORD_CLOUD_ANGLE,\n callback: () => {\n return rotateAngles[Math.floor(Math.random() * rotateAngles.length)];\n }\n });\n wordCloudTransforms.push({\n type: 'map',\n as: WORD_CLOUD_FILLING_ANGLE,\n callback: () => {\n return fillingRotateAngles[Math.floor(Math.random() * fillingRotateAngles.length)];\n }\n });\n\n // text fromat method 处理\n if (this._spec.word?.formatMethod) {\n wordCloudTransforms.push({\n type: 'map',\n as: WORD_CLOUD_TEXT,\n callback: this._spec.word.formatMethod\n });\n }\n\n const textField = this._spec.word?.formatMethod ? WORD_CLOUD_TEXT : this._nameField;\n\n // 词云 transform\n if (!this._isWordCloudShape) {\n wordCloudTransforms.push({\n type: 'wordcloud',\n layoutType: this._wordCloudConfig.layoutMode,\n size: [this._region.getLayoutRect().width, this._region.getLayoutRect().height],\n shape: this._maskShape,\n postProjection: this._spec.postProjection ?? 'StereographicProjection',\n dataIndexKey: DEFAULT_DATA_KEY,\n text: { field: textField },\n fontSize: valueField ? { field: valueField } : this._fontSizeRange[0],\n fontSizeRange: this._fontSizeRange,\n padding: this._fontPadding,\n rotate: { field: WORD_CLOUD_ANGLE },\n fontFamily: this._fontFamilyField ?? this._spec.word?.style?.fontFamily ?? this._option?.getTheme()?.fontFamily,\n fontWeight: fontWeightField ? { field: fontWeightField } : valueField ? { field: WORD_CLOUD_WEIGHT } : null,\n fontStyle: this._fontStyleField ?? this._spec.word?.style?.fontStyle,\n depth_3d: this._spec.depth_3d,\n\n randomVisible: this._random,\n clip: this._wordCloudConfig.drawOutOfBound === 'clip',\n shrink: this._wordCloudConfig.zoomToFit.shrink,\n enlarge: this._wordCloudConfig.zoomToFit.enlarge,\n minFontSize: this._wordCloudConfig.zoomToFit.fontSizeLimitMin,\n progressiveTime: this._wordCloudConfig.progressiveTime,\n progressiveStep: this._wordCloudConfig.progressiveStep\n });\n // 挂到mark的trnsform上,注册的时候决定transform的执行时机\n (this._wordMark as ICompilableMark).getProduct().transform(wordCloudTransforms);\n }\n // 形状词云 transform\n else {\n wordCloudTransforms.push({\n type: 'wordcloudShape',\n size: [this._region.getLayoutRect().width, this._region.getLayoutRect().height],\n shape: this._maskShape,\n postProjection: this._spec.postProjection ?? 'StereographicProjection',\n dataIndexKey: DEFAULT_DATA_KEY,\n text: { field: textField },\n fontSize: valueField ? { field: valueField } : this._fontSizeRange[0],\n fontSizeRange: this._fontSizeRange,\n padding: this._fontPadding,\n rotateList: rotateAngles,\n fontFamily: this._fontFamilyField ?? this._spec.word?.style?.fontFamily ?? this._option?.getTheme()?.fontFamily,\n fontWeight: fontWeightField ? { field: fontWeightField } : valueField ? { field: WORD_CLOUD_WEIGHT } : null,\n fontStyle: this._fontStyleField ?? this._spec.word?.style?.fontStyle,\n depth_3d: this._spec.depth_3d,\n\n fillingFontFamily:\n this._wordCloudShapeConfig?.fillingFontFamilyField ??\n this._spec.word?.style?.fontFamily ??\n this._option?.getTheme()?.fontFamily,\n fillingPadding: this._fillingFontPadding,\n fillingFontStyle: this._wordCloudShapeConfig?.fillingFontStyleField ?? this._spec.word?.style?.fontStyle,\n fillingFontWeight: this._wordCloudShapeConfig?.fillingFontWeightField ?? this._spec.word?.style?.fontWeight, // 填充词fontWeight默认不跟随valueField\n fillingRotateList: fillingRotateAngles,\n\n fillingTimes: this._wordCloudShapeConfig?.fillingTimes,\n fillingXStep: this._wordCloudShapeConfig?.fillingXStep,\n fillingYStep: this._wordCloudShapeConfig?.fillingYStep,\n fillingXRatioStep: this._wordCloudShapeConfig?.fillingXRatioStep,\n fillingYRatioStep: this._wordCloudShapeConfig?.fillingYRatioStep,\n fillingInitialOpacity: this._wordCloudShapeConfig?.fillingInitialOpacity,\n fillingDeltaOpacity: this._wordCloudShapeConfig?.fillingDeltaOpacity,\n fillingInitialFontSize: this._wordCloudShapeConfig?.fillingInitialFontSize,\n fillingDeltaFontSize: this._wordCloudShapeConfig?.fillingDeltaFontSize,\n\n ratio: this._wordCloudShapeConfig?.ratio,\n fillingRatio: this._wordCloudShapeConfig?.fillingRatio,\n removeWhiteBorder: this._wordCloudShapeConfig?.removeWhiteBorder,\n textLayoutTimes: this._wordCloudShapeConfig?.textLayoutTimes,\n fontSizeShrinkFactor: this._wordCloudShapeConfig?.fontSizeShrinkFactor,\n stepFactor: this._wordCloudShapeConfig?.stepFactor,\n layoutMode: this._wordCloudShapeConfig?.layoutMode,\n importantWordCount: this._wordCloudShapeConfig?.importantWordCount,\n globalShinkLimit: this._wordCloudShapeConfig?.globalShinkLimit,\n fontSizeEnlargeFactor: this._wordCloudShapeConfig?.fontSizeEnlargeFactor,\n fillingDeltaFontSizeFactor: this._wordCloudShapeConfig?.fillingDeltaFontSizeFactor\n });\n }\n // 把transform挂载到data的product上\n this._data.getProduct().transform(wordCloudTransforms);\n }\n\n initMark(): void {\n this._wordMark = this._createMark(BaseWordCloudSeries.mark.word, {\n groupKey: this._seriesField,\n support3d: true,\n isSeriesMark: true\n }) as ITextMark;\n if (this._isWordCloudShape) {\n this._fillingWordMark = this._createMark(BaseWordCloudSeries.mark.fillingWord, {\n groupKey: this._seriesField,\n support3d: true,\n isSeriesMark: true\n }) as ITextMark;\n }\n }\n\n initMarkStyle() {\n const wordMark = this._wordMark;\n const fillingWordMark = this._fillingWordMark;\n if (wordMark) {\n this.setMarkStyle(\n wordMark,\n {\n fill: this._colorHexField\n ? (datum: Datum) => datum[this._colorHexField]\n : this.getWordColorAttribute(this._seriesField, false),\n text: (datum: Datum) => datum[this._nameField],\n x: (datum: Datum) => datum.x,\n y: (datum: Datum) => datum.y,\n z: (datum: Datum) => datum.z ?? 0,\n fontFamily: (datum: Datum) => datum.fontFamily,\n fontSize: (datum: Datum) => datum.fontSize,\n fontStyle: (datum: Datum) => datum.fontStyle,\n fontWeight: (datum: Datum) => datum.fontWeight,\n angle: (datum: Datum) => datum.angle,\n visible: (datum: Datum) => !datum.isFillingWord\n },\n 'normal',\n AttributeLevel.Series\n );\n this.setMarkStyle(\n wordMark,\n {\n fontFamily: this._spec.word?.style?.fontFamily ?? this._option?.getTheme()?.fontFamily\n },\n 'normal',\n AttributeLevel.User_Mark\n );\n }\n if (fillingWordMark) {\n this.setMarkStyle(\n fillingWordMark,\n {\n fill: this._wordCloudShapeConfig.fillingColorHexField\n ? (datum: Datum) => datum[this._wordCloudShapeConfig.fillingColorHexField]\n : this.getWordColorAttribute(this._wordCloudShapeConfig.fillingSeriesField, true),\n text: (datum: Datum) => datum[this._nameField],\n x: (datum: Datum) => datum.x,\n y: (datum: Datum) => datum.y,\n z: (datum: Datum) => datum.z ?? 0,\n fontFamily: (datum: Datum) => datum.fontFamily,\n fontSize: (datum: Datum) => datum.fontSize,\n fontStyle: (datum: Datum) => datum.fontStyle,\n fontWeight: (datum: Datum) => datum.fontWeight,\n angle: (datum: Datum) => datum.angle,\n visible: (datum: Datum) => datum.isFillingWord\n },\n 'normal',\n AttributeLevel.Series\n );\n this.setMarkStyle(\n fillingWordMark,\n {\n fontFamily: this._spec.word?.style?.fontFamily ?? this._option?.getTheme()?.fontFamily\n },\n 'normal',\n AttributeLevel.User_Mark\n );\n }\n this._trigger.registerMark(wordMark);\n this._trigger.registerMark(fillingWordMark);\n }\n\n initAnimation() {\n if (this._wordMark) {\n this._wordMark.setAnimationConfig(\n animationConfig(\n Factory.getAnimationInKey('wordCloud3d')?.(() => {\n const srView = this.getCompiler().getVGrammarView();\n const width = srView.width() - this._padding?.left || 0 - this._padding?.right || 0;\n const height = srView.height() - this._padding?.top || 0 - this._padding?.bottom || 0;\n const r = Math.max(width, height) / 2;\n return {\n center: { x: r, y: r, z: this._spec.depth_3d ?? r },\n r\n };\n }),\n userAnimationConfig(SeriesMarkNameEnum.word, this._spec)\n )\n );\n }\n if (this._fillingWordMark) {\n this._fillingWordMark.setAnimationConfig(\n animationConfig(\n Factory.getAnimationInKey('wordCloud3d')?.(() => {\n const srView = this.getCompiler().getVGrammarView();\n const width = srView.width() - this._padding?.left || 0 - this._padding?.right || 0;\n const height = srView.height() - this._padding?.top || 0 - this._padding?.bottom || 0;\n const r = Math.max(width, height) / 2;\n return {\n center: { x: r, y: r, z: this._spec.depth_3d ?? r },\n r\n };\n }),\n userAnimationConfig(SeriesMarkNameEnum.fillingWord, this._spec)\n )\n );\n }\n }\n}\n\nexport const registerWordCloud3dSeries = () => {\n Factory.registerMark(TextMark.type, TextMark);\n Factory.registerSeries(WordCloud3dSeries.type, WordCloud3dSeries);\n registerWordCloud3dAnimation();\n};\n"]}
@@ -2,14 +2,30 @@
2
2
 
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: !0
5
- }), exports.axisY = exports.axisX = void 0, exports.axisX = {
5
+ }), exports.axisY = exports.axisX = void 0;
6
+
7
+ const constants_1 = require("../../constants");
8
+
9
+ exports.axisX = {
6
10
  label: {
7
11
  space: 8
8
12
  },
9
13
  title: {
10
14
  space: 8
11
15
  },
12
- maxHeight: "30%"
16
+ maxHeight: "30%",
17
+ unit: {
18
+ visible: !1,
19
+ style: {
20
+ fontSize: constants_1.THEME_CONSTANTS.l5FontSize,
21
+ fill: {
22
+ type: "palette",
23
+ key: "axisFontColor"
24
+ },
25
+ fontWeight: "normal",
26
+ fillOpacity: 1
27
+ }
28
+ }
13
29
  }, exports.axisY = {
14
30
  label: {
15
31
  space: 12,
@@ -19,6 +35,18 @@ Object.defineProperty(exports, "__esModule", {
19
35
  space: 12,
20
36
  autoRotate: !0
21
37
  },
22
- maxWidth: "30%"
38
+ maxWidth: "30%",
39
+ unit: {
40
+ visible: !1,
41
+ style: {
42
+ fontSize: constants_1.THEME_CONSTANTS.l5FontSize,
43
+ fill: {
44
+ type: "palette",
45
+ key: "axisFontColor"
46
+ },
47
+ fontWeight: "normal",
48
+ fillOpacity: 1
49
+ }
50
+ }
23
51
  };
24
52
  //# sourceMappingURL=cartesian-axis.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/theme/builtin/common/component/axis/cartesian-axis.ts"],"names":[],"mappings":";;;AAEa,QAAA,KAAK,GAA8B;IAC9C,KAAK,EAAE;QACL,KAAK,EAAE,CAAC;KACT;IACD,KAAK,EAAE;QACL,KAAK,EAAE,CAAC;KACT;IACD,SAAS,EAAE,KAAK;CACjB,CAAC;AAEW,QAAA,KAAK,GAA8B;IAC9C,KAAK,EAAE;QACL,KAAK,EAAE,EAAE;QACT,SAAS,EAAE,IAAI;KAChB;IACD,KAAK,EAAE;QACL,KAAK,EAAE,EAAE;QACT,UAAU,EAAE,IAAI;KACjB;IACD,QAAQ,EAAE,KAAK;CAChB,CAAC","file":"cartesian-axis.js","sourcesContent":["import type { ICartesianAxisCommonTheme } from '../../../../../component/axis/cartesian/interface';\n\nexport const axisX: ICartesianAxisCommonTheme = {\n label: {\n space: 8\n },\n title: {\n space: 8\n },\n maxHeight: '30%'\n};\n\nexport const axisY: ICartesianAxisCommonTheme = {\n label: {\n space: 12,\n autoLimit: true\n },\n title: {\n space: 12,\n autoRotate: true\n },\n maxWidth: '30%'\n};\n"]}
1
+ {"version":3,"sources":["../src/theme/builtin/common/component/axis/cartesian-axis.ts"],"names":[],"mappings":";;;AACA,+CAAkD;AAErC,QAAA,KAAK,GAA8B;IAC9C,KAAK,EAAE;QACL,KAAK,EAAE,CAAC;KACT;IACD,KAAK,EAAE;QACL,KAAK,EAAE,CAAC;KACT;IACD,SAAS,EAAE,KAAK;IAChB,IAAI,EAAE;QACJ,OAAO,EAAE,KAAK;QACd,KAAK,EAAE;YACL,QAAQ,EAAE,2BAAe,CAAC,UAAU;YACpC,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,eAAe,EAAE;YAC/C,UAAU,EAAE,QAAQ;YACpB,WAAW,EAAE,CAAC;SACf;KACF;CACF,CAAC;AAEW,QAAA,KAAK,GAA8B;IAC9C,KAAK,EAAE;QACL,KAAK,EAAE,EAAE;QACT,SAAS,EAAE,IAAI;KAChB;IACD,KAAK,EAAE;QACL,KAAK,EAAE,EAAE;QACT,UAAU,EAAE,IAAI;KACjB;IACD,QAAQ,EAAE,KAAK;IACf,IAAI,EAAE;QACJ,OAAO,EAAE,KAAK;QACd,KAAK,EAAE;YACL,QAAQ,EAAE,2BAAe,CAAC,UAAU;YACpC,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,eAAe,EAAE;YAC/C,UAAU,EAAE,QAAQ;YACpB,WAAW,EAAE,CAAC;SACf;KACF;CACF,CAAC","file":"cartesian-axis.js","sourcesContent":["import type { ICartesianAxisCommonTheme } from '../../../../../component/axis/cartesian/interface';\nimport { THEME_CONSTANTS } from '../../constants';\n\nexport const axisX: ICartesianAxisCommonTheme = {\n label: {\n space: 8\n },\n title: {\n space: 8\n },\n maxHeight: '30%',\n unit: {\n visible: false,\n style: {\n fontSize: THEME_CONSTANTS.l5FontSize,\n fill: { type: 'palette', key: 'axisFontColor' },\n fontWeight: 'normal',\n fillOpacity: 1\n }\n }\n};\n\nexport const axisY: ICartesianAxisCommonTheme = {\n label: {\n space: 12,\n autoLimit: true\n },\n title: {\n space: 12,\n autoRotate: true\n },\n maxWidth: '30%',\n unit: {\n visible: false,\n style: {\n fontSize: THEME_CONSTANTS.l5FontSize,\n fill: { type: 'palette', key: 'axisFontColor' },\n fontWeight: 'normal',\n fillOpacity: 1\n }\n }\n};\n"]}
@@ -15,7 +15,7 @@ exports.indicator = {
15
15
  fontSize: constants_1.THEME_CONSTANTS.l1FontSize,
16
16
  fill: {
17
17
  type: "palette",
18
- key: [ "titleFontColor", "primaryFontColor" ]
18
+ key: "primaryFontColor"
19
19
  },
20
20
  fontWeight: "normal",
21
21
  fillOpacity: 1,
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/theme/builtin/common/component/indicator.ts"],"names":[],"mappings":";;;AACA,4CAA+C;AAElC,QAAA,SAAS,GAAoB;IACxC,KAAK,EAAE;QACL,OAAO,EAAE,IAAI;QACb,SAAS,EAAE,KAAK;QAChB,OAAO,EAAE,KAAK;QACd,KAAK,EAAE;YACL,QAAQ,EAAE,2BAAe,CAAC,UAAU;YAGpC,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,WAAW,EAAE,CAAC;YACd,YAAY,EAAE,KAAK;YACnB,SAAS,EAAE,QAAQ;SACpB;KACF;IACD,OAAO,EAAE;QACP,OAAO,EAAE,IAAI;QACb,KAAK,EAAE;YACL,QAAQ,EAAE,2BAAe,CAAC,UAAU;YAGpC,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,oBAAoB,EAAE;YACpD,UAAU,EAAE,QAAQ;YACpB,WAAW,EAAE,CAAC;YACd,YAAY,EAAE,KAAK;YACnB,SAAS,EAAE,QAAQ;SACpB;KACF;CACF,CAAC","file":"indicator.js","sourcesContent":["import type { IIndicatorTheme } from '../../../../component/indicator/interface';\nimport { THEME_CONSTANTS } from '../constants';\n\nexport const indicator: IIndicatorTheme = {\n title: {\n visible: true,\n autoLimit: false,\n autoFit: false,\n style: {\n fontSize: THEME_CONSTANTS.l1FontSize,\n // lineHeight: THEME_CONSTANTS.l1LineHeight,\n\n fill: { type: 'palette', key: ['titleFontColor', 'primaryFontColor'] },\n fontWeight: 'normal',\n fillOpacity: 1,\n textBaseline: 'top',\n textAlign: 'center'\n }\n },\n content: {\n visible: true,\n style: {\n fontSize: THEME_CONSTANTS.l2FontSize,\n // lineHeight: THEME_CONSTANTS.l2LineHeight,\n\n fill: { type: 'palette', key: 'secondaryFontColor' },\n fontWeight: 'normal',\n fillOpacity: 1,\n textBaseline: 'top',\n textAlign: 'center'\n }\n }\n};\n"]}
1
+ {"version":3,"sources":["../src/theme/builtin/common/component/indicator.ts"],"names":[],"mappings":";;;AACA,4CAA+C;AAElC,QAAA,SAAS,GAAoB;IACxC,KAAK,EAAE;QACL,OAAO,EAAE,IAAI;QACb,SAAS,EAAE,KAAK;QAChB,OAAO,EAAE,KAAK;QACd,KAAK,EAAE;YACL,QAAQ,EAAE,2BAAe,CAAC,UAAU;YAGpC,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE;YAClD,UAAU,EAAE,QAAQ;YACpB,WAAW,EAAE,CAAC;YACd,YAAY,EAAE,KAAK;YACnB,SAAS,EAAE,QAAQ;SACpB;KACF;IACD,OAAO,EAAE;QACP,OAAO,EAAE,IAAI;QACb,KAAK,EAAE;YACL,QAAQ,EAAE,2BAAe,CAAC,UAAU;YAGpC,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,oBAAoB,EAAE;YACpD,UAAU,EAAE,QAAQ;YACpB,WAAW,EAAE,CAAC;YACd,YAAY,EAAE,KAAK;YACnB,SAAS,EAAE,QAAQ;SACpB;KACF;CACF,CAAC","file":"indicator.js","sourcesContent":["import type { IIndicatorTheme } from '../../../../component/indicator/interface';\nimport { THEME_CONSTANTS } from '../constants';\n\nexport const indicator: IIndicatorTheme = {\n title: {\n visible: true,\n autoLimit: false,\n autoFit: false,\n style: {\n fontSize: THEME_CONSTANTS.l1FontSize,\n // lineHeight: THEME_CONSTANTS.l1LineHeight,\n\n fill: { type: 'palette', key: 'primaryFontColor' },\n fontWeight: 'normal',\n fillOpacity: 1,\n textBaseline: 'top',\n textAlign: 'center'\n }\n },\n content: {\n visible: true,\n style: {\n fontSize: THEME_CONSTANTS.l2FontSize,\n // lineHeight: THEME_CONSTANTS.l2LineHeight,\n\n fill: { type: 'palette', key: 'secondaryFontColor' },\n fontWeight: 'normal',\n fillOpacity: 1,\n textBaseline: 'top',\n textAlign: 'center'\n }\n }\n};\n"]}
@@ -19,7 +19,7 @@ exports.DEFAULT_CONTINUOUS_LEGEND_THEME = {
19
19
  fontWeight: "normal",
20
20
  fill: {
21
21
  type: "palette",
22
- key: [ "titleFontColor", "primaryFontColor" ]
22
+ key: "primaryFontColor"
23
23
  }
24
24
  },
25
25
  space: 12
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/theme/builtin/common/component/legend/continuous.ts"],"names":[],"mappings":";;;AACA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E,OAAO,EAAE,SAAS,EAAE;SACzE;QACD,KAAK,EAAE,CAAC;KACT;CACF,CAAC","file":"continuous.js","sourcesContent":["import type { IContinuousLegendTheme } from '../../../../../component/legend';\nimport { THEME_CONSTANTS } from '../../constants';\n\nexport const DEFAULT_CONTINUOUS_LEGEND_THEME: IContinuousLegendTheme = {\n orient: 'right',\n position: 'middle',\n padding: [16, 24],\n title: {\n visible: false,\n padding: 0,\n textStyle: {\n fontSize: THEME_CONSTANTS.l5FontSize,\n lineHeight: THEME_CONSTANTS.l5LineHeight,\n\n fontWeight: 'normal',\n fill: { type: 'palette', key: ['titleFontColor', 'primaryFontColor'] }\n },\n space: 12\n },\n handler: {\n visible: true\n },\n startText: {\n style: {\n fontSize: THEME_CONSTANTS.l5FontSize,\n lineHeight: THEME_CONSTANTS.l5LineHeight,\n\n fontWeight: 'normal',\n fill: { type: 'palette', key: 'secondaryFontColor', default: '#89909d' }\n },\n space: 6\n },\n endText: {\n style: {\n fontSize: THEME_CONSTANTS.l5FontSize,\n lineHeight: THEME_CONSTANTS.l5LineHeight,\n\n fontWeight: 'normal',\n fill: { type: 'palette', key: 'secondaryFontColor', default: '#89909d' }\n },\n space: 6\n },\n handlerText: {\n style: {\n fontSize: THEME_CONSTANTS.l5FontSize,\n lineHeight: THEME_CONSTANTS.l5LineHeight,\n\n fontWeight: 'normal',\n fill: { type: 'palette', key: 'secondaryFontColor', default: '#89909d' }\n },\n space: 6\n }\n};\n"]}
1
+ {"version":3,"sources":["../src/theme/builtin/common/component/legend/continuous.ts"],"names":[],"mappings":";;;AACA,+CAAkD;AAErC,QAAA,+BAA+B,GAA2B;IACrE,MAAM,EAAE,OAAO;IACf,QAAQ,EAAE,QAAQ;IAClB,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC;IACjB,KAAK,EAAE;QACL,OAAO,EAAE,KAAK;QACd,OAAO,EAAE,CAAC;QACV,SAAS,EAAE;YACT,QAAQ,EAAE,2BAAe,CAAC,UAAU;YACpC,UAAU,EAAE,2BAAe,CAAC,YAAY;YAExC,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE;SACnD;QACD,KAAK,EAAE,EAAE;KACV;IACD,OAAO,EAAE;QACP,OAAO,EAAE,IAAI;KACd;IACD,SAAS,EAAE;QACT,KAAK,EAAE;YACL,QAAQ,EAAE,2BAAe,CAAC,UAAU;YACpC,UAAU,EAAE,2BAAe,CAAC,YAAY;YAExC,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,oBAAoB,EAAE,OAAO,EAAE,SAAS,EAAE;SACzE;QACD,KAAK,EAAE,CAAC;KACT;IACD,OAAO,EAAE;QACP,KAAK,EAAE;YACL,QAAQ,EAAE,2BAAe,CAAC,UAAU;YACpC,UAAU,EAAE,2BAAe,CAAC,YAAY;YAExC,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,oBAAoB,EAAE,OAAO,EAAE,SAAS,EAAE;SACzE;QACD,KAAK,EAAE,CAAC;KACT;IACD,WAAW,EAAE;QACX,KAAK,EAAE;YACL,QAAQ,EAAE,2BAAe,CAAC,UAAU;YACpC,UAAU,EAAE,2BAAe,CAAC,YAAY;YAExC,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,oBAAoB,EAAE,OAAO,EAAE,SAAS,EAAE;SACzE;QACD,KAAK,EAAE,CAAC;KACT;CACF,CAAC","file":"continuous.js","sourcesContent":["import type { IContinuousLegendTheme } from '../../../../../component/legend';\nimport { THEME_CONSTANTS } from '../../constants';\n\nexport const DEFAULT_CONTINUOUS_LEGEND_THEME: IContinuousLegendTheme = {\n orient: 'right',\n position: 'middle',\n padding: [16, 24],\n title: {\n visible: false,\n padding: 0,\n textStyle: {\n fontSize: THEME_CONSTANTS.l5FontSize,\n lineHeight: THEME_CONSTANTS.l5LineHeight,\n\n fontWeight: 'normal',\n fill: { type: 'palette', key: 'primaryFontColor' }\n },\n space: 12\n },\n handler: {\n visible: true\n },\n startText: {\n style: {\n fontSize: THEME_CONSTANTS.l5FontSize,\n lineHeight: THEME_CONSTANTS.l5LineHeight,\n\n fontWeight: 'normal',\n fill: { type: 'palette', key: 'secondaryFontColor', default: '#89909d' }\n },\n space: 6\n },\n endText: {\n style: {\n fontSize: THEME_CONSTANTS.l5FontSize,\n lineHeight: THEME_CONSTANTS.l5LineHeight,\n\n fontWeight: 'normal',\n fill: { type: 'palette', key: 'secondaryFontColor', default: '#89909d' }\n },\n space: 6\n },\n handlerText: {\n style: {\n fontSize: THEME_CONSTANTS.l5FontSize,\n lineHeight: THEME_CONSTANTS.l5LineHeight,\n\n fontWeight: 'normal',\n fill: { type: 'palette', key: 'secondaryFontColor', default: '#89909d' }\n },\n space: 6\n }\n};\n"]}
@@ -18,7 +18,7 @@ exports.discreteLegend = {
18
18
  lineHeight: constants_1.THEME_CONSTANTS.l5LineHeight,
19
19
  fill: {
20
20
  type: "palette",
21
- key: [ "titleFontColor", "primaryFontColor" ]
21
+ key: "primaryFontColor"
22
22
  },
23
23
  fontWeight: "normal"
24
24
  },
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/theme/builtin/common/component/legend/discrete-legend.ts"],"names":[],"mappings":";;;AACA,+CAAkD;AAErC,QAAA,cAAc,GAAyB;IAClD,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,QAAQ;IAClB,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC;IACjB,KAAK,EAAE;QACL,OAAO,EAAE,KAAK;QACd,OAAO,EAAE,CAAC;QACV,SAAS,EAAE;YACT,QAAQ,EAAE,2BAAe,CAAC,UAAU;YACpC,UAAU,EAAE,2BAAe,CAAC,YAAY;YAExC,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,EAAE;YACtE,UAAU,EAAE,QAAQ;SACrB;QACD,KAAK,EAAE,EAAE;KACV;IACD,IAAI,EAAE;QACJ,OAAO,EAAE,IAAI;QACb,QAAQ,EAAE,EAAE;QACZ,QAAQ,EAAE,CAAC;QACX,OAAO,EAAE,CAAC;QACV,UAAU,EAAE;YACV,KAAK,EAAE;gBACL,aAAa,EAAE;oBACb,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,eAAe,EAAE;iBAChD;gBACD,eAAe,EAAE;oBACf,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,eAAe,EAAE;iBAChD;aACF;SACF;QACD,KAAK,EAAE;YACL,KAAK,EAAE,CAAC;YACR,KAAK,EAAE;gBACL,SAAS,EAAE,CAAC;gBACZ,WAAW,EAAE,CAAC;gBACd,OAAO,EAAE,CAAC;aACX;YACD,KAAK,EAAE;gBACL,UAAU,EAAE;oBACV,WAAW,EAAE,GAAG;oBAChB,OAAO,EAAE,CAAC;iBACX;aACF;SACF;QACD,KAAK,EAAE;YACL,KAAK,EAAE,CAAC;YACR,KAAK,EAAE;gBACL,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,oBAAoB,EAAE,OAAO,EAAE,SAAS,EAAE;gBACxE,QAAQ,EAAE,2BAAe,CAAC,UAAU;gBACpC,UAAU,EAAE,2BAAe,CAAC,YAAY;gBAExC,OAAO,EAAE,CAAC;aACX;YACD,KAAK,EAAE;gBACL,UAAU,EAAE;oBACV,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE;oBAClD,OAAO,EAAE,CAAC;iBACX;aACF;SACF;KACF;IACD,gBAAgB,EAAE,KAAK;CACxB,CAAC","file":"discrete-legend.js","sourcesContent":["import type { IDiscreteLegendTheme } from '../../../../../component/legend';\nimport { THEME_CONSTANTS } from '../../constants';\n\nexport const discreteLegend: IDiscreteLegendTheme = {\n orient: 'bottom',\n position: 'middle',\n padding: [16, 24],\n title: {\n visible: false,\n padding: 0,\n textStyle: {\n fontSize: THEME_CONSTANTS.l5FontSize,\n lineHeight: THEME_CONSTANTS.l5LineHeight,\n\n fill: { type: 'palette', key: ['titleFontColor', 'primaryFontColor'] },\n fontWeight: 'normal'\n },\n space: 12\n },\n item: {\n visible: true,\n spaceCol: 10,\n spaceRow: 6,\n padding: 2,\n background: {\n state: {\n selectedHover: {\n fill: { type: 'palette', key: 'axisGridColor' }\n },\n unSelectedHover: {\n fill: { type: 'palette', key: 'axisGridColor' }\n }\n }\n },\n shape: {\n space: 6,\n style: {\n lineWidth: 0,\n fillOpacity: 1,\n opacity: 1 // 覆盖 vrender-components 里的默认值\n },\n state: {\n unSelected: {\n fillOpacity: 0.2,\n opacity: 1 // 覆盖 vrender-components 里的默认值\n }\n }\n },\n label: {\n space: 6,\n style: {\n fill: { type: 'palette', key: 'secondaryFontColor', default: '#89909d' },\n fontSize: THEME_CONSTANTS.l5FontSize,\n lineHeight: THEME_CONSTANTS.l5LineHeight,\n\n opacity: 1 // 覆盖 vrender-components 里的默认值\n },\n state: {\n unSelected: {\n fill: { type: 'palette', key: 'disableFontColor' },\n opacity: 1 // 覆盖 vrender-components 里的默认值\n }\n }\n }\n },\n allowAllCanceled: false\n};\n"]}
1
+ {"version":3,"sources":["../src/theme/builtin/common/component/legend/discrete-legend.ts"],"names":[],"mappings":";;;AACA,+CAAkD;AAErC,QAAA,cAAc,GAAyB;IAClD,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,QAAQ;IAClB,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC;IACjB,KAAK,EAAE;QACL,OAAO,EAAE,KAAK;QACd,OAAO,EAAE,CAAC;QACV,SAAS,EAAE;YACT,QAAQ,EAAE,2BAAe,CAAC,UAAU;YACpC,UAAU,EAAE,2BAAe,CAAC,YAAY;YAExC,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE;YAClD,UAAU,EAAE,QAAQ;SACrB;QACD,KAAK,EAAE,EAAE;KACV;IACD,IAAI,EAAE;QACJ,OAAO,EAAE,IAAI;QACb,QAAQ,EAAE,EAAE;QACZ,QAAQ,EAAE,CAAC;QACX,OAAO,EAAE,CAAC;QACV,UAAU,EAAE;YACV,KAAK,EAAE;gBACL,aAAa,EAAE;oBACb,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,eAAe,EAAE;iBAChD;gBACD,eAAe,EAAE;oBACf,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,eAAe,EAAE;iBAChD;aACF;SACF;QACD,KAAK,EAAE;YACL,KAAK,EAAE,CAAC;YACR,KAAK,EAAE;gBACL,SAAS,EAAE,CAAC;gBACZ,WAAW,EAAE,CAAC;gBACd,OAAO,EAAE,CAAC;aACX;YACD,KAAK,EAAE;gBACL,UAAU,EAAE;oBACV,WAAW,EAAE,GAAG;oBAChB,OAAO,EAAE,CAAC;iBACX;aACF;SACF;QACD,KAAK,EAAE;YACL,KAAK,EAAE,CAAC;YACR,KAAK,EAAE;gBACL,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,oBAAoB,EAAE,OAAO,EAAE,SAAS,EAAE;gBACxE,QAAQ,EAAE,2BAAe,CAAC,UAAU;gBACpC,UAAU,EAAE,2BAAe,CAAC,YAAY;gBAExC,OAAO,EAAE,CAAC;aACX;YACD,KAAK,EAAE;gBACL,UAAU,EAAE;oBACV,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE;oBAClD,OAAO,EAAE,CAAC;iBACX;aACF;SACF;KACF;IACD,gBAAgB,EAAE,KAAK;CACxB,CAAC","file":"discrete-legend.js","sourcesContent":["import type { IDiscreteLegendTheme } from '../../../../../component/legend';\nimport { THEME_CONSTANTS } from '../../constants';\n\nexport const discreteLegend: IDiscreteLegendTheme = {\n orient: 'bottom',\n position: 'middle',\n padding: [16, 24],\n title: {\n visible: false,\n padding: 0,\n textStyle: {\n fontSize: THEME_CONSTANTS.l5FontSize,\n lineHeight: THEME_CONSTANTS.l5LineHeight,\n\n fill: { type: 'palette', key: 'primaryFontColor' },\n fontWeight: 'normal'\n },\n space: 12\n },\n item: {\n visible: true,\n spaceCol: 10,\n spaceRow: 6,\n padding: 2,\n background: {\n state: {\n selectedHover: {\n fill: { type: 'palette', key: 'axisGridColor' }\n },\n unSelectedHover: {\n fill: { type: 'palette', key: 'axisGridColor' }\n }\n }\n },\n shape: {\n space: 6,\n style: {\n lineWidth: 0,\n fillOpacity: 1,\n opacity: 1 // 覆盖 vrender-components 里的默认值\n },\n state: {\n unSelected: {\n fillOpacity: 0.2,\n opacity: 1 // 覆盖 vrender-components 里的默认值\n }\n }\n },\n label: {\n space: 6,\n style: {\n fill: { type: 'palette', key: 'secondaryFontColor', default: '#89909d' },\n fontSize: THEME_CONSTANTS.l5FontSize,\n lineHeight: THEME_CONSTANTS.l5LineHeight,\n\n opacity: 1 // 覆盖 vrender-components 里的默认值\n },\n state: {\n unSelected: {\n fill: { type: 'palette', key: 'disableFontColor' },\n opacity: 1 // 覆盖 vrender-components 里的默认值\n }\n }\n }\n },\n allowAllCanceled: false\n};\n"]}
@@ -9,7 +9,11 @@ const constants_1 = require("../constants");
9
9
  exports.markArea = {
10
10
  area: {
11
11
  style: {
12
- fill: "rgba(46, 47, 50, 0.1)"
12
+ fill: {
13
+ type: "palette",
14
+ key: "axisDomainColor",
15
+ a: .25
16
+ }
13
17
  }
14
18
  },
15
19
  label: {
@@ -19,13 +23,8 @@ exports.markArea = {
19
23
  fontStyle: "normal",
20
24
  fill: {
21
25
  type: "palette",
22
- key: "labelReverseFontColor"
23
- },
24
- stroke: {
25
- type: "palette",
26
- key: "labelReverseFontColor"
27
- },
28
- lineWidth: 0
26
+ key: "primaryFontColor"
27
+ }
29
28
  },
30
29
  labelBackground: {
31
30
  padding: {
@@ -35,8 +34,11 @@ exports.markArea = {
35
34
  left: 4
36
35
  },
37
36
  style: {
38
- cornerRadius: 0,
39
- fill: "#F68484"
37
+ cornerRadius: 3,
38
+ fill: {
39
+ type: "palette",
40
+ key: "markLabelBackgroundColor"
41
+ }
40
42
  }
41
43
  }
42
44
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/theme/builtin/common/component/mark-area.ts"],"names":[],"mappings":";;;AACA,4CAA+C;AAElC,QAAA,QAAQ,GAAmB;IACtC,IAAI,EAAE;QACJ,KAAK,EAAE;YACL,IAAI,EAAE,uBAAuB;SAC9B;KACF;IACD,KAAK,EAAE;QACL,KAAK,EAAE;YACL,QAAQ,EAAE,2BAAe,CAAC,UAAU;YAGpC,UAAU,EAAE,QAAQ;YACpB,SAAS,EAAE,QAAQ;YACnB,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,uBAAuB,EAAE;YACvD,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,uBAAuB,EAAE;YACzD,SAAS,EAAE,CAAC;SACb;QACD,eAAe,EAAE;YACf,OAAO,EAAE;gBACP,GAAG,EAAE,CAAC;gBACN,MAAM,EAAE,CAAC;gBACT,KAAK,EAAE,CAAC;gBACR,IAAI,EAAE,CAAC;aACR;YACD,KAAK,EAAE;gBACL,YAAY,EAAE,CAAC;gBACf,IAAI,EAAE,SAAS;aAChB;SACF;KACF;CACF,CAAC","file":"mark-area.js","sourcesContent":["import type { IMarkAreaTheme } from '../../../../component/marker/mark-area/interface';\nimport { THEME_CONSTANTS } from '../constants';\n\nexport const markArea: IMarkAreaTheme = {\n area: {\n style: {\n fill: 'rgba(46, 47, 50, 0.1)'\n }\n },\n label: {\n style: {\n fontSize: THEME_CONSTANTS.l4FontSize,\n // lineHeight: THEME_CONSTANTS.l4LineHeight,\n\n fontWeight: 'normal',\n fontStyle: 'normal',\n fill: { type: 'palette', key: 'labelReverseFontColor' },\n stroke: { type: 'palette', key: 'labelReverseFontColor' },\n lineWidth: 0\n },\n labelBackground: {\n padding: {\n top: 2,\n bottom: 2,\n right: 4,\n left: 4\n },\n style: {\n cornerRadius: 0,\n fill: '#F68484'\n }\n }\n }\n};\n"]}
1
+ {"version":3,"sources":["../src/theme/builtin/common/component/mark-area.ts"],"names":[],"mappings":";;;AACA,4CAA+C;AAElC,QAAA,QAAQ,GAAmB;IACtC,IAAI,EAAE;QACJ,KAAK,EAAE;YACL,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,iBAAiB,EAAE,CAAC,EAAE,IAAI,EAAE;SAC3D;KACF;IACD,KAAK,EAAE;QACL,KAAK,EAAE;YACL,QAAQ,EAAE,2BAAe,CAAC,UAAU;YAGpC,UAAU,EAAE,QAAQ;YACpB,SAAS,EAAE,QAAQ;YACnB,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE;SACnD;QACD,eAAe,EAAE;YACf,OAAO,EAAE;gBACP,GAAG,EAAE,CAAC;gBACN,MAAM,EAAE,CAAC;gBACT,KAAK,EAAE,CAAC;gBACR,IAAI,EAAE,CAAC;aACR;YACD,KAAK,EAAE;gBACL,YAAY,EAAE,CAAC;gBACf,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,0BAA0B,EAAE;aAC3D;SACF;KACF;CACF,CAAC","file":"mark-area.js","sourcesContent":["import type { IMarkAreaTheme } from '../../../../component/marker/mark-area/interface';\nimport { THEME_CONSTANTS } from '../constants';\n\nexport const markArea: IMarkAreaTheme = {\n area: {\n style: {\n fill: { type: 'palette', key: 'axisDomainColor', a: 0.25 }\n }\n },\n label: {\n style: {\n fontSize: THEME_CONSTANTS.l4FontSize,\n // lineHeight: THEME_CONSTANTS.l4LineHeight,\n\n fontWeight: 'normal',\n fontStyle: 'normal',\n fill: { type: 'palette', key: 'primaryFontColor' }\n },\n labelBackground: {\n padding: {\n top: 2,\n bottom: 2,\n right: 4,\n left: 4\n },\n style: {\n cornerRadius: 3,\n fill: { type: 'palette', key: 'markLabelBackgroundColor' }\n }\n }\n }\n};\n"]}
@@ -10,7 +10,10 @@ exports.markLine = {
10
10
  line: {
11
11
  style: {
12
12
  lineDash: [ 3, 3 ],
13
- stroke: "rgba(46, 47, 50)"
13
+ stroke: {
14
+ type: "palette",
15
+ key: "primaryFontColor"
16
+ }
14
17
  }
15
18
  },
16
19
  startSymbol: {
@@ -20,7 +23,10 @@ exports.markLine = {
20
23
  style: {
21
24
  stroke: null,
22
25
  lineWidth: 0,
23
- fill: "rgba(46, 47, 50)"
26
+ fill: {
27
+ type: "palette",
28
+ key: "primaryFontColor"
29
+ }
24
30
  }
25
31
  },
26
32
  endSymbol: {
@@ -30,7 +36,10 @@ exports.markLine = {
30
36
  style: {
31
37
  stroke: null,
32
38
  lineWidth: 0,
33
- fill: "rgba(46, 47, 50)"
39
+ fill: {
40
+ type: "palette",
41
+ key: "primaryFontColor"
42
+ }
34
43
  }
35
44
  },
36
45
  label: {
@@ -41,13 +50,8 @@ exports.markLine = {
41
50
  fontStyle: "normal",
42
51
  fill: {
43
52
  type: "palette",
44
- key: "labelReverseFontColor"
45
- },
46
- stroke: {
47
- type: "palette",
48
- key: "labelReverseFontColor"
49
- },
50
- lineWidth: 0
53
+ key: "primaryFontColor"
54
+ }
51
55
  },
52
56
  labelBackground: {
53
57
  padding: {
@@ -57,8 +61,11 @@ exports.markLine = {
57
61
  left: 4
58
62
  },
59
63
  style: {
60
- cornerRadius: 0,
61
- fill: "rgb(48, 115, 242)"
64
+ cornerRadius: 3,
65
+ fill: {
66
+ type: "palette",
67
+ key: "markLabelBackgroundColor"
68
+ }
62
69
  }
63
70
  }
64
71
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/theme/builtin/common/component/mark-line.ts"],"names":[],"mappings":";;;AACA,4CAA+C;AAElC,QAAA,QAAQ,GAAmB;IACtC,IAAI,EAAE;QACJ,KAAK,EAAE;YACL,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;YAChB,MAAM,EAAE,kBAAkB;SAC3B;KACF;IACD,WAAW,EAAE;QACX,OAAO,EAAE,KAAK;QACd,UAAU,EAAE,UAAU;QACtB,IAAI,EAAE,EAAE;QACR,KAAK,EAAE;YACL,MAAM,EAAE,IAAI;YACZ,SAAS,EAAE,CAAC;YACZ,IAAI,EAAE,kBAAkB;SACzB;KACF;IACD,SAAS,EAAE;QACT,OAAO,EAAE,IAAI;QACb,UAAU,EAAE,UAAU;QACtB,IAAI,EAAE,EAAE;QACR,KAAK,EAAE;YACL,MAAM,EAAE,IAAI;YACZ,SAAS,EAAE,CAAC;YACZ,IAAI,EAAE,kBAAkB;SACzB;KACF;IACD,KAAK,EAAE;QACL,IAAI,EAAE,CAAC;QACP,KAAK,EAAE;YACL,QAAQ,EAAE,2BAAe,CAAC,UAAU;YAGpC,UAAU,EAAE,QAAQ;YACpB,SAAS,EAAE,QAAQ;YACnB,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,uBAAuB,EAAE;YACvD,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,uBAAuB,EAAE;YACzD,SAAS,EAAE,CAAC;SACb;QACD,eAAe,EAAE;YACf,OAAO,EAAE;gBACP,GAAG,EAAE,CAAC;gBACN,MAAM,EAAE,CAAC;gBACT,KAAK,EAAE,CAAC;gBACR,IAAI,EAAE,CAAC;aACR;YACD,KAAK,EAAE;gBACL,YAAY,EAAE,CAAC;gBACf,IAAI,EAAE,mBAAmB;aAC1B;SACF;KACF;CACF,CAAC","file":"mark-line.js","sourcesContent":["import type { IMarkLineTheme } from '../../../../component/marker/mark-line/interface';\nimport { THEME_CONSTANTS } from '../constants';\n\nexport const markLine: IMarkLineTheme = {\n line: {\n style: {\n lineDash: [3, 3],\n stroke: 'rgba(46, 47, 50)'\n }\n },\n startSymbol: {\n visible: false,\n symbolType: 'triangle',\n size: 10,\n style: {\n stroke: null,\n lineWidth: 0,\n fill: 'rgba(46, 47, 50)'\n }\n },\n endSymbol: {\n visible: true,\n symbolType: 'triangle',\n size: 10,\n style: {\n stroke: null,\n lineWidth: 0,\n fill: 'rgba(46, 47, 50)'\n }\n },\n label: {\n refY: 5,\n style: {\n fontSize: THEME_CONSTANTS.l4FontSize,\n // lineHeight: THEME_CONSTANTS.l4LineHeight,\n\n fontWeight: 'normal',\n fontStyle: 'normal',\n fill: { type: 'palette', key: 'labelReverseFontColor' },\n stroke: { type: 'palette', key: 'labelReverseFontColor' },\n lineWidth: 0\n },\n labelBackground: {\n padding: {\n top: 2,\n bottom: 2,\n right: 4,\n left: 4\n },\n style: {\n cornerRadius: 0,\n fill: 'rgb(48, 115, 242)'\n }\n }\n }\n};\n"]}
1
+ {"version":3,"sources":["../src/theme/builtin/common/component/mark-line.ts"],"names":[],"mappings":";;;AACA,4CAA+C;AAElC,QAAA,QAAQ,GAAmB;IACtC,IAAI,EAAE;QACJ,KAAK,EAAE;YACL,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;YAChB,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE;SACrD;KACF;IACD,WAAW,EAAE;QACX,OAAO,EAAE,KAAK;QACd,UAAU,EAAE,UAAU;QACtB,IAAI,EAAE,EAAE;QACR,KAAK,EAAE;YACL,MAAM,EAAE,IAAI;YACZ,SAAS,EAAE,CAAC;YACZ,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE;SACnD;KACF;IACD,SAAS,EAAE;QACT,OAAO,EAAE,IAAI;QACb,UAAU,EAAE,UAAU;QACtB,IAAI,EAAE,EAAE;QACR,KAAK,EAAE;YACL,MAAM,EAAE,IAAI;YACZ,SAAS,EAAE,CAAC;YACZ,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE;SACnD;KACF;IACD,KAAK,EAAE;QACL,IAAI,EAAE,CAAC;QACP,KAAK,EAAE;YACL,QAAQ,EAAE,2BAAe,CAAC,UAAU;YAEpC,UAAU,EAAE,QAAQ;YACpB,SAAS,EAAE,QAAQ;YACnB,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE;SACnD;QACD,eAAe,EAAE;YACf,OAAO,EAAE;gBACP,GAAG,EAAE,CAAC;gBACN,MAAM,EAAE,CAAC;gBACT,KAAK,EAAE,CAAC;gBACR,IAAI,EAAE,CAAC;aACR;YACD,KAAK,EAAE;gBACL,YAAY,EAAE,CAAC;gBACf,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,0BAA0B,EAAE;aAC3D;SACF;KACF;CACF,CAAC","file":"mark-line.js","sourcesContent":["import type { IMarkLineTheme } from '../../../../component/marker/mark-line/interface';\nimport { THEME_CONSTANTS } from '../constants';\n\nexport const markLine: IMarkLineTheme = {\n line: {\n style: {\n lineDash: [3, 3],\n stroke: { type: 'palette', key: 'primaryFontColor' }\n }\n },\n startSymbol: {\n visible: false,\n symbolType: 'triangle',\n size: 10,\n style: {\n stroke: null,\n lineWidth: 0,\n fill: { type: 'palette', key: 'primaryFontColor' }\n }\n },\n endSymbol: {\n visible: true,\n symbolType: 'triangle',\n size: 10,\n style: {\n stroke: null,\n lineWidth: 0,\n fill: { type: 'palette', key: 'primaryFontColor' }\n }\n },\n label: {\n refY: 5,\n style: {\n fontSize: THEME_CONSTANTS.l4FontSize,\n // lineHeight: THEME_CONSTANTS.l4LineHeight,\n fontWeight: 'normal',\n fontStyle: 'normal',\n fill: { type: 'palette', key: 'primaryFontColor' }\n },\n labelBackground: {\n padding: {\n top: 2,\n bottom: 2,\n right: 4,\n left: 4\n },\n style: {\n cornerRadius: 3,\n fill: { type: 'palette', key: 'markLabelBackgroundColor' }\n }\n }\n }\n};\n"]}
@@ -11,12 +11,18 @@ Object.defineProperty(exports, "__esModule", {
11
11
  size: 5,
12
12
  visible: !0,
13
13
  style: {
14
- fill: "#eee"
14
+ fill: {
15
+ type: "palette",
16
+ key: "primaryFontColor"
17
+ }
15
18
  }
16
19
  },
17
20
  line: {
18
21
  style: {
19
- stroke: "#eee"
22
+ stroke: {
23
+ type: "palette",
24
+ key: "primaryFontColor"
25
+ }
20
26
  }
21
27
  }
22
28
  },
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/theme/builtin/common/component/mark-point.ts"],"names":[],"mappings":";;;AAEa,QAAA,SAAS,GAAoB;IACxC,QAAQ,EAAE;QACR,cAAc,EAAE;YACd,OAAO,EAAE,KAAK;SACf;QACD,WAAW,EAAE;YACX,IAAI,EAAE,CAAC;YACP,OAAO,EAAE,IAAI;YACb,KAAK,EAAE;gBACL,IAAI,EAAE,MAAM;aACb;SACF;QACD,IAAI,EAAE;YACJ,KAAK,EAAE;gBACL,MAAM,EAAE,MAAM;aACf;SACF;KACF;IACD,WAAW,EAAE;QACX,OAAO,EAAE,CAAC,EAAE;KACb;CACF,CAAC","file":"mark-point.js","sourcesContent":["import type { IMarkPointTheme } from '../../../../component/marker/mark-point/interface';\n\nexport const markPoint: IMarkPointTheme = {\n itemLine: {\n decorativeLine: {\n visible: false\n },\n startSymbol: {\n size: 5,\n visible: true,\n style: {\n fill: '#eee'\n }\n },\n line: {\n style: {\n stroke: '#eee'\n }\n }\n },\n itemContent: {\n offsetY: -50\n }\n};\n"]}
1
+ {"version":3,"sources":["../src/theme/builtin/common/component/mark-point.ts"],"names":[],"mappings":";;;AAEa,QAAA,SAAS,GAAoB;IACxC,QAAQ,EAAE;QACR,cAAc,EAAE;YACd,OAAO,EAAE,KAAK;SACf;QACD,WAAW,EAAE;YACX,IAAI,EAAE,CAAC;YACP,OAAO,EAAE,IAAI;YACb,KAAK,EAAE;gBACL,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE;aACnD;SACF;QACD,IAAI,EAAE;YACJ,KAAK,EAAE;gBACL,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE;aACrD;SACF;KACF;IACD,WAAW,EAAE;QACX,OAAO,EAAE,CAAC,EAAE;KACb;CACF,CAAC","file":"mark-point.js","sourcesContent":["import type { IMarkPointTheme } from '../../../../component/marker/mark-point/interface';\n\nexport const markPoint: IMarkPointTheme = {\n itemLine: {\n decorativeLine: {\n visible: false\n },\n startSymbol: {\n size: 5,\n visible: true,\n style: {\n fill: { type: 'palette', key: 'primaryFontColor' }\n }\n },\n line: {\n style: {\n stroke: { type: 'palette', key: 'primaryFontColor' }\n }\n }\n },\n itemContent: {\n offsetY: -50\n }\n};\n"]}
@@ -15,7 +15,7 @@ exports.poptip = {
15
15
  fontWeight: "bold",
16
16
  fill: {
17
17
  type: "palette",
18
- key: [ "titleFontColor", "primaryFontColor" ]
18
+ key: "primaryFontColor"
19
19
  }
20
20
  },
21
21
  contentStyle: {
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/theme/builtin/common/component/poptip.ts"],"names":[],"mappings":";;;AACA,4CAA+C;AAElC,QAAA,MAAM,GAAiB;IAClC,OAAO,EAAE,IAAI;IACb,QAAQ,EAAE,MAAM;IAChB,OAAO,EAAE,CAAC;IACV,UAAU,EAAE;QACV,QAAQ,EAAE,2BAAe,CAAC,UAAU;QAGpC,UAAU,EAAE,MAAM;QAClB,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,EAAE;KACvE;IACD,YAAY,EAAE;QACZ,QAAQ,EAAE,2BAAe,CAAC,UAAU;QAGpC,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,oBAAoB,EAAE;KACrD;IACD,KAAK,EAAE;QACL,OAAO,EAAE,IAAI;QACb,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,wBAAwB,EAAE;QACxD,YAAY,EAAE,CAAC;QACf,SAAS,EAAE,CAAC;QACZ,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,CAAC;QAChB,aAAa,EAAE,CAAC;QAChB,WAAW,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,aAAa,EAAE,CAAC,EAAE,GAAG,EAAE;QAC5D,IAAI,EAAE,CAAC;QACP,KAAK,EAAE,EAAE;KACV;CACF,CAAC","file":"poptip.js","sourcesContent":["import type { IPoptipTheme } from '../../../../component/poptip/interface';\nimport { THEME_CONSTANTS } from '../constants';\n\nexport const poptip: IPoptipTheme = {\n visible: true,\n position: 'auto',\n padding: 8,\n titleStyle: {\n fontSize: THEME_CONSTANTS.l5FontSize,\n // lineHeight: THEME_CONSTANTS.l5LineHeight, // FIXME: vrender 支持行高字符串后取消注释\n\n fontWeight: 'bold',\n fill: { type: 'palette', key: ['titleFontColor', 'primaryFontColor'] }\n },\n contentStyle: {\n fontSize: THEME_CONSTANTS.l5FontSize,\n // lineHeight: THEME_CONSTANTS.l5LineHeight, // FIXME: vrender 支持行高字符串后取消注释\n\n fill: { type: 'palette', key: 'secondaryFontColor' }\n },\n panel: {\n visible: true,\n fill: { type: 'palette', key: 'tooltipBackgroundColor' },\n cornerRadius: 3,\n lineWidth: 0,\n shadowBlur: 12,\n shadowOffsetX: 0,\n shadowOffsetY: 4,\n shadowColor: { type: 'palette', key: 'shadowColor', a: 0.1 },\n size: 0,\n space: 12\n }\n};\n"]}
1
+ {"version":3,"sources":["../src/theme/builtin/common/component/poptip.ts"],"names":[],"mappings":";;;AACA,4CAA+C;AAElC,QAAA,MAAM,GAAiB;IAClC,OAAO,EAAE,IAAI;IACb,QAAQ,EAAE,MAAM;IAChB,OAAO,EAAE,CAAC;IACV,UAAU,EAAE;QACV,QAAQ,EAAE,2BAAe,CAAC,UAAU;QAGpC,UAAU,EAAE,MAAM;QAClB,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE;KACnD;IACD,YAAY,EAAE;QACZ,QAAQ,EAAE,2BAAe,CAAC,UAAU;QAGpC,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,oBAAoB,EAAE;KACrD;IACD,KAAK,EAAE;QACL,OAAO,EAAE,IAAI;QACb,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,wBAAwB,EAAE;QACxD,YAAY,EAAE,CAAC;QACf,SAAS,EAAE,CAAC;QACZ,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,CAAC;QAChB,aAAa,EAAE,CAAC;QAChB,WAAW,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,aAAa,EAAE,CAAC,EAAE,GAAG,EAAE;QAC5D,IAAI,EAAE,CAAC;QACP,KAAK,EAAE,EAAE;KACV;CACF,CAAC","file":"poptip.js","sourcesContent":["import type { IPoptipTheme } from '../../../../component/poptip/interface';\nimport { THEME_CONSTANTS } from '../constants';\n\nexport const poptip: IPoptipTheme = {\n visible: true,\n position: 'auto',\n padding: 8,\n titleStyle: {\n fontSize: THEME_CONSTANTS.l5FontSize,\n // lineHeight: THEME_CONSTANTS.l5LineHeight, // FIXME: vrender 支持行高字符串后取消注释\n\n fontWeight: 'bold',\n fill: { type: 'palette', key: 'primaryFontColor' }\n },\n contentStyle: {\n fontSize: THEME_CONSTANTS.l5FontSize,\n // lineHeight: THEME_CONSTANTS.l5LineHeight, // FIXME: vrender 支持行高字符串后取消注释\n\n fill: { type: 'palette', key: 'secondaryFontColor' }\n },\n panel: {\n visible: true,\n fill: { type: 'palette', key: 'tooltipBackgroundColor' },\n cornerRadius: 3,\n lineWidth: 0,\n shadowBlur: 12,\n shadowOffsetX: 0,\n shadowOffsetY: 4,\n shadowColor: { type: 'palette', key: 'shadowColor', a: 0.1 },\n size: 0,\n space: 12\n }\n};\n"]}
@@ -16,7 +16,7 @@ exports.title = {
16
16
  lineHeight: constants_1.THEME_CONSTANTS.l3LineHeight,
17
17
  fill: {
18
18
  type: "palette",
19
- key: [ "titleFontColor", "primaryFontColor" ]
19
+ key: "primaryFontColor"
20
20
  }
21
21
  },
22
22
  subtextStyle: {
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/theme/builtin/common/component/title.ts"],"names":[],"mappings":";;;AACA,4CAA+C;AAElC,QAAA,KAAK,GAAgB;IAChC,OAAO,EAAE;QACP,GAAG,EAAE,CAAC;QACN,MAAM,EAAE,EAAE;KACX;IACD,SAAS,EAAE;QACT,QAAQ,EAAE,2BAAe,CAAC,UAAU;QACpC,UAAU,EAAE,2BAAe,CAAC,YAAmB;QAE/C,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,EAAE;KACvE;IACD,YAAY,EAAE;QACZ,QAAQ,EAAE,2BAAe,CAAC,UAAU;QACpC,UAAU,EAAE,2BAAe,CAAC,YAAmB;QAE/C,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,oBAAoB,EAAE;KACrD;CACF,CAAC","file":"title.js","sourcesContent":["import type { ITitleTheme } from '../../../../component/title/interface';\nimport { THEME_CONSTANTS } from '../constants';\n\nexport const title: ITitleTheme = {\n padding: {\n top: 4,\n bottom: 20\n },\n textStyle: {\n fontSize: THEME_CONSTANTS.l3FontSize,\n lineHeight: THEME_CONSTANTS.l3LineHeight as any, // FIXME: vrender 支持行高字符串后删除 any\n\n fill: { type: 'palette', key: ['titleFontColor', 'primaryFontColor'] }\n },\n subtextStyle: {\n fontSize: THEME_CONSTANTS.l4FontSize,\n lineHeight: THEME_CONSTANTS.l4LineHeight as any, // FIXME: vrender 支持行高字符串后删除 any\n\n fill: { type: 'palette', key: 'secondaryFontColor' }\n }\n};\n"]}
1
+ {"version":3,"sources":["../src/theme/builtin/common/component/title.ts"],"names":[],"mappings":";;;AACA,4CAA+C;AAElC,QAAA,KAAK,GAAgB;IAChC,OAAO,EAAE;QACP,GAAG,EAAE,CAAC;QACN,MAAM,EAAE,EAAE;KACX;IACD,SAAS,EAAE;QACT,QAAQ,EAAE,2BAAe,CAAC,UAAU;QACpC,UAAU,EAAE,2BAAe,CAAC,YAAmB;QAE/C,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE;KACnD;IACD,YAAY,EAAE;QACZ,QAAQ,EAAE,2BAAe,CAAC,UAAU;QACpC,UAAU,EAAE,2BAAe,CAAC,YAAmB;QAE/C,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,oBAAoB,EAAE;KACrD;CACF,CAAC","file":"title.js","sourcesContent":["import type { ITitleTheme } from '../../../../component/title/interface';\nimport { THEME_CONSTANTS } from '../constants';\n\nexport const title: ITitleTheme = {\n padding: {\n top: 4,\n bottom: 20\n },\n textStyle: {\n fontSize: THEME_CONSTANTS.l3FontSize,\n lineHeight: THEME_CONSTANTS.l3LineHeight as any, // FIXME: vrender 支持行高字符串后删除 any\n\n fill: { type: 'palette', key: 'primaryFontColor' }\n },\n subtextStyle: {\n fontSize: THEME_CONSTANTS.l4FontSize,\n lineHeight: THEME_CONSTANTS.l4LineHeight as any, // FIXME: vrender 支持行高字符串后删除 any\n\n fill: { type: 'palette', key: 'secondaryFontColor' }\n }\n};\n"]}
@@ -48,7 +48,7 @@ exports.tooltip = {
48
48
  lineHeight: constants_1.THEME_CONSTANTS.l4LineHeight,
49
49
  fontColor: {
50
50
  type: "palette",
51
- key: [ "titleFontColor", "primaryFontColor" ]
51
+ key: "primaryFontColor"
52
52
  },
53
53
  fontWeight: "bold",
54
54
  textAlign: "left",
@@ -75,7 +75,7 @@ exports.tooltip = {
75
75
  lineHeight: constants_1.THEME_CONSTANTS.l4LineHeight,
76
76
  fontColor: {
77
77
  type: "palette",
78
- key: [ "titleFontColor", "primaryFontColor" ]
78
+ key: "primaryFontColor"
79
79
  },
80
80
  fontWeight: "bold",
81
81
  textBaseline: "middle",
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/theme/builtin/common/component/tooltip.ts"],"names":[],"mappings":";;;AACA,4CAA+C;AAElC,QAAA,OAAO,GAAkB;IACpC,MAAM,EAAE;QACN,CAAC,EAAE,EAAE;QACL,CAAC,EAAE,EAAE;KACN;IACD,KAAK,EAAE;QACL,OAAO,EAAE;YACP,GAAG,EAAE,EAAE;YACP,IAAI,EAAE,EAAE;YACR,KAAK,EAAE,EAAE;YACT,MAAM,EAAE,EAAE;SACX;QACD,eAAe,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,wBAAwB,EAAE;QACnE,MAAM,EAAE;YACN,KAAK,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,wBAAwB,EAAE;YACzD,KAAK,EAAE,CAAC;YACR,MAAM,EAAE,CAAC;SACV;QACD,MAAM,EAAE;YACN,CAAC,EAAE,CAAC;YACJ,CAAC,EAAE,CAAC;YACJ,IAAI,EAAE,EAAE;YACR,MAAM,EAAE,CAAC;YACT,KAAK,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,aAAa,EAAE,CAAC,EAAE,GAAG,EAAE;SACvD;KACF;IACD,QAAQ,EAAE,CAAC;IACX,UAAU,EAAE;QACV,QAAQ,EAAE,2BAAe,CAAC,UAAU;QACpC,UAAU,EAAE,2BAAe,CAAC,YAAY;QAExC,SAAS,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,EAAE;QAC3E,UAAU,EAAE,MAAM;QAClB,SAAS,EAAE,MAAM;QACjB,YAAY,EAAE,QAAQ;QACtB,OAAO,EAAE,CAAC;KACX;IACD,KAAK,EAAE;QACL,IAAI,EAAE,CAAC;QACP,OAAO,EAAE,CAAC;KACX;IACD,QAAQ,EAAE;QACR,QAAQ,EAAE,2BAAe,CAAC,UAAU;QACpC,UAAU,EAAE,2BAAe,CAAC,YAAY;QAExC,SAAS,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,oBAAoB,EAAE;QACzD,SAAS,EAAE,MAAM;QACjB,YAAY,EAAE,QAAQ;QACtB,OAAO,EAAE,EAAE;KACZ;IACD,UAAU,EAAE;QACV,QAAQ,EAAE,2BAAe,CAAC,UAAU;QACpC,UAAU,EAAE,2BAAe,CAAC,YAAY;QAExC,SAAS,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,EAAE;QAC3E,UAAU,EAAE,MAAM;QAClB,YAAY,EAAE,QAAQ;QACtB,OAAO,EAAE,CAAC;KACX;CACF,CAAC","file":"tooltip.js","sourcesContent":["import type { ITooltipTheme } from '../../../../component/tooltip/interface';\nimport { THEME_CONSTANTS } from '../constants';\n\nexport const tooltip: ITooltipTheme = {\n offset: {\n x: 10,\n y: 10\n },\n panel: {\n padding: {\n top: 10,\n left: 10,\n right: 10,\n bottom: 10\n },\n backgroundColor: { type: 'palette', key: 'tooltipBackgroundColor' },\n border: {\n color: { type: 'palette', key: 'tooltipBackgroundColor' },\n width: 0,\n radius: 3\n },\n shadow: {\n x: 0,\n y: 4,\n blur: 12,\n spread: 0,\n color: { type: 'palette', key: 'shadowColor', a: 0.1 }\n }\n },\n spaceRow: 6,\n titleLabel: {\n fontSize: THEME_CONSTANTS.l4FontSize,\n lineHeight: THEME_CONSTANTS.l4LineHeight,\n\n fontColor: { type: 'palette', key: ['titleFontColor', 'primaryFontColor'] },\n fontWeight: 'bold',\n textAlign: 'left',\n textBaseline: 'middle',\n spacing: 0\n },\n shape: {\n size: 8,\n spacing: 6\n },\n keyLabel: {\n fontSize: THEME_CONSTANTS.l4FontSize,\n lineHeight: THEME_CONSTANTS.l4LineHeight,\n\n fontColor: { type: 'palette', key: 'secondaryFontColor' },\n textAlign: 'left',\n textBaseline: 'middle',\n spacing: 26\n },\n valueLabel: {\n fontSize: THEME_CONSTANTS.l4FontSize,\n lineHeight: THEME_CONSTANTS.l4LineHeight,\n\n fontColor: { type: 'palette', key: ['titleFontColor', 'primaryFontColor'] },\n fontWeight: 'bold',\n textBaseline: 'middle',\n spacing: 0\n }\n};\n"]}
1
+ {"version":3,"sources":["../src/theme/builtin/common/component/tooltip.ts"],"names":[],"mappings":";;;AACA,4CAA+C;AAElC,QAAA,OAAO,GAAkB;IACpC,MAAM,EAAE;QACN,CAAC,EAAE,EAAE;QACL,CAAC,EAAE,EAAE;KACN;IACD,KAAK,EAAE;QACL,OAAO,EAAE;YACP,GAAG,EAAE,EAAE;YACP,IAAI,EAAE,EAAE;YACR,KAAK,EAAE,EAAE;YACT,MAAM,EAAE,EAAE;SACX;QACD,eAAe,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,wBAAwB,EAAE;QACnE,MAAM,EAAE;YACN,KAAK,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,wBAAwB,EAAE;YACzD,KAAK,EAAE,CAAC;YACR,MAAM,EAAE,CAAC;SACV;QACD,MAAM,EAAE;YACN,CAAC,EAAE,CAAC;YACJ,CAAC,EAAE,CAAC;YACJ,IAAI,EAAE,EAAE;YACR,MAAM,EAAE,CAAC;YACT,KAAK,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,aAAa,EAAE,CAAC,EAAE,GAAG,EAAE;SACvD;KACF;IACD,QAAQ,EAAE,CAAC;IACX,UAAU,EAAE;QACV,QAAQ,EAAE,2BAAe,CAAC,UAAU;QACpC,UAAU,EAAE,2BAAe,CAAC,YAAY;QAExC,SAAS,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE;QACvD,UAAU,EAAE,MAAM;QAClB,SAAS,EAAE,MAAM;QACjB,YAAY,EAAE,QAAQ;QACtB,OAAO,EAAE,CAAC;KACX;IACD,KAAK,EAAE;QACL,IAAI,EAAE,CAAC;QACP,OAAO,EAAE,CAAC;KACX;IACD,QAAQ,EAAE;QACR,QAAQ,EAAE,2BAAe,CAAC,UAAU;QACpC,UAAU,EAAE,2BAAe,CAAC,YAAY;QAExC,SAAS,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,oBAAoB,EAAE;QACzD,SAAS,EAAE,MAAM;QACjB,YAAY,EAAE,QAAQ;QACtB,OAAO,EAAE,EAAE;KACZ;IACD,UAAU,EAAE;QACV,QAAQ,EAAE,2BAAe,CAAC,UAAU;QACpC,UAAU,EAAE,2BAAe,CAAC,YAAY;QAExC,SAAS,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE;QACvD,UAAU,EAAE,MAAM;QAClB,YAAY,EAAE,QAAQ;QACtB,OAAO,EAAE,CAAC;KACX;CACF,CAAC","file":"tooltip.js","sourcesContent":["import type { ITooltipTheme } from '../../../../component/tooltip/interface';\nimport { THEME_CONSTANTS } from '../constants';\n\nexport const tooltip: ITooltipTheme = {\n offset: {\n x: 10,\n y: 10\n },\n panel: {\n padding: {\n top: 10,\n left: 10,\n right: 10,\n bottom: 10\n },\n backgroundColor: { type: 'palette', key: 'tooltipBackgroundColor' },\n border: {\n color: { type: 'palette', key: 'tooltipBackgroundColor' },\n width: 0,\n radius: 3\n },\n shadow: {\n x: 0,\n y: 4,\n blur: 12,\n spread: 0,\n color: { type: 'palette', key: 'shadowColor', a: 0.1 }\n }\n },\n spaceRow: 6,\n titleLabel: {\n fontSize: THEME_CONSTANTS.l4FontSize,\n lineHeight: THEME_CONSTANTS.l4LineHeight,\n\n fontColor: { type: 'palette', key: 'primaryFontColor' },\n fontWeight: 'bold',\n textAlign: 'left',\n textBaseline: 'middle',\n spacing: 0\n },\n shape: {\n size: 8,\n spacing: 6\n },\n keyLabel: {\n fontSize: THEME_CONSTANTS.l4FontSize,\n lineHeight: THEME_CONSTANTS.l4LineHeight,\n\n fontColor: { type: 'palette', key: 'secondaryFontColor' },\n textAlign: 'left',\n textBaseline: 'middle',\n spacing: 26\n },\n valueLabel: {\n fontSize: THEME_CONSTANTS.l4FontSize,\n lineHeight: THEME_CONSTANTS.l4LineHeight,\n\n fontColor: { type: 'palette', key: 'primaryFontColor' },\n fontWeight: 'bold',\n textBaseline: 'middle',\n spacing: 0\n }\n};\n"]}
@@ -19,7 +19,7 @@ exports.totalLabel = {
19
19
  fontSize: constants_1.THEME_CONSTANTS.l4FontSize,
20
20
  fill: {
21
21
  type: "palette",
22
- key: [ "titleFontColor", "primaryFontColor" ]
22
+ key: "primaryFontColor"
23
23
  }
24
24
  }
25
25
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/theme/builtin/common/component/total-label.ts"],"names":[],"mappings":";;;AACA,4CAA+C;AAElC,QAAA,UAAU,GAAqB;IAC1C,OAAO,EAAE,KAAK;IACd,MAAM,EAAE,CAAC;IACT,OAAO,EAAE;QACP,UAAU,EAAE,IAAI;QAChB,QAAQ,EAAE,EAAE;KACb;IACD,WAAW,EAAE,KAAK;IAClB,SAAS,EAAE,KAAK;IAChB,KAAK,EAAE;QACL,QAAQ,EAAE,2BAAe,CAAC,UAAU;QAGpC,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,EAAE;KACvE;CACF,CAAC","file":"total-label.js","sourcesContent":["import type { ITotalLabelTheme } from '../../../../component/label';\nimport { THEME_CONSTANTS } from '../constants';\n\nexport const totalLabel: ITotalLabelTheme = {\n visible: false,\n offset: 5,\n overlap: {\n clampForce: true,\n strategy: []\n },\n smartInvert: false,\n animation: false,\n style: {\n fontSize: THEME_CONSTANTS.l4FontSize,\n // lineHeight: THEME_CONSTANTS.l4LineHeight,\n\n fill: { type: 'palette', key: ['titleFontColor', 'primaryFontColor'] }\n }\n};\n"]}
1
+ {"version":3,"sources":["../src/theme/builtin/common/component/total-label.ts"],"names":[],"mappings":";;;AACA,4CAA+C;AAElC,QAAA,UAAU,GAAqB;IAC1C,OAAO,EAAE,KAAK;IACd,MAAM,EAAE,CAAC;IACT,OAAO,EAAE;QACP,UAAU,EAAE,IAAI;QAChB,QAAQ,EAAE,EAAE;KACb;IACD,WAAW,EAAE,KAAK;IAClB,SAAS,EAAE,KAAK;IAChB,KAAK,EAAE;QACL,QAAQ,EAAE,2BAAe,CAAC,UAAU;QAGpC,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE;KACnD;CACF,CAAC","file":"total-label.js","sourcesContent":["import type { ITotalLabelTheme } from '../../../../component/label';\nimport { THEME_CONSTANTS } from '../constants';\n\nexport const totalLabel: ITotalLabelTheme = {\n visible: false,\n offset: 5,\n overlap: {\n clampForce: true,\n strategy: []\n },\n smartInvert: false,\n animation: false,\n style: {\n fontSize: THEME_CONSTANTS.l4FontSize,\n // lineHeight: THEME_CONSTANTS.l4LineHeight,\n\n fill: { type: 'palette', key: 'primaryFontColor' }\n }\n};\n"]}
@@ -8,7 +8,10 @@ Object.defineProperty(exports, "__esModule", {
8
8
  offset: 5,
9
9
  position: "top",
10
10
  style: {
11
- stroke: "white",
11
+ stroke: {
12
+ type: "palette",
13
+ key: "backgroundColor"
14
+ },
12
15
  lineWidth: 2
13
16
  }
14
17
  },
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/theme/builtin/common/series/area.ts"],"names":[],"mappings":";;;AAEa,QAAA,IAAI,GAAqB;IACpC,KAAK,EAAE;QACL,OAAO,EAAE,KAAK;QACd,MAAM,EAAE,CAAC;QACT,QAAQ,EAAE,KAAK;QACf,KAAK,EAAE;YACL,MAAM,EAAE,OAAO;YACf,SAAS,EAAE,CAAC;SACb;KACF;IACD,KAAK,EAAE;QACL,KAAK,EAAE;YACL,UAAU,EAAE,QAAQ;SACrB;KACF;CACF,CAAC","file":"area.js","sourcesContent":["import type { IAreaSeriesTheme } from '../../../../series/area/interface';\n\nexport const area: IAreaSeriesTheme = {\n label: {\n visible: false,\n offset: 5,\n position: 'top',\n style: {\n stroke: 'white',\n lineWidth: 2\n }\n },\n point: {\n style: {\n symbolType: 'circle'\n }\n }\n};\n"]}
1
+ {"version":3,"sources":["../src/theme/builtin/common/series/area.ts"],"names":[],"mappings":";;;AAEa,QAAA,IAAI,GAAqB;IACpC,KAAK,EAAE;QACL,OAAO,EAAE,KAAK;QACd,MAAM,EAAE,CAAC;QACT,QAAQ,EAAE,KAAK;QACf,KAAK,EAAE;YACL,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,iBAAiB,EAAE;YACnD,SAAS,EAAE,CAAC;SACb;KACF;IACD,KAAK,EAAE;QACL,KAAK,EAAE;YACL,UAAU,EAAE,QAAQ;SACrB;KACF;CACF,CAAC","file":"area.js","sourcesContent":["import type { IAreaSeriesTheme } from '../../../../series/area/interface';\n\nexport const area: IAreaSeriesTheme = {\n label: {\n visible: false,\n offset: 5,\n position: 'top',\n style: {\n stroke: { type: 'palette', key: 'backgroundColor' },\n lineWidth: 2\n }\n },\n point: {\n style: {\n symbolType: 'circle'\n }\n }\n};\n"]}
@@ -9,7 +9,10 @@ Object.defineProperty(exports, "__esModule", {
9
9
  offset: 5,
10
10
  style: {
11
11
  lineWidth: 2,
12
- stroke: "white"
12
+ stroke: {
13
+ type: "palette",
14
+ key: "backgroundColor"
15
+ }
13
16
  }
14
17
  }
15
18
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/theme/builtin/common/series/bar.ts"],"names":[],"mappings":";;;AAEa,QAAA,GAAG,GAAoB;IAClC,KAAK,EAAE;QACL,OAAO,EAAE,KAAK;QACd,QAAQ,EAAE,SAAS;QACnB,MAAM,EAAE,CAAC;QACT,KAAK,EAAE;YACL,SAAS,EAAE,CAAC;YACZ,MAAM,EAAE,OAAO;SAChB;KACF;CACF,CAAC","file":"bar.js","sourcesContent":["import type { IBarSeriesTheme } from '../../../../series/bar/interface';\n\nexport const bar: IBarSeriesTheme = {\n label: {\n visible: false,\n position: 'outside',\n offset: 5,\n style: {\n lineWidth: 2,\n stroke: 'white'\n }\n }\n};\n"]}
1
+ {"version":3,"sources":["../src/theme/builtin/common/series/bar.ts"],"names":[],"mappings":";;;AAEa,QAAA,GAAG,GAAoB;IAClC,KAAK,EAAE;QACL,OAAO,EAAE,KAAK;QACd,QAAQ,EAAE,SAAS;QACnB,MAAM,EAAE,CAAC;QACT,KAAK,EAAE;YACL,SAAS,EAAE,CAAC;YACZ,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,iBAAiB,EAAE;SACpD;KACF;CACF,CAAC","file":"bar.js","sourcesContent":["import type { IBarSeriesTheme } from '../../../../series/bar/interface';\n\nexport const bar: IBarSeriesTheme = {\n label: {\n visible: false,\n position: 'outside',\n offset: 5,\n style: {\n lineWidth: 2,\n stroke: { type: 'palette', key: 'backgroundColor' }\n }\n }\n};\n"]}
@@ -23,7 +23,10 @@ exports.circlePacking = {
23
23
  style: {
24
24
  cursor: "pointer",
25
25
  fill: "black",
26
- stroke: "white",
26
+ stroke: {
27
+ type: "palette",
28
+ key: "backgroundColor"
29
+ },
27
30
  lineWidth: 2,
28
31
  fontSize: constants_1.THEME_CONSTANTS.l5FontSize,
29
32
  lineHeight: constants_1.THEME_CONSTANTS.l5LineHeight
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/theme/builtin/common/series/circle-packing.ts"],"names":[],"mappings":";;;AACA,4CAA+C;AAElC,QAAA,aAAa,GAA8B;IACtD,aAAa,EAAE,CAAC;IAChB,aAAa,EAAE;QACb,OAAO,EAAE,IAAI;QACb,KAAK,EAAE;YACL,MAAM,EAAE,SAAS;YACjB,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,iBAAiB,EAAE;SACpD;KACF;IACD,KAAK,EAAE;QACL,OAAO,EAAE,IAAI;QACb,KAAK,EAAE;YACL,MAAM,EAAE,SAAS;YACjB,IAAI,EAAE,OAAO;YACb,MAAM,EAAE,OAAO;YACf,SAAS,EAAE,CAAC;YACZ,QAAQ,EAAE,2BAAe,CAAC,UAAU;YACpC,UAAU,EAAE,2BAAe,CAAC,YAAY;SACzC;KACF;CACF,CAAC","file":"circle-packing.js","sourcesContent":["import type { ICirclePackingSeriesTheme } from '../../../../series/circle-packing/interface';\nimport { THEME_CONSTANTS } from '../constants';\n\nexport const circlePacking: ICirclePackingSeriesTheme = {\n layoutPadding: 5,\n circlePacking: {\n visible: true,\n style: {\n cursor: 'pointer',\n stroke: { type: 'palette', key: 'backgroundColor' }\n }\n },\n label: {\n visible: true,\n style: {\n cursor: 'pointer',\n fill: 'black',\n stroke: 'white',\n lineWidth: 2,\n fontSize: THEME_CONSTANTS.l5FontSize,\n lineHeight: THEME_CONSTANTS.l5LineHeight\n }\n }\n};\n"]}
1
+ {"version":3,"sources":["../src/theme/builtin/common/series/circle-packing.ts"],"names":[],"mappings":";;;AACA,4CAA+C;AAElC,QAAA,aAAa,GAA8B;IACtD,aAAa,EAAE,CAAC;IAChB,aAAa,EAAE;QACb,OAAO,EAAE,IAAI;QACb,KAAK,EAAE;YACL,MAAM,EAAE,SAAS;YACjB,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,iBAAiB,EAAE;SACpD;KACF;IACD,KAAK,EAAE;QACL,OAAO,EAAE,IAAI;QACb,KAAK,EAAE;YACL,MAAM,EAAE,SAAS;YACjB,IAAI,EAAE,OAAO;YACb,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,iBAAiB,EAAE;YACnD,SAAS,EAAE,CAAC;YACZ,QAAQ,EAAE,2BAAe,CAAC,UAAU;YACpC,UAAU,EAAE,2BAAe,CAAC,YAAY;SACzC;KACF;CACF,CAAC","file":"circle-packing.js","sourcesContent":["import type { ICirclePackingSeriesTheme } from '../../../../series/circle-packing/interface';\nimport { THEME_CONSTANTS } from '../constants';\n\nexport const circlePacking: ICirclePackingSeriesTheme = {\n layoutPadding: 5,\n circlePacking: {\n visible: true,\n style: {\n cursor: 'pointer',\n stroke: { type: 'palette', key: 'backgroundColor' }\n }\n },\n label: {\n visible: true,\n style: {\n cursor: 'pointer',\n fill: 'black',\n stroke: { type: 'palette', key: 'backgroundColor' },\n lineWidth: 2,\n fontSize: THEME_CONSTANTS.l5FontSize,\n lineHeight: THEME_CONSTANTS.l5LineHeight\n }\n }\n};\n"]}
@@ -0,0 +1,2 @@
1
+ import type { ICorrelationSeriesTheme } from '../../../../series/correlation/interface';
2
+ export declare const correlation: ICorrelationSeriesTheme;
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: !0
5
+ }), exports.correlation = void 0, exports.correlation = {
6
+ centerLabel: {
7
+ visible: !0,
8
+ position: "center",
9
+ style: {
10
+ fill: "#fff",
11
+ text: ""
12
+ }
13
+ },
14
+ label: {
15
+ visible: !0,
16
+ position: "bottom",
17
+ style: {
18
+ fill: "#000"
19
+ }
20
+ }
21
+ };
22
+ //# sourceMappingURL=correlation.js.map