@antv/g2 4.2.7 → 4.2.9

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 (210) hide show
  1. package/CHANGELOG.md +1433 -0
  2. package/dist/g2.min.js +2 -2
  3. package/dist/g2.min.js.map +1 -1
  4. package/esm/animate/animation/index.d.ts +1 -1
  5. package/esm/animate/index.js.map +1 -1
  6. package/esm/chart/controller/axis.d.ts +1 -1
  7. package/esm/chart/controller/axis.js +2 -1
  8. package/esm/chart/controller/axis.js.map +1 -1
  9. package/esm/chart/controller/base.d.ts +1 -1
  10. package/esm/chart/layout/constraint/types.d.ts +2 -2
  11. package/esm/chart/layout/index.d.ts +1 -1
  12. package/esm/chart/layout/padding-cal.d.ts +1 -1
  13. package/esm/chart/view.js +3 -2
  14. package/esm/chart/view.js.map +1 -1
  15. package/esm/component/update-label.d.ts +1 -1
  16. package/esm/core.d.ts +1 -1
  17. package/esm/core.js +1 -3
  18. package/esm/core.js.map +1 -1
  19. package/esm/dependents.d.ts +1 -1
  20. package/esm/geometry/label/base.d.ts +1 -1
  21. package/esm/geometry/label/index.d.ts +1 -1
  22. package/esm/geometry/label/interface.d.ts +2 -2
  23. package/esm/geometry/shape/area/index.js.map +1 -1
  24. package/esm/geometry/shape/area/line.js.map +1 -1
  25. package/esm/geometry/shape/area/smooth-line.js.map +1 -1
  26. package/esm/geometry/shape/area/smooth.js.map +1 -1
  27. package/esm/geometry/shape/base.js.map +1 -1
  28. package/esm/geometry/shape/edge/arc.js.map +1 -1
  29. package/esm/geometry/shape/edge/index.js.map +1 -1
  30. package/esm/geometry/shape/edge/smooth.js.map +1 -1
  31. package/esm/geometry/shape/edge/vhv.js.map +1 -1
  32. package/esm/geometry/shape/interval/funnel.js.map +1 -1
  33. package/esm/geometry/shape/interval/hollow-rect.js.map +1 -1
  34. package/esm/geometry/shape/interval/index.js.map +1 -1
  35. package/esm/geometry/shape/interval/line.js.map +1 -1
  36. package/esm/geometry/shape/interval/pyramid.js.map +1 -1
  37. package/esm/geometry/shape/interval/tick.js.map +1 -1
  38. package/esm/geometry/shape/line/index.js.map +1 -1
  39. package/esm/geometry/shape/line/step.js.map +1 -1
  40. package/esm/geometry/shape/point/hollow.js.map +1 -1
  41. package/esm/geometry/shape/point/image.js.map +1 -1
  42. package/esm/geometry/shape/point/index.js.map +1 -1
  43. package/esm/geometry/shape/point/solid.js.map +1 -1
  44. package/esm/geometry/shape/polygon/index.js.map +1 -1
  45. package/esm/geometry/shape/polygon/square.js.map +1 -1
  46. package/esm/geometry/shape/schema/box.js.map +1 -1
  47. package/esm/geometry/shape/schema/candle.js.map +1 -1
  48. package/esm/geometry/shape/violin/hollow.js.map +1 -1
  49. package/esm/geometry/shape/violin/index.js.map +1 -1
  50. package/esm/geometry/shape/violin/smooth.js.map +1 -1
  51. package/esm/index.js +67 -0
  52. package/esm/index.js.map +1 -1
  53. package/esm/interaction/action/element/highlight-util.d.ts +1 -1
  54. package/esm/interaction/action/element/highlight.d.ts +1 -1
  55. package/esm/interaction/action/element/link-by-color.d.ts +1 -1
  56. package/esm/interaction/action/mask/circle.d.ts +5 -0
  57. package/esm/interaction/action/mask/circle.js +18 -16
  58. package/esm/interaction/action/mask/circle.js.map +1 -1
  59. package/esm/interaction/action/mask/dim-rect.d.ts +1 -0
  60. package/esm/interaction/action/mask/dim-rect.js +38 -37
  61. package/esm/interaction/action/mask/dim-rect.js.map +1 -1
  62. package/esm/interaction/action/mask/multiple/base.d.ts +125 -0
  63. package/esm/interaction/action/mask/multiple/base.js +286 -0
  64. package/esm/interaction/action/mask/multiple/base.js.map +1 -0
  65. package/esm/interaction/action/mask/multiple/circle.d.ts +11 -0
  66. package/esm/interaction/action/mask/multiple/circle.js +19 -0
  67. package/esm/interaction/action/mask/multiple/circle.js.map +1 -0
  68. package/esm/interaction/action/mask/multiple/dim-rect.d.ts +10 -0
  69. package/esm/interaction/action/mask/multiple/dim-rect.js +22 -0
  70. package/esm/interaction/action/mask/multiple/dim-rect.js.map +1 -0
  71. package/esm/interaction/action/mask/multiple/path.d.ts +12 -0
  72. package/esm/interaction/action/mask/multiple/path.js +22 -0
  73. package/esm/interaction/action/mask/multiple/path.js.map +1 -0
  74. package/esm/interaction/action/mask/multiple/rect.d.ts +16 -0
  75. package/esm/interaction/action/mask/multiple/rect.js +25 -0
  76. package/esm/interaction/action/mask/multiple/rect.js.map +1 -0
  77. package/esm/interaction/action/mask/multiple/smooth-path.d.ts +11 -0
  78. package/esm/interaction/action/mask/multiple/smooth-path.js +19 -0
  79. package/esm/interaction/action/mask/multiple/smooth-path.js.map +1 -0
  80. package/esm/interaction/action/mask/path.d.ts +9 -0
  81. package/esm/interaction/action/mask/path.js +27 -18
  82. package/esm/interaction/action/mask/path.js.map +1 -1
  83. package/esm/interaction/action/mask/rect.d.ts +12 -0
  84. package/esm/interaction/action/mask/rect.js +25 -16
  85. package/esm/interaction/action/mask/rect.js.map +1 -1
  86. package/esm/interaction/action/mask/smooth-path.d.ts +12 -0
  87. package/esm/interaction/action/mask/smooth-path.js +17 -3
  88. package/esm/interaction/action/mask/smooth-path.js.map +1 -1
  89. package/esm/interaction/action/register.d.ts +1 -1
  90. package/esm/interaction/action/util.d.ts +6 -0
  91. package/esm/interaction/action/util.js +112 -12
  92. package/esm/interaction/action/util.js.map +1 -1
  93. package/esm/interaction/interaction.d.ts +1 -1
  94. package/esm/interface.d.ts +59 -59
  95. package/esm/util/collision-detect.d.ts +1 -1
  96. package/esm/util/legend.d.ts +1 -1
  97. package/esm/util/text.d.ts +2 -2
  98. package/esm/util/types.d.ts +1 -1
  99. package/lib/animate/animation/index.d.ts +1 -1
  100. package/lib/animate/index.js.map +1 -1
  101. package/lib/chart/controller/axis.d.ts +1 -1
  102. package/lib/chart/controller/axis.js +2 -1
  103. package/lib/chart/controller/axis.js.map +1 -1
  104. package/lib/chart/controller/base.d.ts +1 -1
  105. package/lib/chart/layout/constraint/types.d.ts +2 -2
  106. package/lib/chart/layout/index.d.ts +1 -1
  107. package/lib/chart/layout/padding-cal.d.ts +1 -1
  108. package/lib/chart/view.js +3 -2
  109. package/lib/chart/view.js.map +1 -1
  110. package/lib/component/update-label.d.ts +1 -1
  111. package/lib/core.d.ts +1 -1
  112. package/lib/core.js +9 -9
  113. package/lib/core.js.map +1 -1
  114. package/lib/dependents.d.ts +1 -1
  115. package/lib/geometry/label/base.d.ts +1 -1
  116. package/lib/geometry/label/index.d.ts +1 -1
  117. package/lib/geometry/label/interface.d.ts +2 -2
  118. package/lib/geometry/shape/area/index.js.map +1 -1
  119. package/lib/geometry/shape/area/line.js.map +1 -1
  120. package/lib/geometry/shape/area/smooth-line.js.map +1 -1
  121. package/lib/geometry/shape/area/smooth.js.map +1 -1
  122. package/lib/geometry/shape/base.js.map +1 -1
  123. package/lib/geometry/shape/edge/arc.js.map +1 -1
  124. package/lib/geometry/shape/edge/index.js.map +1 -1
  125. package/lib/geometry/shape/edge/smooth.js.map +1 -1
  126. package/lib/geometry/shape/edge/vhv.js.map +1 -1
  127. package/lib/geometry/shape/interval/funnel.js.map +1 -1
  128. package/lib/geometry/shape/interval/hollow-rect.js.map +1 -1
  129. package/lib/geometry/shape/interval/index.js.map +1 -1
  130. package/lib/geometry/shape/interval/line.js.map +1 -1
  131. package/lib/geometry/shape/interval/pyramid.js.map +1 -1
  132. package/lib/geometry/shape/interval/tick.js.map +1 -1
  133. package/lib/geometry/shape/line/index.js.map +1 -1
  134. package/lib/geometry/shape/line/step.js.map +1 -1
  135. package/lib/geometry/shape/point/hollow.js.map +1 -1
  136. package/lib/geometry/shape/point/image.js.map +1 -1
  137. package/lib/geometry/shape/point/index.js.map +1 -1
  138. package/lib/geometry/shape/point/solid.js.map +1 -1
  139. package/lib/geometry/shape/polygon/index.js.map +1 -1
  140. package/lib/geometry/shape/polygon/square.js.map +1 -1
  141. package/lib/geometry/shape/schema/box.js.map +1 -1
  142. package/lib/geometry/shape/schema/candle.js.map +1 -1
  143. package/lib/geometry/shape/violin/hollow.js.map +1 -1
  144. package/lib/geometry/shape/violin/index.js.map +1 -1
  145. package/lib/geometry/shape/violin/smooth.js.map +1 -1
  146. package/lib/index.js +67 -0
  147. package/lib/index.js.map +1 -1
  148. package/lib/interaction/action/element/highlight-util.d.ts +1 -1
  149. package/lib/interaction/action/element/highlight.d.ts +1 -1
  150. package/lib/interaction/action/element/link-by-color.d.ts +1 -1
  151. package/lib/interaction/action/mask/circle.d.ts +5 -0
  152. package/lib/interaction/action/mask/circle.js +20 -16
  153. package/lib/interaction/action/mask/circle.js.map +1 -1
  154. package/lib/interaction/action/mask/dim-rect.d.ts +1 -0
  155. package/lib/interaction/action/mask/dim-rect.js +40 -37
  156. package/lib/interaction/action/mask/dim-rect.js.map +1 -1
  157. package/lib/interaction/action/mask/multiple/base.d.ts +125 -0
  158. package/lib/interaction/action/mask/multiple/base.js +288 -0
  159. package/lib/interaction/action/mask/multiple/base.js.map +1 -0
  160. package/lib/interaction/action/mask/multiple/circle.d.ts +11 -0
  161. package/lib/interaction/action/mask/multiple/circle.js +21 -0
  162. package/lib/interaction/action/mask/multiple/circle.js.map +1 -0
  163. package/lib/interaction/action/mask/multiple/dim-rect.d.ts +10 -0
  164. package/lib/interaction/action/mask/multiple/dim-rect.js +24 -0
  165. package/lib/interaction/action/mask/multiple/dim-rect.js.map +1 -0
  166. package/lib/interaction/action/mask/multiple/path.d.ts +12 -0
  167. package/lib/interaction/action/mask/multiple/path.js +24 -0
  168. package/lib/interaction/action/mask/multiple/path.js.map +1 -0
  169. package/lib/interaction/action/mask/multiple/rect.d.ts +16 -0
  170. package/lib/interaction/action/mask/multiple/rect.js +27 -0
  171. package/lib/interaction/action/mask/multiple/rect.js.map +1 -0
  172. package/lib/interaction/action/mask/multiple/smooth-path.d.ts +11 -0
  173. package/lib/interaction/action/mask/multiple/smooth-path.js +21 -0
  174. package/lib/interaction/action/mask/multiple/smooth-path.js.map +1 -0
  175. package/lib/interaction/action/mask/path.d.ts +9 -0
  176. package/lib/interaction/action/mask/path.js +30 -18
  177. package/lib/interaction/action/mask/path.js.map +1 -1
  178. package/lib/interaction/action/mask/rect.d.ts +12 -0
  179. package/lib/interaction/action/mask/rect.js +28 -16
  180. package/lib/interaction/action/mask/rect.js.map +1 -1
  181. package/lib/interaction/action/mask/smooth-path.d.ts +12 -0
  182. package/lib/interaction/action/mask/smooth-path.js +20 -3
  183. package/lib/interaction/action/mask/smooth-path.js.map +1 -1
  184. package/lib/interaction/action/register.d.ts +1 -1
  185. package/lib/interaction/action/util.d.ts +6 -0
  186. package/lib/interaction/action/util.js +115 -14
  187. package/lib/interaction/action/util.js.map +1 -1
  188. package/lib/interaction/interaction.d.ts +1 -1
  189. package/lib/interface.d.ts +59 -59
  190. package/lib/util/collision-detect.d.ts +1 -1
  191. package/lib/util/legend.d.ts +1 -1
  192. package/lib/util/text.d.ts +2 -2
  193. package/lib/util/types.d.ts +1 -1
  194. package/package.json +2 -21
  195. package/src/chart/controller/axis.ts +1 -1
  196. package/src/chart/view.ts +3 -2
  197. package/src/core.ts +1 -1
  198. package/src/index.ts +70 -0
  199. package/src/interaction/action/mask/circle.ts +19 -16
  200. package/src/interaction/action/mask/dim-rect.ts +39 -37
  201. package/src/interaction/action/mask/multiple/base.ts +314 -0
  202. package/src/interaction/action/mask/multiple/circle.ts +13 -0
  203. package/src/interaction/action/mask/multiple/dim-rect.ts +16 -0
  204. package/src/interaction/action/mask/multiple/path.ts +16 -0
  205. package/src/interaction/action/mask/multiple/rect.ts +19 -0
  206. package/src/interaction/action/mask/multiple/smooth-path.ts +13 -0
  207. package/src/interaction/action/mask/path.ts +28 -18
  208. package/src/interaction/action/mask/rect.ts +28 -17
  209. package/src/interaction/action/mask/smooth-path.ts +19 -3
  210. package/src/interaction/action/util.ts +123 -12
package/CHANGELOG.md ADDED
@@ -0,0 +1,1433 @@
1
+ #### 4.2.9 (2023-02-02)
2
+
3
+ ##### New Features
4
+
5
+ - multiple mask actions ([#4589](https://github.com/antvis/g2/pull/4589)) ([02e9c659](https://github.com/antvis/g2/commit/02e9c659c65803b3bedebb6900b2e1bced7ce9a4))
6
+
7
+ ##### Bug Fixes
8
+
9
+ - **test:** transform esm to cmjs in node_modules ([#4586](https://github.com/antvis/g2/pull/4586)) ([f129b350](https://github.com/antvis/g2/commit/f129b350056e873c6d68a22b46d47f0ae9f4f916))
10
+
11
+ ##### Other Changes
12
+
13
+ #### 4.2.8 (2022-09-19)
14
+
15
+ ##### Chores
16
+
17
+ - remove map demo ([#4127](https://github.com/antvis/g2/pull/4127)) ([066df6f8](https://github.com/antvis/g2/commit/066df6f8dbaff9bfa656bdc773b4d185f12383ec))
18
+
19
+ ##### Documentation Changes
20
+
21
+ - 移除地图 demo ([#4126](https://github.com/antvis/g2/pull/4126)) ([f64209c7](https://github.com/antvis/g2/commit/f64209c744adbf5b4c5332f792d018e7a3e86432))
22
+
23
+ ##### Bug Fixes
24
+
25
+ - **#4141:** avoid cost O(n^2) to getComponents ([#4149](https://github.com/antvis/g2/pull/4149)) ([8aa52612](https://github.com/antvis/g2/commit/8aa52612d40b9f9508cae9d906a5e874cc35227f))
26
+
27
+ #### 4.2.6 (2022-08-04)
28
+
29
+ ##### Documentation Changes
30
+
31
+ - **md:** 更新钉钉群号 ([#4048](https://github.com/antvis/G2/pull/4048)) ([165747a](https://github.com/antvis/G2/pull/4048/commits/165747adc4c5f596921b8231d62e36ecb2c42ff2))
32
+
33
+ ##### Bug Fixes
34
+
35
+ - **label:** label 可以配置 是否支持捕获 ([#4064](https://github.com/antvis/G2/pull/4064)) ([7ff3941](https://github.com/antvis/G2/pull/4064/commits/7ff39416cfd6d1b142bf96264fea58a3b6af41f6))
36
+ - **toolitp:** 增加 tooltip marker 回调,以和 point 的不同形状保持一致 ([#4039](https://github.com/antvis/G2/pull/4039)) ([7b16ce7](https://github.com/antvis/G2/pull/4039/commits/7b16ce725da38e74703949c69b1cf458d316aaea))
37
+ - **annotation:** 修复 annotation shape/regionFilter 在 geometries 没有动画没有渲染的问题 ([#4035](https://github.com/antvis/G2/pull/4035)) ([dcb8cf4](https://github.com/antvis/G2/pull/4035/commits/dcb8cf4e0f37c5289c719545e922e8fd5340cc84))
38
+
39
+ #### 4.2.5 (2022-07-06)
40
+
41
+ ##### Documentation Changes
42
+
43
+ - **example:** brush selection add the modification button example ([#4004](https://github.com/antvis/g2/pull/4004)) ([de7425af](https://github.com/antvis/g2/commit/de7425afab6afdd798d83cee8e815f3253e9ead2))
44
+ - 优化拖拽点交互的 demo ([466cf81b](https://github.com/antvis/g2/commit/466cf81bd80929cd87e824e28221c9bb9a11412c))
45
+
46
+ ##### Bug Fixes
47
+
48
+ - **pie:** 修复扇形 变化时 角度按照反方向变化的问题 ([#4029](https://github.com/antvis/g2/pull/4029)) ([5256a8a0](https://github.com/antvis/g2/commit/5256a8a004a1b15b3cd583907422f478f017f154))
49
+ - **crosshairs:** crosshairs 删除在坐标轴外不能显示的配置 ([#4008](https://github.com/antvis/g2/pull/4008)) ([56ff97ba](https://github.com/antvis/g2/commit/56ff97ba16690edfbb8c0ee4c9bbe50ba8871689))
50
+ - **area-shape:** fix marker fillOpacity ([#4017](https://github.com/antvis/g2/pull/4017)) ([97897428](https://github.com/antvis/g2/commit/97897428d0a38105a995b5c626c9eb095f6c766a))
51
+ - **slider:** 修改 slider 的最大值最小值 位置 计算数据方式 floor 为 round ([#4015](https://github.com/antvis/g2/pull/4015)) ([b923eb38](https://github.com/antvis/g2/commit/b923eb384bfe9261478c786b7739581048764c8a))
52
+ - **backgroundName:** 修复 柱形存在背景时添加 interval:click 触发两次的问题 ([#3999](https://github.com/antvis/g2/pull/3999)) ([a6341a02](https://github.com/antvis/g2/commit/a6341a02f747c0a4f1b2b76a86b8ade82aaf7cbd))
53
+
54
+ #### 4.2.4 (2022-06-24)
55
+
56
+ ##### Bug Fixes
57
+
58
+ - **axis-label:** 修复 axis-label tooltip 移开没有 hide 的问题 ([#4002](https://github.com/antvis/g2/pull/4002)) ([a6dce615](https://github.com/antvis/g2/commit/a6dce61579a81636a6138e06628ed43d01d5d6f9))
59
+ - **view:** 修复 view 更新时, tooltip 依赖 coordinate 更新位置导致 crosshairs 位置错位 ([#4001](https://github.com/antvis/g2/pull/4001)) ([ce457851](https://github.com/antvis/g2/commit/ce457851ba9bbc4fe017ddc76b32159d1b2b195d))
60
+ - **animate waveIn:** 修复 waveIn 动画 最后没有给 element 附上更新后样式的问题 ([#4000](https://github.com/antvis/g2/pull/4000)) ([beb97663](https://github.com/antvis/g2/commit/beb976638c84ef51a8208b486aefe8febde88628))
61
+
62
+ #### 4.2.3 (2022-06-15)
63
+
64
+ ##### New Features
65
+
66
+ - **axis:** 更新 axis-description-tooltip 样式, 添加自定义 style 配置 ([#3929](https://github.com/antvis/g2/pull/3929)) ([27d35093](https://github.com/antvis/g2/commit/27d35093aabb61758fef98376262decc29626b11))
67
+
68
+ ##### Bug Fixes
69
+
70
+ - **sector-path:** 修复扇形非常小的时候, 角度 diff 会被重置为 Math.PI \* 2 ([#3981](https://github.com/antvis/g2/pull/3981)) ([dec20728](https://github.com/antvis/g2/commit/dec207282bb865896702fa500a0f49fc2fe56000))
71
+ - **interval:** 修复同时存在坐标系转制和 y 镜像的时候 的 bakcground radius 的错误 ([#3969](https://github.com/antvis/g2/pull/3969)) ([36e97f44](https://github.com/antvis/g2/commit/36e97f445a7a8e3df7018c3eb14ecae089259ae9))
72
+ - annotation typo ([#3960](https://github.com/antvis/g2/pull/3960)) ([e46fd837](https://github.com/antvis/g2/commit/e46fd8371acad8e3520c7e2d1e13a64d8c674e47))
73
+
74
+ #### 4.2.2 (2022-05-19)
75
+
76
+ ##### New Features
77
+
78
+ - **axis:** 更新 axis-description-tooltip 样式, 添加自定义 style 配置 ([#3929](https://github.com/antvis/g2/pull/3929)) ([27d35093](https://github.com/antvis/g2/commit/27d35093aabb61758fef98376262decc29626b11))
79
+
80
+ #### 4.2.1 (2022-05-10)
81
+
82
+ ##### Bug Fixes
83
+
84
+ - add window-detect ([00f24f13](https://github.com/antvis/g2/commit/00f24f139bd8ac977b8fe74758fc255dcbed85b5))
85
+
86
+ #### 4.2.0 (2022-04-22)
87
+
88
+ ##### Refactors
89
+
90
+ - use worker to do label layout 🚀 ([#3888](https://github.com/antvis/g2/pull/3888)) ([bb4c67f1](https://github.com/antvis/g2/commit/bb4c67f1e04b4c359ed892e857eb5b2a76db7dd7))
91
+
92
+ - **geometry:** 优化 label 和 element 的绑定逻辑 ([#3884](https://github.com/antvis/g2/pull/3884)) ([64f1c3a8](https://github.com/antvis/g2/commit/64f1c3a831a3fb4cb439f462b172c27724aba426))
93
+
94
+ #### 4.1.50 (2022-04-13)
95
+
96
+ ##### Documentation Changes
97
+
98
+ - axis API 文档中新增 title 字段的 description 配置 ([#3863](https://github.com/antvis/g2/pull/3863)) ([7e2493c8](https://github.com/antvis/g2/commit/7e2493c8af25d0e81a504ca3ec513e8584d4f3d7))
99
+
100
+ ##### New Features
101
+
102
+ - **axis:** 添加坐标轴标题详细说明 icon 交互事件 ([#3863](https://github.com/antvis/g2/pull/3863)) ([7e2493c8](https://github.com/antvis/g2/commit/7e2493c8af25d0e81a504ca3ec513e8584d4f3d7))
103
+
104
+ #### 4.1.49 (2022-03-25)
105
+
106
+ ##### Chores
107
+
108
+ - ci actions 添加 pr 触发时机 ([4cc0475f](https://github.com/antvis/g2/commit/4cc0475f7382e8cb423c115ee2180781c588bc17))
109
+
110
+ ##### Bug Fixes
111
+
112
+ - 修复判空问题 ([#3840](https://github.com/antvis/g2/pull/3840)) ([c712251d](https://github.com/antvis/g2/commit/c712251d028bf349ae98568ad4b5a06d3ce34725))
113
+
114
+ #### 4.1.48 (2022-03-23)
115
+
116
+ ##### Documentation Changes
117
+
118
+ - 更新文档,将 chart.source 改为 chart.data ([#3816](https://github.com/antvis/g2/pull/3816)) ([ddda1f80](https://github.com/antvis/g2/commit/ddda1f800886828305b7b54f738bf0d060dee84d))
119
+
120
+ ##### New Features
121
+
122
+ - **theme:** 主题支持完整样式表的自定义 ([#3833](https://github.com/antvis/g2/pull/3833)) ([97a5b419](https://github.com/antvis/g2/commit/97a5b419ed7246f482fed24cddbd700fd1017764))
123
+
124
+ ##### Bug Fixes
125
+
126
+ - **interval:** 修复转置后的圆角条形图渲染多出一部分 ([#3826](https://github.com/antvis/g2/pull/3826)) ([b12dd0fe](https://github.com/antvis/g2/commit/b12dd0fe76ce1a7c0a3d8f55f15493501f4efe63))
127
+
128
+ #### 4.1.47 (2022-03-03)
129
+
130
+ ##### New Features
131
+
132
+ - 基于新版本注释规范调整 interface 文件代码注释 ([#3817](https://github.com/antvis/g2/pull/3817)) ([d3ebdba4](https://github.com/antvis/g2/commit/d3ebdba44dacbd7bd58309d0b9e3f7c90f383dad))
133
+
134
+ #### 4.1.46 (2022-02-11)
135
+
136
+ ##### Documentation Changes
137
+
138
+ - 修改钉钉群号 ([ce197ed0](https://github.com/antvis/g2/commit/ce197ed0f64ad5c87bd99f26f48303388b7b4eaf))
139
+
140
+ ##### Bug Fixes
141
+
142
+ - 修复 timeCat scale 没有当作 groupScale,导致对应场景的折线图绘制无法正常分组 ([1861807e](https://github.com/antvis/g2/commit/1861807ebc1cd3c21bdf2d35a930d67bc72c5cd3))
143
+ - update actions/checkout version to avoid vulnerability ([#3774](https://github.com/antvis/g2/pull/3774)) ([781eb8c8](https://github.com/antvis/g2/commit/781eb8c8b11cfc69a97eda27a5e9c746f2c40485))
144
+
145
+ #### 4.1.45 (2022-02-09)
146
+
147
+ ##### Bug Fixes
148
+
149
+ - **interval:** 修复 interval color 通道没有 field,会导致 tooltip name 消失 ([3e3d03fb](https://github.com/antvis/g2/commit/3e3d03fbf4b7270ef5eaa3ec7886864555691ed8))
150
+
151
+ #### 4.1.44 (2022-02-08)
152
+
153
+ ##### Chores
154
+
155
+ - add pr-auto-labels & auto-release-generate ([94146ea0](https://github.com/antvis/g2/commit/94146ea0502cb4a5afc912d2e5ff48cc7700b6a8))
156
+
157
+ ##### Bug Fixes
158
+
159
+ - **charts:** 修复 annotations 创建失败 ([09cde2d1](https://github.com/antvis/g2/commit/09cde2d1f929e69aed78273cac2f5351f37e0913))
160
+
161
+ #### 4.1.42 (2022-01-28)
162
+
163
+ ##### Bug Fixes
164
+
165
+ - **slider:** 修复 slider 过大挤压图形的问题 [#2968](https://github.com/antvis/g2/pull/2968) ([#3794](https://github.com/antvis/g2/pull/3794)) ([a3187617](https://github.com/antvis/g2/commit/a3187617e6750bec7a5ec2aa34224272c8e0b329))
166
+ - **toolitp:** 修复 limitInPlot 属性无法屏蔽一些后出现的状态 ([#3792](https://github.com/antvis/g2/pull/3792)) ([50e319dc](https://github.com/antvis/g2/commit/50e319dcd8c845b77c28d5292403321415743ae9))
167
+
168
+ #### 4.1.41 (2022-01-25)
169
+
170
+ ##### Bug Fixes
171
+
172
+ - 修复 jitter 点图 adjust 后点位置不正确的问题 ([#3790](https://github.com/antvis/g2/pull/3790)) ([5ffcb7ac](https://github.com/antvis/g2/commit/5ffcb7acc6ed445c694c8dfd4b2a1631281b1fe3))
173
+ - 修复获取分组 scale 错误 & tooltip 获取 value-scale 不忽略 color、shape 通道相关字段 ([#3768](https://github.com/antvis/g2/pull/3768)) ([ab893335](https://github.com/antvis/g2/commit/ab893335ebf274c7291331feceec3f65a5cbd26f))
174
+
175
+ #### 4.1.40 (2022-01-18)
176
+
177
+ ##### Documentation Changes
178
+
179
+ - 添加对 scale 的值域说明,与 d3 值域用法相对比,防止误解。 ([#3781](https://github.com/antvis/g2/pull/3781)) ([3b07b921](https://github.com/antvis/g2/commit/3b07b9211bc1d3fc628a4b74d22dc67570a37b17))
180
+
181
+ ##### New Features
182
+
183
+ - **legend:** 图例 radio 增加 tip 文案提示 ([#3786](https://github.com/antvis/g2/pull/3786)) ([6736def0](https://github.com/antvis/g2/commit/6736def0aee2ea02fd645a170e9368dc91e032ea))
184
+
185
+ ##### Bug Fixes
186
+
187
+ - **legend:** 修复 legend radio 设置样式不生效 ([#3784](https://github.com/antvis/g2/pull/3784)) ([fe554991](https://github.com/antvis/g2/commit/fe55499114c4dd440d48747af07e882a8cc87767))
188
+
189
+ ##### Chores
190
+
191
+ - resolutions 更新 修复 remark-mdx 引入问题 ([#3785](https://github.com/antvis/g2/pull/3785)) ([0212ce97](https://github.com/antvis/g2/commit/0212ce97823373537002c9c1c4de9ecb22c94fee))
192
+ - release actions ([52059d5e](https://github.com/antvis/g2/commit/52059d5e603e5e20b062900ca150693c09376850))
193
+
194
+ #### 4.1.39 (2022-01-14)
195
+
196
+ ##### Chores
197
+
198
+ - 增加 dingtalk-release-nofity ([#3778](https://github.com/antvis/g2/pull/3778)) ([c69af004](https://github.com/antvis/g2/commit/c69af004c27ce738be11470572f330e40921ac54))
199
+
200
+ ##### Bug Fixes
201
+
202
+ - **legend:** 修复图例 radio focus 模式 & 增加 demo ([#3779](https://github.com/antvis/g2/pull/3779)) ([5295b78a](https://github.com/antvis/g2/commit/5295b78a3d25c07a6b3a27c7ee7c15a6ed6be831))
203
+ - remove node 12 to fix release action failed ([#3720](https://github.com/antvis/g2/pull/3720)) ([1358be9a](https://github.com/antvis/g2/commit/1358be9a05a33f313b54d0f18a47df048f92ecb1))
204
+
205
+ #### 4.1.38 (2022-01-12)
206
+
207
+ ##### Bug Fixes
208
+
209
+ - **issue-3723:** 修复 annotation 在筛选条件下,范围外的标注不需要展示 ([#3775](https://github.com/antvis/g2/pull/3775)) ([151f9152](https://github.com/antvis/g2/commit/151f915280cb7d00604a39c2c96859bb92dc6395))
210
+ - **slider,scrollbar:** 修复 slider 、scrollbar values 排序错误的问题 ([#3773](https://github.com/antvis/g2/pull/3773)) ([6e84c446](https://github.com/antvis/g2/commit/6e84c44684149cf0c5754cb8b537dd541011dc06))
211
+
212
+ #### 4.1.37 (2022-01-04)
213
+
214
+ ##### Bug Fixes
215
+
216
+ - **slider,scrollbar:** 滚动条和缩略轴 在 xScale 为线性时筛选错误的问题 ([#3767](https://github.com/antvis/g2/pull/3767)) ([768eb3c3](https://github.com/antvis/g2/commit/768eb3c34bd0d1c031554cac8f33146a845a901e))
217
+
218
+ #### 4.1.36 (2021-12-29)
219
+
220
+ ##### New Features
221
+
222
+ - **legend:** 添加图例的正反选功能 ([#3756](https://github.com/antvis/g2/pull/3756)) ([2c92f5d8](https://github.com/antvis/g2/commit/2c92f5d8bcec555460d9ed10ed1255a7a09dedbe))
223
+
224
+ ##### Bug Fixes
225
+
226
+ - **scrollbar:** Scale option tickMethod doesn't work when enable scrollbar ([#3747](https://github.com/antvis/g2/pull/3747)) ([cb3ad042](https://github.com/antvis/g2/commit/cb3ad0424886d4fa096c6aabc9cdcccf84644a2f))
227
+
228
+ ##### Performance Improvements
229
+
230
+ - 优化性能,由于 set-zindex 每次都会调用 sort,导致耗时为指数级别的 ([#3758](https://github.com/antvis/g2/pull/3758)) ([f2877bcf](https://github.com/antvis/g2/commit/f2877bcf0e6b5e281de289d544296c940ddbdb3d))
231
+
232
+ #### 4.1.35 (2021-12-14)
233
+
234
+ ##### Bug Fixes
235
+
236
+ - **bar:** 修复条形图在 reflect y 时,绘制圆角错误 ([#3745](https://github.com/antvis/g2/pull/3745)) ([048a4920](https://github.com/antvis/g2/commit/048a492037e2d106fb8c60443fb90f37f1ec0496))
237
+
238
+ ##### Documentation Changes
239
+
240
+ - 更新官网公告 ([2caa82a9](https://github.com/antvis/g2/commit/2caa82a9512d196fb42d01f7c6adee25f6d13aa9))
241
+ - **docs:** label link 404 ([#3728](https://github.com/antvis/g2/pull/3728)) ([e92dbd74](https://github.com/antvis/g2/commit/e92dbd741d170168d6d4d6f3da1d36f3f9a80cce))
242
+ - **demo:** demo 中自定义 shape 会有误导 ([#3744](https://github.com/antvis/g2/pull/3744)) ([1249000f](https://github.com/antvis/g2/commit/1249000f11482313239edf03a2fac8619d3574b4))
243
+
244
+ #### 4.1.34 (2021-11-01)
245
+
246
+ ##### Chores
247
+
248
+ - 添加 auto-release actions ([#3701](https://github.com/antvis/g2/pull/3701)) ([26c08443](https://github.com/antvis/g2/commit/26c084435923f1a975c6a4bbeee82be50468d5f6))
249
+
250
+ ##### Documentation Changes
251
+
252
+ - 修复链接 404 ([#3692](https://github.com/antvis/g2/pull/3692)) ([6582738a](https://github.com/antvis/g2/commit/6582738a756824f74f2abc404579d012e205860b))
253
+
254
+ ##### New Features
255
+
256
+ - export utils of shape ([#3693](https://github.com/antvis/g2/pull/3693)) ([8dea465f](https://github.com/antvis/g2/commit/8dea465fca651aa242c4bec9d4c978ff318b0bff))
257
+
258
+ ##### Bug Fixes
259
+
260
+ - 自动 lint fix ([#3697](https://github.com/antvis/g2/pull/3697)) ([f43bf9d5](https://github.com/antvis/g2/commit/f43bf9d5408eec7ac8cbec9a24ca6dc078fc8494))
261
+
262
+ #### 4.1.33 (2021-10-28)
263
+
264
+ ##### Documentation Changes
265
+
266
+ - 修复链接 404 ([#3692](https://github.com/antvis/g2/pull/3692)) ([6582738a](https://github.com/antvis/g2/commit/6582738a756824f74f2abc404579d012e205860b))
267
+
268
+ ##### New Features
269
+
270
+ - export utils of shape ([#3693](https://github.com/antvis/g2/pull/3693)) ([8dea465f](https://github.com/antvis/g2/commit/8dea465fca651aa242c4bec9d4c978ff318b0bff))
271
+
272
+ ##### Bug Fixes
273
+
274
+ - 自动 lint fix ([#3697](https://github.com/antvis/g2/pull/3697)) ([f43bf9d5](https://github.com/antvis/g2/commit/f43bf9d5408eec7ac8cbec9a24ca6dc078fc8494))
275
+
276
+ #### 4.1.32 (2021-10-21)
277
+
278
+ ##### Documentation Changes
279
+
280
+ - **demo:** 增加一个带动效的柱状图 ([#3689](https://github.com/antvis/g2/pull/3689)) ([5c0f6a4a](https://github.com/antvis/g2/commit/5c0f6a4a21d0a2fb9b9851b2aeb2659e099ad810))
281
+
282
+ ##### New Features
283
+
284
+ - **element:** element 图形元素按照 elementIndex 设置展示层级 ([#3671](https://github.com/antvis/g2/pull/3671)) ([4a536731](https://github.com/antvis/g2/commit/4a536731ad8cc7a3219591404f6af71a8229c702))
285
+
286
+ ##### Bug Fixes
287
+
288
+ - 修复 element 设置层级 zIndex 的时候,需要考虑 zIndexReversed ([#3685](https://github.com/antvis/g2/pull/3685)) ([c3654776](https://github.com/antvis/g2/commit/c36547768ceeb852a1b8b97af62e7be9360a04d9))
289
+ - **label:** 修复 label 做坐标系镜像下,位置计算问题 ([#3682](https://github.com/antvis/g2/pull/3682)) ([71ee0d91](https://github.com/antvis/g2/commit/71ee0d912a45d25f440ed49df050a8d188c72c90))
290
+
291
+ #### 4.1.31 (2021-10-13)
292
+
293
+ ##### Documentation Changes
294
+
295
+ - **slider:** change ShapeStyle to ShapeAttrs (close: [#3531](https://github.com/antvis/g2/pull/3531)) ([#3670](https://github.com/antvis/g2/pull/3670)) ([88cdee55](https://github.com/antvis/g2/commit/88cdee5540886bc1a012d81f41cc976ba2666353))
296
+ - **examples:** replace K chart with Candlestick chart ([#3667](https://github.com/antvis/g2/pull/3667)) ([5990d3a4](https://github.com/antvis/g2/commit/5990d3a416e3a7e455b9edd8983335b55c6828cb))
297
+
298
+ ##### New Features
299
+
300
+ - **scrollbar:**
301
+ - 支持设置与获取当前滚动条的位置 ([#3639](https://github.com/antvis/g2/pull/3639)) ([3c89edf5](https://github.com/antvis/g2/commit/3c89edf53a729183de45ab201d300fd97f4b1e62))
302
+ - mouse wheel for scrollbar ([#3606](https://github.com/antvis/g2/pull/3606)) ([67313836](https://github.com/antvis/g2/commit/67313836f3625f9329593354107ee7f0db3e7756))
303
+ - **aria:** 设置无障碍标签 ([#3656](https://github.com/antvis/g2/pull/3656)) ([7d69af78](https://github.com/antvis/g2/commit/7d69af787b7aaf99bc861e9cc3d93546387c0329))
304
+
305
+ ##### Bug Fixes
306
+
307
+ - **scrollbar:** 滚动条纵向在 reflectY 下的数据问题 ([#3678](https://github.com/antvis/g2/pull/3678)) ([1e412f32](https://github.com/antvis/g2/commit/1e412f32ebed6c21635f8ba5bc268b676337597e))
308
+ - **type:** MarkerCallback return type ([#3674](https://github.com/antvis/g2/pull/3674)) ([88ef320e](https://github.com/antvis/g2/commit/88ef320e88f4eb1973a766391e1068e2aa58f063))
309
+ - **demo:** streamgraph typo ([#3659](https://github.com/antvis/g2/pull/3659)) ([e0189dc2](https://github.com/antvis/g2/commit/e0189dc2d7ec8f0efd2a4ec328992444e060b180))
310
+ - 图例类型定义, 除了 marker 其它继承 component ([#3654](https://github.com/antvis/g2/pull/3654)) ([6ba4cf9a](https://github.com/antvis/g2/commit/6ba4cf9a9bb02d508ba7ed535fc933457f341dbc))
311
+
312
+ #### 4.1.30 (2021-09-28)
313
+
314
+ ##### Bug Fixes
315
+
316
+ - **state-style:** 修复存在状态时,动画丢失 ([2619645a](https://github.com/antvis/g2/commit/2619645a1162c97f66af0d8949ca1ba03e398e03))
317
+
318
+ #### 4.1.29 (2021-09-26)
319
+
320
+ ##### Bug Fixes
321
+
322
+ - **custom-content:** 修复 custom-content undefined 无法变回 tooltip 模版的问题 ([#3644](https://github.com/antvis/g2/pull/3644)) ([2790c349](https://github.com/antvis/g2/commit/2790c34907653c172136fef0124691f3bea3d863))
323
+
324
+ #### 4.1.28 (2021-09-24)
325
+
326
+ ##### New Features
327
+
328
+ - **geometry:** refactor and rename createElements ([#3626](https://github.com/antvis/g2/pull/3626)) ([5dadea97](https://github.com/antvis/g2/commit/5dadea973f0915ebb446f037b9816b7c88a99cd3))
329
+ - constraint layout solver ([#3622](https://github.com/antvis/g2/pull/3622)) ([576cf07d](https://github.com/antvis/g2/commit/576cf07dbbd4a70ca6a01e609459ce1ff94cab80))
330
+
331
+ ##### Bug Fixes
332
+
333
+ - crash on safari 15 when fillText with unicode ([#3640](https://github.com/antvis/g2/pull/3640)) ([0516f6e3](https://github.com/antvis/g2/commit/0516f6e3370df221bd52c6c987b8916da59979be))
334
+
335
+ ##### Reverts
336
+
337
+ - annotation position 相关的 ([#3637](https://github.com/antvis/g2/pull/3637)) ([1109e3fd](https://github.com/antvis/g2/commit/1109e3fd7e8a455ba8c75f260c36162c5a15f869))
338
+
339
+ #### 4.1.26 (2021-09-15)
340
+
341
+ ##### Documentation Changes
342
+
343
+ - **facet:** 修改了镜像分面,使得轴标签居中显示 ([#3619](https://github.com/antvis/g2/pull/3619)) ([e3d83880](https://github.com/antvis/g2/commit/e3d83880fd408f02ec5a81616897a225abfdcf56))
344
+ - set default lang = zh ([#3609](https://github.com/antvis/g2/pull/3609)) ([d0224cc5](https://github.com/antvis/g2/commit/d0224cc557e725dcf2ff06aff8cec1b0932ec8b6))
345
+
346
+ ##### New Features
347
+
348
+ - **api:** add new api for view ([#3600](https://github.com/antvis/g2/pull/3600)) ([dd473f18](https://github.com/antvis/g2/commit/dd473f188f7b09962bcd098b1bcc3fb1269f651a))
349
+
350
+ ##### Bug Fixes
351
+
352
+ - **tooltip:** 修复 clear + render 之后,tooltip dom 重复生成问题 ([#3621](https://github.com/antvis/g2/pull/3621)) ([eaacd502](https://github.com/antvis/g2/commit/eaacd50231e99d24a0b8d2415d58bf68b64c21ca))
353
+ - legend 自定义 items 添加 marker 回调 ([#3591](https://github.com/antvis/g2/pull/3591)) ([dc80db29](https://github.com/antvis/g2/commit/dc80db292d706f9860bf72978a2b761baddabed9))
354
+ - **scrollbar:** 修复了由于 getYScales 方法中去重方法错误导致的 scrollbar 会在特定情况下失效([#3569](https://github.com/antvis/g2/pull/3569)) ([#3570](https://github.com/antvis/g2/pull/3570)) ([28280ee4](https://github.com/antvis/g2/commit/28280ee47ba8ffef13ec1eee1e1d8d825af5ba24))
355
+ - **annotation:** 修复 annotation 添加 id 失败 ([#3601](https://github.com/antvis/g2/pull/3601)) ([7561b33d](https://github.com/antvis/g2/commit/7561b33dcc999a070965cd80f67964b14975d84b))
356
+
357
+ ##### Refactors
358
+
359
+ - **annotation:** annotation position 支持百分比混用 ([#3615](https://github.com/antvis/g2/pull/3615)) ([bcffa462](https://github.com/antvis/g2/commit/bcffa462e12d9f97a76eccc86d2545781245d824))
360
+ - **facet:** 添加了 spacing 属性,支持配置分面图之间的间距 ([#3614](https://github.com/antvis/g2/pull/3614)) ([d5588a0e](https://github.com/antvis/g2/commit/d5588a0ed9782bb9bfb0a145fc3bc080fdcb6f66))
361
+ - **funnel:** annotation 位置添加 center,支持在漏斗图中正常显示 ([#3611](https://github.com/antvis/g2/pull/3611)) ([552500df](https://github.com/antvis/g2/commit/552500df9596358d7c6a7617274255b3376351f2))
362
+
363
+ #### 4.1.25 (2021-08-25)
364
+
365
+ ##### Documentation Changes
366
+
367
+ - **get-start:** add docs when use with script ([#3581](https://github.com/antvis/g2/pull/3581)) ([8b5f04c0](https://github.com/antvis/g2/commit/8b5f04c025da7a3ecbc421be05a9e0b2d24b8a44))
368
+
369
+ ##### Bug Fixes
370
+
371
+ - **funnel:** pyramid shape 最下面一层的 label 绘制不对齐 ([#3585](https://github.com/antvis/g2/pull/3585)) ([13a2e05d](https://github.com/antvis/g2/commit/13a2e05dd613a5abe2516b4839f114fe3e3a5eb0))
372
+
373
+ #### 4.1.24 (2021-08-14)
374
+
375
+ ##### Documentation Changes
376
+
377
+ - **style:** fix style issues in docs ([#3559](https://github.com/antvis/g2/pull/3559)) ([41ecf763](https://github.com/antvis/g2/commit/41ecf763df819ca6e0aac68b75c2f0ffc3090fdd))
378
+ - fix 404 links for interaction ([#3560](https://github.com/antvis/g2/pull/3560)) ([2db29fed](https://github.com/antvis/g2/commit/2db29fed8d6230c674d7944b77c09202d484593f))
379
+ - **typo:** appendPading to appendPadding ([#3572](https://github.com/antvis/g2/pull/3572)) ([bf59c62d](https://github.com/antvis/g2/commit/bf59c62d64f4edb4f3df94cb408c484923b8579d))
380
+
381
+ ##### New Features
382
+
383
+ - 导出 utils,供 G2Plot 使用 ([#3571](https://github.com/antvis/g2/pull/3571)) ([2593f8aa](https://github.com/antvis/g2/commit/2593f8aac1af96ac1f75463944cc78f3c3d4d95d))
384
+
385
+ #### 4.1.23 (2021-08-06)
386
+
387
+ ##### Documentation Changes
388
+
389
+ - 增加 scrollbar 的 demo ([#3550](https://github.com/antvis/g2/pull/3550)) ([fd47ed39](https://github.com/antvis/g2/commit/fd47ed39f7d4f89cc3da9c8fd5da92d0aee0e352))
390
+ - fix typos in 'docs/manual/concepts' ([#3552](https://github.com/antvis/g2/pull/3552)) ([2c74fc52](https://github.com/antvis/g2/commit/2c74fc52b7554bcbb5a97c8a64b6482279895cdd))
391
+ - **tooltip:** remove useless code ([#3549](https://github.com/antvis/g2/pull/3549)) ([f0e4e334](https://github.com/antvis/g2/commit/f0e4e334b0fdc8c5836567656630e7dd1c3fc8a6))
392
+
393
+ ##### Bug Fixes
394
+
395
+ - **line:** 修复折线图 smooth 绘制错误 ([#3546](https://github.com/antvis/g2/pull/3546)) ([daf3b8a8](https://github.com/antvis/G2/commit/daf3b8a81ffb10d93875250e1128542af59d3618))
396
+
397
+ ##### Code Style Changes
398
+
399
+ - **geometry:** removed double slash in path ([#3542](https://github.com/antvis/g2/pull/3542)) ([d8bc1aae](https://github.com/antvis/g2/commit/d8bc1aaee9785f16a0413d320a6d51fdd9c179c2))
400
+
401
+ #### 4.1.22 (2021-07-28)
402
+
403
+ ##### New Features
404
+
405
+ - **legend:** 图例支持多行分页 ([#3540](https://github.com/antvis/g2/pull/3540)) ([1b0fdb36](https://github.com/antvis/g2/commit/1b0fdb3636ba8f87b05e7dae3a8cb63e149a7539))
406
+ - **range-highlight:** 为区间高亮增加 events 事件 ([#3536](https://github.com/antvis/g2/pull/3536)) ([6fb9d901](https://github.com/antvis/g2/commit/6fb9d901b10004b8583075d13774188be125ad65))
407
+
408
+ #### 4.1.21 (2021-07-21)
409
+
410
+ ##### Chores
411
+
412
+ - 更新官网版本 ([#3523](https://github.com/antvis/g2/pull/3523)) ([66dd7721](https://github.com/antvis/g2/commit/66dd7721af5435cb918fb14cb9667540a9e25d0d))
413
+
414
+ ##### New Features
415
+
416
+ - **legend:** 图例若干更新 ([#3529](https://github.com/antvis/g2/pull/3529)) ([23323b7a](https://github.com/antvis/g2/commit/23323b7a54469e3ee4d9c0357859da99c96e2288))
417
+ - **mask:** mask 交互支持配置样式 & test cases ([#3504](https://github.com/antvis/g2/pull/3504)) ([752c127e](https://github.com/antvis/g2/commit/752c127e0b79cb8459e7c78ba8b58ab6da6f9d43))
418
+
419
+ ##### Bug Fixes
420
+
421
+ - **heatmap:** 修复热力图 style shadowBlur 不生效 & color 使用回调会导致白屏 ([#3532](https://github.com/antvis/g2/pull/3532)) ([664cf1a7](https://github.com/antvis/g2/commit/664cf1a7fdb22c59a55c0031812f372a3817cab3))
422
+ - **legend:** 过滤连续图例的 value 参数,防止影响到 component legend 的 value 属性 导致交互问题 ([#3527](https://github.com/antvis/g2/pull/3527)) ([f30d700c](https://github.com/antvis/g2/commit/f30d700c23621a682d78ab6ff83e405be8c00bba))
423
+
424
+ #### 4.1.20 (2021-07-06)
425
+
426
+ ##### Documentation Changes
427
+
428
+ - faq 文档更新 ([#3490](https://github.com/antvis/g2/pull/3490)) ([731294d4](https://github.com/antvis/g2/commit/731294d4a07447f609bc8a4e3f1a16c345de0352))
429
+ - 修改 AxisOption.title 文档 ([#3491](https://github.com/antvis/g2/pull/3491)) ([61f83784](https://github.com/antvis/g2/commit/61f83784edaaf4721ff08fc11e93006c1fa2e121))
430
+
431
+ ##### Bug Fixes
432
+
433
+ - **legend:** 修复 legend marker 回调设置,spacing 不生效([#2671](https://github.com/antvis/g2plot/pull/2671)) ([026f5eb](https://github.com/antvis/component/commit/026f5eb69af83866646b1405a1ecee33d0674f5a))
434
+
435
+ #### 4.1.18 (2021-06-22)
436
+
437
+ ##### Documentation Changes
438
+
439
+ - **readme:** change Typescript to TypeScript ([#3488](https://github.com/antvis/g2/pull/3488)) ([69eaea5a](https://github.com/antvis/g2/commit/69eaea5a56dbe2aa5a48662e3430c73f22c8359f))
440
+
441
+ ##### New Features
442
+
443
+ - **events:** 暴露 brush 交互的生命周期,便于在 G2Plot 层可以监听 ([#3485](https://github.com/antvis/g2/pull/3485)) ([a8690cd9](https://github.com/antvis/g2/commit/a8690cd922102012c8001ac8ad8a5ed6a86ff600))
444
+ - **interaction/link-by-color:** element-link 交互反馈增加参数配置 ([#3483](https://github.com/antvis/g2/pull/3483)) ([3ddbbd31](https://github.com/antvis/g2/commit/3ddbbd3138d558526e829cd41eaf4eaa4ad19a32))
445
+
446
+ ##### Bug Fixes
447
+
448
+ - active-region 若干问题 ([#3484](https://github.com/antvis/g2/pull/3484)) ([2e62682a](https://github.com/antvis/g2/commit/2e62682a1f06f87c26ec197d0ca56addb8837c86))
449
+ - fix trendCfg type definition of SliderCfg ([#3410](https://github.com/antvis/g2/pull/3410)) ([9ef59440](https://github.com/antvis/g2/commit/9ef5944051ed89486fdb659df158fcd496e7239e))
450
+ - **types:** 修复类型定义,设置为可选项 ([#3482](https://github.com/antvis/g2/pull/3482)) ([5b3535aa](https://github.com/antvis/g2/commit/5b3535aa106012d4a3b91aa77e0db57f983bf06e))
451
+
452
+ #### 4.1.18 (2021-06-07)
453
+
454
+ ##### New Features
455
+
456
+ - **legend:** 图例支持回调设置 marker ([#3448](https://github.com/antvis/g2/pull/3448)) ([ed3047e7](https://github.com/antvis/g2/commit/ed3047e7823470de135a24ad854597316af8a7cc))
457
+
458
+ ##### Bug Fixes
459
+
460
+ - 修复 view 上没有正确的 scale 时,绘制 annotation 出错 ([#3450](https://github.com/antvis/g2/pull/3450)) ([d0af4095](https://github.com/antvis/g2/commit/d0af40954a574948e34d6132f852ffb4e9bc0bd0))
461
+
462
+ ##### Other Changes
463
+
464
+ - 修复 view.changeData 在重新渲染的时候 报 toFront 为 underfind 的错误 ([#3438](https://github.com/antvis/g2/pull/3438)) ([76e08d06](https://github.com/antvis/g2/commit/76e08d066a932c402e0acc57c22d8aed4bc9b3b4))
465
+
466
+ #### 4.1.17 (2021-05-26)
467
+
468
+ ##### Chores
469
+
470
+ - gatsby 加上 ts 依赖,以使 codesandbox 可以打开 ([#3420](https://github.com/antvis/g2/pull/3420)) ([11a1e8a2](https://github.com/antvis/g2/commit/11a1e8a27fc2d0755e42bee481c75007d87dd122))
471
+ - 4.1.16 ([#3397](https://github.com/antvis/g2/pull/3397)) ([6b47b29e](https://github.com/antvis/g2/commit/6b47b29e3a2a8f6ab3aab4ce855c1c29208a4843))
472
+
473
+ ##### Documentation Changes
474
+
475
+ - 更新文档内容 ([#3405](https://github.com/antvis/g2/pull/3405)) ([c77b5cba](https://github.com/antvis/g2/commit/c77b5cbafad3124bce0f1a8e7ac98fb3930ab5cf))
476
+
477
+ ##### New Features
478
+
479
+ - **violin:** 增加小提琴图 ([#3416](https://github.com/antvis/g2/pull/3416)) ([d5eb07a9](https://github.com/antvis/g2/commit/d5eb07a9356be85efb5231e2f88d3562f946ecd2))
480
+ - scrollbar theme ([#3396](https://github.com/antvis/g2/pull/3396)) ([33819dad](https://github.com/antvis/g2/commit/33819dade15ebe93805feb1ce40370cb850d05b8))
481
+
482
+ #### 4.1.15 (2021-04-25)
483
+
484
+ ##### New Features
485
+
486
+ - 主题中增加图例样式的配置,便于用户了解怎么修改 ([#3376](https://github.com/antvis/g2/pull/3376)) ([5d3fac4c](https://github.com/antvis/g2/commit/5d3fac4ca49245fbfdb09adf39d385512ff21b41))
487
+ - **theme:** 主题 Token ([#3361](https://github.com/antvis/g2/pull/3361)) ([182c68a6](https://github.com/antvis/g2/commit/182c68a6c1f67121758fd90084f50186c789b320))
488
+
489
+ ##### Bug Fixes
490
+
491
+ - 修复数据为 0 时动画更新出错 ([#3378](https://github.com/antvis/g2/pull/3378)) ([e132a303](https://github.com/antvis/g2/commit/e132a303c3b09f224371a8286d5592f3f3fbe356))
492
+ - 修复 babel 配置 ([#3371](https://github.com/antvis/g2/pull/3371)) ([2d1ef8d4](https://github.com/antvis/g2/commit/2d1ef8d4df6e68da71a8399c53991b8becc04771))
493
+
494
+ #### 4.1.14 (2021-04-12)
495
+
496
+ ##### Chores
497
+
498
+ - 解决本地开发控制台 warning & babel 解析 tsx、jsx 语法 ([#3360](https://github.com/antvis/g2/pull/3360)) ([e63fa397](https://github.com/antvis/g2/commit/e63fa397f9e52483e34cf50ba06a4efa91ecd17e))
499
+ - 添加 release create to trigger publish site ([#3355](https://github.com/antvis/g2/pull/3355)) ([857c5d06](https://github.com/antvis/g2/commit/857c5d06f8afdbc03c42feb45c623d596241a977))
500
+ - 修复 import type 导致网站无法启动,更新为 export type ([#3350](https://github.com/antvis/g2/pull/3350)) ([35e37bd1](https://github.com/antvis/g2/commit/35e37bd1d209982aef0e8375af733ce71979fca8))
501
+
502
+ ##### Continuous Integration
503
+
504
+ - remove surge preview ([#3357](https://github.com/antvis/g2/pull/3357)) ([7d29b28b](https://github.com/antvis/g2/commit/7d29b28b04e8c4297e6a2c53a128d0aa1975d5b1))
505
+
506
+ ##### Documentation Changes
507
+
508
+ - **legend:** 图例完善默认不选中以及点击选中交互的文档 & 增加 demo ([#3351](https://github.com/antvis/g2/pull/3351)) ([2841641a](https://github.com/antvis/g2/commit/2841641aa4e12eaa8f1061062c0dba39a263b7c0))
509
+
510
+ ##### New Features
511
+
512
+ - 补充兼容性文档&修改 webpack 配置 ([#3346](https://github.com/antvis/g2/pull/3346)) ([292a7b02](https://github.com/antvis/g2/commit/292a7b0292dd0aa4f2865d6b37d233c6f6991a81))
513
+
514
+ ##### Bug Fixes
515
+
516
+ - **issue-3160:** 修复饼图使用连续型图例,标签无法展示 ([#3366](https://github.com/antvis/g2/pull/3366)) ([a392a8b4](https://github.com/antvis/g2/commit/a392a8b45d68ecaec73b4346afe5c6486dcfb53e))
517
+ - 修复主题相关的错误拼写 ([#3358](https://github.com/antvis/g2/pull/3358)) ([804dbc69](https://github.com/antvis/g2/commit/804dbc694ad58ebb2ddaedc0c717d248d86d87d5))
518
+
519
+ #### 4.1.13 (2021-03-17)
520
+
521
+ ##### Documentation Changes
522
+
523
+ - update old code in docs ([#3320](https://github.com/antvis/g2/pull/3320)) ([7a30d48b](https://github.com/antvis/g2/commit/7a30d48b1c7f5a135d855d4b47ef8e3d292738d2))
524
+ - **typo:** dblclick, not dbclick ([#3308](https://github.com/antvis/g2/pull/3308)) ([8f557d6b](https://github.com/antvis/g2/commit/8f557d6ba242d81a971f61172a093b1f0a4ea42f))
525
+
526
+ ##### New Features
527
+
528
+ - 单 view 支持默认图例选中 ([#3327](https://github.com/antvis/g2/pull/3327)) ([6aa4000b](https://github.com/antvis/g2/commit/6aa4000ba095330e279e6202ab167acd21e9114a))
529
+ - **legend:** 图例支持配置分页器的主题样式 ([#3324](https://github.com/antvis/g2/pull/3324)) ([74afc606](https://github.com/antvis/g2/commit/74afc6062b14d1731bf5ae766968fca1f7b705f1))
530
+
531
+ ##### Bug Fixes
532
+
533
+ - getArcStartPoint function support path C ([#3213](https://github.com/antvis/g2/pull/3213)) ([#3300](https://github.com/antvis/g2/pull/3300)) ([0d68ee0d](https://github.com/antvis/g2/commit/0d68ee0dbcdd5c10c8d6f155ca60d6f49802295d))
534
+
535
+ #### 4.1.12 (2021-02-19)
536
+
537
+ ##### New Features
538
+
539
+ - **typings:** 增强类型声明 ([fd18579e](https://github.com/antvis/g2/commit/fd18579eb4695cd03c1e574f98fd7c605892b23b))
540
+ - **scrollbar:** 滚动条增加一个滚道激活样式配置 ([#3291](https://github.com/antvis/g2/pull/3291)) ([aed93a19](https://github.com/antvis/g2/commit/aed93a1969055a857befa70614f55e025c5b1b27))
541
+ - **legend:** legend 增加 checked 单选交互 ([#3289](https://github.com/antvis/g2/pull/3289)) ([3a16db62](https://github.com/antvis/g2/commit/3a16db620672f5550f878e1d1db01a065b1d27f2))
542
+ - **animation:** 动画添加重复执行参数 ([#3290](https://github.com/antvis/g2/pull/3290)) ([38585ac4](https://github.com/antvis/g2/commit/38585ac4dc16316876e2c10fa232b9dc16ecc28b))
543
+ - **life-circle:** view 生命周期事件触发,携带事件内容 ([#3288](https://github.com/antvis/g2/pull/3288)) ([657eb978](https://github.com/antvis/g2/commit/657eb978d3b08b7842320b557b4a91c74231b4ee))
544
+
545
+ ##### Bug Fixes
546
+
547
+ - cr 建议修改,统一变量命名 ([6b3f5b7b](https://github.com/antvis/g2/commit/6b3f5b7badd036efd2b5d60ead0cd5c50673277a))
548
+
549
+ #### 4.1.11 (2021-02-10)
550
+
551
+ ##### Documentation Changes
552
+
553
+ - 日常文档走查, 层级处理 ([#3277](https://github.com/antvis/g2/pull/3277)) ([d4fec82e](https://github.com/antvis/g2/commit/d4fec82e02c17a76fc5204607591bac3853dae45))
554
+
555
+ ##### New Features
556
+
557
+ - **active-region:** 支持配置底色样式,全局统一注册一个 配置样式 ([#3284](https://github.com/antvis/g2/pull/3284)) ([48c5bd12](https://github.com/antvis/g2/commit/48c5bd1211b0cd681b5363aba57de4c86782c149))
558
+ - **scrollbar:** 滚动条增加主题样式设置,允许设置滑道、滑块颜色 ([#3286](https://github.com/antvis/g2/pull/3286)) ([2c3e9d37](https://github.com/antvis/g2/commit/2c3e9d37c34eb2fa61d81ec02f0ca67ad1190f1b))
559
+ - **interaction:** 注册交互的时候,允许注册带上触发 action 的参数 ([#3280](https://github.com/antvis/g2/pull/3280)) ([89aa37fe](https://github.com/antvis/g2/commit/89aa37fe4c3c9080b3906487b49baa351638d87c))
560
+
561
+ ##### Bug Fixes
562
+
563
+ - **event:** 修复相同 type 事件触发两次 ([#3282](https://github.com/antvis/g2/pull/3282)) ([9d61410b](https://github.com/antvis/g2/commit/9d61410b8248282eab15d45737c393708dfba274))
564
+ - **pie:** 饼图数据 NaN 导致页面崩溃数据边界处理([#2930](https://github.com/antvis/g2/pull/2930)) ([#3248](https://github.com/antvis/g2/pull/3248)) ([cabe1f0b](https://github.com/antvis/g2/commit/cabe1f0b225d3ed94260c895bda9b893d452f1f9))
565
+ - **pie** 修复饼图在动画更新过程中如果宽度变为 0 导致的问题 ([#3271](https://github.com/antvis/g2/pull/3271)) ([9f561499](https://github.com/antvis/g2/commit/9f5614990fc4c3acc192fa089471a03f09a93720))
566
+ - **rose:** 修复 TooltipItem data 类型 ([#3273](https://github.com/antvis/g2/pull/3273)) ([8ed68854](https://github.com/antvis/g2/commit/8ed68854e25b7587dfccd857986193458723dc0a))
567
+
568
+ ##### Other Changes
569
+
570
+ - **constants** export constant varaibles of view-life-circle ([#3281](https://github.com/antvis/g2/pull/3281)) ([d0f96c48](https://github.com/antvis/g2/commit/d0f96c48ef764c24bd699b8fd736406aae1d37c2))
571
+
572
+ #### 4.1.10 (2021-02-03)
573
+
574
+ ##### Documentation Changes
575
+
576
+ - **labels.ts:** 修改注释错别字 ([#3262](https://github.com/antvis/g2/pull/3262)) ([9e1af1c1](https://github.com/antvis/g2/commit/9e1af1c16a7dbcf3f038945d1e81386cf36f9dfd))
577
+ - 补充 geometry 和 element 的 api 文档 ([#3249](https://github.com/antvis/g2/pull/3249)) ([c2d061e0](https://github.com/antvis/g2/commit/c2d061e02b9de242cffbe466068bf7e5a1c83037))
578
+
579
+ ##### New Features
580
+
581
+ - **tooltip:** tooltip.shwoContent support function ([#3261](https://github.com/antvis/g2/pull/3261)) ([a26c0732](https://github.com/antvis/g2/commit/a26c0732c31de57501b88210db6731344ed4cdf1))
582
+ - 增加 getAction 的返回参数类型定义 ([#3256](https://github.com/antvis/g2/pull/3256)) ([024f9f9e](https://github.com/antvis/g2/commit/024f9f9e7ddaf6962760c819b964726575f1ad49))
583
+
584
+ ##### Bug Fixes
585
+
586
+ - 判断提前,预防 time 类型出现的错误 ([#3258](https://github.com/antvis/g2/pull/3258)) ([a143ef54](https://github.com/antvis/g2/commit/a143ef54b14f23afc8f443867473a07449400321))
587
+ - 修复实心的 shape 设置空心的 marker,会导致 marker.style 设置不生效 ([#3250](https://github.com/antvis/g2/pull/3250)) ([88c45f88](https://github.com/antvis/g2/commit/88c45f88bad81581f727a644cbbcfcddc5bb460c))
588
+ - 提示增强 ([#3259](https://github.com/antvis/g2/pull/3259)) ([4ffac0b0](https://github.com/antvis/g2/commit/4ffac0b001df319ed7149d495451c98b681ffca7))
589
+
590
+ #### 4.1.8 (2021-01-27)
591
+
592
+ ##### Feature
593
+
594
+ - 暴露获取扇形 path 的方法 ([#3240](https://github.com/antvis/G2/pull/3240)) ([ee974ad](https://github.com/antvis/G2/commit/ee974ad936135d899578ec48d6cfb89983c012f2))
595
+ - add tooltip.customItems config ([#3239](https://github.com/antvis/G2/pull/3239)) ([7e389e4](https://github.com/antvis/G2/pull/3239))
596
+ - tooltip.title support callback function ([#3218](https://github.com/antvis/G2/pull/3218)) ([1746f6a](https://github.com/antvis/G2/commit/1746f6a7e6abcd71cdfea44bd58fb06d8fcea070))
597
+ - tooltip: add tooltip.showNil ([#3216](https://github.com/antvis/G2/pull/3216)) ([edc1cee](https://github.com/antvis/G2/commit/edc1cee53820cf6c39a317480b738ed07364d2a8))
598
+
599
+ ##### Performance Improvements
600
+
601
+ - 优化鼠标事件在 path 上的拾取性能 ([#3230](https://github.com/antvis/G2/pull/3230)) ([71b0a2e](https://github.com/antvis/G2/commit/71b0a2e65042a17906fddcb7a7d564219de94da8))
602
+
603
+ ##### Docs
604
+
605
+ - 修复 scrollbar 文档错误 ([#3236](https://github.com/antvis/G2/pull/3236)) ([e38cf5d](https://github.com/antvis/G2/commit/e38cf5d723b97ad8642d1f5c39e7db649c8c1ae2))
606
+ - 完善 interaction 英文文档 ([#3234](https://github.com/antvis/G2/pull/3234)) ([b6b334e](https://github.com/antvis/G2/commit/b6b334ef99a904250aa698d68e8b9b77c304ce7e))
607
+ - 移除图例废弃的 api & tooltipStyles 类型定义修整 ([#3227](https://github.com/antvis/G2/pull/3227)) ([69540f6](https://github.com/antvis/G2/commit/69540f677dd1a60112cbffa30eeef780301d1c9c))
608
+ - 文档走查优化 ([#3221](https://github.com/antvis/G2/pull/3221)) ([f25e30e](https://github.com/antvis/G2/commit/f25e30edbc5d53c2e95d1f975a0842a37360a720))
609
+ - 移除 legend useHtml api ([#3202](https://github.com/antvis/G2/pull/3202)) ([56bc7f1](https://github.com/antvis/G2/commit/56bc7f1c40be1bd5be07e0409c2062a1c05d295b))
610
+
611
+ #### 4.1.7 (2021-01-13)
612
+
613
+ ##### Documentation Changes
614
+
615
+ - 添加钉钉联系方式 ([#3199](https://github.com/antvis/g2/pull/3199)) ([302b26eb](https://github.com/antvis/g2/commit/302b26eb8e29d2b8bacf244e488ee5e87b34bac7))
616
+
617
+ ##### New Features
618
+
619
+ - interval rect shape support cornerRadius ([#3170](https://github.com/antvis/g2/pull/3170)) ([31f41bf4](https://github.com/antvis/g2/commit/31f41bf44511097aa6cb4ee7513fed0a22ef02c7))
620
+
621
+ ##### Tests
622
+
623
+ - make ci pass ([#3196](https://github.com/antvis/g2/pull/3196)) ([ae651fe7](https://github.com/antvis/g2/commit/ae651fe7e9997ed8bce4154e5ae490fbbaf4ee8c))
624
+
625
+ #### 4.1.6 (2021-01-08)
626
+
627
+ ##### Performance
628
+
629
+ - 优化 G2 图形渲染性能 ([#3188](https://github.com/antvis/G2/pull/3188)) ([#63e137b](https://github.com/antvis/G2/pull/3188/commits/63e137b932ff5602664878711dbfd02dc0f3047c))
630
+
631
+ #### 4.1.5 (2021-01-07)
632
+
633
+ ##### Documentation Changes
634
+
635
+ - add mask documents ([#3176](https://github.com/antvis/g2/pull/3176)) ([e53f8d40](https://github.com/antvis/g2/commit/e53f8d406b5ab94fe5c0f7dc78a06ddf45283862))
636
+ - 添加 chart 和 view 对象的 api 文档 & 修复 shapeAttrs 链接文档 404 ([#3172](https://github.com/antvis/g2/pull/3172)) ([5658ae73](https://github.com/antvis/g2/commit/5658ae73dc450f1293f974df1a437e875c98b86f))
637
+ - 404 ([#3165](https://github.com/antvis/g2/pull/3165)) ([baebc300](https://github.com/antvis/g2/commit/baebc300faa981f0b2acad7b95b7dd632d59ab7a))
638
+
639
+ ##### New Features
640
+
641
+ - interval shape 支持 background ([#3175](https://github.com/antvis/g2/pull/3175)) ([0a9ee039](https://github.com/antvis/g2/commit/0a9ee039e7e5d06c799fc311118280197df5fb7f))
642
+ - 支持对 geometry 下的 elements zIndex 进行降序 ([#3173](https://github.com/antvis/g2/pull/3173)) ([612cf971](https://github.com/antvis/g2/commit/612cf971fc35656650b460bae6e51c4465983891))
643
+
644
+ ##### Bug Fixes
645
+
646
+ - **tooltip-tip:** label tip max width 50%, and break word ([#3177](https://github.com/antvis/g2/pull/3177)) ([b7a86fec](https://github.com/antvis/g2/commit/b7a86fec2be9abf5609269f704f7af886f9401a5))
647
+ - **geometry:** geometry.update should update scale when data is changed ([#3174](https://github.com/antvis/g2/pull/3174)) ([86f2c570](https://github.com/antvis/g2/commit/86f2c570c5531b4d421c032ed25d8190cef85277))
648
+ - correct label position for histogram ([#3156](https://github.com/antvis/g2/pull/3156)) ([0f6e7167](https://github.com/antvis/g2/commit/0f6e716709990d0ea32a81996de052e10ab0859c))
649
+
650
+ #### 4.1.4 (2020-12-22)
651
+
652
+ ##### Documentation Changes
653
+
654
+ - 调整文档导航顺序 ([#3135](https://github.com/antvis/g2/pull/3135)) ([d2f1118a](https://github.com/antvis/g2/commit/d2f1118a404fdc714172d9fd79250c752f55dec1))
655
+ - fix legend filter bug on case line demo ([#3116](https://github.com/antvis/g2/pull/3116)) ([b3165704](https://github.com/antvis/g2/commit/b3165704b73f8b99303ffb69529cb81c63ebe1d9))
656
+ - 增加 faq,升级指南等文档 ([#3119](https://github.com/antvis/g2/pull/3119)) ([2033d030](https://github.com/antvis/g2/commit/2033d030bd989df6e9e6a3e7fc49a10fce741305))
657
+ - 增加 element, view.en, dataset 等若干文档 ([#3118](https://github.com/antvis/g2/pull/3118)) ([8d112f15](https://github.com/antvis/g2/commit/8d112f15c74ea2f489366b8579c830f752043d3b))
658
+
659
+ ##### New Features
660
+
661
+ - 增强饼图标签跟随切片颜色 ([#3147](https://github.com/antvis/g2/pull/3147)) ([4f0f5665](https://github.com/antvis/g2/commit/4f0f5665a8b80f2bd6977c9c5e682bcc98cfae61))
662
+ - **esm:** remove all lib import ([#3141](https://github.com/antvis/g2/pull/3141)) ([72b0275a](https://github.com/antvis/g2/commit/72b0275a3f25655f3d14b57ddc601662a24cd172))
663
+ - **export:** add some export method ([#3142](https://github.com/antvis/g2/pull/3142)) ([6247e3db](https://github.com/antvis/g2/commit/6247e3db927e8ea5885fc88d64403349983688d9))
664
+
665
+ ##### Bug Fixes
666
+
667
+ - 修复路径错误 ([#3148](https://github.com/antvis/g2/pull/3148)) ([bd49fbe1](https://github.com/antvis/g2/commit/bd49fbe1801df6bab5ff916c808e6a064d0bd1dc))
668
+ - fix line geometry fail to set dot or dash shape([#3144](https://github.com/antvis/g2/pull/3144)) ([239e8a67](https://github.com/antvis/g2/commit/239e8a675b0b6d50beeaef840e7fcc75a8e1d420))
669
+ - 修复 element shape 进行 syncShapeStyle 时,可能存在空对象的情况 ([#3110](https://github.com/antvis/g2/pull/3110)) ([904202d1](https://github.com/antvis/g2/commit/904202d19d3c769aeb6a1d18c1283fa45823da5b))
670
+ - fix empty div container for annotation ([#3112](https://github.com/antvis/g2/pull/3112)) ([f3739657](https://github.com/antvis/g2/commit/f3739657333f8f6b84611bae6cafcbbec86f96af))
671
+ - **testcases:** 增加单测,g 层修复 animate shape 在 changesize 的时候报错 ([#3113](https://github.com/antvis/g2/pull/3113)) ([28d235b0](https://github.com/antvis/g2/commit/28d235b027f4f81442422893232a58f1df4694ac))
672
+
673
+ #### 4.1.3 (2020-12-17)
674
+
675
+ ##### Documentation Changes
676
+
677
+ - 增加 faq,升级指南等文档 ([#3119](https://github.com/antvis/g2/pull/3119)) ([2033d030](https://github.com/antvis/g2/commit/2033d030bd989df6e9e6a3e7fc49a10fce741305))
678
+ - 增加 element, view.en, dataset 等若干文档 ([#3118](https://github.com/antvis/g2/pull/3118)) ([8d112f15](https://github.com/antvis/g2/commit/8d112f15c74ea2f489366b8579c830f752043d3b))
679
+
680
+ ##### Bug Fixes
681
+
682
+ - **testcases:** 增加单测,g 层修复 animate shape 在 changesize 的时候报错 ([#3113](https://github.com/antvis/g2/pull/3113)) ([28d235b0](https://github.com/antvis/g2/commit/28d235b027f4f81442422893232a58f1df4694ac))
683
+ - fix empty div container for annotation ([#3112](https://github.com/antvis/g2/pull/3112)) ([f3739657](https://github.com/antvis/g2/commit/f3739657333f8f6b84611bae6cafcbbec86f96af))
684
+
685
+ #### 4.1.2 (2020-12-11)
686
+
687
+ ##### Chores
688
+
689
+ - add src to files for sourceMap ([#3099](https://github.com/antvis/g2/pull/3099)) ([ab3d9e5c](https://github.com/antvis/g2/commit/ab3d9e5c66db3fdc23bdcfffbddbb360463486a2))
690
+ - update ci worfklow ([#3080](https://github.com/antvis/g2/pull/3080)) ([eab91e3b](https://github.com/antvis/g2/commit/eab91e3bf7fb0d8331dccd4cea8ee1c70c88dd9b))
691
+ - fix preview build workflow ([#3078](https://github.com/antvis/g2/pull/3078)) ([f9eacbee](https://github.com/antvis/g2/commit/f9eacbee6d8167206bd504228d24763114c39a15))
692
+ - try to fix preview action vulnerability ([#3067](https://github.com/antvis/g2/pull/3067)) ([77a18410](https://github.com/antvis/g2/commit/77a18410695a5db224fe93893a88a17f5f95f800))
693
+
694
+ ##### Documentation Changes
695
+
696
+ - update time bar demo ([#3095](https://github.com/antvis/g2/pull/3095)) ([d3da3443](https://github.com/antvis/g2/commit/d3da344379d7e78adb50451c04fa03295e6ae49e))
697
+
698
+ ##### Bug Fixes
699
+
700
+ - fix early create canvas context cause build error in server side ([#3081](https://github.com/antvis/g2/pull/3081)) ([773abdd9](https://github.com/antvis/g2/commit/773abdd9ba07a3779f3a1fe7887e4f94df0ec379))
701
+ - **issue-3073:** 修复数据存在 null 值,在 pie-outer 标签布局下报错 ([#3074](https://github.com/antvis/g2/pull/3074)) ([73708e93](https://github.com/antvis/g2/commit/73708e93daeb66588b7e97069525ba5faf954085))
702
+
703
+ #### 4.1.1 (2020-12-02)
704
+
705
+ ##### Bug Fixes
706
+
707
+ - **issue-3073:** 修复数据存在 null 值,在 pie-outer 标签布局下报错 ([#3074](https://github.com/antvis/g2/pull/3074)) ([73708e93](https://github.com/antvis/g2/commit/73708e93daeb66588b7e97069525ba5faf954085))
708
+
709
+ #### 4.1.0 (2020-12-01)
710
+
711
+ ##### Chores
712
+
713
+ - upgrade site theme ([#3015](https://github.com/antvis/g2/pull/3015)) ([00b919b4](https://github.com/antvis/g2/commit/00b919b4661878d03df7a573bfae8242c723d36e))
714
+ - only sync gh-pages to Gitee Mirror ([#3014](https://github.com/antvis/g2/pull/3014)) ([ba9bc23c](https://github.com/antvis/g2/commit/ba9bc23cd322a55b2ae4f97dde38c1d37ecc3a12))
715
+ - update preview.yml ([#3011](https://github.com/antvis/g2/pull/3011)) ([f1c7b6b8](https://github.com/antvis/g2/commit/f1c7b6b8f7031e414487c01f9c0d47a721be1ac5))
716
+
717
+ ##### Documentation Changes
718
+
719
+ - 补充丢失的分面&交互的英文文档 ([#3040](https://github.com/antvis/g2/pull/3040)) ([b64fae45](https://github.com/antvis/g2/commit/b64fae4586099be9a0a12a2f954ed56c2eb85ee6))
720
+ - add guide for sankey ([#3030](https://github.com/antvis/g2/pull/3030)) ([e9ba7649](https://github.com/antvis/g2/commit/e9ba7649bfaafd8a8593fc3491268b151f82bb09))
721
+ - fix the parameter description of TooltipCrosshairsTextCallback function ([#3005](https://github.com/antvis/g2/pull/3005)) ([3b996b1b](https://github.com/antvis/g2/commit/3b996b1bcf8fcd1ffa4c744c963c651c0b19b8ec))
722
+ - add G2Plot in readme ([#3002](https://github.com/antvis/g2/pull/3002)) ([48ccebfd](https://github.com/antvis/g2/commit/48ccebfd44d5aa88c1a442d605e162b6b9b1f228))
723
+ - **magi:**
724
+ - adjust styles of monitor line chart ([#3035](https://github.com/antvis/g2/pull/3035)) ([3f7eab60](https://github.com/antvis/g2/commit/3f7eab60e45055402fcdcb0b6ab3720984760883))
725
+ - adjust pin position of monitor line chart ([#3032](https://github.com/antvis/g2/pull/3032)) ([877a7127](https://github.com/antvis/g2/commit/877a7127140b4114c76f4c032e2a5cc19db96310))
726
+ - add monitor line chart demo ([#3029](https://github.com/antvis/g2/pull/3029)) ([2a36e161](https://github.com/antvis/g2/commit/2a36e16165bdd6b6dbf813f2f1528f291e028527))
727
+ - **sankey:** add indicator sankey demo ([#3027](https://github.com/antvis/g2/pull/3027)) ([0db5f81f](https://github.com/antvis/g2/commit/0db5f81fda485479b590fb44fe8b056f3c6780f7))
728
+
729
+ ##### New Features
730
+
731
+ - **label-layout:** 标签布局 limit-in-plot 支持 ellipsis 展示 ([#3066](https://github.com/antvis/g2/pull/3066)) ([4eec0d2c](https://github.com/antvis/g2/commit/4eec0d2cd37ecc73686a788a4289f83d8799790a))
732
+ - **label:** add limitInPlot label layout ([#3062](https://github.com/antvis/g2/pull/3062)) ([8cdf428e](https://github.com/antvis/g2/commit/8cdf428e322ddefca882e4c6efe0e4173f3fc37e))
733
+ - support tooltip reversed cfg ([#3055](https://github.com/antvis/g2/pull/3055)) ([8cff406e](https://github.com/antvis/g2/commit/8cff406e16f980533aa090b91049fc6062c9ea0c))
734
+ - interval support lineCap round ([#3036](https://github.com/antvis/g2/pull/3036)) ([2907ac77](https://github.com/antvis/g2/commit/2907ac77ac78374a3d17b71af0fdadc0cf3624b9))
735
+ - pixel interval padding and dodge padding ([#2881](https://github.com/antvis/g2/pull/2881)) ([d27fff29](https://github.com/antvis/g2/commit/d27fff29d725020e0c8e3c91977c7aff41b0f5e1))
736
+ - **view:** add syncViewPadding support callback ([#2995](https://github.com/antvis/g2/pull/2995)) ([c8355f21](https://github.com/antvis/g2/commit/c8355f215a1dc426f92766754cc427b5b7613ff6))
737
+
738
+ ##### Bug Fixes
739
+
740
+ - 更改默认 scale type 设置:time -> timeCat ([#3059](https://github.com/antvis/g2/pull/3059)) ([82470868](https://github.com/antvis/g2/commit/82470868d98d7d63cd52fdecb0e851c6ce6fd51d))
741
+ - return early from sectorPathUpdate if path is invalid ([#3047](https://github.com/antvis/g2/pull/3047)) ([694f2096](https://github.com/antvis/g2/commit/694f209659c37f63f03e62b61fa13559204292d6))
742
+ - limitInPlot 更新后需要清除 clip ([#3043](https://github.com/antvis/g2/pull/3043)) ([b641da2f](https://github.com/antvis/g2/commit/b641da2fa7bc2ab8a3a6c173da3c7d9f692490e2))
743
+ - change the triggering condition ([#3028](https://github.com/antvis/g2/pull/3028)) ([449188ff](https://github.com/antvis/g2/commit/449188ffc13602553179aefc1567f1f8b40805c8))
744
+ - support adjust-color for overflow labels ([#3016](https://github.com/antvis/g2/pull/3016)) ([ac6d9428](https://github.com/antvis/g2/commit/ac6d9428664c67377391268f644795a51e172aee))
745
+ - tooltip clear ([#3010](https://github.com/antvis/g2/pull/3010)) ([1cc9354f](https://github.com/antvis/g2/commit/1cc9354f5d9b7fc54000cbf4aff4746972d0c7c0))
746
+ - [#2996](https://github.com/antvis/g2/pull/2996) ([#2998](https://github.com/antvis/g2/pull/2998)) ([c6256760](https://github.com/antvis/g2/commit/c625676045afd293776c520bb0249bb0ed926335))
747
+ - **pie-label:** 修复饼图 label 溢出 ([#3057](https://github.com/antvis/g2/pull/3057)) ([44e88a4f](https://github.com/antvis/g2/commit/44e88a4faf03fe474adf3b89261d40dab3a43719))
748
+ - **san-key:** 贝塞尔曲线的方向不对 ([#3023](https://github.com/antvis/g2/pull/3023)) ([0210319f](https://github.com/antvis/g2/commit/0210319f9b50d129d308fbcb0a18fb08735f76bf))
749
+ - **slider:** slider, scrollbar filter data ([#3013](https://github.com/antvis/g2/pull/3013)) ([71d9e448](https://github.com/antvis/g2/commit/71d9e448e292374f6bf17a19593bc6864132af34))
750
+
751
+ ##### Refactors
752
+
753
+ - **theme:** 主题重构,暴露 createTheme 方法 ([#3018](https://github.com/antvis/g2/pull/3018)) ([e7471d70](https://github.com/antvis/g2/commit/e7471d70b8293ef91a50e33a98c893f2dfb1c619))
754
+
755
+ #### 4.1.0-beta.21 (2020-11-25)
756
+
757
+ ##### Bug Fixes
758
+
759
+ - limitInPlot 更新后需要清除 clip ([#3043](https://github.com/antvis/g2/pull/3043)) ([b641da2f](https://github.com/antvis/g2/commit/b641da2fa7bc2ab8a3a6c173da3c7d9f692490e2))
760
+
761
+ #### 4.1.0-beta.20 (2020-11-21)
762
+
763
+ ##### Chores
764
+
765
+ - release 4.1.0-beta.19 ([#3021](https://github.com/antvis/g2/pull/3021)) ([fcf024e4](https://github.com/antvis/g2/commit/fcf024e493ddbf1b82afcd85497a532acdd692c9))
766
+ - upgrade site theme ([#3015](https://github.com/antvis/g2/pull/3015)) ([00b919b4](https://github.com/antvis/g2/commit/00b919b4661878d03df7a573bfae8242c723d36e))
767
+ - only sync gh-pages to Gitee Mirror ([#3014](https://github.com/antvis/g2/pull/3014)) ([ba9bc23c](https://github.com/antvis/g2/commit/ba9bc23cd322a55b2ae4f97dde38c1d37ecc3a12))
768
+ - update preview.yml ([#3011](https://github.com/antvis/g2/pull/3011)) ([f1c7b6b8](https://github.com/antvis/g2/commit/f1c7b6b8f7031e414487c01f9c0d47a721be1ac5))
769
+
770
+ ##### Documentation Changes
771
+
772
+ - **magi:** add monitor line chart demo ([#3029](https://github.com/antvis/g2/pull/3029)) ([2a36e161](https://github.com/antvis/g2/commit/2a36e16165bdd6b6dbf813f2f1528f291e028527))
773
+ - add guide for sankey ([#3030](https://github.com/antvis/g2/pull/3030)) ([e9ba7649](https://github.com/antvis/g2/commit/e9ba7649bfaafd8a8593fc3491268b151f82bb09))
774
+ - fix the parameter description of TooltipCrosshairsTextCallback function ([#3005](https://github.com/antvis/g2/pull/3005)) ([3b996b1b](https://github.com/antvis/g2/commit/3b996b1bcf8fcd1ffa4c744c963c651c0b19b8ec))
775
+ - add G2Plot in readme ([#3002](https://github.com/antvis/g2/pull/3002)) ([48ccebfd](https://github.com/antvis/g2/commit/48ccebfd44d5aa88c1a442d605e162b6b9b1f228))
776
+ - **sankey:** add indicator sankey demo ([#3027](https://github.com/antvis/g2/pull/3027)) ([0db5f81f](https://github.com/antvis/g2/commit/0db5f81fda485479b590fb44fe8b056f3c6780f7))
777
+
778
+ ##### New Features
779
+
780
+ - pixel interval padding and dodge padding ([#2881](https://github.com/antvis/g2/pull/2881)) ([d27fff29](https://github.com/antvis/g2/commit/d27fff29d725020e0c8e3c91977c7aff41b0f5e1))
781
+ - **view:** add syncViewPadding support callback ([#2995](https://github.com/antvis/g2/pull/2995)) ([c8355f21](https://github.com/antvis/g2/commit/c8355f215a1dc426f92766754cc427b5b7613ff6))
782
+
783
+ ##### Bug Fixes
784
+
785
+ - change the triggering condition ([#3028](https://github.com/antvis/g2/pull/3028)) ([449188ff](https://github.com/antvis/g2/commit/449188ffc13602553179aefc1567f1f8b40805c8))
786
+ - support adjust-color for overflow labels ([#3016](https://github.com/antvis/g2/pull/3016)) ([ac6d9428](https://github.com/antvis/g2/commit/ac6d9428664c67377391268f644795a51e172aee))
787
+ - tooltip clear ([#3010](https://github.com/antvis/g2/pull/3010)) ([1cc9354f](https://github.com/antvis/g2/commit/1cc9354f5d9b7fc54000cbf4aff4746972d0c7c0))
788
+ - [#2996](https://github.com/antvis/g2/pull/2996) ([#2998](https://github.com/antvis/g2/pull/2998)) ([c6256760](https://github.com/antvis/g2/commit/c625676045afd293776c520bb0249bb0ed926335))
789
+ - **san-key:** 贝塞尔曲线的方向不对 ([#3023](https://github.com/antvis/g2/pull/3023)) ([0210319f](https://github.com/antvis/g2/commit/0210319f9b50d129d308fbcb0a18fb08735f76bf))
790
+ - **slider:** slider, scrollbar filter data ([#3013](https://github.com/antvis/g2/pull/3013)) ([71d9e448](https://github.com/antvis/g2/commit/71d9e448e292374f6bf17a19593bc6864132af34))
791
+
792
+ ##### Refactors
793
+
794
+ - **theme:** 主题重构,暴露 createTheme 方法 ([#3018](https://github.com/antvis/g2/pull/3018)) ([e7471d70](https://github.com/antvis/g2/commit/e7471d70b8293ef91a50e33a98c893f2dfb1c619))
795
+
796
+ #### 4.1.0-beta.19 (2020-11-19)
797
+
798
+ ##### Chores
799
+
800
+ - only sync gh-pages to Gitee Mirror ([#3014](https://github.com/antvis/g2/pull/3014)) ([ba9bc23c](https://github.com/antvis/g2/commit/ba9bc23cd322a55b2ae4f97dde38c1d37ecc3a12))
801
+
802
+ ##### Documentation Changes
803
+
804
+ - fix the parameter description of TooltipCrosshairsTextCallback function ([#3005](https://github.com/antvis/g2/pull/3005)) ([3b996b1b](https://github.com/antvis/g2/commit/3b996b1bcf8fcd1ffa4c744c963c651c0b19b8ec))
805
+ - add G2Plot in readme ([#3002](https://github.com/antvis/g2/pull/3002)) ([48ccebfd](https://github.com/antvis/g2/commit/48ccebfd44d5aa88c1a442d605e162b6b9b1f228))
806
+ - upgrade site theme ([#3015](https://github.com/antvis/g2/pull/3015)) ([00b919b4](https://github.com/antvis/g2/commit/00b919b4661878d03df7a573bfae8242c723d36e))
807
+ - update preview.yml ([#3011](https://github.com/antvis/g2/pull/3011)) ([f1c7b6b8](https://github.com/antvis/g2/commit/f1c7b6b8f7031e414487c01f9c0d47a721be1ac5))
808
+
809
+ ##### New Features
810
+
811
+ - pixel interval padding and dodge padding ([#2881](https://github.com/antvis/g2/pull/2881)) ([d27fff29](https://github.com/antvis/g2/commit/d27fff29d725020e0c8e3c91977c7aff41b0f5e1))
812
+ - **view:** add syncViewPadding support callback ([#2995](https://github.com/antvis/g2/pull/2995)) ([c8355f21](https://github.com/antvis/g2/commit/c8355f215a1dc426f92766754cc427b5b7613ff6))
813
+ - **theme:** 主题重构,暴露 createTheme 方法 ([#3018](https://github.com/antvis/g2/pull/3018)) ([e7471d70](https://github.com/antvis/g2/commit/e7471d70b8293ef91a50e33a98c893f2dfb1c619))
814
+
815
+ ##### Bug Fixes
816
+
817
+ - support adjust-color for overflow labels ([#3016](https://github.com/antvis/g2/pull/3016)) ([ac6d9428](https://github.com/antvis/g2/commit/ac6d9428664c67377391268f644795a51e172aee))
818
+ - tooltip clear ([#3010](https://github.com/antvis/g2/pull/3010)) ([1cc9354f](https://github.com/antvis/g2/commit/1cc9354f5d9b7fc54000cbf4aff4746972d0c7c0))
819
+ - [#2996](https://github.com/antvis/g2/pull/2996) ([#2998](https://github.com/antvis/g2/pull/2998)) ([c6256760](https://github.com/antvis/g2/commit/c625676045afd293776c520bb0249bb0ed926335))
820
+ - **slider:** slider, scrollbar filter data ([#3013](https://github.com/antvis/g2/pull/3013)) ([71d9e448](https://github.com/antvis/g2/commit/71d9e448e292374f6bf17a19593bc6864132af34))
821
+
822
+ #### 4.1.0-beta.17 (2020-11-10)
823
+
824
+ ##### Chores
825
+
826
+ - 4.1.0-beta.16 ([#2975](https://github.com/antvis/g2/pull/2975)) ([43cbb83b](https://github.com/antvis/g2/commit/43cbb83be295b1134cf69b722792e1f012c455af))
827
+ - 4.1.0-beta.14 ([#2947](https://github.com/antvis/g2/pull/2947)) ([68964cfd](https://github.com/antvis/g2/commit/68964cfdd56029b084d9e3b8117db62acdcc678e))
828
+ - v4.1.0-beta.13 ([#2926](https://github.com/antvis/g2/pull/2926)) ([102c906f](https://github.com/antvis/g2/commit/102c906f4ae02ce4a524ac96ee47eeb2250cd869))
829
+ - v4.1.0-beta.11 ([#2898](https://github.com/antvis/g2/pull/2898)) ([091f73d5](https://github.com/antvis/g2/commit/091f73d57d2b7fe76109e581b2cde975f741599d))
830
+
831
+ ##### Documentation Changes
832
+
833
+ - new documents ([#2990](https://github.com/antvis/g2/pull/2990)) ([982ba8b3](https://github.com/antvis/g2/commit/982ba8b3e7d7492581e6ab57c0044b8879981931))
834
+ - modify some descriptions ([#2917](https://github.com/antvis/g2/pull/2917)) ([0512365b](https://github.com/antvis/g2/commit/0512365b9bd92a2865f70c3eda4c54db78f545e4))
835
+ - marker 单词拼写错误修正 ([#2911](https://github.com/antvis/g2/pull/2911)) ([645bb2d9](https://github.com/antvis/g2/commit/645bb2d9fa0b6e9906a2436338473a22248c281c))
836
+
837
+ ##### New Features
838
+
839
+ - **label:** add adjust-position for path geometry and hide-overlap for interval ([#2991](https://github.com/antvis/g2/pull/2991)) ([b66f4005](https://github.com/antvis/g2/commit/b66f400559a0e84143234ad1f780be7de4284171))
840
+ - **theme:** 更新主题色,更新三个色值 ([#2963](https://github.com/antvis/g2/pull/2963)) ([b5a00425](https://github.com/antvis/g2/commit/b5a004259cc35e44ff03bd9ef6dc4a942f2ece0b))
841
+ - **line-style:** default use round style ([#2953](https://github.com/antvis/g2/pull/2953)) ([30b7655a](https://github.com/antvis/g2/commit/30b7655ae3467e2366cd927c5d3dad9c4da15f9d))
842
+ - G2 层支持 custom annotation html annotation ([#2934](https://github.com/antvis/g2/pull/2934)) ([6209203a](https://github.com/antvis/g2/commit/6209203a55f8183acfcd1bcda23328016211310e))
843
+ - **annotation:** add support for mean / median ([#2922](https://github.com/antvis/g2/pull/2922)) ([f8054857](https://github.com/antvis/g2/commit/f80548579a13e936706ee7172e040cd02f20b6d6))
844
+ - **legend:** set default maxItemWidth = 200 ([#2889](https://github.com/antvis/g2/pull/2889)) ([9e1b2585](https://github.com/antvis/g2/commit/9e1b25852d6fd97ed557d174818ff3c852df39bc))
845
+ - **region-filter:** add geometry life circle, after draw animate ([#2879](https://github.com/antvis/g2/pull/2879)) ([2738acb5](https://github.com/antvis/g2/commit/2738acb57c524d2649e356465dd624bf0f145616))
846
+
847
+ ##### Bug Fixes
848
+
849
+ - **annotation:**
850
+ - :smile: 修复 html-annotation 没有 clear ([#2987](https://github.com/antvis/g2/pull/2987)) ([7b887a6a](https://github.com/antvis/g2/commit/7b887a6a4f1a8edb5b76407d2ec6de11ba3820ea))
851
+ - text annotation re-render will be hidden ([#2916](https://github.com/antvis/g2/pull/2916)) ([9891f40b](https://github.com/antvis/g2/commit/9891f40b6c6fd02af2312542c01ec430d004d974))
852
+ - the event variable is misspelled ([#2984](https://github.com/antvis/g2/pull/2984)) ([4dcf6c90](https://github.com/antvis/g2/commit/4dcf6c90cf340364d5ade014ab247aa1e6e5532d))
853
+ - ci hang ([#2979](https://github.com/antvis/g2/pull/2979)) ([bdde7f3a](https://github.com/antvis/g2/commit/bdde7f3a4d7df147519cf2019cf188352c69c0d8))
854
+ - delete fill attr in interval-line ([#2974](https://github.com/antvis/g2/pull/2974)) ([8848b788](https://github.com/antvis/g2/commit/8848b78893fb933c12a550544bb37b28e71ee4e3))
855
+ - median typo ([#2925](https://github.com/antvis/g2/pull/2925)) ([57648275](https://github.com/antvis/g2/commit/57648275072082a6226500d9e2ee6ec1748a9cd3))
856
+ - 修复 adjust-color label layout 对一些颜色不生效的问题 ([#2919](https://github.com/antvis/g2/pull/2919)) ([b1f2c2a1](https://github.com/antvis/g2/commit/b1f2c2a103388f67b8edbba572d557e4545abe7a))
857
+ - 漏斗图 label position 可生效 ([#2909](https://github.com/antvis/g2/pull/2909)) ([c2727a82](https://github.com/antvis/g2/commit/c2727a82e0311ecd7c06ed71d3d9fe5fe8a93905))
858
+ - **tooltip:** 先对 Geometry 数据判空再进行查找 ([#2970](https://github.com/antvis/g2/pull/2970)) ([1822bf41](https://github.com/antvis/g2/commit/1822bf41612f7f40d0b7d492e3fe2df9114a30f1))
859
+ - **interaction:** fix link-by-color path for transposed coord ([#2972](https://github.com/antvis/g2/pull/2972)) ([7793c419](https://github.com/antvis/g2/commit/7793c4195ad285850b65d31375244b3d87c021ab))
860
+ - **label:** fix label position for zero data ([#2973](https://github.com/antvis/g2/pull/2973)) ([60e34b17](https://github.com/antvis/g2/commit/60e34b17fffb766235edc35f8d0694c9b27d5100))
861
+ - **#2905:** 无需传入 color,color 必须来源于字段映射 ([#2945](https://github.com/antvis/g2/pull/2945)) ([acf7ad40](https://github.com/antvis/g2/commit/acf7ad4073410107082d2ac100258e79688a7a05))
862
+ - **issue-2905:** 自定义 shape 的默认样式设置 ([#2906](https://github.com/antvis/g2/pull/2906)) ([dac96901](https://github.com/antvis/g2/commit/dac96901ea55db6ba7442cc32b07b4d5b8173725))
863
+ - **issue-2541:** state 状态依然存在时,但由于 changeSize, changeData 等重绘后丢失 ([#2871](https://github.com/antvis/g2/pull/2871)) ([dcb39aa3](https://github.com/antvis/g2/commit/dcb39aa3df8d42b8574a9aee9f76d5d0c133daeb))
864
+ - **pie-demo:** typo, fixed [#2884](https://github.com/antvis/g2/pull/2884) ([#2897](https://github.com/antvis/g2/pull/2897)) ([6aa10078](https://github.com/antvis/g2/commit/6aa100780ea98a5636cb578dc19dd0ed75d40eb8))
865
+ - **types:** add legend option ([#2892](https://github.com/antvis/g2/pull/2892)) ([bf3531ff](https://github.com/antvis/g2/commit/bf3531ff2cef51ab0d1fbc05b8b402a16f8ea92b))
866
+
867
+ ##### Refactors
868
+
869
+ - walkthrough label ([#2981](https://github.com/antvis/g2/pull/2981)) ([49051d4c](https://github.com/antvis/g2/commit/49051d4cf5bbd0716b330e219fa7324b06941247))
870
+ - **legend:** legend update and render with same logic ([#2890](https://github.com/antvis/g2/pull/2890)) ([10666c0c](https://github.com/antvis/g2/commit/10666c0c622afef9f5ec17f87d8156bf5e451f78))
871
+
872
+ #### 4.1.0-beta.16 (2020-11-04)
873
+
874
+ ##### Chores
875
+
876
+ - 4.1.0-beta.14 ([#2947](https://github.com/antvis/g2/pull/2947)) ([68964cfd](https://github.com/antvis/g2/commit/68964cfdd56029b084d9e3b8117db62acdcc678e))
877
+ - v4.1.0-beta.13 ([#2926](https://github.com/antvis/g2/pull/2926)) ([102c906f](https://github.com/antvis/g2/commit/102c906f4ae02ce4a524ac96ee47eeb2250cd869))
878
+ - v4.1.0-beta.11 ([#2898](https://github.com/antvis/g2/pull/2898)) ([091f73d5](https://github.com/antvis/g2/commit/091f73d57d2b7fe76109e581b2cde975f741599d))
879
+
880
+ ##### Documentation Changes
881
+
882
+ - modify some descriptions ([#2917](https://github.com/antvis/g2/pull/2917)) ([0512365b](https://github.com/antvis/g2/commit/0512365b9bd92a2865f70c3eda4c54db78f545e4))
883
+ - marker 单词拼写错误修正 ([#2911](https://github.com/antvis/g2/pull/2911)) ([645bb2d9](https://github.com/antvis/g2/commit/645bb2d9fa0b6e9906a2436338473a22248c281c))
884
+
885
+ ##### New Features
886
+
887
+ - **theme:** 更新主题色,更新三个色值 ([#2963](https://github.com/antvis/g2/pull/2963)) ([b5a00425](https://github.com/antvis/g2/commit/b5a004259cc35e44ff03bd9ef6dc4a942f2ece0b))
888
+ - **line-style:** default use round style ([#2953](https://github.com/antvis/g2/pull/2953)) ([30b7655a](https://github.com/antvis/g2/commit/30b7655ae3467e2366cd927c5d3dad9c4da15f9d))
889
+ - G2 层支持 custom annotation html annotation ([#2934](https://github.com/antvis/g2/pull/2934)) ([6209203a](https://github.com/antvis/g2/commit/6209203a55f8183acfcd1bcda23328016211310e))
890
+ - **annotation:** add support for mean / median ([#2922](https://github.com/antvis/g2/pull/2922)) ([f8054857](https://github.com/antvis/g2/commit/f80548579a13e936706ee7172e040cd02f20b6d6))
891
+ - **legend:** set default maxItemWidth = 200 ([#2889](https://github.com/antvis/g2/pull/2889)) ([9e1b2585](https://github.com/antvis/g2/commit/9e1b25852d6fd97ed557d174818ff3c852df39bc))
892
+ - **region-filter:** add geometry life circle, after draw animate ([#2879](https://github.com/antvis/g2/pull/2879)) ([2738acb5](https://github.com/antvis/g2/commit/2738acb57c524d2649e356465dd624bf0f145616))
893
+
894
+ ##### Bug Fixes
895
+
896
+ - delete fill attr in interval-line ([#2974](https://github.com/antvis/g2/pull/2974)) ([8848b788](https://github.com/antvis/g2/commit/8848b78893fb933c12a550544bb37b28e71ee4e3))
897
+ - median typo ([#2925](https://github.com/antvis/g2/pull/2925)) ([57648275](https://github.com/antvis/g2/commit/57648275072082a6226500d9e2ee6ec1748a9cd3))
898
+ - 修复 adjust-color label layout 对一些颜色不生效的问题 ([#2919](https://github.com/antvis/g2/pull/2919)) ([b1f2c2a1](https://github.com/antvis/g2/commit/b1f2c2a103388f67b8edbba572d557e4545abe7a))
899
+ - 漏斗图 label position 可生效 ([#2909](https://github.com/antvis/g2/pull/2909)) ([c2727a82](https://github.com/antvis/g2/commit/c2727a82e0311ecd7c06ed71d3d9fe5fe8a93905))
900
+ - **tooltip:** 先对 Geometry 数据判空再进行查找 ([#2970](https://github.com/antvis/g2/pull/2970)) ([1822bf41](https://github.com/antvis/g2/commit/1822bf41612f7f40d0b7d492e3fe2df9114a30f1))
901
+ - **interaction:** fix link-by-color path for transposed coord ([#2972](https://github.com/antvis/g2/pull/2972)) ([7793c419](https://github.com/antvis/g2/commit/7793c4195ad285850b65d31375244b3d87c021ab))
902
+ - **label:** fix label position for zero data ([#2973](https://github.com/antvis/g2/pull/2973)) ([60e34b17](https://github.com/antvis/g2/commit/60e34b17fffb766235edc35f8d0694c9b27d5100))
903
+ - **#2905:** 无需传入 color,color 必须来源于字段映射 ([#2945](https://github.com/antvis/g2/pull/2945)) ([acf7ad40](https://github.com/antvis/g2/commit/acf7ad4073410107082d2ac100258e79688a7a05))
904
+ - **annotation:** text annotation re-render will be hidden ([#2916](https://github.com/antvis/g2/pull/2916)) ([9891f40b](https://github.com/antvis/g2/commit/9891f40b6c6fd02af2312542c01ec430d004d974))
905
+ - **issue-2905:** 自定义 shape 的默认样式设置 ([#2906](https://github.com/antvis/g2/pull/2906)) ([dac96901](https://github.com/antvis/g2/commit/dac96901ea55db6ba7442cc32b07b4d5b8173725))
906
+ - **issue-2541:** state 状态依然存在时,但由于 changeSize, changeData 等重绘后丢失 ([#2871](https://github.com/antvis/g2/pull/2871)) ([dcb39aa3](https://github.com/antvis/g2/commit/dcb39aa3df8d42b8574a9aee9f76d5d0c133daeb))
907
+ - **pie-demo:** typo, fixed [#2884](https://github.com/antvis/g2/pull/2884) ([#2897](https://github.com/antvis/g2/pull/2897)) ([6aa10078](https://github.com/antvis/g2/commit/6aa100780ea98a5636cb578dc19dd0ed75d40eb8))
908
+ - **types:** add legend option ([#2892](https://github.com/antvis/g2/pull/2892)) ([bf3531ff](https://github.com/antvis/g2/commit/bf3531ff2cef51ab0d1fbc05b8b402a16f8ea92b))
909
+
910
+ ##### Refactors
911
+
912
+ - **legend:** legend update and render with same logic ([#2890](https://github.com/antvis/g2/pull/2890)) ([10666c0c](https://github.com/antvis/g2/commit/10666c0c622afef9f5ec17f87d8156bf5e451f78))
913
+
914
+ #### 4.1.0-beta.14 (2020-10-22)
915
+
916
+ ##### Documentation Changes
917
+
918
+ - modify some descriptions ([#2917](https://github.com/antvis/g2/pull/2917)) ([0512365b](https://github.com/antvis/g2/commit/0512365b9bd92a2865f70c3eda4c54db78f545e4))
919
+ - marker 单词拼写错误修正 ([#2911](https://github.com/antvis/g2/pull/2911)) ([645bb2d9](https://github.com/antvis/g2/commit/645bb2d9fa0b6e9906a2436338473a22248c281c))
920
+
921
+ ##### New Features
922
+
923
+ - G2 层支持 custom annotation html annotation ([#2934](https://github.com/antvis/g2/pull/2934)) ([6209203a](https://github.com/antvis/g2/commit/6209203a55f8183acfcd1bcda23328016211310e))
924
+ - **annotation:** add support for mean / median ([#2922](https://github.com/antvis/g2/pull/2922)) ([f8054857](https://github.com/antvis/g2/commit/f80548579a13e936706ee7172e040cd02f20b6d6))
925
+ - **legend:** set default maxItemWidth = 200 ([#2889](https://github.com/antvis/g2/pull/2889)) ([9e1b2585](https://github.com/antvis/g2/commit/9e1b25852d6fd97ed557d174818ff3c852df39bc))
926
+ - **region-filter:** add geometry life circle, after draw animate ([#2879](https://github.com/antvis/g2/pull/2879)) ([2738acb5](https://github.com/antvis/g2/commit/2738acb57c524d2649e356465dd624bf0f145616))
927
+
928
+ ##### Bug Fixes
929
+
930
+ - **#2905:** 无需传入 color,color 必须来源于字段映射 ([#2945](https://github.com/antvis/g2/pull/2945)) ([acf7ad40](https://github.com/antvis/g2/commit/acf7ad4073410107082d2ac100258e79688a7a05))
931
+ - **annotation:** text annotation re-render will be hidden ([#2916](https://github.com/antvis/g2/pull/2916)) ([9891f40b](https://github.com/antvis/g2/commit/9891f40b6c6fd02af2312542c01ec430d004d974))
932
+ - median typo ([#2925](https://github.com/antvis/g2/pull/2925)) ([57648275](https://github.com/antvis/g2/commit/57648275072082a6226500d9e2ee6ec1748a9cd3))
933
+ - 修复 adjust-color label layout 对一些颜色不生效的问题 ([#2919](https://github.com/antvis/g2/pull/2919)) ([b1f2c2a1](https://github.com/antvis/g2/commit/b1f2c2a103388f67b8edbba572d557e4545abe7a))
934
+ - 漏斗图 label position 可生效 ([#2909](https://github.com/antvis/g2/pull/2909)) ([c2727a82](https://github.com/antvis/g2/commit/c2727a82e0311ecd7c06ed71d3d9fe5fe8a93905))
935
+ - **issue-2905:** 自定义 shape 的默认样式设置 ([#2906](https://github.com/antvis/g2/pull/2906)) ([dac96901](https://github.com/antvis/g2/commit/dac96901ea55db6ba7442cc32b07b4d5b8173725))
936
+ - **issue-2541:** state 状态依然存在时,但由于 changeSize, changeData 等重绘后丢失 ([#2871](https://github.com/antvis/g2/pull/2871)) ([dcb39aa3](https://github.com/antvis/g2/commit/dcb39aa3df8d42b8574a9aee9f76d5d0c133daeb))
937
+ - **pie-demo:** typo, fixed [#2884](https://github.com/antvis/g2/pull/2884) ([#2897](https://github.com/antvis/g2/pull/2897)) ([6aa10078](https://github.com/antvis/g2/commit/6aa100780ea98a5636cb578dc19dd0ed75d40eb8))
938
+ - **types:** add legend option ([#2892](https://github.com/antvis/g2/pull/2892)) ([bf3531ff](https://github.com/antvis/g2/commit/bf3531ff2cef51ab0d1fbc05b8b402a16f8ea92b))
939
+
940
+ ##### Refactors
941
+
942
+ - **legend:** legend update and render with same logic ([#2890](https://github.com/antvis/g2/pull/2890)) ([10666c0c](https://github.com/antvis/g2/commit/10666c0c622afef9f5ec17f87d8156bf5e451f78))
943
+
944
+ #### 4.1.0-beta.11 (2020-10-09)
945
+
946
+ ##### New Features
947
+
948
+ - **legend:** set default maxItemWidth = 200 ([#2889](https://github.com/antvis/g2/pull/2889)) ([9e1b2585](https://github.com/antvis/g2/commit/9e1b25852d6fd97ed557d174818ff3c852df39bc))
949
+ - **region-filter:** add geometry life circle, after draw animate ([#2879](https://github.com/antvis/g2/pull/2879)) ([2738acb5](https://github.com/antvis/g2/commit/2738acb57c524d2649e356465dd624bf0f145616))
950
+
951
+ ##### Bug Fixes
952
+
953
+ - **pie-demo:** typo, fixed [#2884](https://github.com/antvis/g2/pull/2884) ([#2897](https://github.com/antvis/g2/pull/2897)) ([6aa10078](https://github.com/antvis/g2/commit/6aa100780ea98a5636cb578dc19dd0ed75d40eb8))
954
+ - **types:** add legend option ([#2892](https://github.com/antvis/g2/pull/2892)) ([bf3531ff](https://github.com/antvis/g2/commit/bf3531ff2cef51ab0d1fbc05b8b402a16f8ea92b))
955
+
956
+ ##### Refactors
957
+
958
+ - **legend:** legend update and render with same logic ([#2890](https://github.com/antvis/g2/pull/2890)) ([10666c0c](https://github.com/antvis/g2/commit/10666c0c622afef9f5ec17f87d8156bf5e451f78))
959
+
960
+ #### 4.1.0-beta.10 (2020-09-28)
961
+
962
+ ##### Chores
963
+
964
+ - 4.1.0-beta.8 release ([#2850](https://github.com/antvis/g2/pull/2850)) ([73d6fbce](https://github.com/antvis/g2/commit/73d6fbce86f56a3364beacca0ead9a0c21977d3a))
965
+ - upgrade version ([#2832](https://github.com/antvis/g2/pull/2832)) ([e823c8b6](https://github.com/antvis/g2/commit/e823c8b62a82583baaa6c1899547ef43cbb25126))
966
+
967
+ ##### Documentation Changes
968
+
969
+ - walkthrough api link in manual ([#2826](https://github.com/antvis/g2/pull/2826)) ([0f90a1de](https://github.com/antvis/g2/commit/0f90a1de34ead9a82a893bd1b8048130f26e1fe4))
970
+ - upgrade api docs ([#2818](https://github.com/antvis/g2/pull/2818)) ([e472de59](https://github.com/antvis/g2/commit/e472de596bea764fa68fa89bda8e768d741984ee))
971
+
972
+ ##### New Features
973
+
974
+ - improve interval label position ([#2869](https://github.com/antvis/g2/pull/2869)) ([81ae97fa](https://github.com/antvis/g2/commit/81ae97faa8655b03c11df9e29e46635f09a23c50))
975
+ - view padding sync ([#2843](https://github.com/antvis/g2/pull/2843)) ([032e9208](https://github.com/antvis/g2/commit/032e9208fc7b1a3251c38f36a9e0f704cbfa5055))
976
+ - 添加 supportCSSTransform 属性, 使图表在 css transform 下事件和交互都生效 ([#2829](https://github.com/antvis/g2/pull/2829)) ([c2190595](https://github.com/antvis/g2/commit/c2190595c78807bf0f359c30847aa3828308491d))
977
+ - support scrollbar component ([#2813](https://github.com/antvis/g2/pull/2813)) ([93436c11](https://github.com/antvis/g2/commit/93436c11a7d2312b60d9470774350e895be4e00a))
978
+ - **geometry:** add geometry.custom API for registerShape ([#2831](https://github.com/antvis/g2/pull/2831)) ([ab589e30](https://github.com/antvis/g2/commit/ab589e309bc4a7b247f2f27ac913ea3c67f46fb3))
979
+ - **options:** 支持配置项式声明分面 ([#2788](https://github.com/antvis/g2/pull/2788)) ([67cfdf34](https://github.com/antvis/g2/commit/67cfdf34ef75702e7b8ec23a831e41491840b752))
980
+
981
+ ##### Bug Fixes
982
+
983
+ - 修复数据为空时 slider 报错的问题 ([#2855](https://github.com/antvis/g2/pull/2855)) ([1b706bec](https://github.com/antvis/g2/commit/1b706becf01fa7a73430fd4f1c1f6802fbfa7bc3))
984
+ - fix slider changeSize bug and scrollbar overlap with legend ([#2840](https://github.com/antvis/g2/pull/2840)) ([38f07d4b](https://github.com/antvis/g2/commit/38f07d4b695c57b9a98fe237a52af6985de6bf7b))
985
+ - build before deploy to get latest type definition ([#2833](https://github.com/antvis/g2/pull/2833)) ([167daa3e](https://github.com/antvis/g2/commit/167daa3e7e8ac5d5f1cb55dfdb5dce18ab17f47e))
986
+ - slider bugfix ([#2828](https://github.com/antvis/g2/pull/2828)) ([10edf2e6](https://github.com/antvis/g2/commit/10edf2e6c049cfd227771df92eb5682b9a85d3cd))
987
+ - add dom-util dependence ([#2789](https://github.com/antvis/g2/pull/2789)) ([0c54f436](https://github.com/antvis/g2/commit/0c54f43642fc37abd870018e61a63bb9dc341170))
988
+ - **demo:** 修复环图自定义 label 的 demo, 获取 labelItems 为空 ([#2838](https://github.com/antvis/g2/pull/2838)) ([c1c764cf](https://github.com/antvis/g2/commit/c1c764cf522a3d6f80dc076917255c00d7075c7e))
989
+ - **typos:** correct spelling ([#2811](https://github.com/antvis/g2/pull/2811)) ([7c671d0d](https://github.com/antvis/g2/commit/7c671d0da836425068d9e8e678559a593c13fe8f))
990
+ - **clear:** chart.clear then render, momery leak ([#2800](https://github.com/antvis/g2/pull/2800)) ([a6f56a73](https://github.com/antvis/g2/commit/a6f56a73dea49170ec75fb5fd6b6d7af9973d1e1))
991
+ - **#2763:** 修复 legend-filter 在 view 中行为错误 ([#2802](https://github.com/antvis/g2/pull/2802)) ([4432e0ed](https://github.com/antvis/g2/commit/4432e0ed43249ff65e18884207b946bf6ac9c0bd))
992
+ - **offscreen:** sync clip style in offscreen group ([#2795](https://github.com/antvis/g2/pull/2795)) ([554f619f](https://github.com/antvis/g2/commit/554f619fb75c605e3f62fab15cf18446a8d74e1f))
993
+ - **#2433:** fix slider collide legend ([#2793](https://github.com/antvis/g2/pull/2793)) ([6b6479d5](https://github.com/antvis/g2/commit/6b6479d52deba8281df98dc25e03bf51f0502626))
994
+ - **issue-2778:** 修复 label 点击的时候,没有获取到数据 ([#2791](https://github.com/antvis/g2/pull/2791)) ([85e3b147](https://github.com/antvis/g2/commit/85e3b147b1fcd6305c3512a33241fbaaf05426ef))
995
+
996
+ ##### Other Changes
997
+
998
+ - "g2-tooltip" ([#2834](https://github.com/antvis/g2/pull/2834)) ([cafecfd1](https://github.com/antvis/g2/commit/cafecfd1d86e44db87298998d0909e2c257dec4e))
999
+
1000
+ ##### Tests
1001
+
1002
+ - **padding:** add a test case ([#2803](https://github.com/antvis/g2/pull/2803)) ([87e8344b](https://github.com/antvis/g2/commit/87e8344b9daf8be4530546890e71a7444dbd8d82))
1003
+
1004
+ #### 4.1.0-beta.1 (2020-09-02)
1005
+
1006
+ ##### Chores
1007
+
1008
+ - **view-recursive:** add warning message before refactor ([#2768](https://github.com/antvis/g2/pull/2768)) ([c7f1e6a8](https://github.com/antvis/g2/commit/c7f1e6a82277a674272ab602036423ccbdbe97df))
1009
+ - **slider:** export typedefine ([#2766](https://github.com/antvis/g2/pull/2766)) ([b35d925b](https://github.com/antvis/g2/commit/b35d925b0e46d4d84be057587fc51883696edddb))
1010
+
1011
+ ##### Documentation Changes
1012
+
1013
+ - **manual:** update english documentation ([#2761](https://github.com/antvis/g2/pull/2761)) ([ff7d4cec](https://github.com/antvis/g2/commit/ff7d4cec4f25d6df917ba1b39c965fb2c505c495))
1014
+
1015
+ ##### New Features
1016
+
1017
+ - **spider-label:** 增加蜘蛛标签 & spider label layout ([#2755](https://github.com/antvis/g2/pull/2755)) ([dd765cc9](https://github.com/antvis/g2/commit/dd765cc91f9fa02477c76d5cf804bf002c3df3cb))
1018
+ - **label:** add adjust-color label layout ([#2753](https://github.com/antvis/g2/pull/2753)) ([b242cb44](https://github.com/antvis/g2/commit/b242cb44fd7ea123c1920c6ca1f3efd286af43f9))
1019
+ - **label 增强:** ([#2747](https://github.com/antvis/g2/pull/2747)) ([e52544d0](https://github.com/antvis/g2/commit/e52544d0f7b4c84770bb3babc3a96be0c7a33746))
1020
+
1021
+ ##### Bug Fixes
1022
+
1023
+ - **slider:** slider + layout, add slider padding ([#2776](https://github.com/antvis/g2/pull/2776)) ([9a9d0679](https://github.com/antvis/g2/commit/9a9d0679f461c7d354f7e60ff283b62c2c2f8dad))
1024
+ - **legend:** add legend padding ([#2785](https://github.com/antvis/G2/pull/2785)) ([de295ba5](https://github.com/antvis/G2/commit/de295ba596adf7b01e1ceb81a162013d04e5520c))
1025
+ - **tooltip:** make tooltip enterable ([#2762](https://github.com/antvis/g2/pull/2762)) ([b98a42b0](https://github.com/antvis/g2/commit/b98a42b04f3335b7db2c98c1c440a54ace71ace8))
1026
+ - **background:**
1027
+ - 背景色 shape z-index 顺序不对 ([#2760](https://github.com/antvis/g2/pull/2760)) ([0b74478d](https://github.com/antvis/g2/commit/0b74478d907082bf882674d353629452126f60be))
1028
+ - backgroup shape should set capture = false ([#2748](https://github.com/antvis/g2/pull/2748)) ([425846dd](https://github.com/antvis/g2/commit/425846dd34d9a2da04412d0d9d6eb9f33f2c76ba))
1029
+ - gitee mirror action don't work when push gh-pages only ([#2742](https://github.com/antvis/g2/pull/2742)) ([36ddf10f](https://github.com/antvis/g2/commit/36ddf10f396b1432e6477c76de8c260bb4f0b372))
1030
+ - 移除 0.5px 的边框以及文本的描边 ([#2759](https://github.com/antvis/g2/pull/2759)) ([0d8a9d6f](https://github.com/antvis/g2/commit/0d8a9d6f788a775d0325524ce0bb2fabbdabd78c))
1031
+ - the doc example error ([#2750](https://github.com/antvis/g2/pull/2750)) ([7bfc513c](https://github.com/antvis/g2/commit/7bfc513c3df2f25b8edf27fa24ba9db8428e9e72))
1032
+
1033
+ #### 4.0.15 (2020-08-14)
1034
+
1035
+ ##### Documentation Changes
1036
+
1037
+ - add part API documents ([#2718](https://github.com/antvis/g2/pull/2718)) ([6e5769f9](https://github.com/antvis/g2/commit/6e5769f94a47aab9083305d53cc0584fe3d65f3b))
1038
+
1039
+ ##### New Features
1040
+
1041
+ - **background:** 使用 shape 来绘制 dark 的背景色 ([#2745](https://github.com/antvis/g2/pull/2745)) ([6adbdbf4](https://github.com/antvis/g2/commit/6adbdbf4e23bab95e924475f0e4cdf706594e731))
1042
+ - **annotation:** text annotation 提供 content 回调,将图表 filteredData 作为回调参数 ([#2735](https://github.com/antvis/g2/pull/2735)) ([0e4d1f12](https://github.com/antvis/g2/commit/0e4d1f12e955f71bb7129219312af817f09228ff))
1043
+ - Tooltip supported customContent ([#2739](https://github.com/antvis/g2/pull/2739)) ([5dc5a36e](https://github.com/antvis/g2/commit/5dc5a36e92e5704719acb13d96b4c8194f9766e8))
1044
+ - add api-extractor for extract typescript declare file ([#2725](https://github.com/antvis/g2/pull/2725)) ([22620898](https://github.com/antvis/g2/commit/22620898ae650ea0da70ee2ec211bfd32c1d8303))
1045
+ - **pie-label:** add pie-outer label layout ([#2726](https://github.com/antvis/g2/pull/2726)) ([d94157da](https://github.com/antvis/g2/commit/d94157dad468a306443634dc4b4df48f5bfea5c0))
1046
+
1047
+ ##### Bug Fixes
1048
+
1049
+ - **change-size:** when size is equal, not render ([#2734](https://github.com/antvis/g2/pull/2734)) ([3f9f0ac1](https://github.com/antvis/g2/commit/3f9f0ac1a8b1e4da9d84134cbd4625cd017a257a))
1050
+ - resolve tooltip debounce ([#2733](https://github.com/antvis/g2/pull/2733)) ([f5114f47](https://github.com/antvis/g2/commit/f5114f473fb17661fe65aaa61550e341dba0e8f5))
1051
+ - bugs in wordcloud demo ([#2723](https://github.com/antvis/g2/pull/2723)) ([61abf9de](https://github.com/antvis/g2/commit/61abf9de512bd2fc5e9877b6353b13daf9b8663e))
1052
+ - [#2706](https://github.com/antvis/g2/pull/2706) ([#2710](https://github.com/antvis/g2/pull/2710)) ([897e2bbb](https://github.com/antvis/g2/commit/897e2bbb455e02ede853e6ff1103dab016b18e9b))
1053
+
1054
+ ##### Refactors
1055
+
1056
+ - **axis:** axis update 包含有 create 逻辑,删除容易的 create 逻辑,简化代码 ([#2741](https://github.com/antvis/g2/pull/2741)) ([757e21d6](https://github.com/antvis/g2/commit/757e21d641d83913cd7c8e0fcdadd88489d9f3d4))
1057
+
1058
+ #### 4.0.14 (2020-07-27)
1059
+
1060
+ ##### New Features
1061
+
1062
+ - **Polygon** 为 polygon 添加 square shape,用于绘制正方形矩阵块,同时支持 size 通道映射
1063
+ - **Facet** 分面标题支持格式化
1064
+ - **Legend** 图例新增 maxItemWidth 属性,超出自动省略
1065
+ - **Annotation** annotation 中文本绘制能力增强,可设置自动缩略以及背景框
1066
+
1067
+ ##### Bug Fixes
1068
+
1069
+ - 坐标轴 verticalLimitLength 的参照物是画布 ([#2692](https://github.com/antvis/g2/pull/2692)) ([85d94fca](https://github.com/antvis/g2/commit/85d94fcac96fc1b2eaf35d8d014fa2c4b3f6548b))
1070
+ - 修复 'top-right' 类型的图例位置主题默认 maxItemWidth 不生效的问题
1071
+
1072
+ #### 4.0.13 (2020-07-20)
1073
+
1074
+ ##### Chores
1075
+
1076
+ - v4.0.13 ([0f184303](https://github.com/antvis/g2/commit/0f184303f2a2429c5b82ecc762b8c49c4807308e))
1077
+
1078
+ ##### Documentation Changes
1079
+
1080
+ - modified scale.md document error ([#2655](https://github.com/antvis/g2/pull/2655)) ([232241d9](https://github.com/antvis/g2/commit/232241d9e0e5922454e7e3de35e5f2df7032ee6a))
1081
+ - uniform AntV navbar's order and naming ([#2652](https://github.com/antvis/g2/pull/2652)) ([abcb5ae8](https://github.com/antvis/g2/commit/abcb5ae81bfbc7fec867f07a5596578616e708bd))
1082
+ - **event.en.md:** fix typo ([#2644](https://github.com/antvis/g2/pull/2644)) ([6ae5c520](https://github.com/antvis/g2/commit/6ae5c520c8710727b7ccddb59a4396a1be471616))
1083
+
1084
+ ##### New Features
1085
+
1086
+ - path line area 三类 Geometry 支持 showSinglePoint 属性,用于支持单点孤立数据点的绘制 ([#2666](https://github.com/antvis/g2/pull/2666)) ([3f37f287](https://github.com/antvis/g2/commit/3f37f287a1defdde0bb6cf1f939d74dad4c5e12d))
1087
+
1088
+ ##### Bug Fixes
1089
+
1090
+ - **version:** update version string ([e5f73439](https://github.com/antvis/g2/commit/e5f73439b64a19da3f1a8e562e27c31344b2a8ca))
1091
+ - fix [#2658](https://github.com/antvis/g2/pull/2658) ([#2659](https://github.com/antvis/g2/pull/2659)) ([1b3d214c](https://github.com/antvis/g2/commit/1b3d214c0502b9a3c8cb53fe026f0487f27cf850))
1092
+ - tooltip controller isVisible not update ([#2604](https://github.com/antvis/g2/pull/2604)) ([82c2c8c6](https://github.com/antvis/g2/commit/82c2c8c6793f457a895c6dc9f5a4ac15362a27df))
1093
+ - 修复 interval 下 shape='line' 设置 lineCap 失效的问题 ([#2645](https://github.com/antvis/g2/pull/2645)) ([a8ee3dc4](https://github.com/antvis/g2/commit/a8ee3dc43c252f838bc3da1ce60dd973db9fa1bf))
1094
+ - issues of pie demo 2 ([#2643](https://github.com/antvis/g2/pull/2643)) ([98cfc07f](https://github.com/antvis/g2/commit/98cfc07f12baca65a388eb4e6313445121c3bc1d))
1095
+ - partial issues of code sandbox caused by relative path ([#2641](https://github.com/antvis/g2/pull/2641)) ([4d4910f0](https://github.com/antvis/g2/commit/4d4910f07a2756b585528aa81e88fa02d2afbe0d))
1096
+ - do not use tooltip title for tooltip item name ([#2593](https://github.com/antvis/g2/pull/2593)) ([c81733b8](https://github.com/antvis/g2/commit/c81733b8a6fcb23c3340fa3a37f4ba10d7158faf))
1097
+ - 修复[#2279](https://github.com/antvis/g2/pull/2279) canvas resize 之后 tooltip 越界的问题 ([#2615](https://github.com/antvis/g2/pull/2615)) ([31bd0d01](https://github.com/antvis/g2/commit/31bd0d0121ededffcff9cef1dee4d1c57ab8ec65))
1098
+ - **pie-label:** 饼图 label 若干修复 ([#2648](https://github.com/antvis/g2/pull/2648)) ([235aa272](https://github.com/antvis/g2/commit/235aa27283ca35f80c5996015886b7660dbf9559))
1099
+
1100
+ ##### Refactors
1101
+
1102
+ - 删除不必要的代码 ([#2607](https://github.com/antvis/g2/pull/2607)) ([61153676](https://github.com/antvis/g2/commit/6115367677297415755512e2c4bec649988fab40))
1103
+
1104
+ #### 4.0.12 (2020-06-24)
1105
+
1106
+ ##### Chores
1107
+
1108
+ - 添加 lint-staged 配置 ([#2600](https://github.com/antvis/g2/pull/2600)) ([a776ddd1](https://github.com/antvis/g2/commit/a776ddd15d8b4f7456710d38c80f6a53c37cd24e))
1109
+
1110
+ - 优化 pre-commit hooks,github ci 服务太慢并且做不到强行约束,信息很容易忽略掉
1111
+
1112
+ ##### Bug Fixes
1113
+
1114
+ - highlight-by-x Action toggle() 失效的问题
1115
+
1116
+ #### 4.0.11 (2020-06-18)
1117
+
1118
+ ##### Documentation Changes
1119
+
1120
+ - fix indentation ([#2580](https://github.com/antvis/g2/pull/2580)) ([4ffdff52](https://github.com/antvis/g2/commit/4ffdff52954bbdae7d826ac25e536d5c31a9560f))
1121
+ - **site:** update size nav ([#2572](https://github.com/antvis/g2/pull/2572)) ([3ec492ee](https://github.com/antvis/g2/commit/3ec492ee146206f1b06b93264168bd7d05c87283))
1122
+
1123
+ ##### Bug Fixes
1124
+
1125
+ - **2570:** 修复 appendPadding 设置后,图表更新不断缩小的问题 ([#2577](https://github.com/antvis/g2/pull/2577)) ([402e7b01](https://github.com/antvis/g2/commit/402e7b018423516a3d5bdbb39bdf666491c43306))
1126
+ - **legend:** 修改 legend 布局的宽高限制 ([#2587](https://github.com/antvis/g2/pull/2587)) ([055043f1](https://github.com/antvis/g2/commit/055043f11142cbdeec82e606eb3882f8a58db5c3))
1127
+ - error if chart destroyed during resize ([#2547](https://github.com/antvis/g2/pull/2547)) ([2290ed38](https://github.com/antvis/g2/commit/2290ed38ea851936dd0066f1ee41ce9572ba30ee))
1128
+
1129
+ #### 4.0.10 (2020-06-09)
1130
+
1131
+ ##### New Features
1132
+
1133
+ - 增加 appendPadding 调节 padding ([#2502](https://github.com/antvis/g2/pull/2502)) ([fe352ce3](https://github.com/antvis/g2/commit/fe352ce315ad2384b0f8fb3413e8b6612952261b))
1134
+
1135
+ ##### Bug Fixes
1136
+
1137
+ - **2505:** 修复图表暗黑主题无背景色的问题 ([#2512](https://github.com/antvis/g2/pull/2512)) ([1a025c0a](https://github.com/antvis/g2/commit/1a025c0abc7ea42b820bdd9f2ce4160a6319e08f))
1138
+ - **annotation:** fix regionFilter not work on sub view ([#2531](https://github.com/antvis/g2/pull/2531)) ([e8c58349](https://github.com/antvis/g2/commit/e8c5834941987202cc86506e6ef1963a3f3e49e2))
1139
+ - **line 40:** replace '!=' with '!==' ([#2519](https://github.com/antvis/g2/pull/2519)) ([02a22a56](https://github.com/antvis/g2/commit/02a22a56a5351d567ed374fbcc1316e891f668a1))
1140
+
1141
+ #### 4.0.9 (2020-05-28)
1142
+
1143
+ ##### New Features
1144
+
1145
+ - support legend layout margin ([#2497](https://github.com/antvis/g2/pull/2497)) ([bb18ddf1](https://github.com/antvis/g2/commit/bb18ddf16a03950a15efe44feb32a4c3385ea33d))
1146
+
1147
+ ##### Bug Fixes
1148
+
1149
+ - **#2495:** fix layout error after render twice ([#2496](https://github.com/antvis/g2/pull/2496)) ([4abb8930](https://github.com/antvis/g2/commit/4abb89305496583f843d217f2551c3f0ed6dceda))
1150
+ - 图例应于坐标轴对齐 ([#2488](https://github.com/antvis/g2/pull/2488)) ([f8262a2e](https://github.com/antvis/g2/commit/f8262a2efa0d876dd9395cb4d1db208b42eb80c9))
1151
+ - update tooltip when mousemove on tooltip container ([#2460](https://github.com/antvis/g2/pull/2460)) ([8cbc5a64](https://github.com/antvis/g2/commit/8cbc5a6450660829e7ffe4964f544fe4263b1352))
1152
+
1153
+ #### 4.0.8 (2020-05-18)
1154
+
1155
+ ##### Documentation Changes
1156
+
1157
+ - **upgrade:** 完善升级文档 ([#2403](https://github.com/antvis/g2/pull/2403)) ([b4451df7](https://github.com/antvis/g2/commit/b4451df7ef49e751f8ed6e9d6a088fa217f9b293))
1158
+
1159
+ ##### New Features
1160
+
1161
+ - **slider:** add `formatMask` property ([aac56a86](https://github.com/antvis/g2/commit/aac56a86751061a135c40dee6ac843028a1d7838))
1162
+ - **interaction:** use get method ([78e2c32f](https://github.com/antvis/g2/commit/78e2c32f434591ee1e30ba54e004e3a000e3054d))
1163
+
1164
+ ##### Bug Fixes
1165
+
1166
+ - **2365:** 修复极坐标系圆弧坐标轴文本不响应坐标系 rotate 的问题 ([#2424](https://github.com/antvis/g2/pull/2424)) ([5c2bc3ff](https://github.com/antvis/g2/commit/5c2bc3ffe896339457e264679559a5ce738f439a))
1167
+ - **2371:** 修复未判断 labels 为空导致的饼图图例过滤错误 ([#2422](https://github.com/antvis/g2/pull/2422)) ([a30eb71f](https://github.com/antvis/g2/commit/a30eb71f403c369b7b2f3b01617a36ec14b8a838))
1168
+ - **2377:** registerTheme 时,需要和基础主题进行合并 ([#2416](https://github.com/antvis/g2/pull/2416)) ([0c220765](https://github.com/antvis/g2/commit/0c22076559c76f548f6d4c4a8a5bbaeebf9d5afb))
1169
+ - **2412:** 修复 axis title offset 设置不生效的问题,默认自动计算 ([#2417](https://github.com/antvis/g2/pull/2417)) ([a220df31](https://github.com/antvis/g2/commit/a220df3199e51a26fbba3245d6f65ec2135389ef))
1170
+ - fix min/max value map to color ([#2442](https://github.com/antvis/g2/pull/2442)) ([b3d41214](https://github.com/antvis/g2/commit/b3d412142736e4415d53463f52c04fcd00b23817))
1171
+
1172
+ #### 4.0.7 (2020-04-17)
1173
+
1174
+ ##### Bug Fixes
1175
+
1176
+ - do not set tooltip position when follow is false ([62f5e279](https://github.com/antvis/g2/commit/62f5e2795794427bbb905758f368adef56ecde8e))
1177
+ - **delegation:** mouse leave failed ([d3a30ed2](https://github.com/antvis/g2/commit/d3a30ed21cd95af0db8466cbb1a0662d5179d996))
1178
+ - **element:** 修复获取 state style 报错的问题 ([320e22f0](https://github.com/antvis/g2/commit/320e22f0627f1f2a0e1bf3c5c9211d043953fd8c))
1179
+
1180
+ #### 4.0.6 (2020-04-10)
1181
+
1182
+ ##### New Features
1183
+
1184
+ - view 上添加手势事件支持 ([e4f74a22](https://github.com/antvis/g2/commit/e4f74a224fee34afa29cb272ceef854f2d3bce41))
1185
+
1186
+ ##### Bug Fixes
1187
+
1188
+ - **geometry:** geometry.clear() 以及 destroy() 时要清空、销毁内部变量 ([c89ff974](https://github.com/antvis/g2/commit/c89ff97479a7a1e3dd3014e5440aad1d52f4311e))
1189
+ - **#2272:** 当映射数据中不存在 x 和 y 时,不绘制 label ([df60733e](https://github.com/antvis/g2/commit/df60733e206d8d83bfd46b485df32a6ba0e80bd4))
1190
+
1191
+ ##### Performance Improvements
1192
+
1193
+ - 性能优化,详见 [MR](https://github.com/antvis/G2/pull/2221)
1194
+
1195
+ ##### Documentation Changes
1196
+
1197
+ - 添加 Gestrue 手势使用文档 ([2c459853](https://github.com/antvis/g2/commit/2c459853885b4f4e23c0d33c6542d5b83b527df8))
1198
+
1199
+ #### 4.0.5 (2020-04-08)
1200
+
1201
+ ##### Bug Fixes
1202
+
1203
+ - **#2261:** 修复 tooltip 数据查找补全的问题 ([4b29feab](https://github.com/antvis/g2/commit/4b29feabbe664d413a17355002eb1b24e0e35553))
1204
+ - **#2241:** 修改图表更新过程中,tooltip 未及时消失而出现内容为空的问题 ([0e9e65f5](https://github.com/antvis/g2/commit/0e9e65f56f61cb4da73a1d08bc601ff3f10883d5))
1205
+
1206
+ #### 4.0.4 (2020-04-03)
1207
+
1208
+ ##### New Features
1209
+
1210
+ - **event:** 添加 plot:enter 和 plot:leave 事件 ([1f9b96be](https://github.com/antvis/g2/commit/1f9b96be4bac0155dd0063a1197341e6639499ff))
1211
+ - **interaction:**
1212
+ - tooltip 支持移动端 ([8e6cddf7](https://github.com/antvis/g2/commit/8e6cddf71f21d450557eece79622f23f4dd1a488))
1213
+ - avoid event error ([3ae581b9](https://github.com/antvis/g2/commit/3ae581b9726d438948ba7eaf297f24118a4c982c))
1214
+ - **view:**
1215
+ - 支持 plot 上的移动事件触发 ([4a86b08a](https://github.com/antvis/g2/commit/4a86b08af931f05e96da1cb462c04fbae6084b64))
1216
+ - 添加一些方法的别名,以兼容 3.x,但是这些方法将会在 4.1 版本中移除 ([6356363a](https://github.com/antvis/g2/commit/6356363a02c672f7e6074d8106be06a6558cf6ac))
1217
+ - **force-fit:** add forceFit api for chart ([719b61b3](https://github.com/antvis/g2/commit/719b61b3d6a8cfb454b08195674c48405a39a698))
1218
+
1219
+ ##### Bug Fixes
1220
+
1221
+ - **theme:**
1222
+ - 修复主题切换后,Geometry 样式未更新的问题 ([7e75a543](https://github.com/antvis/g2/commit/7e75a54373a2cb897a2ac01cc9e7f7a65759226f))
1223
+ - 修复在 chart 构造函数中设置 theme 对象不生效的问题. Closed [#2258](https://github.com/antvis/g2/pull/2258) ([6863a69f](https://github.com/antvis/g2/commit/6863a69f43af0306f7871ad123b57e27539ccbca))
1224
+ - 移除 label 的描边,会带来性能损耗 ([99b799d9](https://github.com/antvis/g2/commit/99b799d9d39a3f9ba74e28fea7771f5047ef257e))
1225
+ - 移除 coord.getRadius() 的 ts-ignore 注释 ([a02b7316](https://github.com/antvis/g2/commit/a02b7316ffe27ac219aa52ba2f6960092a0fb951))
1226
+ - **geometry:** 修复层叠点图上下区间点全部绘制的问题。Closed [#2202](https://github.com/antvis/g2/pull/2202) ([d7edf5e6](https://github.com/antvis/g2/commit/d7edf5e658ab32788a94d80eeb65555cf572c8a8))
1227
+ - **view:** 修复 syncScale() 调用时机不当导致分面渲染性能直线下降的问题 ([d492c0ea](https://github.com/antvis/g2/commit/d492c0ea4090fd784bc1e7e46c44d2e4a80e969e))
1228
+ - **#2264:** 修复 canvas 样式导致的 resize 问题, 修复容器层级 ([10200851](https://github.com/antvis/g2/commit/10200851cd80799f5aa615e6b1e85af34334b869))
1229
+ - **#2232:** fix 当 legend item 点击的时候, 图例项变少 ([19ca46ff](https://github.com/antvis/g2/commit/19ca46ff9a64bea6cdf7ce8dc72505db5742c79a))
1230
+ - **#2173:** fix legend overlap when in same direction ([59db3b59](https://github.com/antvis/g2/commit/59db3b59970a5f9ffee43a37e81afcc3113148f0))
1231
+ - **#2212:** fix when slider option has no start or end ([36a3b5db](https://github.com/antvis/g2/commit/36a3b5db49d059cea36d2226cc769e37d67af14f))
1232
+ - **#2222:** fix scale pool memory leak ([7f23a4c0](https://github.com/antvis/g2/commit/7f23a4c0c13f283cc9ff3bca266744edfad01706))
1233
+ - **#2215:** fix chart min size = 100 ([e49646d3](https://github.com/antvis/g2/commit/e49646d3153ffcc27b71aee38ba3ad0b2ab103b4))
1234
+ - **#2195:** fix autoFit 不生效 ([92d607ec](https://github.com/antvis/g2/commit/92d607ec5408d1ec949ebd95209c84b04c73b944))
1235
+
1236
+ ##### Refactors
1237
+
1238
+ - use unpkg other than browser field in package.json ([0185949b](https://github.com/antvis/g2/commit/0185949b34b38636eab95f33446611b505bb3a94))
1239
+ - **theme:** 移除注册样式表机制,只提供根据样式表生成主题的方法 ([9b0020ad](https://github.com/antvis/g2/commit/9b0020adfe26d6853ca391395e7e4769e96b5919))
1240
+ - **geometry:** 将获取 shape 默认属性时机从 Element 绘制提到 Geometry getDrawCfg() ([cf9b2f4f](https://github.com/antvis/g2/commit/cf9b2f4ff97483cd1fa2bf43e9b2c594e18bdc64))
1241
+ - **sync-scale:** use Map for perf ([76813745](https://github.com/antvis/g2/commit/7681374565c1c6baf77919b6b090a23ff49af503))
1242
+
1243
+ #### 4.0.3 (2020-03-23)
1244
+
1245
+ ##### New Features
1246
+
1247
+ - **axis:** 支持转置极坐标坐标轴的渲染, Closed [#1744](https://github.com/antvis/g2/pull/1744) ([67a8beb0](https://github.com/antvis/g2/commit/67a8beb042093774f6746450251ce2bfd472719f))
1248
+ - **scale:** 支持用户指定确定数据 id 的字段 ([25caa91f](https://github.com/antvis/g2/commit/25caa91f05dd918b3e798b57b6d6f524f67354cb))
1249
+ - **tooltip:**
1250
+ - `position` 属性新增 'auto' 值配置,并作为默认值 ([8c3fda47](https://github.com/antvis/g2/commit/8c3fda47779d49649776a16e55829f20793004f9))
1251
+ - tooltip 体验优化,当鼠标离开 tooltip 内容框时,非 locked 状态自动隐藏 ([9f8fcad2](https://github.com/antvis/g2/commit/9f8fcad2175704dc6f3ba742c77e4f1d95e9e211))
1252
+ - 通过 pointer-events 属性来达到 tooltip 躲避鼠标的交互效果 ([2e750aa4](https://github.com/antvis/g2/commit/2e750aa4fab269d573da9d035804e1bcd8fe53de))([d5f1e21c](https://github.com/antvis/g2/commit/d5f1e21ca9508f957d994634dc62d1d2b7f2cfcc))
1253
+ - **event:** 添加 element:statechange 事件 ([de161f49](https://github.com/antvis/g2/commit/de161f49eb450445269ab8d65291b5a25afae393))
1254
+ - **interaction:** 新增 legend, axis highlight actions ([ab256905](https://github.com/antvis/g2/commit/ab2569053ceca7d09e63f307a425c819a9886372))
1255
+ - **action:**
1256
+ - export getActionClass, extend action ([db635b7e](https://github.com/antvis/g2/commit/db635b7ed685debf230cf83501c98f2dc11e6c1a))
1257
+ - 添加 `throttle` 及 `debounce` 属性配置 ([a7e9f18d](https://github.com/antvis/g2/commit/a7e9f18de090a79116cc85a07d9a06cdc878448c))
1258
+ - export 所有的类型定义,生成对应的 API 文档 ([219126ed](https://github.com/antvis/g2/commit/219126ed063705f2361484bc99f4002bea0fc2e2))
1259
+
1260
+ ##### Bug Fixes
1261
+
1262
+ - **label:**
1263
+ - 修复极坐标下的第一个 label 对齐的问题 ([8be4555d](https://github.com/antvis/g2/commit/8be4555d385b5efb307c7751ec791c59b8e4f1a1))
1264
+ - 修复漏斗图 label 问题:更新以及尖底漏斗图最后一个 label 的位置错误,Closed [#1847](https://github.com/antvis/g2/pull/1847) ([cfd7c0a5](https://github.com/antvis/g2/commit/cfd7c0a5e619f2cbb0dd790794913ac28915665a))
1265
+ - 默认饼图 label 连接线颜色同图形元素颜色一致 ([78323aae](https://github.com/antvis/g2/commit/78323aae95913d24294258de35a74f73d6c82e3f))
1266
+ - 修复 interval 类型 label 在转置直角坐标系下 position 计算错误问题 ([39d02120](https://github.com/antvis/g2/commit/39d02120c272e355a8af72c3af3834da6cd705e9))
1267
+ - **tooltip:**
1268
+ - 修复 tooltip markers 没有正确显示/隐藏的问题 ([394dad27](https://github.com/antvis/g2/commit/394dad272588a0dff42a279e0bfa4ca618c3eacc))
1269
+ - 修复 tooltip 数据为空时不隐藏的问题 ([76edffdb](https://github.com/antvis/g2/commit/76edffdbeee5764d2433351cea8cd05e1946ce7e))
1270
+ - 修复 tooltip 相同数据显示隐藏再显示时不展示的问题,Closed [#2174](https://github.com/antvis/g2/pull/2174), [#2175](https://github.com/antvis/g2/pull/2175) ([c3357c1f](https://github.com/antvis/g2/commit/c3357c1f2ae09ab7b024c343be52a61dd4c3c83f))
1271
+ - **Action:**
1272
+ - **active-region:** 修复背景框计算错误的问题 ([7b5f651b](https://github.com/antvis/g2/commit/7b5f651b166f108a7c3a366f8859e51aa787a7af))
1273
+ - **options:** 修复 chart.updateOptions() 更新失败的问题 ([b1dff91b](https://github.com/antvis/g2/commit/b1dff91b0220c38fd68e130d6112d34eb92bc42c))
1274
+ - **event:** 调整 afterpaint 的抛出时机 ([f1f8206c](https://github.com/antvis/g2/commit/f1f8206c3b6fc9db835012a73515684d3a049634))
1275
+ - **geometry:** 修复 element 打标策略导致的数据未被全部绘制的问题,Closed [#2141](https://github.com/antvis/g2/pull/2141) ([071fa7c2](https://github.com/antvis/g2/commit/071fa7c2c0959eae2b946c628e65e5fd242c18d6))
1276
+ - **data:** 修复使用数据引用造成数据未更新的问题 ([bb258fc6](https://github.com/antvis/g2/commit/bb258fc67935838ecc3dc90a2eb6ca834b8bf6e4))
1277
+ - **event** 修复当鼠标在图表上页面无法滚动的问题,Closed [#2111](https://github.com/antvis/G2/issues/2111)
1278
+
1279
+ ##### Refactors
1280
+
1281
+ - **label:**
1282
+ - 重构 GeometryLabel。将 labels 组件的生成渲染移入 GeomtryLabel 中 ([4537b965](https://github.com/antvis/g2/commit/4537b965e61f9fd2774b76647a7d9a845c8d97fa))
1283
+ - 重构 Label 相关模块,将饼图 label 的布局调整到 LabelLayout 中 ([402d6c52](https://github.com/antvis/g2/commit/402d6c52c44e83a478abfb3c0567526e22414a1f))
1284
+
1285
+ ##### Chores
1286
+
1287
+ - 更新图表演示实例,优化实现代码,同时新添加动态气泡图以及带坐标轴的极坐标下的层叠柱状图
1288
+
1289
+ | ![2020-03-22 18-17-49.2020-03-22 18_20_32.gif](https://user-images.githubusercontent.com/6628666/77248451-62558780-6c74-11ea-951e-02d5ed652edf.gif) | ![image.png](https://user-images.githubusercontent.com/6628666/77175281-55faee80-6afd-11ea-9703-4f501aec74dc.png) |
1290
+ | --------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
1291
+
1292
+ ##### Documentation Changes
1293
+
1294
+ - 更新事件、交互以及 FAQ 文档
1295
+
1296
+ #### 4.0.2 (2020-03-16)
1297
+
1298
+ ##### New Features
1299
+
1300
+ - 将 Util 在从 core.ts 移到 src/index.ts 下 ([e8d05d16](https://github.com/antvis/g2/commit/e8d05d16fc388c525be46366e1646c88b09a1a72))
1301
+ - 添加一些矩阵变换相关的工具方法 ([921a45f3](https://github.com/antvis/g2/commit/921a45f344c55b80a2fc6c0c5a031c88bafca9d8))
1302
+ - **interaction:**
1303
+ - review and brush-x, update docs ([d1b76068](https://github.com/antvis/g2/commit/d1b76068947fe0d56b437348c813e001b56489b6))
1304
+ - path mask improve ([e947ec3e](https://github.com/antvis/g2/commit/e947ec3ea9516e47ca91c088fa7864c8b92f2256))
1305
+
1306
+ ##### Bug Fixes
1307
+
1308
+ - **slider:** when changeData, slider min max text should be update ([b06c9ee3](https://github.com/antvis/g2/commit/b06c9ee346cea637cacf806e154e91a942333ccd))
1309
+ - **auto-fix:** fix height when autoFit and container has padding ([1102a4a7](https://github.com/antvis/g2/commit/1102a4a7b2125e282747fcd5d0450c58c6e92195))
1310
+ - **annotation:** 修复 chart.annotation() 接口中 animateOption 属性不生效的问题,Closed [#2146](https://github.com/antvis/g2/pull/2146) ([6a3ecba1](https://github.com/antvis/g2/commit/6a3ecba1df65861818624eb2e711dcbdccbb19f9))
1311
+ - **scale:** 修复日期正则表达式将 '20200229' 判断为 time 类型的问题, related [#2115](https://github.com/antvis/g2/pull/2115) ([f31ccca7](https://github.com/antvis/g2/commit/f31ccca70fa8ccebc06e66bfa88f65d45b95b849))
1312
+
1313
+ #### 4.0.1 (2020-03-09)
1314
+
1315
+ ##### Chores
1316
+
1317
+ - 更新网站 H5 模板 ([624e5023](https://github.com/antvis/g2/commit/624e5023e67a98a06018fefc6a38d2fef1847b1d))
1318
+
1319
+ ##### New Features
1320
+
1321
+ - **action:** 添加新的 Action 类: [ElementLinkByColor](https://github.com/antvis/G2/blob/master/src/interaction/action/element/link-by-color.ts) ([67c66d4e](https://github.com/antvis/g2/commit/67c66d4ede5fd848140b28b3fddeb3f6d3974e36))
1322
+
1323
+ ## 4.0.0 正式发布 (2020-03-01)
1324
+
1325
+ 作为图形语法(the Grammar of Graphics)的前端实现,G2 已经经历多个版本的迭代。本次 G2 4.0 是一个新的起点,我们对底层架构做了大量的重构工作,G2 会更加关注于:**图形语法,交互语法**以及**可视化组件体系**的建设。我们希望 G2 4.0 会成为一个专业的、给用户带来更多可能性的可视化底层引擎,在满足传统型统计图表需求的基础上,能够更好地赋能于(但不限于):
1326
+
1327
+ - 让开发者基于 G2 4.0 可以更快更好地封装上层图表库
1328
+ - 让交互式可视化更简单
1329
+ - 成为可视化领域的专业工具
1330
+
1331
+ 虽然我们对 G2 内部进行了大规模的重构工作,包括数据处理流程(引入数据更新机制),图表组件,view 渲染更新逻辑以及事件、交互机制改造等,但是为了保障用户项目能够更平滑得升级,G2 4.0 保持了最大程度上的兼容,但是仍然有一部分 breaking change 需要注意。
1332
+
1333
+ ### 变更说明
1334
+
1335
+ #### 整体变化
1336
+
1337
+ - 全面拥抱 TypeScript。
1338
+ - 全新的可视化组件:面向交互,体验优雅。
1339
+ - 强大的 View 模块:可单独使用,具备完备的可视化组件、事件,支持 View 嵌套以及自动布局。
1340
+ - 全新的交互语法。
1341
+ - 绘图引擎升级至 G 0.4 版本,支持双引擎切换。
1342
+ - 引入数据更新机制。
1343
+ - 动画机制改造,更细粒度,体验更好。
1344
+ - 模块化管理,提供更加灵活的扩展机制。
1345
+
1346
+ #### API 变更
1347
+
1348
+ G2 4.0 在功能上全面兼容 3.x 的功能,在 API 接口上,我们进行了一些优化,在最大程度兼容 3.x 语法的基础上,提供了对用户更加友好,更易理解的函数命名以及更合理的配置项结构,具体的变化记录如下:
1349
+
1350
+ ##### 不兼容改动
1351
+
1352
+ - ❌ `chart.source()` 接口废弃,请使用 `chart.data()` 接口,同时列定义请通过 `chart.scale()`  接口进行定义。
1353
+ - ❌ `chart.coord()` 接口废弃,请使用 `chart.coordinate()`。
1354
+ - ❌ `chart.guide()` 接口废弃,请使用 `chart.annotation()`,同时不再支持 `chart.guide().html()`。
1355
+ - ❌ `chart.view()`  接口废弃,请使用 `chart.createView()`。
1356
+ - ❌ `chart.interact()`  接口废弃,请使用 `chart.interaction()`。
1357
+ - ❌ `chart.repaint()`  接口废弃,请使用 `chart.render(update: boolean)` 接口。
1358
+ - ❌ `G2.Global` 移除,默认的主题配置可以通过以下方式获取:
1359
+
1360
+ ```typescript
1361
+ // 方式 1
1362
+ import { getTheme } from '@antv/g2';
1363
+ const defaultTheme = getTheme();
1364
+
1365
+ // 方式 2,通过 chart 示例获取当前主题
1366
+ const theme = chart.getTheme();
1367
+ ```
1368
+
1369
+ - ❌ `geometry.active()`  废弃,请使用 `geometry.state()` 接口。
1370
+ - ❌ `geometry.select()`  废弃,请使用 `geometry.state()` 接口。
1371
+ - ❌ `geometry.opacity()` 废弃,请使用 `geometry.color()`  中使用带透明度的颜色或者 `geometry.style()`  接口。
1372
+ - 以下语法糖不再支持:
1373
+ - ❌ `pointJitter()`  废弃,请使用 `point().adjust('jitter')`。
1374
+ - ❌ `pointDodge()`  废弃,请使用 `point().adjust('dodge')`。
1375
+ - ❌ `intervalStack()` 废弃,请使用 `interval().adjust('stack')`。
1376
+ - ❌ `intervalDodge()` 废弃,请使用 `interval().adjust('dodge')`。
1377
+ - ❌ `intervalSymmetric()` 废弃,请使用 `interval().adjust('symmetric')`。
1378
+ - ❌ `areaStack()` 废弃,请使用 `area().adjust('stack')`。
1379
+ - ❌ `schemaDodge()` 废弃,请使用  `schema().adjust('stack')`。
1380
+ - ❌ `Venn`  以及 `Violin`  几何标记暂时移除,后续考虑以更好的方式支持。
1381
+ - ❌ 移除 Interval 几何标记以下两个 shape: 'top-line' 及  'liquid-fill-gauge',用户可以通过自定义 Shape 机制自己实现。
1382
+ - ❌ 移除 tail 类型的图例。
1383
+ - 内置常量重命名,一致使用小写 + '-' 命名规则,比如 `shape('hollowCircle')` 变更为 `shape('hollow-circle')`。
1384
+
1385
+ ##### 配置项以及接口变更
1386
+
1387
+ 我们在 4.0 中对以下接口以及一些接口中的属性进行了部分变更,在兼容 3.x 原有功能的基础上,让配置项更具语义,同时结构更加合理,具体请参考 API 文档。
1388
+
1389
+ - `new Chart(cfg)`  接口属性更新([新老接口对比](https://github.com/simaQ/g2-v4-upgrade/pull/1/files#diff-6477dff11424caa76a176cf710e71023R16))
1390
+
1391
+ - `chart.data()`  接口不再支持 DataView 格式数据,只支持标准 JSON 数组,所以在使用 DataSet 时,[要取最后的 JSON 数组结果传入 G2](https://github.com/simaQ/g2-v4-upgrade/pull/1/files#diff-660f42f89c29e15f5f86a3e8c1023302R23): `chart.data(dv.rows);`
1392
+
1393
+ - 所有同绘图相关的配置全部定义在 style 属性中:
1394
+
1395
+ ```ts
1396
+ chart.axis('value', {
1397
+ label: {
1398
+ style: {
1399
+ textAlign: 'center',
1400
+ }, // 设置坐标轴文本样式
1401
+ },
1402
+ line: {
1403
+ style: {
1404
+ stroke: '#E9E9E9',
1405
+ lineDash: [3, 3],
1406
+ }, // 设置坐标轴线样式
1407
+ },
1408
+ grid: {
1409
+ line: {
1410
+ style: {
1411
+ lineDash: [3, 3],
1412
+ },
1413
+ }, // 设置坐标系栅格样式
1414
+ },
1415
+ });
1416
+ ```
1417
+
1418
+ - `chart.tooltip()` 配置项更新,同时将 G2 3.x 版本中一些针对特定图表的内置规则删除,需要用户自己通过提供的配置项进行配置,具体配置属性详见 [API](https://g2.antv.vision/zh/api/classes/view#tooltip)。
1419
+ - `chart.legend()`  配置项更新,详见 [API](https://g2.antv.vision/zh/api/classes/view#legend)。
1420
+ - `chart.axis()`  配置项更新,详见 [API](https://g2.antv.vision/zh/api/classes/view#axis)。
1421
+ - `chart.annotation()`  各个类型的 annotation 配置项更新,详见 [API](https://g2.antv.vision/zh/api/classes/view#annotation)。
1422
+ - `geometry().style()` 方法的回调函数写法变更,不再支持一个配置属性一个回调的方式,而是使用一个回调:
1423
+
1424
+ ```typescript
1425
+ style('a', (aVal) => {
1426
+ if (a === 1) return { fill: 'red' };
1427
+ return { fill: 'blue' };
1428
+ });
1429
+ ```
1430
+
1431
+ 详见 [API](https://g2.antv.vision/zh/api/classes/geometry#style)。
1432
+
1433
+ - `geometry.label()` 接口更新,不再支持 html 类型的 label,详见 [API](https://g2.antv.vision/zh/api/classes/geometry#label)。