@antv/g2 5.0.11 → 5.0.12

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 (239) hide show
  1. package/CHANGELOG.md +178 -0
  2. package/dist/g2-lite.min.js +3 -3
  3. package/dist/g2.min.js +3 -3
  4. package/esm/api/mark/index.d.ts +3 -1
  5. package/esm/api/mark/index.js +2 -1
  6. package/esm/api/mark/index.js.map +1 -1
  7. package/esm/api/mark/mark.d.ts +7 -1
  8. package/esm/api/mark/mark.js +9 -0
  9. package/esm/api/mark/mark.js.map +1 -1
  10. package/esm/api/utils.js +1 -0
  11. package/esm/api/utils.js.map +1 -1
  12. package/esm/component/axis.js +2 -1
  13. package/esm/component/axis.js.map +1 -1
  14. package/esm/component/scrollbar.js +8 -5
  15. package/esm/component/scrollbar.js.map +1 -1
  16. package/esm/composition/facetRect.js +13 -17
  17. package/esm/composition/facetRect.js.map +1 -1
  18. package/esm/data/index.d.ts +2 -0
  19. package/esm/data/index.js +1 -0
  20. package/esm/data/index.js.map +1 -1
  21. package/esm/data/utils/venn/circleintersection.d.ts +33 -0
  22. package/esm/data/utils/venn/circleintersection.js +192 -0
  23. package/esm/data/utils/venn/circleintersection.js.map +1 -0
  24. package/esm/data/utils/venn/diagram.d.ts +2 -0
  25. package/esm/data/utils/venn/diagram.js +44 -0
  26. package/esm/data/utils/venn/diagram.js.map +1 -0
  27. package/esm/data/utils/venn/index.d.ts +5 -0
  28. package/esm/data/utils/venn/index.js +6 -0
  29. package/esm/data/utils/venn/index.js.map +1 -0
  30. package/esm/data/utils/venn/layout.d.ts +27 -0
  31. package/esm/data/utils/venn/layout.js +607 -0
  32. package/esm/data/utils/venn/layout.js.map +1 -0
  33. package/esm/data/venn.d.ts +7 -0
  34. package/esm/data/venn.js +34 -0
  35. package/esm/data/venn.js.map +1 -0
  36. package/esm/interaction/brushAxisHighlight.d.ts +5 -3
  37. package/esm/interaction/brushAxisHighlight.js +126 -12
  38. package/esm/interaction/brushAxisHighlight.js.map +1 -1
  39. package/esm/interaction/brushHighlight.js +6 -5
  40. package/esm/interaction/brushHighlight.js.map +1 -1
  41. package/esm/interaction/elementHighlight.d.ts +2 -2
  42. package/esm/interaction/elementHighlight.js +40 -6
  43. package/esm/interaction/elementHighlight.js.map +1 -1
  44. package/esm/interaction/elementHighlightByColor.d.ts +1 -1
  45. package/esm/interaction/elementHighlightByX.d.ts +1 -1
  46. package/esm/interaction/elementSelect.d.ts +2 -2
  47. package/esm/interaction/elementSelect.js +42 -13
  48. package/esm/interaction/elementSelect.js.map +1 -1
  49. package/esm/interaction/elementSelectByColor.d.ts +1 -1
  50. package/esm/interaction/elementSelectByX.d.ts +1 -1
  51. package/esm/interaction/index.d.ts +1 -0
  52. package/esm/interaction/index.js +1 -0
  53. package/esm/interaction/index.js.map +1 -1
  54. package/esm/interaction/legendFilter.js +42 -13
  55. package/esm/interaction/legendFilter.js.map +1 -1
  56. package/esm/interaction/legendHighlight.d.ts +1 -1
  57. package/esm/interaction/legendHighlight.js +53 -15
  58. package/esm/interaction/legendHighlight.js.map +1 -1
  59. package/esm/interaction/scrollbarFilter.d.ts +2 -0
  60. package/esm/interaction/scrollbarFilter.js +25 -0
  61. package/esm/interaction/scrollbarFilter.js.map +1 -0
  62. package/esm/interaction/sliderFilter.d.ts +1 -1
  63. package/esm/interaction/sliderFilter.js +75 -19
  64. package/esm/interaction/sliderFilter.js.map +1 -1
  65. package/esm/interaction/tooltip.js +2 -2
  66. package/esm/interaction/tooltip.js.map +1 -1
  67. package/esm/interaction/utils.d.ts +1 -0
  68. package/esm/interaction/utils.js +3 -0
  69. package/esm/interaction/utils.js.map +1 -1
  70. package/esm/mark/area.js +6 -2
  71. package/esm/mark/area.js.map +1 -1
  72. package/esm/runtime/plot.js +1 -0
  73. package/esm/runtime/plot.js.map +1 -1
  74. package/esm/runtime/scale.js +30 -3
  75. package/esm/runtime/scale.js.map +1 -1
  76. package/esm/runtime/transform.js +12 -9
  77. package/esm/runtime/transform.js.map +1 -1
  78. package/esm/shape/index.d.ts +2 -0
  79. package/esm/shape/index.js +1 -0
  80. package/esm/shape/index.js.map +1 -1
  81. package/esm/shape/interval/color.d.ts +8 -0
  82. package/esm/shape/interval/color.js +19 -8
  83. package/esm/shape/interval/color.js.map +1 -1
  84. package/esm/shape/interval/rect.d.ts +10 -1
  85. package/esm/shape/interval/rect.js.map +1 -1
  86. package/esm/shape/line/trail.d.ts +3 -0
  87. package/esm/shape/line/trail.js +74 -0
  88. package/esm/shape/line/trail.js.map +1 -0
  89. package/esm/shape/path/color.js +5 -3
  90. package/esm/shape/path/color.js.map +1 -1
  91. package/esm/spec/dataTransform.d.ts +24 -2
  92. package/esm/stdlib/index.js +5 -5
  93. package/esm/stdlib/index.js.map +1 -1
  94. package/esm/utils/number.d.ts +4 -0
  95. package/esm/utils/number.js +7 -0
  96. package/esm/utils/number.js.map +1 -0
  97. package/esm/utils/scale.d.ts +2 -1
  98. package/esm/utils/scale.js +30 -11
  99. package/esm/utils/scale.js.map +1 -1
  100. package/esm/utils/vector.d.ts +1 -0
  101. package/esm/utils/vector.js +3 -0
  102. package/esm/utils/vector.js.map +1 -1
  103. package/lib/api/mark/index.d.ts +3 -1
  104. package/lib/api/mark/index.js +1 -0
  105. package/lib/api/mark/index.js.map +1 -1
  106. package/lib/api/mark/mark.d.ts +7 -1
  107. package/lib/api/mark/mark.js +10 -1
  108. package/lib/api/mark/mark.js.map +1 -1
  109. package/lib/api/utils.js +1 -0
  110. package/lib/api/utils.js.map +1 -1
  111. package/lib/component/axis.js +2 -1
  112. package/lib/component/axis.js.map +1 -1
  113. package/lib/component/scrollbar.js +8 -5
  114. package/lib/component/scrollbar.js.map +1 -1
  115. package/lib/composition/facetRect.js +12 -16
  116. package/lib/composition/facetRect.js.map +1 -1
  117. package/lib/data/index.d.ts +2 -0
  118. package/lib/data/index.js +3 -1
  119. package/lib/data/index.js.map +1 -1
  120. package/lib/data/utils/venn/circleintersection.d.ts +33 -0
  121. package/lib/data/utils/venn/circleintersection.js +202 -0
  122. package/lib/data/utils/venn/circleintersection.js.map +1 -0
  123. package/lib/data/utils/venn/diagram.d.ts +2 -0
  124. package/lib/data/utils/venn/diagram.js +48 -0
  125. package/lib/data/utils/venn/diagram.js.map +1 -0
  126. package/lib/data/utils/venn/index.d.ts +5 -0
  127. package/lib/data/utils/venn/index.js +12 -0
  128. package/lib/data/utils/venn/index.js.map +1 -0
  129. package/lib/data/utils/venn/layout.d.ts +27 -0
  130. package/lib/data/utils/venn/layout.js +620 -0
  131. package/lib/data/utils/venn/layout.js.map +1 -0
  132. package/lib/data/venn.d.ts +7 -0
  133. package/lib/data/venn.js +38 -0
  134. package/lib/data/venn.js.map +1 -0
  135. package/lib/interaction/brushAxisHighlight.d.ts +5 -3
  136. package/lib/interaction/brushAxisHighlight.js +126 -12
  137. package/lib/interaction/brushAxisHighlight.js.map +1 -1
  138. package/lib/interaction/brushHighlight.js +6 -5
  139. package/lib/interaction/brushHighlight.js.map +1 -1
  140. package/lib/interaction/elementHighlight.d.ts +2 -2
  141. package/lib/interaction/elementHighlight.js +39 -5
  142. package/lib/interaction/elementHighlight.js.map +1 -1
  143. package/lib/interaction/elementHighlightByColor.d.ts +1 -1
  144. package/lib/interaction/elementHighlightByX.d.ts +1 -1
  145. package/lib/interaction/elementSelect.d.ts +2 -2
  146. package/lib/interaction/elementSelect.js +41 -12
  147. package/lib/interaction/elementSelect.js.map +1 -1
  148. package/lib/interaction/elementSelectByColor.d.ts +1 -1
  149. package/lib/interaction/elementSelectByX.d.ts +1 -1
  150. package/lib/interaction/index.d.ts +1 -0
  151. package/lib/interaction/index.js +3 -1
  152. package/lib/interaction/index.js.map +1 -1
  153. package/lib/interaction/legendFilter.js +42 -13
  154. package/lib/interaction/legendFilter.js.map +1 -1
  155. package/lib/interaction/legendHighlight.d.ts +1 -1
  156. package/lib/interaction/legendHighlight.js +53 -15
  157. package/lib/interaction/legendHighlight.js.map +1 -1
  158. package/lib/interaction/scrollbarFilter.d.ts +2 -0
  159. package/lib/interaction/scrollbarFilter.js +29 -0
  160. package/lib/interaction/scrollbarFilter.js.map +1 -0
  161. package/lib/interaction/sliderFilter.d.ts +1 -1
  162. package/lib/interaction/sliderFilter.js +73 -17
  163. package/lib/interaction/sliderFilter.js.map +1 -1
  164. package/lib/interaction/tooltip.js +1 -1
  165. package/lib/interaction/tooltip.js.map +1 -1
  166. package/lib/interaction/utils.d.ts +1 -0
  167. package/lib/interaction/utils.js +5 -1
  168. package/lib/interaction/utils.js.map +1 -1
  169. package/lib/mark/area.js +6 -2
  170. package/lib/mark/area.js.map +1 -1
  171. package/lib/runtime/plot.js +1 -0
  172. package/lib/runtime/plot.js.map +1 -1
  173. package/lib/runtime/scale.js +29 -2
  174. package/lib/runtime/scale.js.map +1 -1
  175. package/lib/runtime/transform.js +12 -9
  176. package/lib/runtime/transform.js.map +1 -1
  177. package/lib/shape/index.d.ts +2 -0
  178. package/lib/shape/index.js +4 -2
  179. package/lib/shape/index.js.map +1 -1
  180. package/lib/shape/interval/color.d.ts +8 -0
  181. package/lib/shape/interval/color.js +19 -8
  182. package/lib/shape/interval/color.js.map +1 -1
  183. package/lib/shape/interval/rect.d.ts +10 -1
  184. package/lib/shape/interval/rect.js.map +1 -1
  185. package/lib/shape/line/trail.d.ts +3 -0
  186. package/lib/shape/line/trail.js +78 -0
  187. package/lib/shape/line/trail.js.map +1 -0
  188. package/lib/shape/path/color.js +5 -3
  189. package/lib/shape/path/color.js.map +1 -1
  190. package/lib/spec/dataTransform.d.ts +24 -2
  191. package/lib/stdlib/index.js +2 -2
  192. package/lib/stdlib/index.js.map +1 -1
  193. package/lib/utils/number.d.ts +4 -0
  194. package/lib/utils/number.js +11 -0
  195. package/lib/utils/number.js.map +1 -0
  196. package/lib/utils/scale.d.ts +2 -1
  197. package/lib/utils/scale.js +32 -12
  198. package/lib/utils/scale.js.map +1 -1
  199. package/lib/utils/vector.d.ts +1 -0
  200. package/lib/utils/vector.js +5 -1
  201. package/lib/utils/vector.js.map +1 -1
  202. package/package.json +2 -1
  203. package/src/api/mark/index.ts +3 -0
  204. package/src/api/mark/mark.ts +12 -0
  205. package/src/api/utils.ts +1 -0
  206. package/src/component/axis.ts +1 -0
  207. package/src/component/scrollbar.ts +11 -8
  208. package/src/composition/facetRect.ts +14 -17
  209. package/src/data/index.ts +2 -0
  210. package/src/data/utils/venn/circleintersection.ts +235 -0
  211. package/src/data/utils/venn/diagram.ts +47 -0
  212. package/src/data/utils/venn/index.ts +5 -0
  213. package/src/data/utils/venn/layout.ts +769 -0
  214. package/src/data/venn.ts +58 -0
  215. package/src/interaction/brushAxisHighlight.ts +130 -11
  216. package/src/interaction/brushHighlight.ts +6 -4
  217. package/src/interaction/elementHighlight.ts +39 -3
  218. package/src/interaction/elementSelect.ts +48 -10
  219. package/src/interaction/index.ts +1 -0
  220. package/src/interaction/legendFilter.ts +46 -13
  221. package/src/interaction/legendHighlight.ts +55 -14
  222. package/src/interaction/scrollbarFilter.ts +32 -0
  223. package/src/interaction/sliderFilter.ts +108 -28
  224. package/src/interaction/tooltip.ts +2 -5
  225. package/src/interaction/utils.ts +6 -0
  226. package/src/mark/area.ts +5 -2
  227. package/src/runtime/plot.ts +1 -0
  228. package/src/runtime/scale.ts +44 -5
  229. package/src/runtime/transform.ts +18 -9
  230. package/src/shape/index.ts +4 -0
  231. package/src/shape/interval/color.ts +29 -5
  232. package/src/shape/interval/rect.ts +10 -1
  233. package/src/shape/line/trail.ts +80 -0
  234. package/src/shape/path/color.ts +10 -6
  235. package/src/spec/dataTransform.ts +25 -0
  236. package/src/stdlib/index.ts +6 -0
  237. package/src/utils/number.ts +6 -0
  238. package/src/utils/scale.ts +29 -10
  239. package/src/utils/vector.ts +4 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,178 @@
1
+ # G2 - Changelog
2
+
3
+ ## [5.0.12](https://github.com/antvis/g2/compare/5.0.11...5.0.12) (2023-06-08)
4
+
5
+ ### Bug Fixes
6
+
7
+ - calculate band offset in area mark ([#5148](https://github.com/antvis/g2/issues/5148)) ([19d7f68](https://github.com/antvis/g2/commit/19d7f688fe22889fbe9773ca867067bf16e546ef))
8
+ - chart.options do not show title ([#5147](https://github.com/antvis/g2/issues/5147)) ([17eb842](https://github.com/antvis/g2/commit/17eb8428728003a6a2b11547b3022becf996f8bb))
9
+
10
+ ### Features
11
+
12
+ - add venn chart demo, tests ([#5129](https://github.com/antvis/g2/issues/5129)) ([36b9b02](https://github.com/antvis/g2/commit/36b9b025c414ba827959ef1bc9aa2d061c3b9820))
13
+ - **interaction:** add scrollbarFilter ([#5152](https://github.com/antvis/g2/issues/5152)) ([72e0cc4](https://github.com/antvis/g2/commit/72e0cc414548fd1e21c8e8dae7c874e530f9e29d))
14
+ - **interaction:** emit brush axis highlight ([#5132](https://github.com/antvis/g2/issues/5132)) ([534c1ef](https://github.com/antvis/g2/commit/534c1efcf6a2ad436d5629645cf2ca71f1078ea2))
15
+ - **interaction:** emit element highlight ([#5117](https://github.com/antvis/g2/issues/5117)) ([44b8ee5](https://github.com/antvis/g2/commit/44b8ee5abf2cf33dcef61ee753023c9464154bed))
16
+ - **interaction:** emit element select ([#5119](https://github.com/antvis/g2/issues/5119)) ([ea20755](https://github.com/antvis/g2/commit/ea20755b5926073b073e0a3549e455c4c9d40c61))
17
+ - **interaction:** emit legend filter ([#5127](https://github.com/antvis/g2/issues/5127)) ([b7071ef](https://github.com/antvis/g2/commit/b7071effd62579db9b80b4d9de6dca0a080879c3))
18
+ - **interaction:** emit legend highlight ([#5126](https://github.com/antvis/g2/issues/5126)) ([e796355](https://github.com/antvis/g2/commit/e796355354469d53b8c3f5165beebb865ed59fb0))
19
+ - **interaction:** emit slider filter ([#5114](https://github.com/antvis/g2/issues/5114)) ([32ac0f6](https://github.com/antvis/g2/commit/32ac0f6ba02badbb2a12a41dd581e73083b45b38))
20
+ - interval shape has max/min width ([#5123](https://github.com/antvis/g2/issues/5123)) ([7b50766](https://github.com/antvis/g2/commit/7b5076663c0432dc4f4808386b4ed80ee59efa85))
21
+ - **line:** add trail shape ([#5137](https://github.com/antvis/g2/issues/5137)) ([34937ea](https://github.com/antvis/g2/commit/34937ea26448cb8bcc80a0b9c362e9387b99b843))
22
+
23
+ ## [5.0.11](https://github.com/antvis/g2/compare/5.0.10...5.0.11) (2023-05-26)
24
+
25
+ ### Bug Fixes
26
+
27
+ - **api:** update mark-level plot and apply viewStyle ([#5102](https://github.com/antvis/g2/issues/5102)) ([f239cba](https://github.com/antvis/g2/commit/f239cba0823022cf3703891c8b47c323f8c4cd46))
28
+ - **chart:** chart.options should remove node ([#5103](https://github.com/antvis/g2/issues/5103)) ([6949459](https://github.com/antvis/g2/commit/6949459bdd159bc540b07a33791337b681f29fa0))
29
+ - **data:** render empty data ([#5098](https://github.com/antvis/g2/issues/5098)) ([6de9e33](https://github.com/antvis/g2/commit/6de9e3399cd4cc1205e2ee2ea2efcacc0f512ffb))
30
+ - **event:** there is no target for pointerupoutside event ([#5100](https://github.com/antvis/g2/issues/5100)) ([641f966](https://github.com/antvis/g2/commit/641f9666b52990b28467b50475fa5280913efd3c))
31
+ - **geo:** highlight choropleth ([#5095](https://github.com/antvis/g2/issues/5095)) ([7a4d06d](https://github.com/antvis/g2/commit/7a4d06d9d7927fb17d8170f210be54ad93aa8f3c))
32
+ - **label:** null value for series mark ([#5099](https://github.com/antvis/g2/issues/5099)) ([a1db7aa](https://github.com/antvis/g2/commit/a1db7aa07fba40a85bd5239b2ef1479ba487820d))
33
+
34
+ ### Features
35
+
36
+ - add heatmap mark and shape ([#5047](https://github.com/antvis/g2/issues/5047)) ([67d88f4](https://github.com/antvis/g2/commit/67d88f4e92986ac5d21bee6975d15f6821974aff))
37
+
38
+ ## [5.0.10](https://github.com/antvis/g2/compare/5.0.9...5.0.10) (2023-05-25)
39
+
40
+ ### Bug Fixes
41
+
42
+ - **site:** disable css parsing ([#5091](https://github.com/antvis/g2/issues/5091)) ([c21787f](https://github.com/antvis/g2/commit/c21787ffcef4600b7a24f7fb88189511c495b71b))
43
+
44
+ ## [5.0.9](https://github.com/antvis/g2/compare/5.0.8...5.0.9) (2023-05-25)
45
+
46
+ ### Bug Fixes
47
+
48
+ - **brush:** handle brush:highlight once when emit ([#5063](https://github.com/antvis/g2/issues/5063)) ([321fb1b](https://github.com/antvis/g2/commit/321fb1bce8e177cfc2d9ea83cdb1291c3fd6c728))
49
+ - example typo ([#5064](https://github.com/antvis/g2/issues/5064)) ([e2e8a5f](https://github.com/antvis/g2/commit/e2e8a5fafe12a71c85a3275faa1f220d4a7fc62a))
50
+ - **interaction:** interaction can be clear ([#5087](https://github.com/antvis/g2/issues/5087)) ([f489fba](https://github.com/antvis/g2/commit/f489fba7c6802cc75ec4c81017ec8924c2f9b0e7))
51
+ - label formatter callback params ([#5062](https://github.com/antvis/g2/issues/5062)) ([1ee4b1f](https://github.com/antvis/g2/commit/1ee4b1fa252bb2a4dc0fa303242c46239024239c))
52
+ - **label:** support date label ([#5077](https://github.com/antvis/g2/issues/5077)) ([826e000](https://github.com/antvis/g2/commit/826e000bb6009aea8b29ca452aea4f6caa9355df))
53
+ - **legend:** pass legend.style ([#5084](https://github.com/antvis/g2/issues/5084)) ([f915d02](https://github.com/antvis/g2/commit/f915d021ca1c189271bc7bffdbe94632fd014595))
54
+
55
+ ### Features
56
+
57
+ - **api:** use api and spec together ([#5074](https://github.com/antvis/g2/issues/5074)) ([e18cc84](https://github.com/antvis/g2/commit/e18cc8411f5439c57268e0c180f61ad62a96daa1))
58
+ - **axis:** set default tickCount to 5 ([#5086](https://github.com/antvis/g2/issues/5086)) ([bbfe665](https://github.com/antvis/g2/commit/bbfe665b80e6f417537f5760033e3ed4c729504c))
59
+ - **chart:** debounce chart.render ([#5083](https://github.com/antvis/g2/issues/5083)) ([106b807](https://github.com/antvis/g2/commit/106b807ab2db91253287e41f857a9706f44c0039))
60
+ - set tooltip dom classname has `g2-` prefix ([#5066](https://github.com/antvis/g2/issues/5066)) ([c8b62f6](https://github.com/antvis/g2/commit/c8b62f6f88432c69ba1d6aa00e91c73bc4ce6a4f))
61
+
62
+ ## [5.0.8](https://github.com/antvis/g2/compare/5.0.7...5.0.8) (2023-05-19)
63
+
64
+ ### Bug Fixes
65
+
66
+ - **brush:** rerender don't emit brush:end ([#5053](https://github.com/antvis/g2/issues/5053)) ([f07b512](https://github.com/antvis/g2/commit/f07b512bb0f116f056a4373f6323195683405786))
67
+ - **brush:** upper bound for selection ([#5044](https://github.com/antvis/g2/issues/5044)) ([b6ea831](https://github.com/antvis/g2/commit/b6ea8318653432c1cf54aca087ff3fb64334cfbe))
68
+ - **chart:** chart.forceFit rerender only when size changing ([#5052](https://github.com/antvis/g2/issues/5052)) ([ab0ccf7](https://github.com/antvis/g2/commit/ab0ccf725713b628e0bb0188e9269bc19e4f1722))
69
+
70
+ ### Features
71
+
72
+ - add density mark, violin shape and kde transform ([#5043](https://github.com/antvis/g2/issues/5043)) ([f961d24](https://github.com/antvis/g2/commit/f961d2487c0cb387aef9075acd48a8c82ad2ff40))
73
+ - **dimension:** auto padding ([#5046](https://github.com/antvis/g2/issues/5046)) ([914d445](https://github.com/antvis/g2/commit/914d445f75c54c293af2fffbd6906cda0fd1ab00))
74
+
75
+ ## [5.0.7](https://github.com/antvis/g2/compare/5.0.6...5.0.7) (2023-05-16)
76
+
77
+ ### Bug Fixes
78
+
79
+ - **animation:** update non-transform attribute and replace node without animation ([#5019](https://github.com/antvis/g2/issues/5019)) ([4adbd58](https://github.com/antvis/g2/commit/4adbd587c73bdeca7cb301afd52d7cfa874b2ed7)), closes [#4953](https://github.com/antvis/g2/issues/4953) [#5006](https://github.com/antvis/g2/issues/5006)
80
+ - **axis:** autoHide should not set crossSize ([#5032](https://github.com/antvis/g2/issues/5032)) ([86052fc](https://github.com/antvis/g2/commit/86052fced2b165b13a5dc2e0c37617a3dcd9c1f3))
81
+ - change data wont update ([#5002](https://github.com/antvis/g2/issues/5002)) ([349a9f4](https://github.com/antvis/g2/commit/349a9f4b015de11804ccc1f2847e10dc4ace24e8))
82
+ - fix issue that legend category cannot update shape ([#4968](https://github.com/antvis/g2/issues/4968)) ([152bc18](https://github.com/antvis/g2/commit/152bc18c6820e25e903ec33e12f7382fe960a0c8))
83
+ - **legend-filter:** funnel ([#4960](https://github.com/antvis/g2/issues/4960)) ([be67dfa](https://github.com/antvis/g2/commit/be67dfa176742f8cf7b9fca165f55ddfca63f3f1))
84
+ - **link:** right env var ([#5027](https://github.com/antvis/g2/issues/5027)) ([6481b00](https://github.com/antvis/g2/commit/6481b0094880a9d3cbe4f6853763013d1c1acd67))
85
+ - **point:** opacityAttribute default to colorAttribute ([#4981](https://github.com/antvis/g2/issues/4981)) ([79399d0](https://github.com/antvis/g2/commit/79399d037809e86b447ff3cb7264a262811621e5))
86
+ - **scale:** zero domain min and max ([#5014](https://github.com/antvis/g2/issues/5014)) ([2e92914](https://github.com/antvis/g2/commit/2e9291492d1542533318b70f7d937163b8a3b9f3))
87
+ - svg renderer not works in website demo ([#5000](https://github.com/antvis/g2/issues/5000)) ([b94ef47](https://github.com/antvis/g2/commit/b94ef47abb42d1b95c16ba9417256b64c1748eac))
88
+ - **tooltip:** rerender correctly ([#4962](https://github.com/antvis/g2/issues/4962)) ([f85e72f](https://github.com/antvis/g2/commit/f85e72f8e8e94d048835cafe44d7612d3ad69087))
89
+
90
+ ### Features
91
+
92
+ - add thresholds params in gauge mark ([#5021](https://github.com/antvis/g2/issues/5021)) ([66a4a8e](https://github.com/antvis/g2/commit/66a4a8ecc16586c2d74155bbde479e2797f53520))
93
+ - **brush:** support resize and custom ([#5012](https://github.com/antvis/g2/issues/5012)) ([857fa7b](https://github.com/antvis/g2/commit/857fa7b2ff6d99f8509d2f99cfa949eb640109c3))
94
+ - **event:** emit plot events ([#5034](https://github.com/antvis/g2/issues/5034)) ([67576ac](https://github.com/antvis/g2/commit/67576ac91dcb94dc7fc834ff8c7f015cbe23a814))
95
+ - tooltip render to mount dom ([#5025](https://github.com/antvis/g2/issues/5025)) ([d6e098f](https://github.com/antvis/g2/commit/d6e098f022e8c3c217f5907584dda01eaadb0b34))
96
+ - **tooltip:** on and emit ([#4980](https://github.com/antvis/g2/issues/4980)) ([5f64f71](https://github.com/antvis/g2/commit/5f64f7165a14de0d66350fb7316654027b6bce7c))
97
+ - update gui and adapt to crossSize config ([#4949](https://github.com/antvis/g2/issues/4949)) ([d1d9b8d](https://github.com/antvis/g2/commit/d1d9b8d1268e7fc95bdf63c3975fce88033e2257))
98
+
99
+ ## [5.0.6](https://github.com/antvis/g2/compare/5.0.5...5.0.6) (2023-05-08)
100
+
101
+ ### Bug Fixes
102
+
103
+ - **chart:** chart.options changeData problem ([#4936](https://github.com/antvis/g2/issues/4936)) ([99bdec2](https://github.com/antvis/g2/commit/99bdec2062af347b8d46dfde30ab2508248b0466))
104
+ - **chart:** chart.theme as unrequired params ([#4940](https://github.com/antvis/g2/issues/4940)) ([0878230](https://github.com/antvis/g2/commit/0878230c72dd801e6e5d1d818b7bb4c7d6e547b4))
105
+ - **test:** unhandled promise rejection ([#4943](https://github.com/antvis/g2/issues/4943)) ([1ba1fcd](https://github.com/antvis/g2/commit/1ba1fcd3011b1d4618d86c4e51f6874cb6c8ff86))
106
+
107
+ ### Features
108
+
109
+ - **chart:** chart bind autoFit in render ([#4941](https://github.com/antvis/g2/issues/4941)) ([c16191a](https://github.com/antvis/g2/commit/c16191a1afa7c00620c61e3315a8ba2ea1cf73fb))
110
+ - **interaction:** support focus context ([#4946](https://github.com/antvis/g2/issues/4946)) ([8dc7f1d](https://github.com/antvis/g2/commit/8dc7f1dbb48b21b10e1c2883cd72ea2f7f183971))
111
+
112
+ ## [5.0.5](https://github.com/antvis/g2/compare/5.0.4...5.0.5) (2023-05-04)
113
+
114
+ ### Bug Fixes
115
+
116
+ - **axis:** order of ticks for transposed x axis ([#4918](https://github.com/antvis/g2/issues/4918)) ([cf1cb88](https://github.com/antvis/g2/commit/cf1cb88483518fb30d9ad088c712dda0c3fe5b94))
117
+ - **chart:** autoFit do not set width and height of chart options ([#4922](https://github.com/antvis/g2/issues/4922)) ([f3632f5](https://github.com/antvis/g2/commit/f3632f510a4abde61b4da8e4eb77d7054cdaf7f3))
118
+ - **chart:** new Chart() do not set default view key ([#4925](https://github.com/antvis/g2/issues/4925)) ([99538a6](https://github.com/antvis/g2/commit/99538a6ff7e64f28e78b349283f5437e6c8bbb8e))
119
+ - **interaction:** transpose sliderFilter ([#4919](https://github.com/antvis/g2/issues/4919)) ([6dc8e51](https://github.com/antvis/g2/commit/6dc8e5148c8182af07896040367917efb690219f))
120
+ - **transform:** sort x only sort data in specified domain ([#4932](https://github.com/antvis/g2/issues/4932)) ([835933b](https://github.com/antvis/g2/commit/835933bb26c6db75fb2ee20186ea17ecf6214cf3))
121
+
122
+ ### Features
123
+
124
+ - **interaction:** brushFilter emit filter event ([#4933](https://github.com/antvis/g2/issues/4933)) ([0e8f2d9](https://github.com/antvis/g2/commit/0e8f2d996367a2dfa2c940524547c52d84da37b7))
125
+
126
+ ## [5.0.4](https://github.com/antvis/g2/compare/5.0.3...5.0.4) (2023-04-25)
127
+
128
+ ### Bug Fixes
129
+
130
+ - **demo:** disable series tooltip for regression ([#4912](https://github.com/antvis/g2/issues/4912)) ([d7b74f5](https://github.com/antvis/g2/commit/d7b74f58d5445b3269f3b2434b7185f9403960e0))
131
+ - Unify params for labelFilter labelFormatter ([#4911](https://github.com/antvis/g2/issues/4911)) ([f96b2f4](https://github.com/antvis/g2/commit/f96b2f460f35e3fe2486bb366d9dddd6af1b85c7))
132
+ - **label:** support specified transform (close: [#4881](https://github.com/antvis/g2/issues/4881)) ([#4914](https://github.com/antvis/g2/issues/4914)) ([992dbce](https://github.com/antvis/g2/commit/992dbce9cb8c420f75bbbfba056617b902d0a7ea))
133
+ - **OOM:** clear interaction and cancel animation when rerendering ([#4899](https://github.com/antvis/g2/issues/4899)) ([7080def](https://github.com/antvis/g2/commit/7080defb772e001000156704dbd10fb44a168016))
134
+ - **scale:** tickCount of log scale support -1 ([#4901](https://github.com/antvis/g2/issues/4901)) ([c84aea7](https://github.com/antvis/g2/commit/c84aea7849222fff9deba57d9de97d16da9db7c1))
135
+ - **tooltip:** missing data ([#4910](https://github.com/antvis/g2/issues/4910)) ([131b032](https://github.com/antvis/g2/commit/131b0326c92b87dd1e99b04d5fba3861f90baac3))
136
+ - **tooltip:** show falsy item by default ([#4907](https://github.com/antvis/g2/issues/4907)) ([29ed50c](https://github.com/antvis/g2/commit/29ed50ce3f5c1cf599ac9f3eeb6c32acbaef7c24))
137
+ - **component** update legend component inferring strategies ([#4906](https://github.com/antvis/g2/issues/4906)) ([1816339](https://github.com/antvis/g2/commit/18163398f91c90e9eaf55cf465c7ade5f6f5f88f))
138
+
139
+ ### Features
140
+
141
+ - add arrow for lineX, lineY ([#4905](https://github.com/antvis/g2/issues/4905)) ([b5d6595](https://github.com/antvis/g2/commit/b5d659525966b227bba2f1c70266985bdc336bfa))
142
+
143
+ ## [5.0.3](https://github.com/antvis/g2/compare/5.0.2...5.0.3) (2023-04-12)
144
+
145
+ ### Bug Fixes
146
+
147
+ - **interval:** fix interval render funnel ([#4868](https://github.com/antvis/g2/issues/4868)) ([#4875](https://github.com/antvis/g2/issues/4875)) ([0856113](https://github.com/antvis/g2/commit/08561138aa65c02e935833765321b3beb23f7a8d))
148
+ - 文档中的 sort->sortBy ([#4876](https://github.com/antvis/g2/issues/4876)) ([f2a53a9](https://github.com/antvis/g2/commit/f2a53a97e9d7cd739562ccc40a91997a17b480fd))
149
+
150
+ ## [5.0.2](https://github.com/antvis/g2/compare/5.0.1...5.0.2) (2023-04-06)
151
+
152
+ ### Bug Fixes
153
+
154
+ - **animation:** shape to shape animation take style.transform into account ([#4849](https://github.com/antvis/g2/issues/4849)) ([dc1eb1c](https://github.com/antvis/g2/commit/dc1eb1c68e73c891751a0d3364512dee60b0ee9a))
155
+ - **axis:** unexpected radius in polar ([#4850](https://github.com/antvis/g2/issues/4850)) ([8764d55](https://github.com/antvis/g2/commit/8764d55594b71e207e0a80844d78f83e94d765a0))
156
+ - chart render type ([#4853](https://github.com/antvis/g2/issues/4853)) ([#4861](https://github.com/antvis/g2/issues/4861)) ([12f486c](https://github.com/antvis/g2/commit/12f486c7c9edcb355ef3bd5fb8a1ba7a2e21f2e7))
157
+ - **ci:** lock version of canvas to 2.11.0 ([#4857](https://github.com/antvis/g2/issues/4857)) ([c47cbc2](https://github.com/antvis/g2/commit/c47cbc218748a1aba0828b9ff65cde97a217d563))
158
+ - **fisheye:** reset when pointerleave ([#4858](https://github.com/antvis/g2/issues/4858)) ([09ccbdb](https://github.com/antvis/g2/commit/09ccbdb467ef8787bcc6c3b8419779f3a694aaf8))
159
+ - **runtime:** wait for the next tick to finish rendering (close: [#4771](https://github.com/antvis/g2/issues/4771)) ([#4855](https://github.com/antvis/g2/issues/4855)) ([1ec5d0e](https://github.com/antvis/g2/commit/1ec5d0efebf85a05f506fedb189461244572155e))
160
+ - **tooltip:** hide tooltip when move mask ([#4860](https://github.com/antvis/g2/issues/4860)) ([bab6c3b](https://github.com/antvis/g2/commit/bab6c3bc6e6502be9ef4b8c3c3ee5b34890f6485))
161
+ - **types:** axis for composition ([#4851](https://github.com/antvis/g2/issues/4851)) ([0615ca8](https://github.com/antvis/g2/commit/0615ca8af1d30659a3919d4f5dc3b360994012b0))
162
+ - update legend marker ([#4869](https://github.com/antvis/g2/issues/4869)) ([86a7d9c](https://github.com/antvis/g2/commit/86a7d9ca24e6ca59f5ee50262d5403566db79a06))
163
+
164
+ ## [5.0.1](https://github.com/antvis/g2/compare/5.0.0...5.0.1) (2023-03-29)
165
+
166
+ ### Bug Fixes
167
+
168
+ - **tests:** remove .only ([#4835](https://github.com/antvis/g2/issues/4835)) ([43a4ce8](https://github.com/antvis/g2/commit/43a4ce82303eb9af9392c07ed664027b24953708))
169
+ - **tooltip:** sample ([#4832](https://github.com/antvis/g2/issues/4832)) ([46aa416](https://github.com/antvis/g2/commit/46aa41669fd95949a151b7c3d1a5a1de621f6623))
170
+ - **tooltip:** support NaN data in transpose ([#4833](https://github.com/antvis/g2/issues/4833)) ([f837057](https://github.com/antvis/g2/commit/f837057dc5d8f6dd0b60158ded7b238034459320))
171
+
172
+ ### Features
173
+
174
+ - **ci:** throw error in ci env for .only and missing snapshot ([#4836](https://github.com/antvis/g2/issues/4836)) ([a49f216](https://github.com/antvis/g2/commit/a49f21684209362882c303db87eb7ab61a5fc557))
175
+
176
+ ## [5.0.0](https://github.com/antvis/G2/releases/tag/5.0.0) (2023-03-21)
177
+
178
+ [Release note](https://github.com/antvis/G2/releases/tag/5.0.0).