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