@antv/g2 4.1.39 → 4.1.43

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 (1344) hide show
  1. package/CHANGELOG.md +43 -0
  2. package/package.json +7 -5
  3. package/src/chart/controller/annotation.ts +4 -0
  4. package/src/chart/controller/tooltip.ts +19 -4
  5. package/src/core.ts +1 -1
  6. package/src/geometry/base.ts +18 -8
  7. package/src/index.ts +8 -0
  8. package/src/interaction/action/component/list-radio.ts +105 -0
  9. package/src/util/scale.ts +14 -1
  10. package/src/util/tooltip.ts +9 -5
  11. package/dist/g2.min.js +0 -30
  12. package/dist/g2.min.js.map +0 -1
  13. package/esm/animate/animation/fade.d.ts +0 -21
  14. package/esm/animate/animation/fade.js +0 -42
  15. package/esm/animate/animation/fade.js.map +0 -1
  16. package/esm/animate/animation/grow-in.d.ts +0 -30
  17. package/esm/animate/animation/grow-in.js +0 -38
  18. package/esm/animate/animation/grow-in.js.map +0 -1
  19. package/esm/animate/animation/index.d.ts +0 -16
  20. package/esm/animate/animation/index.js +0 -17
  21. package/esm/animate/animation/index.js.map +0 -1
  22. package/esm/animate/animation/path-in.d.ts +0 -12
  23. package/esm/animate/animation/path-in.js +0 -21
  24. package/esm/animate/animation/path-in.js.map +0 -1
  25. package/esm/animate/animation/position-update.d.ts +0 -11
  26. package/esm/animate/animation/position-update.js +0 -24
  27. package/esm/animate/animation/position-update.js.map +0 -1
  28. package/esm/animate/animation/scale-in.d.ts +0 -19
  29. package/esm/animate/animation/scale-in.js +0 -60
  30. package/esm/animate/animation/scale-in.js.map +0 -1
  31. package/esm/animate/animation/sector-path-update.d.ts +0 -11
  32. package/esm/animate/animation/sector-path-update.js +0 -131
  33. package/esm/animate/animation/sector-path-update.js.map +0 -1
  34. package/esm/animate/animation/util.d.ts +0 -19
  35. package/esm/animate/animation/util.js +0 -88
  36. package/esm/animate/animation/util.js.map +0 -1
  37. package/esm/animate/animation/wave-in.d.ts +0 -13
  38. package/esm/animate/animation/wave-in.js +0 -26
  39. package/esm/animate/animation/wave-in.js.map +0 -1
  40. package/esm/animate/animation/zoom.d.ts +0 -21
  41. package/esm/animate/animation/zoom.js +0 -66
  42. package/esm/animate/animation/zoom.js.map +0 -1
  43. package/esm/animate/index.d.ts +0 -48
  44. package/esm/animate/index.js +0 -249
  45. package/esm/animate/index.js.map +0 -1
  46. package/esm/animate/interface.d.ts +0 -12
  47. package/esm/animate/interface.js +0 -2
  48. package/esm/animate/interface.js.map +0 -1
  49. package/esm/api.d.ts +0 -2
  50. package/esm/api.js +0 -3
  51. package/esm/api.js.map +0 -1
  52. package/esm/base.d.ts +0 -33
  53. package/esm/base.js +0 -55
  54. package/esm/base.js.map +0 -1
  55. package/esm/chart/chart.d.ts +0 -61
  56. package/esm/chart/chart.js +0 -157
  57. package/esm/chart/chart.js.map +0 -1
  58. package/esm/chart/controller/annotation.d.ts +0 -162
  59. package/esm/chart/controller/annotation.js +0 -577
  60. package/esm/chart/controller/annotation.js.map +0 -1
  61. package/esm/chart/controller/axis.d.ts +0 -93
  62. package/esm/chart/controller/axis.js +0 -578
  63. package/esm/chart/controller/axis.js.map +0 -1
  64. package/esm/chart/controller/base.d.ts +0 -64
  65. package/esm/chart/controller/base.js +0 -62
  66. package/esm/chart/controller/base.js.map +0 -1
  67. package/esm/chart/controller/coordinate.d.ts +0 -74
  68. package/esm/chart/controller/coordinate.js +0 -145
  69. package/esm/chart/controller/coordinate.js.map +0 -1
  70. package/esm/chart/controller/gesture.d.ts +0 -37
  71. package/esm/chart/controller/gesture.js +0 -258
  72. package/esm/chart/controller/gesture.js.map +0 -1
  73. package/esm/chart/controller/index.d.ts +0 -25
  74. package/esm/chart/controller/index.js +0 -34
  75. package/esm/chart/controller/index.js.map +0 -1
  76. package/esm/chart/controller/legend.d.ts +0 -106
  77. package/esm/chart/controller/legend.js +0 -484
  78. package/esm/chart/controller/legend.js.map +0 -1
  79. package/esm/chart/controller/scrollbar.d.ts +0 -64
  80. package/esm/chart/controller/scrollbar.js +0 -316
  81. package/esm/chart/controller/scrollbar.js.map +0 -1
  82. package/esm/chart/controller/slider.d.ts +0 -88
  83. package/esm/chart/controller/slider.js +0 -296
  84. package/esm/chart/controller/slider.js.map +0 -1
  85. package/esm/chart/controller/tooltip.d.ts +0 -68
  86. package/esm/chart/controller/tooltip.js +0 -630
  87. package/esm/chart/controller/tooltip.js.map +0 -1
  88. package/esm/chart/event.d.ts +0 -47
  89. package/esm/chart/event.js +0 -91
  90. package/esm/chart/event.js.map +0 -1
  91. package/esm/chart/index.d.ts +0 -4
  92. package/esm/chart/index.js +0 -5
  93. package/esm/chart/index.js.map +0 -1
  94. package/esm/chart/layout/auto.d.ts +0 -8
  95. package/esm/chart/layout/auto.js +0 -64
  96. package/esm/chart/layout/auto.js.map +0 -1
  97. package/esm/chart/layout/constraint/bounds.d.ts +0 -32
  98. package/esm/chart/layout/constraint/bounds.js +0 -30
  99. package/esm/chart/layout/constraint/bounds.js.map +0 -1
  100. package/esm/chart/layout/constraint/constraint.d.ts +0 -31
  101. package/esm/chart/layout/constraint/constraint.js +0 -81
  102. package/esm/chart/layout/constraint/constraint.js.map +0 -1
  103. package/esm/chart/layout/constraint/gauss.d.ts +0 -11
  104. package/esm/chart/layout/constraint/gauss.js +0 -63
  105. package/esm/chart/layout/constraint/gauss.js.map +0 -1
  106. package/esm/chart/layout/constraint/index.d.ts +0 -5
  107. package/esm/chart/layout/constraint/index.js +0 -30
  108. package/esm/chart/layout/constraint/index.js.map +0 -1
  109. package/esm/chart/layout/constraint/solver.d.ts +0 -40
  110. package/esm/chart/layout/constraint/solver.js +0 -77
  111. package/esm/chart/layout/constraint/solver.js.map +0 -1
  112. package/esm/chart/layout/constraint/types.d.ts +0 -21
  113. package/esm/chart/layout/constraint/types.js +0 -13
  114. package/esm/chart/layout/constraint/types.js.map +0 -1
  115. package/esm/chart/layout/constraint/variable.d.ts +0 -24
  116. package/esm/chart/layout/constraint/variable.js +0 -28
  117. package/esm/chart/layout/constraint/variable.js.map +0 -1
  118. package/esm/chart/layout/index.d.ts +0 -15
  119. package/esm/chart/layout/index.js +0 -26
  120. package/esm/chart/layout/index.js.map +0 -1
  121. package/esm/chart/layout/padding-cal.d.ts +0 -53
  122. package/esm/chart/layout/padding-cal.js +0 -108
  123. package/esm/chart/layout/padding-cal.js.map +0 -1
  124. package/esm/chart/util/scale-pool.d.ts +0 -57
  125. package/esm/chart/util/scale-pool.js +0 -212
  126. package/esm/chart/util/scale-pool.js.map +0 -1
  127. package/esm/chart/util/sync-view-padding.d.ts +0 -9
  128. package/esm/chart/util/sync-view-padding.js +0 -14
  129. package/esm/chart/util/sync-view-padding.js.map +0 -1
  130. package/esm/chart/view.d.ts +0 -747
  131. package/esm/chart/view.js +0 -1633
  132. package/esm/chart/view.js.map +0 -1
  133. package/esm/component/labels.d.ts +0 -47
  134. package/esm/component/labels.js +0 -274
  135. package/esm/component/labels.js.map +0 -1
  136. package/esm/component/update-label.d.ts +0 -21
  137. package/esm/component/update-label.js +0 -57
  138. package/esm/component/update-label.js.map +0 -1
  139. package/esm/constant.d.ts +0 -122
  140. package/esm/constant.js +0 -134
  141. package/esm/constant.js.map +0 -1
  142. package/esm/core.d.ts +0 -46
  143. package/esm/core.js +0 -60
  144. package/esm/core.js.map +0 -1
  145. package/esm/dependents.d.ts +0 -21
  146. package/esm/dependents.js +0 -33
  147. package/esm/dependents.js.map +0 -1
  148. package/esm/engine/index.d.ts +0 -13
  149. package/esm/engine/index.js +0 -22
  150. package/esm/engine/index.js.map +0 -1
  151. package/esm/facet/circle.d.ts +0 -36
  152. package/esm/facet/circle.js +0 -119
  153. package/esm/facet/circle.js.map +0 -1
  154. package/esm/facet/facet.d.ts +0 -165
  155. package/esm/facet/facet.js +0 -291
  156. package/esm/facet/facet.js.map +0 -1
  157. package/esm/facet/index.d.ts +0 -13
  158. package/esm/facet/index.js +0 -22
  159. package/esm/facet/index.js.map +0 -1
  160. package/esm/facet/list.d.ts +0 -46
  161. package/esm/facet/list.js +0 -134
  162. package/esm/facet/list.js.map +0 -1
  163. package/esm/facet/matrix.d.ts +0 -34
  164. package/esm/facet/matrix.js +0 -119
  165. package/esm/facet/matrix.js.map +0 -1
  166. package/esm/facet/mirror.d.ts +0 -31
  167. package/esm/facet/mirror.js +0 -144
  168. package/esm/facet/mirror.js.map +0 -1
  169. package/esm/facet/rect.d.ts +0 -35
  170. package/esm/facet/rect.js +0 -141
  171. package/esm/facet/rect.js.map +0 -1
  172. package/esm/facet/tree.d.ts +0 -40
  173. package/esm/facet/tree.js +0 -288
  174. package/esm/facet/tree.js.map +0 -1
  175. package/esm/geometry/area.d.ts +0 -46
  176. package/esm/geometry/area.js +0 -62
  177. package/esm/geometry/area.js.map +0 -1
  178. package/esm/geometry/base.d.ts +0 -793
  179. package/esm/geometry/base.js +0 -1481
  180. package/esm/geometry/base.js.map +0 -1
  181. package/esm/geometry/edge.d.ts +0 -15
  182. package/esm/geometry/edge.js +0 -24
  183. package/esm/geometry/edge.js.map +0 -1
  184. package/esm/geometry/element/index.d.ts +0 -127
  185. package/esm/geometry/element/index.js +0 -436
  186. package/esm/geometry/element/index.js.map +0 -1
  187. package/esm/geometry/heatmap.d.ts +0 -31
  188. package/esm/geometry/heatmap.js +0 -190
  189. package/esm/geometry/heatmap.js.map +0 -1
  190. package/esm/geometry/interval.d.ts +0 -41
  191. package/esm/geometry/interval.js +0 -98
  192. package/esm/geometry/interval.js.map +0 -1
  193. package/esm/geometry/label/base.d.ts +0 -76
  194. package/esm/geometry/label/base.js +0 -404
  195. package/esm/geometry/label/base.js.map +0 -1
  196. package/esm/geometry/label/index.d.ts +0 -38
  197. package/esm/geometry/label/index.js +0 -35
  198. package/esm/geometry/label/index.js.map +0 -1
  199. package/esm/geometry/label/interface.d.ts +0 -50
  200. package/esm/geometry/label/interface.js +0 -2
  201. package/esm/geometry/label/interface.js.map +0 -1
  202. package/esm/geometry/label/interval.d.ts +0 -27
  203. package/esm/geometry/label/interval.js +0 -146
  204. package/esm/geometry/label/interval.js.map +0 -1
  205. package/esm/geometry/label/layout/adjust-color.d.ts +0 -3
  206. package/esm/geometry/label/layout/adjust-color.js +0 -36
  207. package/esm/geometry/label/layout/adjust-color.js.map +0 -1
  208. package/esm/geometry/label/layout/hide-overlap.d.ts +0 -8
  209. package/esm/geometry/label/layout/hide-overlap.js +0 -29
  210. package/esm/geometry/label/layout/hide-overlap.js.map +0 -1
  211. package/esm/geometry/label/layout/interval/adjust-position.d.ts +0 -9
  212. package/esm/geometry/label/layout/interval/adjust-position.js +0 -61
  213. package/esm/geometry/label/layout/interval/adjust-position.js.map +0 -1
  214. package/esm/geometry/label/layout/interval/hide-overlap.d.ts +0 -9
  215. package/esm/geometry/label/layout/interval/hide-overlap.js +0 -78
  216. package/esm/geometry/label/layout/interval/hide-overlap.js.map +0 -1
  217. package/esm/geometry/label/layout/limit-in-canvas.d.ts +0 -9
  218. package/esm/geometry/label/layout/limit-in-canvas.js +0 -44
  219. package/esm/geometry/label/layout/limit-in-canvas.js.map +0 -1
  220. package/esm/geometry/label/layout/limit-in-plot.d.ts +0 -18
  221. package/esm/geometry/label/layout/limit-in-plot.js +0 -75
  222. package/esm/geometry/label/layout/limit-in-plot.js.map +0 -1
  223. package/esm/geometry/label/layout/limit-in-shape.d.ts +0 -7
  224. package/esm/geometry/label/layout/limit-in-shape.js +0 -18
  225. package/esm/geometry/label/layout/limit-in-shape.js.map +0 -1
  226. package/esm/geometry/label/layout/overlap.d.ts +0 -15
  227. package/esm/geometry/label/layout/overlap.js +0 -223
  228. package/esm/geometry/label/layout/overlap.js.map +0 -1
  229. package/esm/geometry/label/layout/path/adjust-position.d.ts +0 -17
  230. package/esm/geometry/label/layout/path/adjust-position.js +0 -94
  231. package/esm/geometry/label/layout/path/adjust-position.js.map +0 -1
  232. package/esm/geometry/label/layout/pie/distribute.d.ts +0 -3
  233. package/esm/geometry/label/layout/pie/distribute.js +0 -185
  234. package/esm/geometry/label/layout/pie/distribute.js.map +0 -1
  235. package/esm/geometry/label/layout/pie/outer.d.ts +0 -6
  236. package/esm/geometry/label/layout/pie/outer.js +0 -207
  237. package/esm/geometry/label/layout/pie/outer.js.map +0 -1
  238. package/esm/geometry/label/layout/pie/spider.d.ts +0 -7
  239. package/esm/geometry/label/layout/pie/spider.js +0 -181
  240. package/esm/geometry/label/layout/pie/spider.js.map +0 -1
  241. package/esm/geometry/label/layout/pie/util.d.ts +0 -10
  242. package/esm/geometry/label/layout/pie/util.js +0 -73
  243. package/esm/geometry/label/layout/pie/util.js.map +0 -1
  244. package/esm/geometry/label/layout/point/adjust-position.d.ts +0 -17
  245. package/esm/geometry/label/layout/point/adjust-position.js +0 -94
  246. package/esm/geometry/label/layout/point/adjust-position.js.map +0 -1
  247. package/esm/geometry/label/pie.d.ts +0 -22
  248. package/esm/geometry/label/pie.js +0 -95
  249. package/esm/geometry/label/pie.js.map +0 -1
  250. package/esm/geometry/label/polar.d.ts +0 -64
  251. package/esm/geometry/label/polar.js +0 -221
  252. package/esm/geometry/label/polar.js.map +0 -1
  253. package/esm/geometry/label/util/index.d.ts +0 -26
  254. package/esm/geometry/label/util/index.js +0 -61
  255. package/esm/geometry/label/util/index.js.map +0 -1
  256. package/esm/geometry/line.d.ts +0 -11
  257. package/esm/geometry/line.js +0 -21
  258. package/esm/geometry/line.js.map +0 -1
  259. package/esm/geometry/path.d.ts +0 -40
  260. package/esm/geometry/path.js +0 -122
  261. package/esm/geometry/path.js.map +0 -1
  262. package/esm/geometry/point.d.ts +0 -19
  263. package/esm/geometry/point.js +0 -30
  264. package/esm/geometry/point.js.map +0 -1
  265. package/esm/geometry/polygon.d.ts +0 -19
  266. package/esm/geometry/polygon.js +0 -62
  267. package/esm/geometry/polygon.js.map +0 -1
  268. package/esm/geometry/schema.d.ts +0 -18
  269. package/esm/geometry/schema.js +0 -48
  270. package/esm/geometry/schema.js.map +0 -1
  271. package/esm/geometry/shape/area/index.d.ts +0 -2
  272. package/esm/geometry/shape/area/index.js +0 -44
  273. package/esm/geometry/shape/area/index.js.map +0 -1
  274. package/esm/geometry/shape/area/line.d.ts +0 -1
  275. package/esm/geometry/shape/area/line.js +0 -31
  276. package/esm/geometry/shape/area/line.js.map +0 -1
  277. package/esm/geometry/shape/area/smooth-line.d.ts +0 -1
  278. package/esm/geometry/shape/area/smooth-line.js +0 -30
  279. package/esm/geometry/shape/area/smooth-line.js.map +0 -1
  280. package/esm/geometry/shape/area/smooth.d.ts +0 -1
  281. package/esm/geometry/shape/area/smooth.js +0 -31
  282. package/esm/geometry/shape/area/smooth.js.map +0 -1
  283. package/esm/geometry/shape/area/util.d.ts +0 -22
  284. package/esm/geometry/shape/area/util.js +0 -88
  285. package/esm/geometry/shape/area/util.js.map +0 -1
  286. package/esm/geometry/shape/base.d.ts +0 -22
  287. package/esm/geometry/shape/base.js +0 -162
  288. package/esm/geometry/shape/base.js.map +0 -1
  289. package/esm/geometry/shape/constant.d.ts +0 -4
  290. package/esm/geometry/shape/constant.js +0 -5
  291. package/esm/geometry/shape/constant.js.map +0 -1
  292. package/esm/geometry/shape/edge/arc.d.ts +0 -1
  293. package/esm/geometry/shape/edge/arc.js +0 -84
  294. package/esm/geometry/shape/edge/arc.js.map +0 -1
  295. package/esm/geometry/shape/edge/index.d.ts +0 -2
  296. package/esm/geometry/shape/edge/index.js +0 -31
  297. package/esm/geometry/shape/edge/index.js.map +0 -1
  298. package/esm/geometry/shape/edge/smooth.d.ts +0 -1
  299. package/esm/geometry/shape/edge/smooth.js +0 -30
  300. package/esm/geometry/shape/edge/smooth.js.map +0 -1
  301. package/esm/geometry/shape/edge/util.d.ts +0 -17
  302. package/esm/geometry/shape/edge/util.js +0 -32
  303. package/esm/geometry/shape/edge/util.js.map +0 -1
  304. package/esm/geometry/shape/edge/vhv.d.ts +0 -1
  305. package/esm/geometry/shape/edge/vhv.js +0 -42
  306. package/esm/geometry/shape/edge/vhv.js.map +0 -1
  307. package/esm/geometry/shape/interval/funnel.d.ts +0 -1
  308. package/esm/geometry/shape/interval/funnel.js +0 -31
  309. package/esm/geometry/shape/interval/funnel.js.map +0 -1
  310. package/esm/geometry/shape/interval/hollow-rect.d.ts +0 -1
  311. package/esm/geometry/shape/interval/hollow-rect.js +0 -51
  312. package/esm/geometry/shape/interval/hollow-rect.js.map +0 -1
  313. package/esm/geometry/shape/interval/index.d.ts +0 -3
  314. package/esm/geometry/shape/interval/index.js +0 -63
  315. package/esm/geometry/shape/interval/index.js.map +0 -1
  316. package/esm/geometry/shape/interval/line.d.ts +0 -1
  317. package/esm/geometry/shape/interval/line.js +0 -54
  318. package/esm/geometry/shape/interval/line.js.map +0 -1
  319. package/esm/geometry/shape/interval/pyramid.d.ts +0 -1
  320. package/esm/geometry/shape/interval/pyramid.js +0 -31
  321. package/esm/geometry/shape/interval/pyramid.js.map +0 -1
  322. package/esm/geometry/shape/interval/tick.d.ts +0 -1
  323. package/esm/geometry/shape/interval/tick.js +0 -77
  324. package/esm/geometry/shape/interval/tick.js.map +0 -1
  325. package/esm/geometry/shape/interval/util.d.ts +0 -55
  326. package/esm/geometry/shape/interval/util.js +0 -311
  327. package/esm/geometry/shape/interval/util.js.map +0 -1
  328. package/esm/geometry/shape/line/index.d.ts +0 -8
  329. package/esm/geometry/shape/line/index.js +0 -105
  330. package/esm/geometry/shape/line/index.js.map +0 -1
  331. package/esm/geometry/shape/line/step.d.ts +0 -1
  332. package/esm/geometry/shape/line/step.js +0 -84
  333. package/esm/geometry/shape/line/step.js.map +0 -1
  334. package/esm/geometry/shape/line/util.d.ts +0 -16
  335. package/esm/geometry/shape/line/util.js +0 -83
  336. package/esm/geometry/shape/line/util.js.map +0 -1
  337. package/esm/geometry/shape/point/hollow.d.ts +0 -1
  338. package/esm/geometry/shape/point/hollow.js +0 -24
  339. package/esm/geometry/shape/point/hollow.js.map +0 -1
  340. package/esm/geometry/shape/point/image.d.ts +0 -1
  341. package/esm/geometry/shape/point/image.js +0 -48
  342. package/esm/geometry/shape/point/image.js.map +0 -1
  343. package/esm/geometry/shape/point/index.d.ts +0 -2
  344. package/esm/geometry/shape/point/index.js +0 -32
  345. package/esm/geometry/shape/point/index.js.map +0 -1
  346. package/esm/geometry/shape/point/solid.d.ts +0 -1
  347. package/esm/geometry/shape/point/solid.js +0 -23
  348. package/esm/geometry/shape/point/solid.js.map +0 -1
  349. package/esm/geometry/shape/point/util.d.ts +0 -15
  350. package/esm/geometry/shape/point/util.js +0 -39
  351. package/esm/geometry/shape/point/util.js.map +0 -1
  352. package/esm/geometry/shape/polygon/index.d.ts +0 -2
  353. package/esm/geometry/shape/polygon/index.js +0 -65
  354. package/esm/geometry/shape/polygon/index.js.map +0 -1
  355. package/esm/geometry/shape/polygon/square.d.ts +0 -1
  356. package/esm/geometry/shape/polygon/square.js +0 -44
  357. package/esm/geometry/shape/polygon/square.js.map +0 -1
  358. package/esm/geometry/shape/schema/box.d.ts +0 -1
  359. package/esm/geometry/shape/schema/box.js +0 -142
  360. package/esm/geometry/shape/schema/box.js.map +0 -1
  361. package/esm/geometry/shape/schema/candle.d.ts +0 -1
  362. package/esm/geometry/shape/schema/candle.js +0 -80
  363. package/esm/geometry/shape/schema/candle.js.map +0 -1
  364. package/esm/geometry/shape/schema/index.d.ts +0 -2
  365. package/esm/geometry/shape/schema/index.js +0 -6
  366. package/esm/geometry/shape/schema/index.js.map +0 -1
  367. package/esm/geometry/shape/util/get-path-points.d.ts +0 -38
  368. package/esm/geometry/shape/util/get-path-points.js +0 -131
  369. package/esm/geometry/shape/util/get-path-points.js.map +0 -1
  370. package/esm/geometry/shape/util/get-style.d.ts +0 -18
  371. package/esm/geometry/shape/util/get-style.js +0 -47
  372. package/esm/geometry/shape/util/get-style.js.map +0 -1
  373. package/esm/geometry/shape/util/path.d.ts +0 -32
  374. package/esm/geometry/shape/util/path.js +0 -311
  375. package/esm/geometry/shape/util/path.js.map +0 -1
  376. package/esm/geometry/shape/util/split-points.d.ts +0 -13
  377. package/esm/geometry/shape/util/split-points.js +0 -24
  378. package/esm/geometry/shape/util/split-points.js.map +0 -1
  379. package/esm/geometry/shape/violin/hollow.d.ts +0 -1
  380. package/esm/geometry/shape/violin/hollow.js +0 -51
  381. package/esm/geometry/shape/violin/hollow.js.map +0 -1
  382. package/esm/geometry/shape/violin/index.d.ts +0 -2
  383. package/esm/geometry/shape/violin/index.js +0 -60
  384. package/esm/geometry/shape/violin/index.js.map +0 -1
  385. package/esm/geometry/shape/violin/smooth.d.ts +0 -1
  386. package/esm/geometry/shape/violin/smooth.js +0 -28
  387. package/esm/geometry/shape/violin/smooth.js.map +0 -1
  388. package/esm/geometry/util/diff.d.ts +0 -11
  389. package/esm/geometry/util/diff.js +0 -30
  390. package/esm/geometry/util/diff.js.map +0 -1
  391. package/esm/geometry/util/get-shape-type.d.ts +0 -8
  392. package/esm/geometry/util/get-shape-type.js +0 -16
  393. package/esm/geometry/util/get-shape-type.js.map +0 -1
  394. package/esm/geometry/util/group-data.d.ts +0 -3
  395. package/esm/geometry/util/group-data.js +0 -31
  396. package/esm/geometry/util/group-data.js.map +0 -1
  397. package/esm/geometry/util/is-model-change.d.ts +0 -9
  398. package/esm/geometry/util/is-model-change.js +0 -14
  399. package/esm/geometry/util/is-model-change.js.map +0 -1
  400. package/esm/geometry/util/parse-fields.d.ts +0 -2
  401. package/esm/geometry/util/parse-fields.js +0 -9
  402. package/esm/geometry/util/parse-fields.js.map +0 -1
  403. package/esm/geometry/util/shape-size.d.ts +0 -2
  404. package/esm/geometry/util/shape-size.js +0 -124
  405. package/esm/geometry/util/shape-size.js.map +0 -1
  406. package/esm/geometry/violin.d.ts +0 -25
  407. package/esm/geometry/violin.js +0 -67
  408. package/esm/geometry/violin.js.map +0 -1
  409. package/esm/index.d.ts +0 -107
  410. package/esm/index.js +0 -573
  411. package/esm/index.js.map +0 -1
  412. package/esm/interaction/action/active-region.d.ts +0 -33
  413. package/esm/interaction/action/active-region.js +0 -198
  414. package/esm/interaction/action/active-region.js.map +0 -1
  415. package/esm/interaction/action/base.d.ts +0 -29
  416. package/esm/interaction/action/base.js +0 -36
  417. package/esm/interaction/action/base.js.map +0 -1
  418. package/esm/interaction/action/callback.d.ts +0 -17
  419. package/esm/interaction/action/callback.js +0 -27
  420. package/esm/interaction/action/callback.js.map +0 -1
  421. package/esm/interaction/action/component/list-active.d.ts +0 -14
  422. package/esm/interaction/action/component/list-active.js +0 -24
  423. package/esm/interaction/action/component/list-active.js.map +0 -1
  424. package/esm/interaction/action/component/list-checked.d.ts +0 -30
  425. package/esm/interaction/action/component/list-checked.js +0 -82
  426. package/esm/interaction/action/component/list-checked.js.map +0 -1
  427. package/esm/interaction/action/component/list-focus.d.ts +0 -5
  428. package/esm/interaction/action/component/list-focus.js +0 -55
  429. package/esm/interaction/action/component/list-focus.js.map +0 -1
  430. package/esm/interaction/action/component/list-highlight-util.d.ts +0 -7
  431. package/esm/interaction/action/component/list-highlight-util.js +0 -20
  432. package/esm/interaction/action/component/list-highlight-util.js.map +0 -1
  433. package/esm/interaction/action/component/list-highlight.d.ts +0 -20
  434. package/esm/interaction/action/component/list-highlight.js +0 -97
  435. package/esm/interaction/action/component/list-highlight.js.map +0 -1
  436. package/esm/interaction/action/component/list-radio.d.ts +0 -6
  437. package/esm/interaction/action/component/list-radio.js +0 -26
  438. package/esm/interaction/action/component/list-radio.js.map +0 -1
  439. package/esm/interaction/action/component/list-selected.d.ts +0 -10
  440. package/esm/interaction/action/component/list-selected.js +0 -20
  441. package/esm/interaction/action/component/list-selected.js.map +0 -1
  442. package/esm/interaction/action/component/list-state.d.ts +0 -46
  443. package/esm/interaction/action/component/list-state.js +0 -167
  444. package/esm/interaction/action/component/list-state.js.map +0 -1
  445. package/esm/interaction/action/component/list-unchecked.d.ts +0 -13
  446. package/esm/interaction/action/component/list-unchecked.js +0 -23
  447. package/esm/interaction/action/component/list-unchecked.js.map +0 -1
  448. package/esm/interaction/action/component/tooltip/ellipsis-text.d.ts +0 -25
  449. package/esm/interaction/action/component/tooltip/ellipsis-text.js +0 -93
  450. package/esm/interaction/action/component/tooltip/ellipsis-text.js.map +0 -1
  451. package/esm/interaction/action/component/tooltip/geometry.d.ts +0 -24
  452. package/esm/interaction/action/component/tooltip/geometry.js +0 -71
  453. package/esm/interaction/action/component/tooltip/geometry.js.map +0 -1
  454. package/esm/interaction/action/component/tooltip/sibling.d.ts +0 -21
  455. package/esm/interaction/action/component/tooltip/sibling.js +0 -39
  456. package/esm/interaction/action/component/tooltip/sibling.js.map +0 -1
  457. package/esm/interaction/action/cursor.d.ts +0 -69
  458. package/esm/interaction/action/cursor.js +0 -113
  459. package/esm/interaction/action/cursor.js.map +0 -1
  460. package/esm/interaction/action/data/filter.d.ts +0 -13
  461. package/esm/interaction/action/data/filter.js +0 -66
  462. package/esm/interaction/action/data/filter.js.map +0 -1
  463. package/esm/interaction/action/data/range-filter.d.ts +0 -56
  464. package/esm/interaction/action/data/range-filter.js +0 -163
  465. package/esm/interaction/action/data/range-filter.js.map +0 -1
  466. package/esm/interaction/action/data/sibling-filter.d.ts +0 -22
  467. package/esm/interaction/action/data/sibling-filter.js +0 -39
  468. package/esm/interaction/action/data/sibling-filter.js.map +0 -1
  469. package/esm/interaction/action/element/active.d.ts +0 -14
  470. package/esm/interaction/action/element/active.js +0 -24
  471. package/esm/interaction/action/element/active.js.map +0 -1
  472. package/esm/interaction/action/element/filter.d.ts +0 -20
  473. package/esm/interaction/action/element/filter.js +0 -89
  474. package/esm/interaction/action/element/filter.js.map +0 -1
  475. package/esm/interaction/action/element/highlight-by-color.d.ts +0 -10
  476. package/esm/interaction/action/element/highlight-by-color.js +0 -30
  477. package/esm/interaction/action/element/highlight-by-color.js.map +0 -1
  478. package/esm/interaction/action/element/highlight-by-x.d.ts +0 -15
  479. package/esm/interaction/action/element/highlight-by-x.js +0 -51
  480. package/esm/interaction/action/element/highlight-by-x.js.map +0 -1
  481. package/esm/interaction/action/element/highlight-util.d.ts +0 -18
  482. package/esm/interaction/action/element/highlight-util.js +0 -45
  483. package/esm/interaction/action/element/highlight-util.js.map +0 -1
  484. package/esm/interaction/action/element/highlight.d.ts +0 -21
  485. package/esm/interaction/action/element/highlight.js +0 -93
  486. package/esm/interaction/action/element/highlight.js.map +0 -1
  487. package/esm/interaction/action/element/link-by-color.d.ts +0 -51
  488. package/esm/interaction/action/element/link-by-color.js +0 -156
  489. package/esm/interaction/action/element/link-by-color.js.map +0 -1
  490. package/esm/interaction/action/element/range-active.d.ts +0 -13
  491. package/esm/interaction/action/element/range-active.js +0 -23
  492. package/esm/interaction/action/element/range-active.js.map +0 -1
  493. package/esm/interaction/action/element/range-highlight.d.ts +0 -27
  494. package/esm/interaction/action/element/range-highlight.js +0 -54
  495. package/esm/interaction/action/element/range-highlight.js.map +0 -1
  496. package/esm/interaction/action/element/range-selected.d.ts +0 -13
  497. package/esm/interaction/action/element/range-selected.js +0 -23
  498. package/esm/interaction/action/element/range-selected.js.map +0 -1
  499. package/esm/interaction/action/element/range-state.d.ts +0 -38
  500. package/esm/interaction/action/element/range-state.js +0 -164
  501. package/esm/interaction/action/element/range-state.js.map +0 -1
  502. package/esm/interaction/action/element/selected.d.ts +0 -14
  503. package/esm/interaction/action/element/selected.js +0 -24
  504. package/esm/interaction/action/element/selected.js.map +0 -1
  505. package/esm/interaction/action/element/sibling-filter.d.ts +0 -19
  506. package/esm/interaction/action/element/sibling-filter.js +0 -93
  507. package/esm/interaction/action/element/sibling-filter.js.map +0 -1
  508. package/esm/interaction/action/element/single-active.d.ts +0 -13
  509. package/esm/interaction/action/element/single-active.js +0 -23
  510. package/esm/interaction/action/element/single-active.js.map +0 -1
  511. package/esm/interaction/action/element/single-highlight.d.ts +0 -16
  512. package/esm/interaction/action/element/single-highlight.js +0 -35
  513. package/esm/interaction/action/element/single-highlight.js.map +0 -1
  514. package/esm/interaction/action/element/single-selected.d.ts +0 -13
  515. package/esm/interaction/action/element/single-selected.js +0 -23
  516. package/esm/interaction/action/element/single-selected.js.map +0 -1
  517. package/esm/interaction/action/element/single-state.d.ts +0 -18
  518. package/esm/interaction/action/element/single-state.js +0 -53
  519. package/esm/interaction/action/element/single-state.js.map +0 -1
  520. package/esm/interaction/action/element/state-base.d.ts +0 -39
  521. package/esm/interaction/action/element/state-base.js +0 -59
  522. package/esm/interaction/action/element/state-base.js.map +0 -1
  523. package/esm/interaction/action/element/state.d.ts +0 -28
  524. package/esm/interaction/action/element/state.js +0 -99
  525. package/esm/interaction/action/element/state.js.map +0 -1
  526. package/esm/interaction/action/index.d.ts +0 -2
  527. package/esm/interaction/action/index.js +0 -3
  528. package/esm/interaction/action/index.js.map +0 -1
  529. package/esm/interaction/action/mask/base.d.ts +0 -62
  530. package/esm/interaction/action/mask/base.js +0 -169
  531. package/esm/interaction/action/mask/base.js.map +0 -1
  532. package/esm/interaction/action/mask/circle.d.ts +0 -14
  533. package/esm/interaction/action/mask/circle.js +0 -37
  534. package/esm/interaction/action/mask/circle.js.map +0 -1
  535. package/esm/interaction/action/mask/dim-rect.d.ts +0 -11
  536. package/esm/interaction/action/mask/dim-rect.js +0 -62
  537. package/esm/interaction/action/mask/dim-rect.js.map +0 -1
  538. package/esm/interaction/action/mask/path.d.ts +0 -16
  539. package/esm/interaction/action/mask/path.js +0 -44
  540. package/esm/interaction/action/mask/path.js.map +0 -1
  541. package/esm/interaction/action/mask/rect.d.ts +0 -17
  542. package/esm/interaction/action/mask/rect.js +0 -39
  543. package/esm/interaction/action/mask/rect.js.map +0 -1
  544. package/esm/interaction/action/mask/smooth-path.d.ts +0 -9
  545. package/esm/interaction/action/mask/smooth-path.js +0 -21
  546. package/esm/interaction/action/mask/smooth-path.js.map +0 -1
  547. package/esm/interaction/action/register.d.ts +0 -36
  548. package/esm/interaction/action/register.js +0 -60
  549. package/esm/interaction/action/register.js.map +0 -1
  550. package/esm/interaction/action/util.d.ts +0 -140
  551. package/esm/interaction/action/util.js +0 -361
  552. package/esm/interaction/action/util.js.map +0 -1
  553. package/esm/interaction/action/view/button.d.ts +0 -25
  554. package/esm/interaction/action/view/button.js +0 -116
  555. package/esm/interaction/action/view/button.js.map +0 -1
  556. package/esm/interaction/action/view/drag.d.ts +0 -24
  557. package/esm/interaction/action/view/drag.js +0 -73
  558. package/esm/interaction/action/view/drag.js.map +0 -1
  559. package/esm/interaction/action/view/mousewheel-scroll.d.ts +0 -5
  560. package/esm/interaction/action/view/mousewheel-scroll.js +0 -35
  561. package/esm/interaction/action/view/mousewheel-scroll.js.map +0 -1
  562. package/esm/interaction/action/view/move.d.ts +0 -28
  563. package/esm/interaction/action/view/move.js +0 -80
  564. package/esm/interaction/action/view/move.js.map +0 -1
  565. package/esm/interaction/action/view/scale-transform.d.ts +0 -18
  566. package/esm/interaction/action/view/scale-transform.js +0 -51
  567. package/esm/interaction/action/view/scale-transform.js.map +0 -1
  568. package/esm/interaction/action/view/scale-translate.d.ts +0 -30
  569. package/esm/interaction/action/view/scale-translate.js +0 -112
  570. package/esm/interaction/action/view/scale-translate.js.map +0 -1
  571. package/esm/interaction/action/view/scale-zoom.d.ts +0 -20
  572. package/esm/interaction/action/view/scale-zoom.js +0 -83
  573. package/esm/interaction/action/view/scale-zoom.js.map +0 -1
  574. package/esm/interaction/context.d.ts +0 -65
  575. package/esm/interaction/context.js +0 -142
  576. package/esm/interaction/context.js.map +0 -1
  577. package/esm/interaction/grammar-interaction.d.ts +0 -158
  578. package/esm/interaction/grammar-interaction.js +0 -285
  579. package/esm/interaction/grammar-interaction.js.map +0 -1
  580. package/esm/interaction/index.d.ts +0 -25
  581. package/esm/interaction/index.js +0 -43
  582. package/esm/interaction/index.js.map +0 -1
  583. package/esm/interaction/interaction.d.ts +0 -29
  584. package/esm/interaction/interaction.js +0 -32
  585. package/esm/interaction/interaction.js.map +0 -1
  586. package/esm/interface.d.ts +0 -2264
  587. package/esm/interface.js +0 -2
  588. package/esm/interface.js.map +0 -1
  589. package/esm/theme/index.d.ts +0 -12
  590. package/esm/theme/index.js +0 -23
  591. package/esm/theme/index.js.map +0 -1
  592. package/esm/theme/style-sheet/dark.d.ts +0 -825
  593. package/esm/theme/style-sheet/dark.js +0 -496
  594. package/esm/theme/style-sheet/dark.js.map +0 -1
  595. package/esm/theme/style-sheet/light.d.ts +0 -817
  596. package/esm/theme/style-sheet/light.js +0 -492
  597. package/esm/theme/style-sheet/light.js.map +0 -1
  598. package/esm/theme/util/create-by-style-sheet.d.ts +0 -6
  599. package/esm/theme/util/create-by-style-sheet.js +0 -1422
  600. package/esm/theme/util/create-by-style-sheet.js.map +0 -1
  601. package/esm/theme/util/create-theme.d.ts +0 -6
  602. package/esm/theme/util/create-theme.js +0 -12
  603. package/esm/theme/util/create-theme.js.map +0 -1
  604. package/esm/theme/util/index.d.ts +0 -1
  605. package/esm/theme/util/index.js +0 -2
  606. package/esm/theme/util/index.js.map +0 -1
  607. package/esm/util/annotation.d.ts +0 -7
  608. package/esm/util/annotation.js +0 -39
  609. package/esm/util/annotation.js.map +0 -1
  610. package/esm/util/attr.d.ts +0 -10
  611. package/esm/util/attr.js +0 -25
  612. package/esm/util/attr.js.map +0 -1
  613. package/esm/util/axis.d.ts +0 -100
  614. package/esm/util/axis.js +0 -236
  615. package/esm/util/axis.js.map +0 -1
  616. package/esm/util/bbox.d.ts +0 -105
  617. package/esm/util/bbox.js +0 -282
  618. package/esm/util/bbox.js.map +0 -1
  619. package/esm/util/collision-detect.d.ts +0 -16
  620. package/esm/util/collision-detect.js +0 -127
  621. package/esm/util/collision-detect.js.map +0 -1
  622. package/esm/util/color.d.ts +0 -1
  623. package/esm/util/color.js +0 -18
  624. package/esm/util/color.js.map +0 -1
  625. package/esm/util/context.d.ts +0 -4
  626. package/esm/util/context.js +0 -11
  627. package/esm/util/context.js.map +0 -1
  628. package/esm/util/coordinate.d.ts +0 -86
  629. package/esm/util/coordinate.js +0 -147
  630. package/esm/util/coordinate.js.map +0 -1
  631. package/esm/util/direction.d.ts +0 -19
  632. package/esm/util/direction.js +0 -120
  633. package/esm/util/direction.js.map +0 -1
  634. package/esm/util/dom.d.ts +0 -19
  635. package/esm/util/dom.js +0 -61
  636. package/esm/util/dom.js.map +0 -1
  637. package/esm/util/event.d.ts +0 -8
  638. package/esm/util/event.js +0 -14
  639. package/esm/util/event.js.map +0 -1
  640. package/esm/util/facet.d.ts +0 -16
  641. package/esm/util/facet.js +0 -43
  642. package/esm/util/facet.js.map +0 -1
  643. package/esm/util/graphics.d.ts +0 -58
  644. package/esm/util/graphics.js +0 -203
  645. package/esm/util/graphics.js.map +0 -1
  646. package/esm/util/grid.d.ts +0 -36
  647. package/esm/util/grid.js +0 -118
  648. package/esm/util/grid.js.map +0 -1
  649. package/esm/util/helper.d.ts +0 -34
  650. package/esm/util/helper.js +0 -72
  651. package/esm/util/helper.js.map +0 -1
  652. package/esm/util/legend.d.ts +0 -45
  653. package/esm/util/legend.js +0 -145
  654. package/esm/util/legend.js.map +0 -1
  655. package/esm/util/marker.d.ts +0 -10
  656. package/esm/util/marker.js +0 -58
  657. package/esm/util/marker.js.map +0 -1
  658. package/esm/util/padding.d.ts +0 -14
  659. package/esm/util/padding.js +0 -40
  660. package/esm/util/padding.js.map +0 -1
  661. package/esm/util/scale.d.ts +0 -38
  662. package/esm/util/scale.js +0 -114
  663. package/esm/util/scale.js.map +0 -1
  664. package/esm/util/stat.d.ts +0 -10
  665. package/esm/util/stat.js +0 -36
  666. package/esm/util/stat.js.map +0 -1
  667. package/esm/util/text.d.ts +0 -23
  668. package/esm/util/text.js +0 -84
  669. package/esm/util/text.js.map +0 -1
  670. package/esm/util/tooltip.d.ts +0 -26
  671. package/esm/util/tooltip.js +0 -415
  672. package/esm/util/tooltip.js.map +0 -1
  673. package/esm/util/transform.d.ts +0 -33
  674. package/esm/util/transform.js +0 -61
  675. package/esm/util/transform.js.map +0 -1
  676. package/esm/util/types.d.ts +0 -6
  677. package/esm/util/types.js +0 -2
  678. package/esm/util/types.js.map +0 -1
  679. package/lib/animate/animation/fade.d.ts +0 -21
  680. package/lib/animate/animation/fade.js +0 -47
  681. package/lib/animate/animation/fade.js.map +0 -1
  682. package/lib/animate/animation/grow-in.d.ts +0 -30
  683. package/lib/animate/animation/grow-in.js +0 -44
  684. package/lib/animate/animation/grow-in.js.map +0 -1
  685. package/lib/animate/animation/index.d.ts +0 -16
  686. package/lib/animate/animation/index.js +0 -22
  687. package/lib/animate/animation/index.js.map +0 -1
  688. package/lib/animate/animation/path-in.d.ts +0 -12
  689. package/lib/animate/animation/path-in.js +0 -25
  690. package/lib/animate/animation/path-in.js.map +0 -1
  691. package/lib/animate/animation/position-update.d.ts +0 -11
  692. package/lib/animate/animation/position-update.js +0 -28
  693. package/lib/animate/animation/position-update.js.map +0 -1
  694. package/lib/animate/animation/scale-in.d.ts +0 -19
  695. package/lib/animate/animation/scale-in.js +0 -65
  696. package/lib/animate/animation/scale-in.js.map +0 -1
  697. package/lib/animate/animation/sector-path-update.d.ts +0 -11
  698. package/lib/animate/animation/sector-path-update.js +0 -135
  699. package/lib/animate/animation/sector-path-update.js.map +0 -1
  700. package/lib/animate/animation/util.d.ts +0 -19
  701. package/lib/animate/animation/util.js +0 -93
  702. package/lib/animate/animation/util.js.map +0 -1
  703. package/lib/animate/animation/wave-in.d.ts +0 -13
  704. package/lib/animate/animation/wave-in.js +0 -30
  705. package/lib/animate/animation/wave-in.js.map +0 -1
  706. package/lib/animate/animation/zoom.d.ts +0 -21
  707. package/lib/animate/animation/zoom.js +0 -71
  708. package/lib/animate/animation/zoom.js.map +0 -1
  709. package/lib/animate/index.d.ts +0 -48
  710. package/lib/animate/index.js +0 -255
  711. package/lib/animate/index.js.map +0 -1
  712. package/lib/animate/interface.d.ts +0 -12
  713. package/lib/animate/interface.js +0 -3
  714. package/lib/animate/interface.js.map +0 -1
  715. package/lib/api.d.ts +0 -2
  716. package/lib/api.js +0 -7
  717. package/lib/api.js.map +0 -1
  718. package/lib/base.d.ts +0 -33
  719. package/lib/base.js +0 -57
  720. package/lib/base.js.map +0 -1
  721. package/lib/chart/chart.d.ts +0 -61
  722. package/lib/chart/chart.js +0 -159
  723. package/lib/chart/chart.js.map +0 -1
  724. package/lib/chart/controller/annotation.d.ts +0 -162
  725. package/lib/chart/controller/annotation.js +0 -579
  726. package/lib/chart/controller/annotation.js.map +0 -1
  727. package/lib/chart/controller/axis.d.ts +0 -93
  728. package/lib/chart/controller/axis.js +0 -580
  729. package/lib/chart/controller/axis.js.map +0 -1
  730. package/lib/chart/controller/base.d.ts +0 -64
  731. package/lib/chart/controller/base.js +0 -65
  732. package/lib/chart/controller/base.js.map +0 -1
  733. package/lib/chart/controller/coordinate.d.ts +0 -74
  734. package/lib/chart/controller/coordinate.js +0 -147
  735. package/lib/chart/controller/coordinate.js.map +0 -1
  736. package/lib/chart/controller/gesture.d.ts +0 -37
  737. package/lib/chart/controller/gesture.js +0 -260
  738. package/lib/chart/controller/gesture.js.map +0 -1
  739. package/lib/chart/controller/index.d.ts +0 -25
  740. package/lib/chart/controller/index.js +0 -41
  741. package/lib/chart/controller/index.js.map +0 -1
  742. package/lib/chart/controller/legend.d.ts +0 -106
  743. package/lib/chart/controller/legend.js +0 -486
  744. package/lib/chart/controller/legend.js.map +0 -1
  745. package/lib/chart/controller/scrollbar.d.ts +0 -64
  746. package/lib/chart/controller/scrollbar.js +0 -318
  747. package/lib/chart/controller/scrollbar.js.map +0 -1
  748. package/lib/chart/controller/slider.d.ts +0 -88
  749. package/lib/chart/controller/slider.js +0 -298
  750. package/lib/chart/controller/slider.js.map +0 -1
  751. package/lib/chart/controller/tooltip.d.ts +0 -68
  752. package/lib/chart/controller/tooltip.js +0 -632
  753. package/lib/chart/controller/tooltip.js.map +0 -1
  754. package/lib/chart/event.d.ts +0 -47
  755. package/lib/chart/event.js +0 -93
  756. package/lib/chart/event.js.map +0 -1
  757. package/lib/chart/index.d.ts +0 -4
  758. package/lib/chart/index.js +0 -16
  759. package/lib/chart/index.js.map +0 -1
  760. package/lib/chart/layout/auto.d.ts +0 -8
  761. package/lib/chart/layout/auto.js +0 -68
  762. package/lib/chart/layout/auto.js.map +0 -1
  763. package/lib/chart/layout/constraint/bounds.d.ts +0 -32
  764. package/lib/chart/layout/constraint/bounds.js +0 -33
  765. package/lib/chart/layout/constraint/bounds.js.map +0 -1
  766. package/lib/chart/layout/constraint/constraint.d.ts +0 -31
  767. package/lib/chart/layout/constraint/constraint.js +0 -84
  768. package/lib/chart/layout/constraint/constraint.js.map +0 -1
  769. package/lib/chart/layout/constraint/gauss.d.ts +0 -11
  770. package/lib/chart/layout/constraint/gauss.js +0 -68
  771. package/lib/chart/layout/constraint/gauss.js.map +0 -1
  772. package/lib/chart/layout/constraint/index.d.ts +0 -5
  773. package/lib/chart/layout/constraint/index.js +0 -38
  774. package/lib/chart/layout/constraint/index.js.map +0 -1
  775. package/lib/chart/layout/constraint/solver.d.ts +0 -40
  776. package/lib/chart/layout/constraint/solver.js +0 -80
  777. package/lib/chart/layout/constraint/solver.js.map +0 -1
  778. package/lib/chart/layout/constraint/types.d.ts +0 -21
  779. package/lib/chart/layout/constraint/types.js +0 -16
  780. package/lib/chart/layout/constraint/types.js.map +0 -1
  781. package/lib/chart/layout/constraint/variable.d.ts +0 -24
  782. package/lib/chart/layout/constraint/variable.js +0 -31
  783. package/lib/chart/layout/constraint/variable.js.map +0 -1
  784. package/lib/chart/layout/index.d.ts +0 -15
  785. package/lib/chart/layout/index.js +0 -29
  786. package/lib/chart/layout/index.js.map +0 -1
  787. package/lib/chart/layout/padding-cal.d.ts +0 -53
  788. package/lib/chart/layout/padding-cal.js +0 -111
  789. package/lib/chart/layout/padding-cal.js.map +0 -1
  790. package/lib/chart/util/scale-pool.d.ts +0 -57
  791. package/lib/chart/util/scale-pool.js +0 -215
  792. package/lib/chart/util/scale-pool.js.map +0 -1
  793. package/lib/chart/util/sync-view-padding.d.ts +0 -9
  794. package/lib/chart/util/sync-view-padding.js +0 -18
  795. package/lib/chart/util/sync-view-padding.js.map +0 -1
  796. package/lib/chart/view.d.ts +0 -747
  797. package/lib/chart/view.js +0 -1637
  798. package/lib/chart/view.js.map +0 -1
  799. package/lib/component/labels.d.ts +0 -47
  800. package/lib/component/labels.js +0 -276
  801. package/lib/component/labels.js.map +0 -1
  802. package/lib/component/update-label.d.ts +0 -21
  803. package/lib/component/update-label.js +0 -61
  804. package/lib/component/update-label.js.map +0 -1
  805. package/lib/constant.d.ts +0 -122
  806. package/lib/constant.js +0 -137
  807. package/lib/constant.js.map +0 -1
  808. package/lib/core.d.ts +0 -46
  809. package/lib/core.js +0 -101
  810. package/lib/core.js.map +0 -1
  811. package/lib/dependents.d.ts +0 -21
  812. package/lib/dependents.js +0 -55
  813. package/lib/dependents.js.map +0 -1
  814. package/lib/engine/index.d.ts +0 -13
  815. package/lib/engine/index.js +0 -27
  816. package/lib/engine/index.js.map +0 -1
  817. package/lib/facet/circle.d.ts +0 -36
  818. package/lib/facet/circle.js +0 -121
  819. package/lib/facet/circle.js.map +0 -1
  820. package/lib/facet/facet.d.ts +0 -165
  821. package/lib/facet/facet.js +0 -294
  822. package/lib/facet/facet.js.map +0 -1
  823. package/lib/facet/index.d.ts +0 -13
  824. package/lib/facet/index.js +0 -28
  825. package/lib/facet/index.js.map +0 -1
  826. package/lib/facet/list.d.ts +0 -46
  827. package/lib/facet/list.js +0 -136
  828. package/lib/facet/list.js.map +0 -1
  829. package/lib/facet/matrix.d.ts +0 -34
  830. package/lib/facet/matrix.js +0 -121
  831. package/lib/facet/matrix.js.map +0 -1
  832. package/lib/facet/mirror.d.ts +0 -31
  833. package/lib/facet/mirror.js +0 -146
  834. package/lib/facet/mirror.js.map +0 -1
  835. package/lib/facet/rect.d.ts +0 -35
  836. package/lib/facet/rect.js +0 -143
  837. package/lib/facet/rect.js.map +0 -1
  838. package/lib/facet/tree.d.ts +0 -40
  839. package/lib/facet/tree.js +0 -290
  840. package/lib/facet/tree.js.map +0 -1
  841. package/lib/geometry/area.d.ts +0 -46
  842. package/lib/geometry/area.js +0 -64
  843. package/lib/geometry/area.js.map +0 -1
  844. package/lib/geometry/base.d.ts +0 -793
  845. package/lib/geometry/base.js +0 -1483
  846. package/lib/geometry/base.js.map +0 -1
  847. package/lib/geometry/edge.d.ts +0 -15
  848. package/lib/geometry/edge.js +0 -26
  849. package/lib/geometry/edge.js.map +0 -1
  850. package/lib/geometry/element/index.d.ts +0 -127
  851. package/lib/geometry/element/index.js +0 -438
  852. package/lib/geometry/element/index.js.map +0 -1
  853. package/lib/geometry/heatmap.d.ts +0 -31
  854. package/lib/geometry/heatmap.js +0 -192
  855. package/lib/geometry/heatmap.js.map +0 -1
  856. package/lib/geometry/interval.d.ts +0 -41
  857. package/lib/geometry/interval.js +0 -100
  858. package/lib/geometry/interval.js.map +0 -1
  859. package/lib/geometry/label/base.d.ts +0 -76
  860. package/lib/geometry/label/base.js +0 -406
  861. package/lib/geometry/label/base.js.map +0 -1
  862. package/lib/geometry/label/index.d.ts +0 -38
  863. package/lib/geometry/label/index.js +0 -42
  864. package/lib/geometry/label/index.js.map +0 -1
  865. package/lib/geometry/label/interface.d.ts +0 -50
  866. package/lib/geometry/label/interface.js +0 -3
  867. package/lib/geometry/label/interface.js.map +0 -1
  868. package/lib/geometry/label/interval.d.ts +0 -27
  869. package/lib/geometry/label/interval.js +0 -148
  870. package/lib/geometry/label/interval.js.map +0 -1
  871. package/lib/geometry/label/layout/adjust-color.d.ts +0 -3
  872. package/lib/geometry/label/layout/adjust-color.js +0 -40
  873. package/lib/geometry/label/layout/adjust-color.js.map +0 -1
  874. package/lib/geometry/label/layout/hide-overlap.d.ts +0 -8
  875. package/lib/geometry/label/layout/hide-overlap.js +0 -33
  876. package/lib/geometry/label/layout/hide-overlap.js.map +0 -1
  877. package/lib/geometry/label/layout/interval/adjust-position.d.ts +0 -9
  878. package/lib/geometry/label/layout/interval/adjust-position.js +0 -65
  879. package/lib/geometry/label/layout/interval/adjust-position.js.map +0 -1
  880. package/lib/geometry/label/layout/interval/hide-overlap.d.ts +0 -9
  881. package/lib/geometry/label/layout/interval/hide-overlap.js +0 -82
  882. package/lib/geometry/label/layout/interval/hide-overlap.js.map +0 -1
  883. package/lib/geometry/label/layout/limit-in-canvas.d.ts +0 -9
  884. package/lib/geometry/label/layout/limit-in-canvas.js +0 -48
  885. package/lib/geometry/label/layout/limit-in-canvas.js.map +0 -1
  886. package/lib/geometry/label/layout/limit-in-plot.d.ts +0 -18
  887. package/lib/geometry/label/layout/limit-in-plot.js +0 -79
  888. package/lib/geometry/label/layout/limit-in-plot.js.map +0 -1
  889. package/lib/geometry/label/layout/limit-in-shape.d.ts +0 -7
  890. package/lib/geometry/label/layout/limit-in-shape.js +0 -22
  891. package/lib/geometry/label/layout/limit-in-shape.js.map +0 -1
  892. package/lib/geometry/label/layout/overlap.d.ts +0 -15
  893. package/lib/geometry/label/layout/overlap.js +0 -228
  894. package/lib/geometry/label/layout/overlap.js.map +0 -1
  895. package/lib/geometry/label/layout/path/adjust-position.d.ts +0 -17
  896. package/lib/geometry/label/layout/path/adjust-position.js +0 -98
  897. package/lib/geometry/label/layout/path/adjust-position.js.map +0 -1
  898. package/lib/geometry/label/layout/pie/distribute.d.ts +0 -3
  899. package/lib/geometry/label/layout/pie/distribute.js +0 -189
  900. package/lib/geometry/label/layout/pie/distribute.js.map +0 -1
  901. package/lib/geometry/label/layout/pie/outer.d.ts +0 -6
  902. package/lib/geometry/label/layout/pie/outer.js +0 -211
  903. package/lib/geometry/label/layout/pie/outer.js.map +0 -1
  904. package/lib/geometry/label/layout/pie/spider.d.ts +0 -7
  905. package/lib/geometry/label/layout/pie/spider.js +0 -185
  906. package/lib/geometry/label/layout/pie/spider.js.map +0 -1
  907. package/lib/geometry/label/layout/pie/util.d.ts +0 -10
  908. package/lib/geometry/label/layout/pie/util.js +0 -77
  909. package/lib/geometry/label/layout/pie/util.js.map +0 -1
  910. package/lib/geometry/label/layout/point/adjust-position.d.ts +0 -17
  911. package/lib/geometry/label/layout/point/adjust-position.js +0 -98
  912. package/lib/geometry/label/layout/point/adjust-position.js.map +0 -1
  913. package/lib/geometry/label/pie.d.ts +0 -22
  914. package/lib/geometry/label/pie.js +0 -97
  915. package/lib/geometry/label/pie.js.map +0 -1
  916. package/lib/geometry/label/polar.d.ts +0 -64
  917. package/lib/geometry/label/polar.js +0 -223
  918. package/lib/geometry/label/polar.js.map +0 -1
  919. package/lib/geometry/label/util/index.d.ts +0 -26
  920. package/lib/geometry/label/util/index.js +0 -68
  921. package/lib/geometry/label/util/index.js.map +0 -1
  922. package/lib/geometry/line.d.ts +0 -11
  923. package/lib/geometry/line.js +0 -23
  924. package/lib/geometry/line.js.map +0 -1
  925. package/lib/geometry/path.d.ts +0 -40
  926. package/lib/geometry/path.js +0 -124
  927. package/lib/geometry/path.js.map +0 -1
  928. package/lib/geometry/point.d.ts +0 -19
  929. package/lib/geometry/point.js +0 -32
  930. package/lib/geometry/point.js.map +0 -1
  931. package/lib/geometry/polygon.d.ts +0 -19
  932. package/lib/geometry/polygon.js +0 -64
  933. package/lib/geometry/polygon.js.map +0 -1
  934. package/lib/geometry/schema.d.ts +0 -18
  935. package/lib/geometry/schema.js +0 -50
  936. package/lib/geometry/schema.js.map +0 -1
  937. package/lib/geometry/shape/area/index.d.ts +0 -2
  938. package/lib/geometry/shape/area/index.js +0 -46
  939. package/lib/geometry/shape/area/index.js.map +0 -1
  940. package/lib/geometry/shape/area/line.d.ts +0 -1
  941. package/lib/geometry/shape/area/line.js +0 -33
  942. package/lib/geometry/shape/area/line.js.map +0 -1
  943. package/lib/geometry/shape/area/smooth-line.d.ts +0 -1
  944. package/lib/geometry/shape/area/smooth-line.js +0 -32
  945. package/lib/geometry/shape/area/smooth-line.js.map +0 -1
  946. package/lib/geometry/shape/area/smooth.d.ts +0 -1
  947. package/lib/geometry/shape/area/smooth.js +0 -33
  948. package/lib/geometry/shape/area/smooth.js.map +0 -1
  949. package/lib/geometry/shape/area/util.d.ts +0 -22
  950. package/lib/geometry/shape/area/util.js +0 -93
  951. package/lib/geometry/shape/area/util.js.map +0 -1
  952. package/lib/geometry/shape/base.d.ts +0 -22
  953. package/lib/geometry/shape/base.js +0 -168
  954. package/lib/geometry/shape/base.js.map +0 -1
  955. package/lib/geometry/shape/constant.d.ts +0 -4
  956. package/lib/geometry/shape/constant.js +0 -8
  957. package/lib/geometry/shape/constant.js.map +0 -1
  958. package/lib/geometry/shape/edge/arc.d.ts +0 -1
  959. package/lib/geometry/shape/edge/arc.js +0 -86
  960. package/lib/geometry/shape/edge/arc.js.map +0 -1
  961. package/lib/geometry/shape/edge/index.d.ts +0 -2
  962. package/lib/geometry/shape/edge/index.js +0 -33
  963. package/lib/geometry/shape/edge/index.js.map +0 -1
  964. package/lib/geometry/shape/edge/smooth.d.ts +0 -1
  965. package/lib/geometry/shape/edge/smooth.js +0 -32
  966. package/lib/geometry/shape/edge/smooth.js.map +0 -1
  967. package/lib/geometry/shape/edge/util.d.ts +0 -17
  968. package/lib/geometry/shape/edge/util.js +0 -37
  969. package/lib/geometry/shape/edge/util.js.map +0 -1
  970. package/lib/geometry/shape/edge/vhv.d.ts +0 -1
  971. package/lib/geometry/shape/edge/vhv.js +0 -44
  972. package/lib/geometry/shape/edge/vhv.js.map +0 -1
  973. package/lib/geometry/shape/interval/funnel.d.ts +0 -1
  974. package/lib/geometry/shape/interval/funnel.js +0 -33
  975. package/lib/geometry/shape/interval/funnel.js.map +0 -1
  976. package/lib/geometry/shape/interval/hollow-rect.d.ts +0 -1
  977. package/lib/geometry/shape/interval/hollow-rect.js +0 -53
  978. package/lib/geometry/shape/interval/hollow-rect.js.map +0 -1
  979. package/lib/geometry/shape/interval/index.d.ts +0 -3
  980. package/lib/geometry/shape/interval/index.js +0 -65
  981. package/lib/geometry/shape/interval/index.js.map +0 -1
  982. package/lib/geometry/shape/interval/line.d.ts +0 -1
  983. package/lib/geometry/shape/interval/line.js +0 -56
  984. package/lib/geometry/shape/interval/line.js.map +0 -1
  985. package/lib/geometry/shape/interval/pyramid.d.ts +0 -1
  986. package/lib/geometry/shape/interval/pyramid.js +0 -33
  987. package/lib/geometry/shape/interval/pyramid.js.map +0 -1
  988. package/lib/geometry/shape/interval/tick.d.ts +0 -1
  989. package/lib/geometry/shape/interval/tick.js +0 -79
  990. package/lib/geometry/shape/interval/tick.js.map +0 -1
  991. package/lib/geometry/shape/interval/util.d.ts +0 -55
  992. package/lib/geometry/shape/interval/util.js +0 -321
  993. package/lib/geometry/shape/interval/util.js.map +0 -1
  994. package/lib/geometry/shape/line/index.d.ts +0 -8
  995. package/lib/geometry/shape/line/index.js +0 -109
  996. package/lib/geometry/shape/line/index.js.map +0 -1
  997. package/lib/geometry/shape/line/step.d.ts +0 -1
  998. package/lib/geometry/shape/line/step.js +0 -86
  999. package/lib/geometry/shape/line/step.js.map +0 -1
  1000. package/lib/geometry/shape/line/util.d.ts +0 -16
  1001. package/lib/geometry/shape/line/util.js +0 -87
  1002. package/lib/geometry/shape/line/util.js.map +0 -1
  1003. package/lib/geometry/shape/point/hollow.d.ts +0 -1
  1004. package/lib/geometry/shape/point/hollow.js +0 -26
  1005. package/lib/geometry/shape/point/hollow.js.map +0 -1
  1006. package/lib/geometry/shape/point/image.d.ts +0 -1
  1007. package/lib/geometry/shape/point/image.js +0 -50
  1008. package/lib/geometry/shape/point/image.js.map +0 -1
  1009. package/lib/geometry/shape/point/index.d.ts +0 -2
  1010. package/lib/geometry/shape/point/index.js +0 -34
  1011. package/lib/geometry/shape/point/index.js.map +0 -1
  1012. package/lib/geometry/shape/point/solid.d.ts +0 -1
  1013. package/lib/geometry/shape/point/solid.js +0 -25
  1014. package/lib/geometry/shape/point/solid.js.map +0 -1
  1015. package/lib/geometry/shape/point/util.d.ts +0 -15
  1016. package/lib/geometry/shape/point/util.js +0 -43
  1017. package/lib/geometry/shape/point/util.js.map +0 -1
  1018. package/lib/geometry/shape/polygon/index.d.ts +0 -2
  1019. package/lib/geometry/shape/polygon/index.js +0 -67
  1020. package/lib/geometry/shape/polygon/index.js.map +0 -1
  1021. package/lib/geometry/shape/polygon/square.d.ts +0 -1
  1022. package/lib/geometry/shape/polygon/square.js +0 -46
  1023. package/lib/geometry/shape/polygon/square.js.map +0 -1
  1024. package/lib/geometry/shape/schema/box.d.ts +0 -1
  1025. package/lib/geometry/shape/schema/box.js +0 -144
  1026. package/lib/geometry/shape/schema/box.js.map +0 -1
  1027. package/lib/geometry/shape/schema/candle.d.ts +0 -1
  1028. package/lib/geometry/shape/schema/candle.js +0 -82
  1029. package/lib/geometry/shape/schema/candle.js.map +0 -1
  1030. package/lib/geometry/shape/schema/index.d.ts +0 -2
  1031. package/lib/geometry/shape/schema/index.js +0 -8
  1032. package/lib/geometry/shape/schema/index.js.map +0 -1
  1033. package/lib/geometry/shape/util/get-path-points.d.ts +0 -38
  1034. package/lib/geometry/shape/util/get-path-points.js +0 -137
  1035. package/lib/geometry/shape/util/get-path-points.js.map +0 -1
  1036. package/lib/geometry/shape/util/get-style.d.ts +0 -18
  1037. package/lib/geometry/shape/util/get-style.js +0 -52
  1038. package/lib/geometry/shape/util/get-style.js.map +0 -1
  1039. package/lib/geometry/shape/util/path.d.ts +0 -32
  1040. package/lib/geometry/shape/util/path.js +0 -320
  1041. package/lib/geometry/shape/util/path.js.map +0 -1
  1042. package/lib/geometry/shape/util/split-points.d.ts +0 -13
  1043. package/lib/geometry/shape/util/split-points.js +0 -28
  1044. package/lib/geometry/shape/util/split-points.js.map +0 -1
  1045. package/lib/geometry/shape/violin/hollow.d.ts +0 -1
  1046. package/lib/geometry/shape/violin/hollow.js +0 -53
  1047. package/lib/geometry/shape/violin/hollow.js.map +0 -1
  1048. package/lib/geometry/shape/violin/index.d.ts +0 -2
  1049. package/lib/geometry/shape/violin/index.js +0 -62
  1050. package/lib/geometry/shape/violin/index.js.map +0 -1
  1051. package/lib/geometry/shape/violin/smooth.d.ts +0 -1
  1052. package/lib/geometry/shape/violin/smooth.js +0 -30
  1053. package/lib/geometry/shape/violin/smooth.js.map +0 -1
  1054. package/lib/geometry/util/diff.d.ts +0 -11
  1055. package/lib/geometry/util/diff.js +0 -34
  1056. package/lib/geometry/util/diff.js.map +0 -1
  1057. package/lib/geometry/util/get-shape-type.d.ts +0 -8
  1058. package/lib/geometry/util/get-shape-type.js +0 -20
  1059. package/lib/geometry/util/get-shape-type.js.map +0 -1
  1060. package/lib/geometry/util/group-data.d.ts +0 -3
  1061. package/lib/geometry/util/group-data.js +0 -35
  1062. package/lib/geometry/util/group-data.js.map +0 -1
  1063. package/lib/geometry/util/is-model-change.d.ts +0 -9
  1064. package/lib/geometry/util/is-model-change.js +0 -18
  1065. package/lib/geometry/util/is-model-change.js.map +0 -1
  1066. package/lib/geometry/util/parse-fields.d.ts +0 -2
  1067. package/lib/geometry/util/parse-fields.js +0 -13
  1068. package/lib/geometry/util/parse-fields.js.map +0 -1
  1069. package/lib/geometry/util/shape-size.d.ts +0 -2
  1070. package/lib/geometry/util/shape-size.js +0 -128
  1071. package/lib/geometry/util/shape-size.js.map +0 -1
  1072. package/lib/geometry/violin.d.ts +0 -25
  1073. package/lib/geometry/violin.js +0 -69
  1074. package/lib/geometry/violin.js.map +0 -1
  1075. package/lib/index.d.ts +0 -107
  1076. package/lib/index.js +0 -578
  1077. package/lib/index.js.map +0 -1
  1078. package/lib/interaction/action/active-region.d.ts +0 -33
  1079. package/lib/interaction/action/active-region.js +0 -202
  1080. package/lib/interaction/action/active-region.js.map +0 -1
  1081. package/lib/interaction/action/base.d.ts +0 -29
  1082. package/lib/interaction/action/base.js +0 -38
  1083. package/lib/interaction/action/base.js.map +0 -1
  1084. package/lib/interaction/action/callback.d.ts +0 -17
  1085. package/lib/interaction/action/callback.js +0 -29
  1086. package/lib/interaction/action/callback.js.map +0 -1
  1087. package/lib/interaction/action/component/list-active.d.ts +0 -14
  1088. package/lib/interaction/action/component/list-active.js +0 -26
  1089. package/lib/interaction/action/component/list-active.js.map +0 -1
  1090. package/lib/interaction/action/component/list-checked.d.ts +0 -30
  1091. package/lib/interaction/action/component/list-checked.js +0 -84
  1092. package/lib/interaction/action/component/list-checked.js.map +0 -1
  1093. package/lib/interaction/action/component/list-focus.d.ts +0 -5
  1094. package/lib/interaction/action/component/list-focus.js +0 -57
  1095. package/lib/interaction/action/component/list-focus.js.map +0 -1
  1096. package/lib/interaction/action/component/list-highlight-util.d.ts +0 -7
  1097. package/lib/interaction/action/component/list-highlight-util.js +0 -24
  1098. package/lib/interaction/action/component/list-highlight-util.js.map +0 -1
  1099. package/lib/interaction/action/component/list-highlight.d.ts +0 -20
  1100. package/lib/interaction/action/component/list-highlight.js +0 -99
  1101. package/lib/interaction/action/component/list-highlight.js.map +0 -1
  1102. package/lib/interaction/action/component/list-radio.d.ts +0 -6
  1103. package/lib/interaction/action/component/list-radio.js +0 -28
  1104. package/lib/interaction/action/component/list-radio.js.map +0 -1
  1105. package/lib/interaction/action/component/list-selected.d.ts +0 -10
  1106. package/lib/interaction/action/component/list-selected.js +0 -22
  1107. package/lib/interaction/action/component/list-selected.js.map +0 -1
  1108. package/lib/interaction/action/component/list-state.d.ts +0 -46
  1109. package/lib/interaction/action/component/list-state.js +0 -169
  1110. package/lib/interaction/action/component/list-state.js.map +0 -1
  1111. package/lib/interaction/action/component/list-unchecked.d.ts +0 -13
  1112. package/lib/interaction/action/component/list-unchecked.js +0 -25
  1113. package/lib/interaction/action/component/list-unchecked.js.map +0 -1
  1114. package/lib/interaction/action/component/tooltip/ellipsis-text.d.ts +0 -25
  1115. package/lib/interaction/action/component/tooltip/ellipsis-text.js +0 -95
  1116. package/lib/interaction/action/component/tooltip/ellipsis-text.js.map +0 -1
  1117. package/lib/interaction/action/component/tooltip/geometry.d.ts +0 -24
  1118. package/lib/interaction/action/component/tooltip/geometry.js +0 -73
  1119. package/lib/interaction/action/component/tooltip/geometry.js.map +0 -1
  1120. package/lib/interaction/action/component/tooltip/sibling.d.ts +0 -21
  1121. package/lib/interaction/action/component/tooltip/sibling.js +0 -41
  1122. package/lib/interaction/action/component/tooltip/sibling.js.map +0 -1
  1123. package/lib/interaction/action/cursor.d.ts +0 -69
  1124. package/lib/interaction/action/cursor.js +0 -115
  1125. package/lib/interaction/action/cursor.js.map +0 -1
  1126. package/lib/interaction/action/data/filter.d.ts +0 -13
  1127. package/lib/interaction/action/data/filter.js +0 -68
  1128. package/lib/interaction/action/data/filter.js.map +0 -1
  1129. package/lib/interaction/action/data/range-filter.d.ts +0 -56
  1130. package/lib/interaction/action/data/range-filter.js +0 -166
  1131. package/lib/interaction/action/data/range-filter.js.map +0 -1
  1132. package/lib/interaction/action/data/sibling-filter.d.ts +0 -22
  1133. package/lib/interaction/action/data/sibling-filter.js +0 -41
  1134. package/lib/interaction/action/data/sibling-filter.js.map +0 -1
  1135. package/lib/interaction/action/element/active.d.ts +0 -14
  1136. package/lib/interaction/action/element/active.js +0 -26
  1137. package/lib/interaction/action/element/active.js.map +0 -1
  1138. package/lib/interaction/action/element/filter.d.ts +0 -20
  1139. package/lib/interaction/action/element/filter.js +0 -91
  1140. package/lib/interaction/action/element/filter.js.map +0 -1
  1141. package/lib/interaction/action/element/highlight-by-color.d.ts +0 -10
  1142. package/lib/interaction/action/element/highlight-by-color.js +0 -32
  1143. package/lib/interaction/action/element/highlight-by-color.js.map +0 -1
  1144. package/lib/interaction/action/element/highlight-by-x.d.ts +0 -15
  1145. package/lib/interaction/action/element/highlight-by-x.js +0 -53
  1146. package/lib/interaction/action/element/highlight-by-x.js.map +0 -1
  1147. package/lib/interaction/action/element/highlight-util.d.ts +0 -18
  1148. package/lib/interaction/action/element/highlight-util.js +0 -50
  1149. package/lib/interaction/action/element/highlight-util.js.map +0 -1
  1150. package/lib/interaction/action/element/highlight.d.ts +0 -21
  1151. package/lib/interaction/action/element/highlight.js +0 -96
  1152. package/lib/interaction/action/element/highlight.js.map +0 -1
  1153. package/lib/interaction/action/element/link-by-color.d.ts +0 -51
  1154. package/lib/interaction/action/element/link-by-color.js +0 -158
  1155. package/lib/interaction/action/element/link-by-color.js.map +0 -1
  1156. package/lib/interaction/action/element/range-active.d.ts +0 -13
  1157. package/lib/interaction/action/element/range-active.js +0 -25
  1158. package/lib/interaction/action/element/range-active.js.map +0 -1
  1159. package/lib/interaction/action/element/range-highlight.d.ts +0 -27
  1160. package/lib/interaction/action/element/range-highlight.js +0 -57
  1161. package/lib/interaction/action/element/range-highlight.js.map +0 -1
  1162. package/lib/interaction/action/element/range-selected.d.ts +0 -13
  1163. package/lib/interaction/action/element/range-selected.js +0 -25
  1164. package/lib/interaction/action/element/range-selected.js.map +0 -1
  1165. package/lib/interaction/action/element/range-state.d.ts +0 -38
  1166. package/lib/interaction/action/element/range-state.js +0 -166
  1167. package/lib/interaction/action/element/range-state.js.map +0 -1
  1168. package/lib/interaction/action/element/selected.d.ts +0 -14
  1169. package/lib/interaction/action/element/selected.js +0 -26
  1170. package/lib/interaction/action/element/selected.js.map +0 -1
  1171. package/lib/interaction/action/element/sibling-filter.d.ts +0 -19
  1172. package/lib/interaction/action/element/sibling-filter.js +0 -95
  1173. package/lib/interaction/action/element/sibling-filter.js.map +0 -1
  1174. package/lib/interaction/action/element/single-active.d.ts +0 -13
  1175. package/lib/interaction/action/element/single-active.js +0 -25
  1176. package/lib/interaction/action/element/single-active.js.map +0 -1
  1177. package/lib/interaction/action/element/single-highlight.d.ts +0 -16
  1178. package/lib/interaction/action/element/single-highlight.js +0 -37
  1179. package/lib/interaction/action/element/single-highlight.js.map +0 -1
  1180. package/lib/interaction/action/element/single-selected.d.ts +0 -13
  1181. package/lib/interaction/action/element/single-selected.js +0 -25
  1182. package/lib/interaction/action/element/single-selected.js.map +0 -1
  1183. package/lib/interaction/action/element/single-state.d.ts +0 -18
  1184. package/lib/interaction/action/element/single-state.js +0 -55
  1185. package/lib/interaction/action/element/single-state.js.map +0 -1
  1186. package/lib/interaction/action/element/state-base.d.ts +0 -39
  1187. package/lib/interaction/action/element/state-base.js +0 -61
  1188. package/lib/interaction/action/element/state-base.js.map +0 -1
  1189. package/lib/interaction/action/element/state.d.ts +0 -28
  1190. package/lib/interaction/action/element/state.js +0 -101
  1191. package/lib/interaction/action/element/state.js.map +0 -1
  1192. package/lib/interaction/action/index.d.ts +0 -2
  1193. package/lib/interaction/action/index.js +0 -13
  1194. package/lib/interaction/action/index.js.map +0 -1
  1195. package/lib/interaction/action/mask/base.d.ts +0 -62
  1196. package/lib/interaction/action/mask/base.js +0 -171
  1197. package/lib/interaction/action/mask/base.js.map +0 -1
  1198. package/lib/interaction/action/mask/circle.d.ts +0 -14
  1199. package/lib/interaction/action/mask/circle.js +0 -39
  1200. package/lib/interaction/action/mask/circle.js.map +0 -1
  1201. package/lib/interaction/action/mask/dim-rect.d.ts +0 -11
  1202. package/lib/interaction/action/mask/dim-rect.js +0 -64
  1203. package/lib/interaction/action/mask/dim-rect.js.map +0 -1
  1204. package/lib/interaction/action/mask/path.d.ts +0 -16
  1205. package/lib/interaction/action/mask/path.js +0 -46
  1206. package/lib/interaction/action/mask/path.js.map +0 -1
  1207. package/lib/interaction/action/mask/rect.d.ts +0 -17
  1208. package/lib/interaction/action/mask/rect.js +0 -41
  1209. package/lib/interaction/action/mask/rect.js.map +0 -1
  1210. package/lib/interaction/action/mask/smooth-path.d.ts +0 -9
  1211. package/lib/interaction/action/mask/smooth-path.js +0 -23
  1212. package/lib/interaction/action/mask/smooth-path.js.map +0 -1
  1213. package/lib/interaction/action/register.d.ts +0 -36
  1214. package/lib/interaction/action/register.js +0 -69
  1215. package/lib/interaction/action/register.js.map +0 -1
  1216. package/lib/interaction/action/util.d.ts +0 -140
  1217. package/lib/interaction/action/util.js +0 -387
  1218. package/lib/interaction/action/util.js.map +0 -1
  1219. package/lib/interaction/action/view/button.d.ts +0 -25
  1220. package/lib/interaction/action/view/button.js +0 -118
  1221. package/lib/interaction/action/view/button.js.map +0 -1
  1222. package/lib/interaction/action/view/drag.d.ts +0 -24
  1223. package/lib/interaction/action/view/drag.js +0 -75
  1224. package/lib/interaction/action/view/drag.js.map +0 -1
  1225. package/lib/interaction/action/view/mousewheel-scroll.d.ts +0 -5
  1226. package/lib/interaction/action/view/mousewheel-scroll.js +0 -37
  1227. package/lib/interaction/action/view/mousewheel-scroll.js.map +0 -1
  1228. package/lib/interaction/action/view/move.d.ts +0 -28
  1229. package/lib/interaction/action/view/move.js +0 -82
  1230. package/lib/interaction/action/view/move.js.map +0 -1
  1231. package/lib/interaction/action/view/scale-transform.d.ts +0 -18
  1232. package/lib/interaction/action/view/scale-transform.js +0 -53
  1233. package/lib/interaction/action/view/scale-transform.js.map +0 -1
  1234. package/lib/interaction/action/view/scale-translate.d.ts +0 -30
  1235. package/lib/interaction/action/view/scale-translate.js +0 -114
  1236. package/lib/interaction/action/view/scale-translate.js.map +0 -1
  1237. package/lib/interaction/action/view/scale-zoom.d.ts +0 -20
  1238. package/lib/interaction/action/view/scale-zoom.js +0 -85
  1239. package/lib/interaction/action/view/scale-zoom.js.map +0 -1
  1240. package/lib/interaction/context.d.ts +0 -65
  1241. package/lib/interaction/context.js +0 -144
  1242. package/lib/interaction/context.js.map +0 -1
  1243. package/lib/interaction/grammar-interaction.d.ts +0 -158
  1244. package/lib/interaction/grammar-interaction.js +0 -289
  1245. package/lib/interaction/grammar-interaction.js.map +0 -1
  1246. package/lib/interaction/index.d.ts +0 -25
  1247. package/lib/interaction/index.js +0 -54
  1248. package/lib/interaction/index.js.map +0 -1
  1249. package/lib/interaction/interaction.d.ts +0 -29
  1250. package/lib/interaction/interaction.js +0 -34
  1251. package/lib/interaction/interaction.js.map +0 -1
  1252. package/lib/interface.d.ts +0 -2264
  1253. package/lib/interface.js +0 -3
  1254. package/lib/interface.js.map +0 -1
  1255. package/lib/theme/index.d.ts +0 -12
  1256. package/lib/theme/index.js +0 -28
  1257. package/lib/theme/index.js.map +0 -1
  1258. package/lib/theme/style-sheet/dark.d.ts +0 -825
  1259. package/lib/theme/style-sheet/dark.js +0 -500
  1260. package/lib/theme/style-sheet/dark.js.map +0 -1
  1261. package/lib/theme/style-sheet/light.d.ts +0 -817
  1262. package/lib/theme/style-sheet/light.js +0 -496
  1263. package/lib/theme/style-sheet/light.js.map +0 -1
  1264. package/lib/theme/util/create-by-style-sheet.d.ts +0 -6
  1265. package/lib/theme/util/create-by-style-sheet.js +0 -1426
  1266. package/lib/theme/util/create-by-style-sheet.js.map +0 -1
  1267. package/lib/theme/util/create-theme.d.ts +0 -6
  1268. package/lib/theme/util/create-theme.js +0 -16
  1269. package/lib/theme/util/create-theme.js.map +0 -1
  1270. package/lib/theme/util/index.d.ts +0 -1
  1271. package/lib/theme/util/index.js +0 -6
  1272. package/lib/theme/util/index.js.map +0 -1
  1273. package/lib/util/annotation.d.ts +0 -7
  1274. package/lib/util/annotation.js +0 -43
  1275. package/lib/util/annotation.js.map +0 -1
  1276. package/lib/util/attr.d.ts +0 -10
  1277. package/lib/util/attr.js +0 -29
  1278. package/lib/util/attr.js.map +0 -1
  1279. package/lib/util/axis.d.ts +0 -100
  1280. package/lib/util/axis.js +0 -251
  1281. package/lib/util/axis.js.map +0 -1
  1282. package/lib/util/bbox.d.ts +0 -105
  1283. package/lib/util/bbox.js +0 -287
  1284. package/lib/util/bbox.js.map +0 -1
  1285. package/lib/util/collision-detect.d.ts +0 -16
  1286. package/lib/util/collision-detect.js +0 -132
  1287. package/lib/util/collision-detect.js.map +0 -1
  1288. package/lib/util/color.d.ts +0 -1
  1289. package/lib/util/color.js +0 -23
  1290. package/lib/util/color.js.map +0 -1
  1291. package/lib/util/context.d.ts +0 -4
  1292. package/lib/util/context.js +0 -15
  1293. package/lib/util/context.js.map +0 -1
  1294. package/lib/util/coordinate.d.ts +0 -86
  1295. package/lib/util/coordinate.js +0 -157
  1296. package/lib/util/coordinate.js.map +0 -1
  1297. package/lib/util/direction.d.ts +0 -19
  1298. package/lib/util/direction.js +0 -125
  1299. package/lib/util/direction.js.map +0 -1
  1300. package/lib/util/dom.d.ts +0 -19
  1301. package/lib/util/dom.js +0 -68
  1302. package/lib/util/dom.js.map +0 -1
  1303. package/lib/util/event.d.ts +0 -8
  1304. package/lib/util/event.js +0 -18
  1305. package/lib/util/event.js.map +0 -1
  1306. package/lib/util/facet.d.ts +0 -16
  1307. package/lib/util/facet.js +0 -48
  1308. package/lib/util/facet.js.map +0 -1
  1309. package/lib/util/graphics.d.ts +0 -58
  1310. package/lib/util/graphics.js +0 -212
  1311. package/lib/util/graphics.js.map +0 -1
  1312. package/lib/util/grid.d.ts +0 -36
  1313. package/lib/util/grid.js +0 -125
  1314. package/lib/util/grid.js.map +0 -1
  1315. package/lib/util/helper.d.ts +0 -34
  1316. package/lib/util/helper.js +0 -79
  1317. package/lib/util/helper.js.map +0 -1
  1318. package/lib/util/legend.d.ts +0 -45
  1319. package/lib/util/legend.js +0 -152
  1320. package/lib/util/legend.js.map +0 -1
  1321. package/lib/util/marker.d.ts +0 -10
  1322. package/lib/util/marker.js +0 -61
  1323. package/lib/util/marker.js.map +0 -1
  1324. package/lib/util/padding.d.ts +0 -14
  1325. package/lib/util/padding.js +0 -45
  1326. package/lib/util/padding.js.map +0 -1
  1327. package/lib/util/scale.d.ts +0 -38
  1328. package/lib/util/scale.js +0 -122
  1329. package/lib/util/scale.js.map +0 -1
  1330. package/lib/util/stat.d.ts +0 -10
  1331. package/lib/util/stat.js +0 -41
  1332. package/lib/util/stat.js.map +0 -1
  1333. package/lib/util/text.d.ts +0 -23
  1334. package/lib/util/text.js +0 -88
  1335. package/lib/util/text.js.map +0 -1
  1336. package/lib/util/tooltip.d.ts +0 -26
  1337. package/lib/util/tooltip.js +0 -422
  1338. package/lib/util/tooltip.js.map +0 -1
  1339. package/lib/util/transform.d.ts +0 -33
  1340. package/lib/util/transform.js +0 -69
  1341. package/lib/util/transform.js.map +0 -1
  1342. package/lib/util/types.d.ts +0 -6
  1343. package/lib/util/types.js +0 -3
  1344. package/lib/util/types.js.map +0 -1
@@ -1,1422 +0,0 @@
1
- import { __assign } from "tslib";
2
- import { TOOLTIP_CSS_CONST } from '@antv/component';
3
- import { ext } from '@antv/matrix-util';
4
- import { deepMix } from '@antv/util';
5
- import { getAngle } from '../../util/graphics';
6
- /**
7
- * 根据样式表创建 axis 组件主题样式
8
- * @param styleSheet
9
- */
10
- function createAxisStyles(styleSheet) {
11
- return {
12
- title: {
13
- autoRotate: true,
14
- position: 'center',
15
- spacing: styleSheet.axisTitleSpacing,
16
- style: {
17
- fill: styleSheet.axisTitleTextFillColor,
18
- fontSize: styleSheet.axisTitleTextFontSize,
19
- lineHeight: styleSheet.axisTitleTextLineHeight,
20
- textBaseline: 'middle',
21
- fontFamily: styleSheet.fontFamily,
22
- },
23
- },
24
- label: {
25
- autoRotate: false,
26
- autoEllipsis: false,
27
- autoHide: { type: 'equidistance', cfg: { minGap: 6 } },
28
- offset: styleSheet.axisLabelOffset,
29
- style: {
30
- fill: styleSheet.axisLabelFillColor,
31
- fontSize: styleSheet.axisLabelFontSize,
32
- lineHeight: styleSheet.axisLabelLineHeight,
33
- fontFamily: styleSheet.fontFamily,
34
- },
35
- },
36
- line: {
37
- style: {
38
- lineWidth: styleSheet.axisLineBorder,
39
- stroke: styleSheet.axisLineBorderColor,
40
- },
41
- },
42
- grid: {
43
- line: {
44
- type: 'line',
45
- style: {
46
- stroke: styleSheet.axisGridBorderColor,
47
- lineWidth: styleSheet.axisGridBorder,
48
- lineDash: styleSheet.axisGridLineDash,
49
- },
50
- },
51
- alignTick: true,
52
- animate: true,
53
- },
54
- tickLine: {
55
- style: {
56
- lineWidth: styleSheet.axisTickLineBorder,
57
- stroke: styleSheet.axisTickLineBorderColor,
58
- },
59
- alignTick: true,
60
- length: styleSheet.axisTickLineLength,
61
- },
62
- subTickLine: null,
63
- animate: true,
64
- };
65
- }
66
- /**
67
- *
68
- * @param styleSheet
69
- */
70
- // export function
71
- /**
72
- * 根据样式表创建 legend 组件主题样式
73
- * @param styleSheet
74
- */
75
- function createLegendStyles(styleSheet) {
76
- return {
77
- title: null,
78
- marker: {
79
- symbol: 'circle',
80
- spacing: styleSheet.legendMarkerSpacing,
81
- style: {
82
- r: styleSheet.legendCircleMarkerSize,
83
- fill: styleSheet.legendMarkerColor,
84
- },
85
- },
86
- itemName: {
87
- spacing: 5,
88
- style: {
89
- fill: styleSheet.legendItemNameFillColor,
90
- fontFamily: styleSheet.fontFamily,
91
- fontSize: styleSheet.legendItemNameFontSize,
92
- lineHeight: styleSheet.legendItemNameLineHeight,
93
- fontWeight: styleSheet.legendItemNameFontWeight,
94
- textAlign: 'start',
95
- textBaseline: 'middle',
96
- },
97
- },
98
- itemStates: {
99
- active: {
100
- nameStyle: {
101
- opacity: 0.8,
102
- },
103
- },
104
- unchecked: {
105
- nameStyle: {
106
- fill: '#D8D8D8',
107
- },
108
- markerStyle: {
109
- fill: '#D8D8D8',
110
- stroke: '#D8D8D8',
111
- },
112
- },
113
- inactive: {
114
- nameStyle: {
115
- fill: '#D8D8D8',
116
- },
117
- markerStyle: {
118
- opacity: 0.2,
119
- },
120
- },
121
- },
122
- flipPage: true,
123
- pageNavigator: {
124
- marker: {
125
- style: {
126
- size: styleSheet.legendPageNavigatorMarkerSize,
127
- inactiveFill: styleSheet.legendPageNavigatorMarkerInactiveFillColor,
128
- inactiveOpacity: styleSheet.legendPageNavigatorMarkerInactiveFillOpacity,
129
- fill: styleSheet.legendPageNavigatorMarkerFillColor,
130
- opacity: styleSheet.legendPageNavigatorMarkerFillOpacity,
131
- },
132
- },
133
- text: {
134
- style: {
135
- fill: styleSheet.legendPageNavigatorTextFillColor,
136
- fontSize: styleSheet.legendPageNavigatorTextFontSize,
137
- },
138
- },
139
- },
140
- animate: false,
141
- maxItemWidth: 200,
142
- itemSpacing: styleSheet.legendItemSpacing,
143
- itemMarginBottom: styleSheet.legendItemMarginBottom,
144
- padding: styleSheet.legendPadding, // 图例组件自己的外边距
145
- };
146
- }
147
- /**
148
- * 根据主题样式表生成主题结构
149
- * @param styleSheet 主题样式表
150
- */
151
- export function createThemeByStyleSheet(styleSheet) {
152
- var _a;
153
- var shapeStyles = {
154
- point: {
155
- default: {
156
- fill: styleSheet.pointFillColor,
157
- r: styleSheet.pointSize,
158
- stroke: styleSheet.pointBorderColor,
159
- lineWidth: styleSheet.pointBorder,
160
- fillOpacity: styleSheet.pointFillOpacity,
161
- },
162
- active: {
163
- stroke: styleSheet.pointActiveBorderColor,
164
- lineWidth: styleSheet.pointActiveBorder,
165
- },
166
- selected: {
167
- stroke: styleSheet.pointSelectedBorderColor,
168
- lineWidth: styleSheet.pointSelectedBorder,
169
- },
170
- inactive: {
171
- fillOpacity: styleSheet.pointInactiveFillOpacity,
172
- strokeOpacity: styleSheet.pointInactiveBorderOpacity,
173
- },
174
- },
175
- hollowPoint: {
176
- default: {
177
- fill: styleSheet.hollowPointFillColor,
178
- lineWidth: styleSheet.hollowPointBorder,
179
- stroke: styleSheet.hollowPointBorderColor,
180
- strokeOpacity: styleSheet.hollowPointBorderOpacity,
181
- r: styleSheet.hollowPointSize,
182
- },
183
- active: {
184
- stroke: styleSheet.hollowPointActiveBorderColor,
185
- strokeOpacity: styleSheet.hollowPointActiveBorderOpacity,
186
- },
187
- selected: {
188
- lineWidth: styleSheet.hollowPointSelectedBorder,
189
- stroke: styleSheet.hollowPointSelectedBorderColor,
190
- strokeOpacity: styleSheet.hollowPointSelectedBorderOpacity,
191
- },
192
- inactive: {
193
- strokeOpacity: styleSheet.hollowPointInactiveBorderOpacity,
194
- },
195
- },
196
- area: {
197
- default: {
198
- fill: styleSheet.areaFillColor,
199
- fillOpacity: styleSheet.areaFillOpacity,
200
- stroke: null,
201
- },
202
- active: {
203
- fillOpacity: styleSheet.areaActiveFillOpacity,
204
- },
205
- selected: {
206
- fillOpacity: styleSheet.areaSelectedFillOpacity,
207
- },
208
- inactive: {
209
- fillOpacity: styleSheet.areaInactiveFillOpacity,
210
- },
211
- },
212
- hollowArea: {
213
- default: {
214
- fill: null,
215
- stroke: styleSheet.hollowAreaBorderColor,
216
- lineWidth: styleSheet.hollowAreaBorder,
217
- strokeOpacity: styleSheet.hollowAreaBorderOpacity,
218
- },
219
- active: {
220
- fill: null,
221
- lineWidth: styleSheet.hollowAreaActiveBorder,
222
- },
223
- selected: {
224
- fill: null,
225
- lineWidth: styleSheet.hollowAreaSelectedBorder,
226
- },
227
- inactive: {
228
- strokeOpacity: styleSheet.hollowAreaInactiveBorderOpacity,
229
- },
230
- },
231
- interval: {
232
- default: {
233
- fill: styleSheet.intervalFillColor,
234
- fillOpacity: styleSheet.intervalFillOpacity,
235
- },
236
- active: {
237
- stroke: styleSheet.intervalActiveBorderColor,
238
- lineWidth: styleSheet.intervalActiveBorder,
239
- },
240
- selected: {
241
- stroke: styleSheet.intervalSelectedBorderColor,
242
- lineWidth: styleSheet.intervalSelectedBorder,
243
- },
244
- inactive: {
245
- fillOpacity: styleSheet.intervalInactiveFillOpacity,
246
- strokeOpacity: styleSheet.intervalInactiveBorderOpacity,
247
- },
248
- },
249
- hollowInterval: {
250
- default: {
251
- fill: styleSheet.hollowIntervalFillColor,
252
- stroke: styleSheet.hollowIntervalBorderColor,
253
- lineWidth: styleSheet.hollowIntervalBorder,
254
- strokeOpacity: styleSheet.hollowIntervalBorderOpacity,
255
- },
256
- active: {
257
- stroke: styleSheet.hollowIntervalActiveBorderColor,
258
- lineWidth: styleSheet.hollowIntervalActiveBorder,
259
- strokeOpacity: styleSheet.hollowIntervalActiveBorderOpacity,
260
- },
261
- selected: {
262
- stroke: styleSheet.hollowIntervalSelectedBorderColor,
263
- lineWidth: styleSheet.hollowIntervalSelectedBorder,
264
- strokeOpacity: styleSheet.hollowIntervalSelectedBorderOpacity,
265
- },
266
- inactive: {
267
- stroke: styleSheet.hollowIntervalInactiveBorderColor,
268
- lineWidth: styleSheet.hollowIntervalInactiveBorder,
269
- strokeOpacity: styleSheet.hollowIntervalInactiveBorderOpacity,
270
- },
271
- },
272
- line: {
273
- default: {
274
- stroke: styleSheet.lineBorderColor,
275
- lineWidth: styleSheet.lineBorder,
276
- strokeOpacity: styleSheet.lineBorderOpacity,
277
- fill: null,
278
- lineAppendWidth: 10,
279
- lineCap: 'round',
280
- lineJoin: 'round',
281
- },
282
- active: {
283
- lineWidth: styleSheet.lineActiveBorder,
284
- },
285
- selected: {
286
- lineWidth: styleSheet.lineSelectedBorder,
287
- },
288
- inactive: {
289
- strokeOpacity: styleSheet.lineInactiveBorderOpacity,
290
- },
291
- },
292
- };
293
- var axisStyles = createAxisStyles(styleSheet);
294
- var legendStyles = createLegendStyles(styleSheet);
295
- return {
296
- background: styleSheet.backgroundColor,
297
- defaultColor: styleSheet.brandColor,
298
- subColor: styleSheet.subColor,
299
- semanticRed: styleSheet.paletteSemanticRed,
300
- semanticGreen: styleSheet.paletteSemanticGreen,
301
- padding: 'auto',
302
- fontFamily: styleSheet.fontFamily,
303
- // 兼容Theme配置
304
- /** 一般柱状图宽度占比,geometry中已添加默认值,为了geometry配置生效默认值为null */
305
- columnWidthRatio: 1 / 2,
306
- /** 柱状图最大宽度 */
307
- maxColumnWidth: null,
308
- /** 柱状图最小宽度 */
309
- minColumnWidth: null,
310
- /** 玫瑰图占比 */
311
- roseWidthRatio: 0.9999999,
312
- /** 多层饼图/环图占比 */
313
- multiplePieWidthRatio: 1 / 1.3,
314
- colors10: styleSheet.paletteQualitative10,
315
- colors20: styleSheet.paletteQualitative20,
316
- sequenceColors: styleSheet.paletteSequence,
317
- shapes: {
318
- point: [
319
- 'hollow-circle',
320
- 'hollow-square',
321
- 'hollow-bowtie',
322
- 'hollow-diamond',
323
- 'hollow-hexagon',
324
- 'hollow-triangle',
325
- 'hollow-triangle-down',
326
- 'circle',
327
- 'square',
328
- 'bowtie',
329
- 'diamond',
330
- 'hexagon',
331
- 'triangle',
332
- 'triangle-down',
333
- 'cross',
334
- 'tick',
335
- 'plus',
336
- 'hyphen',
337
- 'line',
338
- ],
339
- line: ['line', 'dash', 'dot', 'smooth'],
340
- area: ['area', 'smooth', 'line', 'smooth-line'],
341
- interval: ['rect', 'hollow-rect', 'line', 'tick'],
342
- },
343
- sizes: [1, 10],
344
- geometries: {
345
- interval: {
346
- rect: {
347
- default: {
348
- style: shapeStyles.interval.default,
349
- },
350
- active: {
351
- style: shapeStyles.interval.active,
352
- },
353
- inactive: {
354
- style: shapeStyles.interval.inactive,
355
- },
356
- selected: {
357
- style: function (element) {
358
- var coordinate = element.geometry.coordinate;
359
- if (coordinate.isPolar && coordinate.isTransposed) {
360
- var _a = getAngle(element.getModel(), coordinate), startAngle = _a.startAngle, endAngle = _a.endAngle;
361
- var middleAngle = (startAngle + endAngle) / 2;
362
- var r = 7.5;
363
- var x = r * Math.cos(middleAngle);
364
- var y = r * Math.sin(middleAngle);
365
- return {
366
- matrix: ext.transform(null, [['t', x, y]]),
367
- };
368
- }
369
- return shapeStyles.interval.selected;
370
- },
371
- },
372
- },
373
- 'hollow-rect': {
374
- default: {
375
- style: shapeStyles.hollowInterval.default,
376
- },
377
- active: {
378
- style: shapeStyles.hollowInterval.active,
379
- },
380
- inactive: {
381
- style: shapeStyles.hollowInterval.inactive,
382
- },
383
- selected: {
384
- style: shapeStyles.hollowInterval.selected,
385
- },
386
- },
387
- line: {
388
- default: {
389
- style: shapeStyles.hollowInterval.default,
390
- },
391
- active: {
392
- style: shapeStyles.hollowInterval.active,
393
- },
394
- inactive: {
395
- style: shapeStyles.hollowInterval.inactive,
396
- },
397
- selected: {
398
- style: shapeStyles.hollowInterval.selected,
399
- },
400
- },
401
- tick: {
402
- default: {
403
- style: shapeStyles.hollowInterval.default,
404
- },
405
- active: {
406
- style: shapeStyles.hollowInterval.active,
407
- },
408
- inactive: {
409
- style: shapeStyles.hollowInterval.inactive,
410
- },
411
- selected: {
412
- style: shapeStyles.hollowInterval.selected,
413
- },
414
- },
415
- funnel: {
416
- default: {
417
- style: shapeStyles.interval.default,
418
- },
419
- active: {
420
- style: shapeStyles.interval.active,
421
- },
422
- inactive: {
423
- style: shapeStyles.interval.inactive,
424
- },
425
- selected: {
426
- style: shapeStyles.interval.selected,
427
- },
428
- },
429
- pyramid: {
430
- default: {
431
- style: shapeStyles.interval.default,
432
- },
433
- active: {
434
- style: shapeStyles.interval.active,
435
- },
436
- inactive: {
437
- style: shapeStyles.interval.inactive,
438
- },
439
- selected: {
440
- style: shapeStyles.interval.selected,
441
- },
442
- },
443
- },
444
- line: {
445
- line: {
446
- default: {
447
- style: shapeStyles.line.default,
448
- },
449
- active: {
450
- style: shapeStyles.line.active,
451
- },
452
- inactive: {
453
- style: shapeStyles.line.inactive,
454
- },
455
- selected: {
456
- style: shapeStyles.line.selected,
457
- },
458
- },
459
- dot: {
460
- default: {
461
- style: __assign(__assign({}, shapeStyles.line.default), { lineCap: null, lineDash: [1, 1] }),
462
- },
463
- active: {
464
- style: __assign(__assign({}, shapeStyles.line.active), { lineCap: null, lineDash: [1, 1] }),
465
- },
466
- inactive: {
467
- style: __assign(__assign({}, shapeStyles.line.inactive), { lineCap: null, lineDash: [1, 1] }),
468
- },
469
- selected: {
470
- style: __assign(__assign({}, shapeStyles.line.selected), { lineCap: null, lineDash: [1, 1] }),
471
- },
472
- },
473
- dash: {
474
- default: {
475
- style: __assign(__assign({}, shapeStyles.line.default), { lineCap: null, lineDash: [5.5, 1] }),
476
- },
477
- active: {
478
- style: __assign(__assign({}, shapeStyles.line.active), { lineCap: null, lineDash: [5.5, 1] }),
479
- },
480
- inactive: {
481
- style: __assign(__assign({}, shapeStyles.line.inactive), { lineCap: null, lineDash: [5.5, 1] }),
482
- },
483
- selected: {
484
- style: __assign(__assign({}, shapeStyles.line.selected), { lineCap: null, lineDash: [5.5, 1] }),
485
- },
486
- },
487
- smooth: {
488
- default: {
489
- style: shapeStyles.line.default,
490
- },
491
- active: {
492
- style: shapeStyles.line.active,
493
- },
494
- inactive: {
495
- style: shapeStyles.line.inactive,
496
- },
497
- selected: {
498
- style: shapeStyles.line.selected,
499
- },
500
- },
501
- hv: {
502
- default: {
503
- style: shapeStyles.line.default,
504
- },
505
- active: {
506
- style: shapeStyles.line.active,
507
- },
508
- inactive: {
509
- style: shapeStyles.line.inactive,
510
- },
511
- selected: {
512
- style: shapeStyles.line.selected,
513
- },
514
- },
515
- vh: {
516
- default: {
517
- style: shapeStyles.line.default,
518
- },
519
- active: {
520
- style: shapeStyles.line.active,
521
- },
522
- inactive: {
523
- style: shapeStyles.line.inactive,
524
- },
525
- selected: {
526
- style: shapeStyles.line.selected,
527
- },
528
- },
529
- hvh: {
530
- default: {
531
- style: shapeStyles.line.default,
532
- },
533
- active: {
534
- style: shapeStyles.line.active,
535
- },
536
- inactive: {
537
- style: shapeStyles.line.inactive,
538
- },
539
- selected: {
540
- style: shapeStyles.line.selected,
541
- },
542
- },
543
- vhv: {
544
- default: {
545
- style: shapeStyles.line.default,
546
- },
547
- active: {
548
- style: shapeStyles.line.active,
549
- },
550
- inactive: {
551
- style: shapeStyles.line.inactive,
552
- },
553
- selected: {
554
- style: shapeStyles.line.selected,
555
- },
556
- },
557
- },
558
- polygon: {
559
- polygon: {
560
- default: {
561
- style: shapeStyles.interval.default,
562
- },
563
- active: {
564
- style: shapeStyles.interval.active,
565
- },
566
- inactive: {
567
- style: shapeStyles.interval.inactive,
568
- },
569
- selected: {
570
- style: shapeStyles.interval.selected,
571
- },
572
- },
573
- },
574
- point: {
575
- circle: {
576
- default: {
577
- style: shapeStyles.point.default,
578
- },
579
- active: {
580
- style: shapeStyles.point.active,
581
- },
582
- inactive: {
583
- style: shapeStyles.point.inactive,
584
- },
585
- selected: {
586
- style: shapeStyles.point.selected,
587
- },
588
- },
589
- square: {
590
- default: {
591
- style: shapeStyles.point.default,
592
- },
593
- active: {
594
- style: shapeStyles.point.active,
595
- },
596
- inactive: {
597
- style: shapeStyles.point.inactive,
598
- },
599
- selected: {
600
- style: shapeStyles.point.selected,
601
- },
602
- },
603
- bowtie: {
604
- default: {
605
- style: shapeStyles.point.default,
606
- },
607
- active: {
608
- style: shapeStyles.point.active,
609
- },
610
- inactive: {
611
- style: shapeStyles.point.inactive,
612
- },
613
- selected: {
614
- style: shapeStyles.point.selected,
615
- },
616
- },
617
- diamond: {
618
- default: {
619
- style: shapeStyles.point.default,
620
- },
621
- active: {
622
- style: shapeStyles.point.active,
623
- },
624
- inactive: {
625
- style: shapeStyles.point.inactive,
626
- },
627
- selected: {
628
- style: shapeStyles.point.selected,
629
- },
630
- },
631
- hexagon: {
632
- default: {
633
- style: shapeStyles.point.default,
634
- },
635
- active: {
636
- style: shapeStyles.point.active,
637
- },
638
- inactive: {
639
- style: shapeStyles.point.inactive,
640
- },
641
- selected: {
642
- style: shapeStyles.point.selected,
643
- },
644
- },
645
- triangle: {
646
- default: {
647
- style: shapeStyles.point.default,
648
- },
649
- active: {
650
- style: shapeStyles.point.active,
651
- },
652
- inactive: {
653
- style: shapeStyles.point.inactive,
654
- },
655
- selected: {
656
- style: shapeStyles.point.selected,
657
- },
658
- },
659
- 'triangle-down': {
660
- default: {
661
- style: shapeStyles.point.default,
662
- },
663
- active: {
664
- style: shapeStyles.point.active,
665
- },
666
- inactive: {
667
- style: shapeStyles.point.inactive,
668
- },
669
- selected: {
670
- style: shapeStyles.point.selected,
671
- },
672
- },
673
- 'hollow-circle': {
674
- default: {
675
- style: shapeStyles.hollowPoint.default,
676
- },
677
- active: {
678
- style: shapeStyles.hollowPoint.active,
679
- },
680
- inactive: {
681
- style: shapeStyles.hollowPoint.inactive,
682
- },
683
- selected: {
684
- style: shapeStyles.hollowPoint.selected,
685
- },
686
- },
687
- 'hollow-square': {
688
- default: {
689
- style: shapeStyles.hollowPoint.default,
690
- },
691
- active: {
692
- style: shapeStyles.hollowPoint.active,
693
- },
694
- inactive: {
695
- style: shapeStyles.hollowPoint.inactive,
696
- },
697
- selected: {
698
- style: shapeStyles.hollowPoint.selected,
699
- },
700
- },
701
- 'hollow-bowtie': {
702
- default: {
703
- style: shapeStyles.hollowPoint.default,
704
- },
705
- active: {
706
- style: shapeStyles.hollowPoint.active,
707
- },
708
- inactive: {
709
- style: shapeStyles.hollowPoint.inactive,
710
- },
711
- selected: {
712
- style: shapeStyles.hollowPoint.selected,
713
- },
714
- },
715
- 'hollow-diamond': {
716
- default: {
717
- style: shapeStyles.hollowPoint.default,
718
- },
719
- active: {
720
- style: shapeStyles.hollowPoint.active,
721
- },
722
- inactive: {
723
- style: shapeStyles.hollowPoint.inactive,
724
- },
725
- selected: {
726
- style: shapeStyles.hollowPoint.selected,
727
- },
728
- },
729
- 'hollow-hexagon': {
730
- default: {
731
- style: shapeStyles.hollowPoint.default,
732
- },
733
- active: {
734
- style: shapeStyles.hollowPoint.active,
735
- },
736
- inactive: {
737
- style: shapeStyles.hollowPoint.inactive,
738
- },
739
- selected: {
740
- style: shapeStyles.hollowPoint.selected,
741
- },
742
- },
743
- 'hollow-triangle': {
744
- default: {
745
- style: shapeStyles.hollowPoint.default,
746
- },
747
- active: {
748
- style: shapeStyles.hollowPoint.active,
749
- },
750
- inactive: {
751
- style: shapeStyles.hollowPoint.inactive,
752
- },
753
- selected: {
754
- style: shapeStyles.hollowPoint.selected,
755
- },
756
- },
757
- 'hollow-triangle-down': {
758
- default: {
759
- style: shapeStyles.hollowPoint.default,
760
- },
761
- active: {
762
- style: shapeStyles.hollowPoint.active,
763
- },
764
- inactive: {
765
- style: shapeStyles.hollowPoint.inactive,
766
- },
767
- selected: {
768
- style: shapeStyles.hollowPoint.selected,
769
- },
770
- },
771
- cross: {
772
- default: {
773
- style: shapeStyles.hollowPoint.default,
774
- },
775
- active: {
776
- style: shapeStyles.hollowPoint.active,
777
- },
778
- inactive: {
779
- style: shapeStyles.hollowPoint.inactive,
780
- },
781
- selected: {
782
- style: shapeStyles.hollowPoint.selected,
783
- },
784
- },
785
- tick: {
786
- default: {
787
- style: shapeStyles.hollowPoint.default,
788
- },
789
- active: {
790
- style: shapeStyles.hollowPoint.active,
791
- },
792
- inactive: {
793
- style: shapeStyles.hollowPoint.inactive,
794
- },
795
- selected: {
796
- style: shapeStyles.hollowPoint.selected,
797
- },
798
- },
799
- plus: {
800
- default: {
801
- style: shapeStyles.hollowPoint.default,
802
- },
803
- active: {
804
- style: shapeStyles.hollowPoint.active,
805
- },
806
- inactive: {
807
- style: shapeStyles.hollowPoint.inactive,
808
- },
809
- selected: {
810
- style: shapeStyles.hollowPoint.selected,
811
- },
812
- },
813
- hyphen: {
814
- default: {
815
- style: shapeStyles.hollowPoint.default,
816
- },
817
- active: {
818
- style: shapeStyles.hollowPoint.active,
819
- },
820
- inactive: {
821
- style: shapeStyles.hollowPoint.inactive,
822
- },
823
- selected: {
824
- style: shapeStyles.hollowPoint.selected,
825
- },
826
- },
827
- line: {
828
- default: {
829
- style: shapeStyles.hollowPoint.default,
830
- },
831
- active: {
832
- style: shapeStyles.hollowPoint.active,
833
- },
834
- inactive: {
835
- style: shapeStyles.hollowPoint.inactive,
836
- },
837
- selected: {
838
- style: shapeStyles.hollowPoint.selected,
839
- },
840
- },
841
- },
842
- area: {
843
- area: {
844
- default: {
845
- style: shapeStyles.area.default,
846
- },
847
- active: {
848
- style: shapeStyles.area.active,
849
- },
850
- inactive: {
851
- style: shapeStyles.area.inactive,
852
- },
853
- selected: {
854
- style: shapeStyles.area.selected,
855
- },
856
- },
857
- smooth: {
858
- default: {
859
- style: shapeStyles.area.default,
860
- },
861
- active: {
862
- style: shapeStyles.area.active,
863
- },
864
- inactive: {
865
- style: shapeStyles.area.inactive,
866
- },
867
- selected: {
868
- style: shapeStyles.area.selected,
869
- },
870
- },
871
- line: {
872
- default: {
873
- style: shapeStyles.hollowArea.default,
874
- },
875
- active: {
876
- style: shapeStyles.hollowArea.active,
877
- },
878
- inactive: {
879
- style: shapeStyles.hollowArea.inactive,
880
- },
881
- selected: {
882
- style: shapeStyles.hollowArea.selected,
883
- },
884
- },
885
- 'smooth-line': {
886
- default: {
887
- style: shapeStyles.hollowArea.default,
888
- },
889
- active: {
890
- style: shapeStyles.hollowArea.active,
891
- },
892
- inactive: {
893
- style: shapeStyles.hollowArea.inactive,
894
- },
895
- selected: {
896
- style: shapeStyles.hollowArea.selected,
897
- },
898
- },
899
- },
900
- schema: {
901
- candle: {
902
- default: {
903
- style: shapeStyles.hollowInterval.default,
904
- },
905
- active: {
906
- style: shapeStyles.hollowInterval.active,
907
- },
908
- inactive: {
909
- style: shapeStyles.hollowInterval.inactive,
910
- },
911
- selected: {
912
- style: shapeStyles.hollowInterval.selected,
913
- },
914
- },
915
- box: {
916
- default: {
917
- style: shapeStyles.hollowInterval.default,
918
- },
919
- active: {
920
- style: shapeStyles.hollowInterval.active,
921
- },
922
- inactive: {
923
- style: shapeStyles.hollowInterval.inactive,
924
- },
925
- selected: {
926
- style: shapeStyles.hollowInterval.selected,
927
- },
928
- },
929
- },
930
- edge: {
931
- line: {
932
- default: {
933
- style: shapeStyles.line.default,
934
- },
935
- active: {
936
- style: shapeStyles.line.active,
937
- },
938
- inactive: {
939
- style: shapeStyles.line.inactive,
940
- },
941
- selected: {
942
- style: shapeStyles.line.selected,
943
- },
944
- },
945
- vhv: {
946
- default: {
947
- style: shapeStyles.line.default,
948
- },
949
- active: {
950
- style: shapeStyles.line.active,
951
- },
952
- inactive: {
953
- style: shapeStyles.line.inactive,
954
- },
955
- selected: {
956
- style: shapeStyles.line.selected,
957
- },
958
- },
959
- smooth: {
960
- default: {
961
- style: shapeStyles.line.default,
962
- },
963
- active: {
964
- style: shapeStyles.line.active,
965
- },
966
- inactive: {
967
- style: shapeStyles.line.inactive,
968
- },
969
- selected: {
970
- style: shapeStyles.line.selected,
971
- },
972
- },
973
- arc: {
974
- default: {
975
- style: shapeStyles.line.default,
976
- },
977
- active: {
978
- style: shapeStyles.line.active,
979
- },
980
- inactive: {
981
- style: shapeStyles.line.inactive,
982
- },
983
- selected: {
984
- style: shapeStyles.line.selected,
985
- },
986
- },
987
- },
988
- violin: {
989
- violin: {
990
- default: {
991
- style: shapeStyles.line.default,
992
- },
993
- active: {
994
- style: shapeStyles.line.active,
995
- },
996
- inactive: {
997
- style: shapeStyles.line.inactive,
998
- },
999
- selected: {
1000
- style: shapeStyles.line.selected,
1001
- },
1002
- },
1003
- smooth: {
1004
- default: {
1005
- style: shapeStyles.line.default,
1006
- },
1007
- active: {
1008
- style: shapeStyles.line.active,
1009
- },
1010
- inactive: {
1011
- style: shapeStyles.line.inactive,
1012
- },
1013
- selected: {
1014
- style: shapeStyles.line.selected,
1015
- },
1016
- },
1017
- hollow: {
1018
- default: {
1019
- style: shapeStyles.hollowArea.default,
1020
- },
1021
- active: {
1022
- style: shapeStyles.hollowArea.active,
1023
- },
1024
- inactive: {
1025
- style: shapeStyles.hollowArea.inactive,
1026
- },
1027
- selected: {
1028
- style: shapeStyles.hollowArea.selected,
1029
- },
1030
- },
1031
- 'hollow-smooth': {
1032
- default: {
1033
- style: shapeStyles.hollowArea.default,
1034
- },
1035
- active: {
1036
- style: shapeStyles.hollowArea.active,
1037
- },
1038
- inactive: {
1039
- style: shapeStyles.hollowArea.inactive,
1040
- },
1041
- selected: {
1042
- style: shapeStyles.hollowArea.selected,
1043
- },
1044
- },
1045
- },
1046
- },
1047
- components: {
1048
- axis: {
1049
- common: axisStyles,
1050
- top: {
1051
- position: 'top',
1052
- grid: null,
1053
- title: null,
1054
- verticalLimitLength: 1 / 2,
1055
- },
1056
- bottom: {
1057
- position: 'bottom',
1058
- grid: null,
1059
- title: null,
1060
- verticalLimitLength: 1 / 2,
1061
- },
1062
- left: {
1063
- position: 'left',
1064
- title: null,
1065
- line: null,
1066
- tickLine: null,
1067
- verticalLimitLength: 1 / 3,
1068
- },
1069
- right: {
1070
- position: 'right',
1071
- title: null,
1072
- line: null,
1073
- tickLine: null,
1074
- verticalLimitLength: 1 / 3,
1075
- },
1076
- circle: {
1077
- title: null,
1078
- grid: deepMix({}, axisStyles.grid, { line: { type: 'line' } }),
1079
- },
1080
- radius: {
1081
- title: null,
1082
- grid: deepMix({}, axisStyles.grid, { line: { type: 'circle' } }),
1083
- },
1084
- },
1085
- legend: {
1086
- common: legendStyles,
1087
- right: {
1088
- layout: 'vertical',
1089
- padding: styleSheet.legendVerticalPadding,
1090
- },
1091
- left: {
1092
- layout: 'vertical',
1093
- padding: styleSheet.legendVerticalPadding,
1094
- },
1095
- top: {
1096
- layout: 'horizontal',
1097
- padding: styleSheet.legendHorizontalPadding,
1098
- },
1099
- bottom: {
1100
- layout: 'horizontal',
1101
- padding: styleSheet.legendHorizontalPadding,
1102
- },
1103
- continuous: {
1104
- title: null,
1105
- background: null,
1106
- track: {},
1107
- rail: {
1108
- type: 'color',
1109
- size: styleSheet.sliderRailHeight,
1110
- defaultLength: styleSheet.sliderRailWidth,
1111
- style: {
1112
- fill: styleSheet.sliderRailFillColor,
1113
- stroke: styleSheet.sliderRailBorderColor,
1114
- lineWidth: styleSheet.sliderRailBorder,
1115
- },
1116
- },
1117
- label: {
1118
- align: 'rail',
1119
- spacing: 4,
1120
- formatter: null,
1121
- style: {
1122
- fill: styleSheet.sliderLabelTextFillColor,
1123
- fontSize: styleSheet.sliderLabelTextFontSize,
1124
- lineHeight: styleSheet.sliderLabelTextLineHeight,
1125
- textBaseline: 'middle',
1126
- fontFamily: styleSheet.fontFamily,
1127
- },
1128
- },
1129
- handler: {
1130
- size: styleSheet.sliderHandlerWidth,
1131
- style: {
1132
- fill: styleSheet.sliderHandlerFillColor,
1133
- stroke: styleSheet.sliderHandlerBorderColor,
1134
- },
1135
- },
1136
- slidable: true,
1137
- padding: legendStyles.padding,
1138
- },
1139
- },
1140
- tooltip: {
1141
- showContent: true,
1142
- follow: true,
1143
- showCrosshairs: false,
1144
- showMarkers: true,
1145
- shared: false,
1146
- enterable: false,
1147
- position: 'auto',
1148
- marker: {
1149
- symbol: 'circle',
1150
- stroke: '#fff',
1151
- shadowBlur: 10,
1152
- shadowOffsetX: 0,
1153
- shadowOffsetY: 0,
1154
- shadowColor: 'rgba(0,0,0,0.09)',
1155
- lineWidth: 2,
1156
- r: 4,
1157
- },
1158
- crosshairs: {
1159
- line: {
1160
- style: {
1161
- stroke: styleSheet.tooltipCrosshairsBorderColor,
1162
- lineWidth: styleSheet.tooltipCrosshairsBorder,
1163
- },
1164
- },
1165
- text: null,
1166
- textBackground: {
1167
- padding: 2,
1168
- style: {
1169
- fill: 'rgba(0, 0, 0, 0.25)',
1170
- lineWidth: 0,
1171
- stroke: null,
1172
- },
1173
- },
1174
- follow: false,
1175
- },
1176
- // tooltip dom 样式
1177
- domStyles: (_a = {},
1178
- _a["".concat(TOOLTIP_CSS_CONST.CONTAINER_CLASS)] = {
1179
- position: 'absolute',
1180
- visibility: 'hidden',
1181
- zIndex: 8,
1182
- transition: 'left 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0s, top 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0s',
1183
- backgroundColor: styleSheet.tooltipContainerFillColor,
1184
- opacity: styleSheet.tooltipContainerFillOpacity,
1185
- boxShadow: styleSheet.tooltipContainerShadow,
1186
- borderRadius: "".concat(styleSheet.tooltipContainerBorderRadius, "px"),
1187
- color: styleSheet.tooltipTextFillColor,
1188
- fontSize: "".concat(styleSheet.tooltipTextFontSize, "px"),
1189
- fontFamily: styleSheet.fontFamily,
1190
- lineHeight: "".concat(styleSheet.tooltipTextLineHeight, "px"),
1191
- padding: '0 12px 0 12px',
1192
- },
1193
- _a["".concat(TOOLTIP_CSS_CONST.TITLE_CLASS)] = {
1194
- marginBottom: '12px',
1195
- marginTop: '12px',
1196
- },
1197
- _a["".concat(TOOLTIP_CSS_CONST.LIST_CLASS)] = {
1198
- margin: 0,
1199
- listStyleType: 'none',
1200
- padding: 0,
1201
- },
1202
- _a["".concat(TOOLTIP_CSS_CONST.LIST_ITEM_CLASS)] = {
1203
- listStyleType: 'none',
1204
- padding: 0,
1205
- marginBottom: '12px',
1206
- marginTop: '12px',
1207
- marginLeft: 0,
1208
- marginRight: 0,
1209
- },
1210
- _a["".concat(TOOLTIP_CSS_CONST.MARKER_CLASS)] = {
1211
- width: '8px',
1212
- height: '8px',
1213
- borderRadius: '50%',
1214
- display: 'inline-block',
1215
- marginRight: '8px',
1216
- },
1217
- _a["".concat(TOOLTIP_CSS_CONST.VALUE_CLASS)] = {
1218
- display: 'inline-block',
1219
- float: 'right',
1220
- marginLeft: '30px',
1221
- },
1222
- _a),
1223
- },
1224
- annotation: {
1225
- arc: {
1226
- style: {
1227
- stroke: styleSheet.annotationArcBorderColor,
1228
- lineWidth: styleSheet.annotationArcBorder,
1229
- },
1230
- animate: true,
1231
- },
1232
- line: {
1233
- style: {
1234
- stroke: styleSheet.annotationLineBorderColor,
1235
- lineDash: styleSheet.annotationLineDash,
1236
- lineWidth: styleSheet.annotationLineBorder,
1237
- },
1238
- text: {
1239
- position: 'start',
1240
- autoRotate: true,
1241
- style: {
1242
- fill: styleSheet.annotationTextFillColor,
1243
- stroke: styleSheet.annotationTextBorderColor,
1244
- lineWidth: styleSheet.annotationTextBorder,
1245
- fontSize: styleSheet.annotationTextFontSize,
1246
- textAlign: 'start',
1247
- fontFamily: styleSheet.fontFamily,
1248
- textBaseline: 'bottom',
1249
- },
1250
- },
1251
- animate: true,
1252
- },
1253
- text: {
1254
- style: {
1255
- fill: styleSheet.annotationTextFillColor,
1256
- stroke: styleSheet.annotationTextBorderColor,
1257
- lineWidth: styleSheet.annotationTextBorder,
1258
- fontSize: styleSheet.annotationTextFontSize,
1259
- textBaseline: 'middle',
1260
- textAlign: 'start',
1261
- fontFamily: styleSheet.fontFamily,
1262
- },
1263
- animate: true,
1264
- },
1265
- region: {
1266
- top: false,
1267
- style: {
1268
- lineWidth: styleSheet.annotationRegionBorder,
1269
- stroke: styleSheet.annotationRegionBorderColor,
1270
- fill: styleSheet.annotationRegionFillColor,
1271
- fillOpacity: styleSheet.annotationRegionFillOpacity,
1272
- },
1273
- animate: true,
1274
- },
1275
- image: {
1276
- top: false,
1277
- animate: true,
1278
- },
1279
- dataMarker: {
1280
- top: true,
1281
- point: {
1282
- style: {
1283
- r: 3,
1284
- stroke: styleSheet.brandColor,
1285
- lineWidth: 2,
1286
- },
1287
- },
1288
- line: {
1289
- style: {
1290
- stroke: styleSheet.annotationLineBorderColor,
1291
- lineWidth: styleSheet.annotationLineBorder,
1292
- },
1293
- length: styleSheet.annotationDataMarkerLineLength,
1294
- },
1295
- text: {
1296
- style: {
1297
- textAlign: 'start',
1298
- fill: styleSheet.annotationTextFillColor,
1299
- stroke: styleSheet.annotationTextBorderColor,
1300
- lineWidth: styleSheet.annotationTextBorder,
1301
- fontSize: styleSheet.annotationTextFontSize,
1302
- fontFamily: styleSheet.fontFamily,
1303
- },
1304
- },
1305
- direction: 'upward',
1306
- autoAdjust: true,
1307
- animate: true,
1308
- },
1309
- dataRegion: {
1310
- style: {
1311
- region: {
1312
- fill: styleSheet.annotationRegionFillColor,
1313
- fillOpacity: styleSheet.annotationRegionFillOpacity,
1314
- },
1315
- text: {
1316
- textAlign: 'center',
1317
- textBaseline: 'bottom',
1318
- fill: styleSheet.annotationTextFillColor,
1319
- stroke: styleSheet.annotationTextBorderColor,
1320
- lineWidth: styleSheet.annotationTextBorder,
1321
- fontSize: styleSheet.annotationTextFontSize,
1322
- fontFamily: styleSheet.fontFamily,
1323
- },
1324
- },
1325
- animate: true,
1326
- },
1327
- },
1328
- slider: {
1329
- common: {
1330
- padding: [8, 8, 8, 8],
1331
- backgroundStyle: {
1332
- fill: styleSheet.cSliderBackgroundFillColor,
1333
- opacity: styleSheet.cSliderBackgroundFillOpacity,
1334
- },
1335
- foregroundStyle: {
1336
- fill: styleSheet.cSliderForegroundFillColor,
1337
- opacity: styleSheet.cSliderForegroundFillOpacity,
1338
- },
1339
- handlerStyle: {
1340
- width: styleSheet.cSliderHandlerWidth,
1341
- height: styleSheet.cSliderHandlerHeight,
1342
- fill: styleSheet.cSliderHandlerFillColor,
1343
- opacity: styleSheet.cSliderHandlerFillOpacity,
1344
- stroke: styleSheet.cSliderHandlerBorderColor,
1345
- lineWidth: styleSheet.cSliderHandlerBorder,
1346
- radius: styleSheet.cSliderHandlerBorderRadius,
1347
- // 高亮的颜色
1348
- highLightFill: styleSheet.cSliderHandlerHighlightFillColor,
1349
- },
1350
- textStyle: {
1351
- fill: styleSheet.cSliderTextFillColor,
1352
- opacity: styleSheet.cSliderTextFillOpacity,
1353
- fontSize: styleSheet.cSliderTextFontSize,
1354
- lineHeight: styleSheet.cSliderTextLineHeight,
1355
- fontWeight: styleSheet.cSliderTextFontWeight,
1356
- stroke: styleSheet.cSliderTextBorderColor,
1357
- lineWidth: styleSheet.cSliderTextBorder,
1358
- },
1359
- },
1360
- },
1361
- scrollbar: {
1362
- common: {
1363
- padding: [8, 8, 8, 8],
1364
- },
1365
- default: {
1366
- style: {
1367
- trackColor: styleSheet.scrollbarTrackFillColor,
1368
- thumbColor: styleSheet.scrollbarThumbFillColor,
1369
- },
1370
- },
1371
- hover: {
1372
- style: {
1373
- thumbColor: styleSheet.scrollbarThumbHighlightFillColor,
1374
- },
1375
- },
1376
- },
1377
- },
1378
- labels: {
1379
- offset: 12,
1380
- style: {
1381
- fill: styleSheet.labelFillColor,
1382
- fontSize: styleSheet.labelFontSize,
1383
- fontFamily: styleSheet.fontFamily,
1384
- stroke: styleSheet.labelBorderColor,
1385
- lineWidth: styleSheet.labelBorder,
1386
- },
1387
- fillColorDark: styleSheet.labelFillColorDark,
1388
- fillColorLight: styleSheet.labelFillColorLight,
1389
- autoRotate: true,
1390
- },
1391
- innerLabels: {
1392
- style: {
1393
- fill: styleSheet.innerLabelFillColor,
1394
- fontSize: styleSheet.innerLabelFontSize,
1395
- fontFamily: styleSheet.fontFamily,
1396
- stroke: styleSheet.innerLabelBorderColor,
1397
- lineWidth: styleSheet.innerLabelBorder,
1398
- },
1399
- autoRotate: true,
1400
- },
1401
- overflowLabels: {
1402
- style: {
1403
- fill: styleSheet.overflowLabelFillColor,
1404
- fontSize: styleSheet.overflowLabelFontSize,
1405
- fontFamily: styleSheet.fontFamily,
1406
- stroke: styleSheet.overflowLabelBorderColor,
1407
- lineWidth: styleSheet.overflowLabelBorder,
1408
- },
1409
- },
1410
- pieLabels: {
1411
- labelHeight: 14,
1412
- offset: 10,
1413
- labelLine: {
1414
- style: {
1415
- lineWidth: styleSheet.labelLineBorder,
1416
- },
1417
- },
1418
- autoRotate: true,
1419
- },
1420
- };
1421
- }
1422
- //# sourceMappingURL=create-by-style-sheet.js.map