@antv/g2 5.0.22 → 5.0.23

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 (153) hide show
  1. package/CHANGELOG.md +308 -0
  2. package/dist/g2-lite.min.js +3 -3
  3. package/dist/g2.min.js +3 -3
  4. package/esm/api/chart.d.ts +4 -1
  5. package/esm/api/chart.js.map +1 -1
  6. package/esm/api/index.d.ts +1 -1
  7. package/esm/api/index.js.map +1 -1
  8. package/esm/api/library.d.ts +1 -0
  9. package/esm/component/axis.js +15 -10
  10. package/esm/component/axis.js.map +1 -1
  11. package/esm/component/legendCategory.js +2 -2
  12. package/esm/component/legendCategory.js.map +1 -1
  13. package/esm/component/legendContinuous.js +4 -5
  14. package/esm/component/legendContinuous.js.map +1 -1
  15. package/esm/component/scrollbar.js +2 -0
  16. package/esm/component/scrollbar.js.map +1 -1
  17. package/esm/component/slider.js +2 -0
  18. package/esm/component/slider.js.map +1 -1
  19. package/esm/component/title.js +4 -2
  20. package/esm/component/title.js.map +1 -1
  21. package/esm/component/utils.d.ts +1 -1
  22. package/esm/component/utils.js +2 -3
  23. package/esm/component/utils.js.map +1 -1
  24. package/esm/composition/facetRect.js +2 -2
  25. package/esm/composition/facetRect.js.map +1 -1
  26. package/esm/composition/repeatMatrix.js +3 -3
  27. package/esm/composition/repeatMatrix.js.map +1 -1
  28. package/esm/index.d.ts +2 -2
  29. package/esm/index.js +1 -1
  30. package/esm/index.js.map +1 -1
  31. package/esm/interaction/brushHighlight.js.map +1 -1
  32. package/esm/interaction/tooltip.js +4 -3
  33. package/esm/interaction/tooltip.js.map +1 -1
  34. package/esm/lib/core.d.ts +1 -0
  35. package/esm/lib/core.js +4 -3
  36. package/esm/lib/core.js.map +1 -1
  37. package/esm/lib/std.d.ts +1 -0
  38. package/esm/runtime/component.js +33 -30
  39. package/esm/runtime/component.js.map +1 -1
  40. package/esm/runtime/layout.js +78 -28
  41. package/esm/runtime/layout.js.map +1 -1
  42. package/esm/runtime/plot.js +42 -42
  43. package/esm/runtime/plot.js.map +1 -1
  44. package/esm/runtime/render.js +0 -3
  45. package/esm/runtime/render.js.map +1 -1
  46. package/esm/runtime/scale.js +2 -0
  47. package/esm/runtime/scale.js.map +1 -1
  48. package/esm/runtime/types/common.d.ts +3 -1
  49. package/esm/runtime/types/theme.d.ts +8 -2
  50. package/esm/shape/connector/connector.js +19 -30
  51. package/esm/shape/connector/connector.js.map +1 -1
  52. package/esm/theme/classic.js +52 -37
  53. package/esm/theme/classic.js.map +1 -1
  54. package/esm/theme/index.d.ts +1 -0
  55. package/esm/theme/index.js +1 -0
  56. package/esm/theme/index.js.map +1 -1
  57. package/esm/theme/light.d.ts +6 -0
  58. package/esm/theme/light.js +476 -0
  59. package/esm/theme/light.js.map +1 -0
  60. package/esm/utils/selection.d.ts +1 -1
  61. package/esm/utils/selection.js +10 -10
  62. package/esm/utils/selection.js.map +1 -1
  63. package/esm/utils/size.js +1 -1
  64. package/lib/api/chart.d.ts +4 -1
  65. package/lib/api/chart.js.map +1 -1
  66. package/lib/api/index.d.ts +1 -1
  67. package/lib/api/index.js.map +1 -1
  68. package/lib/api/library.d.ts +1 -0
  69. package/lib/component/axis.js +14 -9
  70. package/lib/component/axis.js.map +1 -1
  71. package/lib/component/legendCategory.js +2 -2
  72. package/lib/component/legendCategory.js.map +1 -1
  73. package/lib/component/legendContinuous.js +4 -5
  74. package/lib/component/legendContinuous.js.map +1 -1
  75. package/lib/component/scrollbar.js +2 -0
  76. package/lib/component/scrollbar.js.map +1 -1
  77. package/lib/component/slider.js +2 -0
  78. package/lib/component/slider.js.map +1 -1
  79. package/lib/component/title.js +4 -2
  80. package/lib/component/title.js.map +1 -1
  81. package/lib/component/utils.d.ts +1 -1
  82. package/lib/component/utils.js +2 -3
  83. package/lib/component/utils.js.map +1 -1
  84. package/lib/composition/facetRect.js +2 -2
  85. package/lib/composition/facetRect.js.map +1 -1
  86. package/lib/composition/repeatMatrix.js +3 -3
  87. package/lib/composition/repeatMatrix.js.map +1 -1
  88. package/lib/index.d.ts +2 -2
  89. package/lib/index.js +4 -1
  90. package/lib/index.js.map +1 -1
  91. package/lib/interaction/brushHighlight.js.map +1 -1
  92. package/lib/interaction/tooltip.js +4 -3
  93. package/lib/interaction/tooltip.js.map +1 -1
  94. package/lib/lib/core.d.ts +1 -0
  95. package/lib/lib/core.js +1 -0
  96. package/lib/lib/core.js.map +1 -1
  97. package/lib/lib/std.d.ts +1 -0
  98. package/lib/runtime/component.js +33 -30
  99. package/lib/runtime/component.js.map +1 -1
  100. package/lib/runtime/layout.js +76 -26
  101. package/lib/runtime/layout.js.map +1 -1
  102. package/lib/runtime/plot.js +42 -42
  103. package/lib/runtime/plot.js.map +1 -1
  104. package/lib/runtime/render.js +0 -3
  105. package/lib/runtime/render.js.map +1 -1
  106. package/lib/runtime/scale.js +2 -0
  107. package/lib/runtime/scale.js.map +1 -1
  108. package/lib/runtime/types/common.d.ts +3 -1
  109. package/lib/runtime/types/theme.d.ts +8 -2
  110. package/lib/shape/connector/connector.js +19 -30
  111. package/lib/shape/connector/connector.js.map +1 -1
  112. package/lib/theme/classic.js +52 -37
  113. package/lib/theme/classic.js.map +1 -1
  114. package/lib/theme/index.d.ts +1 -0
  115. package/lib/theme/index.js +3 -1
  116. package/lib/theme/index.js.map +1 -1
  117. package/lib/theme/light.d.ts +6 -0
  118. package/lib/theme/light.js +480 -0
  119. package/lib/theme/light.js.map +1 -0
  120. package/lib/utils/selection.d.ts +1 -1
  121. package/lib/utils/selection.js +10 -10
  122. package/lib/utils/selection.js.map +1 -1
  123. package/lib/utils/size.js +1 -1
  124. package/package.json +3 -3
  125. package/src/api/chart.ts +3 -0
  126. package/src/api/index.ts +1 -1
  127. package/src/component/axis.ts +17 -13
  128. package/src/component/legendCategory.ts +3 -5
  129. package/src/component/legendContinuous.ts +4 -5
  130. package/src/component/scrollbar.ts +4 -1
  131. package/src/component/slider.ts +4 -1
  132. package/src/component/title.ts +3 -3
  133. package/src/component/utils.ts +1 -3
  134. package/src/composition/facetRect.ts +4 -3
  135. package/src/composition/repeatMatrix.ts +4 -3
  136. package/src/index.ts +10 -1
  137. package/src/interaction/brushHighlight.ts +1 -1
  138. package/src/interaction/tooltip.ts +5 -3
  139. package/src/lib/core.ts +4 -3
  140. package/src/runtime/component.ts +57 -30
  141. package/src/runtime/layout.ts +90 -31
  142. package/src/runtime/plot.ts +62 -40
  143. package/src/runtime/render.ts +0 -5
  144. package/src/runtime/scale.ts +1 -0
  145. package/src/runtime/types/common.ts +2 -0
  146. package/src/runtime/types/theme.ts +8 -2
  147. package/src/shape/connector/connector.ts +41 -47
  148. package/src/shape/utils.ts +2 -2
  149. package/src/theme/classic.ts +52 -37
  150. package/src/theme/index.ts +1 -0
  151. package/src/theme/light.ts +483 -0
  152. package/src/utils/selection.ts +11 -11
  153. package/src/utils/size.ts +1 -1
package/CHANGELOG.md ADDED
@@ -0,0 +1,308 @@
1
+ ## [5.0.23](https://github.com/antvis/g2/compare/5.0.22...5.0.23) (2023-08-29)
2
+
3
+ ### Bug Fixes
4
+
5
+ - **libs:** export expected libs ([#5478](https://github.com/antvis/g2/issues/5478)) ([564b3a6](https://github.com/antvis/g2/commit/564b3a6a7c93f18941c60c27d6c43f56b187d4a4))
6
+ - **types:** export ChartOptions from RuntimeOptions ([#5475](https://github.com/antvis/g2/issues/5475)) ([73ded25](https://github.com/antvis/g2/commit/73ded250e8a78ade9d23234e953ecfb5702f654d))
7
+
8
+ ### Features
9
+
10
+ - add light theme ([#5342](https://github.com/antvis/g2/issues/5342)) ([ffc8096](https://github.com/antvis/g2/commit/ffc80962a1fa833ad144ff28f173cb1518ab2ca8))
11
+ - **connector:** support offset ([#5476](https://github.com/antvis/g2/issues/5476)) ([437b8c3](https://github.com/antvis/g2/commit/437b8c3930b032ba45eb1747507f60f588ff0e70))
12
+
13
+ ## [5.0.22](https://github.com/antvis/g2/compare/0.5.21...5.0.22) (2023-08-24)
14
+
15
+ ### Bug Fixes
16
+
17
+ - **dep:** add @antv/g-plugin-3d to dependencies ([cb1c4b8](https://github.com/antvis/g2/commit/cb1c4b827ee1d97efd793aa3f68e703374227560))
18
+
19
+ ## [5.0.21](https://github.com/antvis/g2/compare/5.0.20...5.0.21) (2023-08-23)
20
+
21
+ ### Bug Fixes
22
+
23
+ - **compile:** require of ES Module bug in ssr ([#5450](https://github.com/antvis/g2/issues/5450)) ([769666a](https://github.com/antvis/g2/commit/769666ae25a7388cd97105a020a00f00fbd55bc5))
24
+ - **coordinate:** layout ([#5447](https://github.com/antvis/g2/issues/5447)) ([9607f1d](https://github.com/antvis/g2/commit/9607f1d8d8809d51a7e346dcec07149d52f511e8))
25
+ - lint issues from [#5440](https://github.com/antvis/g2/issues/5440) ([#5446](https://github.com/antvis/g2/issues/5446)) ([c98e176](https://github.com/antvis/g2/commit/c98e17646dedc4704f82bb9a01c2e4e991aab1c2))
26
+ - skip resizing canvas if width or height remains the same ([#5432](https://github.com/antvis/g2/issues/5432)) ([a91214a](https://github.com/antvis/g2/commit/a91214abef813ca0a5c2c354cd37f2a59103feaa))
27
+
28
+ ### Features
29
+
30
+ - sphere shape used in 3d lib [#5375](https://github.com/antvis/g2/issues/5375) ([#5412](https://github.com/antvis/g2/issues/5412)) ([85abdc3](https://github.com/antvis/g2/commit/85abdc3ab0ad9be917169fb26fe806887da470ab))
31
+
32
+ ## [5.0.20](https://github.com/antvis/g2/compare/5.0.19...5.0.20) (2023-08-17)
33
+
34
+ ### Bug Fixes
35
+
36
+ - **interaction:** multi interaction ([#5419](https://github.com/antvis/g2/issues/5419)) ([328aeea](https://github.com/antvis/g2/commit/328aeeac34e770ff2c28f5b1a8ad704ab00af0a5))
37
+ - **types:** add types for Chart interface ([acd81b9](https://github.com/antvis/g2/commit/acd81b93facc110015a38922e766a1fe5d7f9069))
38
+
39
+ ## [5.0.19](https://github.com/antvis/g2/compare/5.0.18...5.0.19) (2023-08-15)
40
+
41
+ ### Bug Fixes
42
+
43
+ - axis arrow direction ([#5359](https://github.com/antvis/g2/issues/5359)) ([75b7965](https://github.com/antvis/g2/commit/75b7965a15dd3759ad6d6a7c50b86fccc5f425f0))
44
+ - label dom leak when chart re-render ([#5392](https://github.com/antvis/g2/issues/5392)) ([18e6626](https://github.com/antvis/g2/commit/18e66263fde6e768f5c96bda7b83a8d791d2f4d2))
45
+ - projection null ([#5381](https://github.com/antvis/g2/issues/5381)) ([b34fa72](https://github.com/antvis/g2/commit/b34fa7205729d5b63edd5bd95ec8a24b96b44cad))
46
+
47
+ ## [5.0.18](https://github.com/antvis/g2/compare/5.0.17...5.0.18) (2023-08-02)
48
+
49
+ ### Bug Fixes
50
+
51
+ - **api:** broken links ([#5352](https://github.com/antvis/g2/issues/5352)) ([66c58af](https://github.com/antvis/g2/commit/66c58afc0f7ae90c3f7a5fe23743853a6eb01b77))
52
+ - broken link for wordcloud ([#5353](https://github.com/antvis/g2/issues/5353)) ([b883e5d](https://github.com/antvis/g2/commit/b883e5de0b26e4d58e08e9b30b8d7b88381555e1))
53
+ - **line-xy:** support bandOffset ([#5351](https://github.com/antvis/g2/issues/5351)) ([0851471](https://github.com/antvis/g2/commit/085147125d83296cad75b73a2d1cfc3933860af5))
54
+
55
+ ### Features
56
+
57
+ - html label supported ([#5354](https://github.com/antvis/g2/issues/5354)) ([64137e1](https://github.com/antvis/g2/commit/64137e1a770af0d7f7d28455861171b34b6fe801))
58
+ - **interaction:** support continuous legend filter ([#5356](https://github.com/antvis/g2/issues/5356)) ([5f866cb](https://github.com/antvis/g2/commit/5f866cbc85ddc2022bd81583e497c6e694374056))
59
+
60
+ ## [5.0.17](https://github.com/antvis/g2/compare/5.0.16...5.0.17) (2023-07-25)
61
+
62
+ ### Bug Fixes
63
+
64
+ - **auto:** axis without label ([#5338](https://github.com/antvis/g2/issues/5338)) ([06b73c2](https://github.com/antvis/g2/commit/06b73c2e71a0a406fd3af8f76ff51f2eb3326e12))
65
+ - **chart:** chart.clear preserve some global options ([#5318](https://github.com/antvis/g2/issues/5318)) ([0c4fc99](https://github.com/antvis/g2/commit/0c4fc99cfa54bf56328f4a6eebc3619534414b35))
66
+ - git clone failed on windows due to filename contains character : ([#5330](https://github.com/antvis/g2/issues/5330)) ([682885b](https://github.com/antvis/g2/commit/682885b3d0c643dc1f4f53c7fbfcf75e3a0ad247))
67
+ - **label:** clear invalid labels ([#5310](https://github.com/antvis/g2/issues/5310)) ([0a760b8](https://github.com/antvis/g2/commit/0a760b8ebea9a857d1f3abe1cd6762c8005b1267))
68
+ - **legend:** set actual item size ([#5326](https://github.com/antvis/g2/issues/5326)) ([683d529](https://github.com/antvis/g2/commit/683d529aef66982b6dab4d3035ccbb8268b20afa))
69
+
70
+ ### Features
71
+
72
+ - **size:** support ordinal size channel ([#5320](https://github.com/antvis/g2/issues/5320)) ([760eb75](https://github.com/antvis/g2/commit/760eb75d97a746621da35d26d4a7565fec94551b))
73
+ - **title:** auto layout ([#5332](https://github.com/antvis/g2/issues/5332)) ([778cdf3](https://github.com/antvis/g2/commit/778cdf33432c0284f1a6ca1a18536bb8766edb76))
74
+
75
+ ## [5.0.16](https://github.com/antvis/g2/compare/5.0.15...5.0.16) (2023-07-12)
76
+
77
+ ### Bug Fixes
78
+
79
+ - **event:** emit events for extended shape ([#5290](https://github.com/antvis/g2/issues/5290)) ([873bec7](https://github.com/antvis/g2/commit/873bec72f6a75e2c581df24d49afa239b5a5995e))
80
+ - **legend:** category do not update position ([#5304](https://github.com/antvis/g2/issues/5304)) ([95c9950](https://github.com/antvis/g2/commit/95c99507b166c23134dcfd4ed7a2c108bc649b43))
81
+ - **slider:** index scale by scaleKey ([#5291](https://github.com/antvis/g2/issues/5291)) ([50d1fa5](https://github.com/antvis/g2/commit/50d1fa595b94ca16b485e748b64a4aaa6c44eb8a))
82
+ - **update:** set markType for element ([#5293](https://github.com/antvis/g2/issues/5293)) ([6ae86b7](https://github.com/antvis/g2/commit/6ae86b73b67bc0edbba11404dd935258392364cb))
83
+
84
+ ## [5.0.15](https://github.com/antvis/g2/compare/5.0.14...5.0.15) (2023-07-07)
85
+
86
+ ### Bug Fixes
87
+
88
+ - **axis:** axis pos when update ([#5275](https://github.com/antvis/g2/issues/5275)) ([63f337b](https://github.com/antvis/g2/commit/63f337b383f87e92787659cd21b093de2c35dfaa))
89
+ - clear transform when animation finished ([#5277](https://github.com/antvis/g2/issues/5277)) ([db77f1b](https://github.com/antvis/g2/commit/db77f1b99e0892f4c6b1bd9753f5e7908720f4d1))
90
+ - **layout:** valid specified component size ([#5264](https://github.com/antvis/g2/issues/5264)) ([e9edea2](https://github.com/antvis/g2/commit/e9edea2c0a96bfb04805d449002729dbe2205eb5))
91
+ - **legend:** continuous legend set labelOverlap to hdie by default ([#5278](https://github.com/antvis/g2/issues/5278)) ([76698dc](https://github.com/antvis/g2/commit/76698dc2dac49359379b05360793a562126de2cd))
92
+ - **legend:** filter with pages ([#5284](https://github.com/antvis/g2/issues/5284)) ([e712ac4](https://github.com/antvis/g2/commit/e712ac482bfad9b4d611c179d3cfff38b21cd0df))
93
+ - **legend:** update legend item ([#5258](https://github.com/antvis/g2/issues/5258)) ([48873ba](https://github.com/antvis/g2/commit/48873ba1ff5838ad176d0c8fe323a353b1118b93))
94
+ - **slider:** with annotation ([#5280](https://github.com/antvis/g2/issues/5280)) ([9418bdd](https://github.com/antvis/g2/commit/9418bdd8052acd80bd16c62c4cd6c5627571d299))
95
+ - **tooltip:** multi chart when mounting to body ([#5283](https://github.com/antvis/g2/issues/5283)) ([17ed2cb](https://github.com/antvis/g2/commit/17ed2cb3ecacde34fa92b6c85db5973dc2e73b87))
96
+
97
+ ### Features
98
+
99
+ - **interval:** micro interval ([#5260](https://github.com/antvis/g2/issues/5260)) ([5190059](https://github.com/antvis/g2/commit/51900599d807b8bd6d34e32605c8ecda2cf14bfa))
100
+ - **slider:** auto layout ([#5274](https://github.com/antvis/g2/issues/5274)) ([7ff0978](https://github.com/antvis/g2/commit/7ff09788a00b1225c443e007f81f5e998219346d))
101
+
102
+ ## [5.0.14](https://github.com/antvis/g2/compare/5.0.13...5.0.14) (2023-06-28)
103
+
104
+ ### Bug Fixes
105
+
106
+ - **api:** replace deepMix with deepAssign ([#5232](https://github.com/antvis/g2/issues/5232)) ([7bf049c](https://github.com/antvis/g2/commit/7bf049cc4cd00176f916e934f43fd1cd44e682f0))
107
+ - **area:** one missing point ([#5229](https://github.com/antvis/g2/issues/5229)) ([4977031](https://github.com/antvis/g2/commit/4977031ff8a377548ba9233fe073962730ee6075))
108
+ - **axis:** auto padding axis label rotate fail ([#5238](https://github.com/antvis/g2/issues/5238)) ([fc665da](https://github.com/antvis/g2/commit/fc665dad1e56f78a19baa08677b8cb7a3707ef53))
109
+ - **inset:** relative position for text in polar ([#5223](https://github.com/antvis/g2/issues/5223)) ([567717b](https://github.com/antvis/g2/commit/567717be85c851499437856979d180509aef2e71))
110
+ - **layout:** auto inset ignore null bbox ([#5228](https://github.com/antvis/g2/issues/5228)) ([582c494](https://github.com/antvis/g2/commit/582c4943a514cde23320ff959c1cd38ab452efc2))
111
+ - **line:** series gradient ([#5225](https://github.com/antvis/g2/issues/5225)) ([07cc02a](https://github.com/antvis/g2/commit/07cc02aba2f268cc4b6e0a723acdd71dad974c8e))
112
+ - **line:** support missing trail ([#5227](https://github.com/antvis/g2/issues/5227)) ([3eb6b61](https://github.com/antvis/g2/commit/3eb6b6180c4910db7fcafe143dbdf797b37f02db))
113
+
114
+ ### Features
115
+
116
+ - tooltip interaction emit events when body hide ([#5157](https://github.com/antvis/g2/issues/5157)) ([b8491c3](https://github.com/antvis/g2/commit/b8491c33c7736cfe1e0a2c2ee1824e60c727d2cc))
117
+ - **tooltip:** disableNative ([#5236](https://github.com/antvis/g2/issues/5236)) ([70d847f](https://github.com/antvis/g2/commit/70d847fea472e85e2e713b71f75c684f22a2c38d))
118
+
119
+ ## [5.0.13](https://github.com/antvis/g2/compare/5.0.12...5.0.13) (2023-06-20)
120
+
121
+ ### Bug Fixes
122
+
123
+ - **brush:** emit brush remove ([#5170](https://github.com/antvis/g2/issues/5170)) ([1a554e5](https://github.com/antvis/g2/commit/1a554e5d72cc8916624dcd52532a9f95c88b9dd0))
124
+ - label show error when missing data ([#5175](https://github.com/antvis/g2/issues/5175)) ([30cf701](https://github.com/antvis/g2/commit/30cf701b4e45c690a2aede69a1b78082ce9f3087))
125
+
126
+ ### Features
127
+
128
+ - **layout:** auto inset ([#5204](https://github.com/antvis/g2/issues/5204)) ([25dd207](https://github.com/antvis/g2/commit/25dd2070b23b1c9954ebd13b00bb2f84250cd1a3))
129
+ - **legend:** optimize ([#5202](https://github.com/antvis/g2/issues/5202)) ([fbebfc5](https://github.com/antvis/g2/commit/fbebfc57510a800b2e87a9ed9831ffe618922e49))
130
+ - **static-mark:** add axisX and axisY ([#5188](https://github.com/antvis/g2/issues/5188)) ([28e39f0](https://github.com/antvis/g2/commit/28e39f0f9fabdd416cc83743ef82032fbc1790d8))
131
+ - **static-mark:** add legends ([#5209](https://github.com/antvis/g2/issues/5209)) ([e6fcfe3](https://github.com/antvis/g2/commit/e6fcfe329c131bb64b352601d210b90e1ab262dc))
132
+
133
+ ## [5.0.12](https://github.com/antvis/g2/compare/5.0.11...5.0.12) (2023-06-08)
134
+
135
+ ### Bug Fixes
136
+
137
+ - calculate band offset in area mark ([#5148](https://github.com/antvis/g2/issues/5148)) ([19d7f68](https://github.com/antvis/g2/commit/19d7f688fe22889fbe9773ca867067bf16e546ef))
138
+ - chart.options do not show title ([#5147](https://github.com/antvis/g2/issues/5147)) ([17eb842](https://github.com/antvis/g2/commit/17eb8428728003a6a2b11547b3022becf996f8bb))
139
+
140
+ ### Features
141
+
142
+ - add venn chart demo, tests ([#5129](https://github.com/antvis/g2/issues/5129)) ([36b9b02](https://github.com/antvis/g2/commit/36b9b025c414ba827959ef1bc9aa2d061c3b9820))
143
+ - **interaction:** add scrollbarFilter ([#5152](https://github.com/antvis/g2/issues/5152)) ([72e0cc4](https://github.com/antvis/g2/commit/72e0cc414548fd1e21c8e8dae7c874e530f9e29d))
144
+ - **interaction:** emit brush axis highlight ([#5132](https://github.com/antvis/g2/issues/5132)) ([534c1ef](https://github.com/antvis/g2/commit/534c1efcf6a2ad436d5629645cf2ca71f1078ea2))
145
+ - **interaction:** emit element highlight ([#5117](https://github.com/antvis/g2/issues/5117)) ([44b8ee5](https://github.com/antvis/g2/commit/44b8ee5abf2cf33dcef61ee753023c9464154bed))
146
+ - **interaction:** emit element select ([#5119](https://github.com/antvis/g2/issues/5119)) ([ea20755](https://github.com/antvis/g2/commit/ea20755b5926073b073e0a3549e455c4c9d40c61))
147
+ - **interaction:** emit legend filter ([#5127](https://github.com/antvis/g2/issues/5127)) ([b7071ef](https://github.com/antvis/g2/commit/b7071effd62579db9b80b4d9de6dca0a080879c3))
148
+ - **interaction:** emit legend highlight ([#5126](https://github.com/antvis/g2/issues/5126)) ([e796355](https://github.com/antvis/g2/commit/e796355354469d53b8c3f5165beebb865ed59fb0))
149
+ - **interaction:** emit slider filter ([#5114](https://github.com/antvis/g2/issues/5114)) ([32ac0f6](https://github.com/antvis/g2/commit/32ac0f6ba02badbb2a12a41dd581e73083b45b38))
150
+ - interval shape has max/min width ([#5123](https://github.com/antvis/g2/issues/5123)) ([7b50766](https://github.com/antvis/g2/commit/7b5076663c0432dc4f4808386b4ed80ee59efa85))
151
+ - **line:** add trail shape ([#5137](https://github.com/antvis/g2/issues/5137)) ([34937ea](https://github.com/antvis/g2/commit/34937ea26448cb8bcc80a0b9c362e9387b99b843))
152
+
153
+ ## [5.0.11](https://github.com/antvis/g2/compare/5.0.10...5.0.11) (2023-05-26)
154
+
155
+ ### Bug Fixes
156
+
157
+ - **api:** update mark-level plot and apply viewStyle ([#5102](https://github.com/antvis/g2/issues/5102)) ([f239cba](https://github.com/antvis/g2/commit/f239cba0823022cf3703891c8b47c323f8c4cd46))
158
+ - **chart:** chart.options should remove node ([#5103](https://github.com/antvis/g2/issues/5103)) ([6949459](https://github.com/antvis/g2/commit/6949459bdd159bc540b07a33791337b681f29fa0))
159
+ - **data:** render empty data ([#5098](https://github.com/antvis/g2/issues/5098)) ([6de9e33](https://github.com/antvis/g2/commit/6de9e3399cd4cc1205e2ee2ea2efcacc0f512ffb))
160
+ - **event:** there is no target for pointerupoutside event ([#5100](https://github.com/antvis/g2/issues/5100)) ([641f966](https://github.com/antvis/g2/commit/641f9666b52990b28467b50475fa5280913efd3c))
161
+ - **geo:** highlight choropleth ([#5095](https://github.com/antvis/g2/issues/5095)) ([7a4d06d](https://github.com/antvis/g2/commit/7a4d06d9d7927fb17d8170f210be54ad93aa8f3c))
162
+ - **label:** null value for series mark ([#5099](https://github.com/antvis/g2/issues/5099)) ([a1db7aa](https://github.com/antvis/g2/commit/a1db7aa07fba40a85bd5239b2ef1479ba487820d))
163
+
164
+ ### Features
165
+
166
+ - add heatmap mark and shape ([#5047](https://github.com/antvis/g2/issues/5047)) ([67d88f4](https://github.com/antvis/g2/commit/67d88f4e92986ac5d21bee6975d15f6821974aff))
167
+
168
+ ## [5.0.10](https://github.com/antvis/g2/compare/5.0.9...5.0.10) (2023-05-25)
169
+
170
+ ### Bug Fixes
171
+
172
+ - **site:** disable css parsing ([#5091](https://github.com/antvis/g2/issues/5091)) ([c21787f](https://github.com/antvis/g2/commit/c21787ffcef4600b7a24f7fb88189511c495b71b))
173
+
174
+ ## [5.0.9](https://github.com/antvis/g2/compare/5.0.8...5.0.9) (2023-05-25)
175
+
176
+ ### Bug Fixes
177
+
178
+ - **brush:** handle brush:highlight once when emit ([#5063](https://github.com/antvis/g2/issues/5063)) ([321fb1b](https://github.com/antvis/g2/commit/321fb1bce8e177cfc2d9ea83cdb1291c3fd6c728))
179
+ - example typo ([#5064](https://github.com/antvis/g2/issues/5064)) ([e2e8a5f](https://github.com/antvis/g2/commit/e2e8a5fafe12a71c85a3275faa1f220d4a7fc62a))
180
+ - **interaction:** interaction can be clear ([#5087](https://github.com/antvis/g2/issues/5087)) ([f489fba](https://github.com/antvis/g2/commit/f489fba7c6802cc75ec4c81017ec8924c2f9b0e7))
181
+ - label formatter callback params ([#5062](https://github.com/antvis/g2/issues/5062)) ([1ee4b1f](https://github.com/antvis/g2/commit/1ee4b1fa252bb2a4dc0fa303242c46239024239c))
182
+ - **label:** support date label ([#5077](https://github.com/antvis/g2/issues/5077)) ([826e000](https://github.com/antvis/g2/commit/826e000bb6009aea8b29ca452aea4f6caa9355df))
183
+ - **legend:** pass legend.style ([#5084](https://github.com/antvis/g2/issues/5084)) ([f915d02](https://github.com/antvis/g2/commit/f915d021ca1c189271bc7bffdbe94632fd014595))
184
+
185
+ ### Features
186
+
187
+ - **api:** use api and spec together ([#5074](https://github.com/antvis/g2/issues/5074)) ([e18cc84](https://github.com/antvis/g2/commit/e18cc8411f5439c57268e0c180f61ad62a96daa1))
188
+ - **axis:** set default tickCount to 5 ([#5086](https://github.com/antvis/g2/issues/5086)) ([bbfe665](https://github.com/antvis/g2/commit/bbfe665b80e6f417537f5760033e3ed4c729504c))
189
+ - **chart:** debounce chart.render ([#5083](https://github.com/antvis/g2/issues/5083)) ([106b807](https://github.com/antvis/g2/commit/106b807ab2db91253287e41f857a9706f44c0039))
190
+ - set tooltip dom classname has `g2-` prefix ([#5066](https://github.com/antvis/g2/issues/5066)) ([c8b62f6](https://github.com/antvis/g2/commit/c8b62f6f88432c69ba1d6aa00e91c73bc4ce6a4f))
191
+
192
+ ## [5.0.8](https://github.com/antvis/g2/compare/5.0.7...5.0.8) (2023-05-19)
193
+
194
+ ### Bug Fixes
195
+
196
+ - **brush:** rerender don't emit brush:end ([#5053](https://github.com/antvis/g2/issues/5053)) ([f07b512](https://github.com/antvis/g2/commit/f07b512bb0f116f056a4373f6323195683405786))
197
+ - **brush:** upper bound for selection ([#5044](https://github.com/antvis/g2/issues/5044)) ([b6ea831](https://github.com/antvis/g2/commit/b6ea8318653432c1cf54aca087ff3fb64334cfbe))
198
+ - **chart:** chart.forceFit rerender only when size changing ([#5052](https://github.com/antvis/g2/issues/5052)) ([ab0ccf7](https://github.com/antvis/g2/commit/ab0ccf725713b628e0bb0188e9269bc19e4f1722))
199
+
200
+ ### Features
201
+
202
+ - add density mark, violin shape and kde transform ([#5043](https://github.com/antvis/g2/issues/5043)) ([f961d24](https://github.com/antvis/g2/commit/f961d2487c0cb387aef9075acd48a8c82ad2ff40))
203
+ - **dimension:** auto padding ([#5046](https://github.com/antvis/g2/issues/5046)) ([914d445](https://github.com/antvis/g2/commit/914d445f75c54c293af2fffbd6906cda0fd1ab00))
204
+
205
+ ## [5.0.7](https://github.com/antvis/g2/compare/5.0.6...5.0.7) (2023-05-16)
206
+
207
+ ### Bug Fixes
208
+
209
+ - **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)
210
+ - **axis:** autoHide should not set crossSize ([#5032](https://github.com/antvis/g2/issues/5032)) ([86052fc](https://github.com/antvis/g2/commit/86052fced2b165b13a5dc2e0c37617a3dcd9c1f3))
211
+ - change data wont update ([#5002](https://github.com/antvis/g2/issues/5002)) ([349a9f4](https://github.com/antvis/g2/commit/349a9f4b015de11804ccc1f2847e10dc4ace24e8))
212
+ - fix issue that legend category cannot update shape ([#4968](https://github.com/antvis/g2/issues/4968)) ([152bc18](https://github.com/antvis/g2/commit/152bc18c6820e25e903ec33e12f7382fe960a0c8))
213
+ - **legend-filter:** funnel ([#4960](https://github.com/antvis/g2/issues/4960)) ([be67dfa](https://github.com/antvis/g2/commit/be67dfa176742f8cf7b9fca165f55ddfca63f3f1))
214
+ - **link:** right env var ([#5027](https://github.com/antvis/g2/issues/5027)) ([6481b00](https://github.com/antvis/g2/commit/6481b0094880a9d3cbe4f6853763013d1c1acd67))
215
+ - **point:** opacityAttribute default to colorAttribute ([#4981](https://github.com/antvis/g2/issues/4981)) ([79399d0](https://github.com/antvis/g2/commit/79399d037809e86b447ff3cb7264a262811621e5))
216
+ - **scale:** zero domain min and max ([#5014](https://github.com/antvis/g2/issues/5014)) ([2e92914](https://github.com/antvis/g2/commit/2e9291492d1542533318b70f7d937163b8a3b9f3))
217
+ - svg renderer not works in website demo ([#5000](https://github.com/antvis/g2/issues/5000)) ([b94ef47](https://github.com/antvis/g2/commit/b94ef47abb42d1b95c16ba9417256b64c1748eac))
218
+ - **tooltip:** rerender correctly ([#4962](https://github.com/antvis/g2/issues/4962)) ([f85e72f](https://github.com/antvis/g2/commit/f85e72f8e8e94d048835cafe44d7612d3ad69087))
219
+
220
+ ### Features
221
+
222
+ - add thresholds params in gauge mark ([#5021](https://github.com/antvis/g2/issues/5021)) ([66a4a8e](https://github.com/antvis/g2/commit/66a4a8ecc16586c2d74155bbde479e2797f53520))
223
+ - **brush:** support resize and custom ([#5012](https://github.com/antvis/g2/issues/5012)) ([857fa7b](https://github.com/antvis/g2/commit/857fa7b2ff6d99f8509d2f99cfa949eb640109c3))
224
+ - **event:** emit plot events ([#5034](https://github.com/antvis/g2/issues/5034)) ([67576ac](https://github.com/antvis/g2/commit/67576ac91dcb94dc7fc834ff8c7f015cbe23a814))
225
+ - tooltip render to mount dom ([#5025](https://github.com/antvis/g2/issues/5025)) ([d6e098f](https://github.com/antvis/g2/commit/d6e098f022e8c3c217f5907584dda01eaadb0b34))
226
+ - **tooltip:** on and emit ([#4980](https://github.com/antvis/g2/issues/4980)) ([5f64f71](https://github.com/antvis/g2/commit/5f64f7165a14de0d66350fb7316654027b6bce7c))
227
+ - update gui and adapt to crossSize config ([#4949](https://github.com/antvis/g2/issues/4949)) ([d1d9b8d](https://github.com/antvis/g2/commit/d1d9b8d1268e7fc95bdf63c3975fce88033e2257))
228
+
229
+ ## [5.0.6](https://github.com/antvis/g2/compare/5.0.5...5.0.6) (2023-05-08)
230
+
231
+ ### Bug Fixes
232
+
233
+ - **chart:** chart.options changeData problem ([#4936](https://github.com/antvis/g2/issues/4936)) ([99bdec2](https://github.com/antvis/g2/commit/99bdec2062af347b8d46dfde30ab2508248b0466))
234
+ - **chart:** chart.theme as unrequired params ([#4940](https://github.com/antvis/g2/issues/4940)) ([0878230](https://github.com/antvis/g2/commit/0878230c72dd801e6e5d1d818b7bb4c7d6e547b4))
235
+ - **test:** unhandled promise rejection ([#4943](https://github.com/antvis/g2/issues/4943)) ([1ba1fcd](https://github.com/antvis/g2/commit/1ba1fcd3011b1d4618d86c4e51f6874cb6c8ff86))
236
+
237
+ ### Features
238
+
239
+ - **chart:** chart bind autoFit in render ([#4941](https://github.com/antvis/g2/issues/4941)) ([c16191a](https://github.com/antvis/g2/commit/c16191a1afa7c00620c61e3315a8ba2ea1cf73fb))
240
+ - **interaction:** support focus context ([#4946](https://github.com/antvis/g2/issues/4946)) ([8dc7f1d](https://github.com/antvis/g2/commit/8dc7f1dbb48b21b10e1c2883cd72ea2f7f183971))
241
+
242
+ ## [5.0.5](https://github.com/antvis/g2/compare/5.0.4...5.0.5) (2023-05-04)
243
+
244
+ ### Bug Fixes
245
+
246
+ - **axis:** order of ticks for transposed x axis ([#4918](https://github.com/antvis/g2/issues/4918)) ([cf1cb88](https://github.com/antvis/g2/commit/cf1cb88483518fb30d9ad088c712dda0c3fe5b94))
247
+ - **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))
248
+ - **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))
249
+ - **interaction:** transpose sliderFilter ([#4919](https://github.com/antvis/g2/issues/4919)) ([6dc8e51](https://github.com/antvis/g2/commit/6dc8e5148c8182af07896040367917efb690219f))
250
+ - **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))
251
+
252
+ ### Features
253
+
254
+ - **interaction:** brushFilter emit filter event ([#4933](https://github.com/antvis/g2/issues/4933)) ([0e8f2d9](https://github.com/antvis/g2/commit/0e8f2d996367a2dfa2c940524547c52d84da37b7))
255
+
256
+ ## [5.0.4](https://github.com/antvis/g2/compare/5.0.3...5.0.4) (2023-04-25)
257
+
258
+ ### Bug Fixes
259
+
260
+ - **demo:** disable series tooltip for regression ([#4912](https://github.com/antvis/g2/issues/4912)) ([d7b74f5](https://github.com/antvis/g2/commit/d7b74f58d5445b3269f3b2434b7185f9403960e0))
261
+ - Unify params for labelFilter labelFormatter ([#4911](https://github.com/antvis/g2/issues/4911)) ([f96b2f4](https://github.com/antvis/g2/commit/f96b2f460f35e3fe2486bb366d9dddd6af1b85c7))
262
+ - **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))
263
+ - **OOM:** clear interaction and cancel animation when rerendering ([#4899](https://github.com/antvis/g2/issues/4899)) ([7080def](https://github.com/antvis/g2/commit/7080defb772e001000156704dbd10fb44a168016))
264
+ - **scale:** tickCount of log scale support -1 ([#4901](https://github.com/antvis/g2/issues/4901)) ([c84aea7](https://github.com/antvis/g2/commit/c84aea7849222fff9deba57d9de97d16da9db7c1))
265
+ - **tooltip:** missing data ([#4910](https://github.com/antvis/g2/issues/4910)) ([131b032](https://github.com/antvis/g2/commit/131b0326c92b87dd1e99b04d5fba3861f90baac3))
266
+ - **tooltip:** show falsy item by default ([#4907](https://github.com/antvis/g2/issues/4907)) ([29ed50c](https://github.com/antvis/g2/commit/29ed50ce3f5c1cf599ac9f3eeb6c32acbaef7c24))
267
+ - **component** update legend component inferring strategies ([#4906](https://github.com/antvis/g2/issues/4906)) ([1816339](https://github.com/antvis/g2/commit/18163398f91c90e9eaf55cf465c7ade5f6f5f88f))
268
+
269
+ ### Features
270
+
271
+ - add arrow for lineX, lineY ([#4905](https://github.com/antvis/g2/issues/4905)) ([b5d6595](https://github.com/antvis/g2/commit/b5d659525966b227bba2f1c70266985bdc336bfa))
272
+
273
+ ## [5.0.3](https://github.com/antvis/g2/compare/5.0.2...5.0.3) (2023-04-12)
274
+
275
+ ### Bug Fixes
276
+
277
+ - **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))
278
+ - 文档中的 sort->sortBy ([#4876](https://github.com/antvis/g2/issues/4876)) ([f2a53a9](https://github.com/antvis/g2/commit/f2a53a97e9d7cd739562ccc40a91997a17b480fd))
279
+
280
+ ## [5.0.2](https://github.com/antvis/g2/compare/5.0.1...5.0.2) (2023-04-06)
281
+
282
+ ### Bug Fixes
283
+
284
+ - **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))
285
+ - **axis:** unexpected radius in polar ([#4850](https://github.com/antvis/g2/issues/4850)) ([8764d55](https://github.com/antvis/g2/commit/8764d55594b71e207e0a80844d78f83e94d765a0))
286
+ - 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))
287
+ - **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))
288
+ - **fisheye:** reset when pointerleave ([#4858](https://github.com/antvis/g2/issues/4858)) ([09ccbdb](https://github.com/antvis/g2/commit/09ccbdb467ef8787bcc6c3b8419779f3a694aaf8))
289
+ - **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))
290
+ - **tooltip:** hide tooltip when move mask ([#4860](https://github.com/antvis/g2/issues/4860)) ([bab6c3b](https://github.com/antvis/g2/commit/bab6c3bc6e6502be9ef4b8c3c3ee5b34890f6485))
291
+ - **types:** axis for composition ([#4851](https://github.com/antvis/g2/issues/4851)) ([0615ca8](https://github.com/antvis/g2/commit/0615ca8af1d30659a3919d4f5dc3b360994012b0))
292
+ - update legend marker ([#4869](https://github.com/antvis/g2/issues/4869)) ([86a7d9c](https://github.com/antvis/g2/commit/86a7d9ca24e6ca59f5ee50262d5403566db79a06))
293
+
294
+ ## [5.0.1](https://github.com/antvis/g2/compare/5.0.0...5.0.1) (2023-03-29)
295
+
296
+ ### Bug Fixes
297
+
298
+ - **tests:** remove .only ([#4835](https://github.com/antvis/g2/issues/4835)) ([43a4ce8](https://github.com/antvis/g2/commit/43a4ce82303eb9af9392c07ed664027b24953708))
299
+ - **tooltip:** sample ([#4832](https://github.com/antvis/g2/issues/4832)) ([46aa416](https://github.com/antvis/g2/commit/46aa41669fd95949a151b7c3d1a5a1de621f6623))
300
+ - **tooltip:** support NaN data in transpose ([#4833](https://github.com/antvis/g2/issues/4833)) ([f837057](https://github.com/antvis/g2/commit/f837057dc5d8f6dd0b60158ded7b238034459320))
301
+
302
+ ### Features
303
+
304
+ - **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))
305
+
306
+ ## [5.0.0](https://github.com/antvis/G2/releases/tag/5.0.0) (2023-03-21)
307
+
308
+ [Release note](https://github.com/antvis/G2/releases/tag/5.0.0).