@antv/g2plot 2.3.40 → 2.4.0
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/CHANGELOG.md +27 -0
- package/README.en-US.md +0 -1
- package/README.md +0 -1
- package/dist/g2plot.min.js +4 -4
- package/dist/g2plot.min.js.map +1 -1
- package/esm/adaptor/conversion-tag.js +3 -3
- package/esm/adaptor/conversion-tag.js.map +1 -1
- package/esm/index.d.ts +1 -1
- package/esm/index.js +1 -1
- package/esm/index.js.map +1 -1
- package/esm/plots/bar/adaptor.d.ts +7 -2
- package/esm/plots/bar/adaptor.js +72 -25
- package/esm/plots/bar/adaptor.js.map +1 -1
- package/esm/plots/bar/index.js +1 -2
- package/esm/plots/bar/index.js.map +1 -1
- package/esm/plots/sunburst/adaptor.js +1 -11
- package/esm/plots/sunburst/adaptor.js.map +1 -1
- package/esm/plots/sunburst/constant.js +1 -0
- package/esm/plots/sunburst/constant.js.map +1 -1
- package/esm/plots/sunburst/types.d.ts +1 -1
- package/esm/plots/sunburst/types.js.map +1 -1
- package/esm/plots/venn/types.d.ts +1 -1
- package/esm/plots/venn/types.js.map +1 -1
- package/esm/utils/data.js +2 -0
- package/esm/utils/data.js.map +1 -1
- package/lib/adaptor/conversion-tag.js +3 -3
- package/lib/adaptor/conversion-tag.js.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/plots/bar/adaptor.d.ts +7 -2
- package/lib/plots/bar/adaptor.js +74 -26
- package/lib/plots/bar/adaptor.js.map +1 -1
- package/lib/plots/bar/index.js +1 -2
- package/lib/plots/bar/index.js.map +1 -1
- package/lib/plots/sunburst/adaptor.js +1 -11
- package/lib/plots/sunburst/adaptor.js.map +1 -1
- package/lib/plots/sunburst/constant.js +1 -0
- package/lib/plots/sunburst/constant.js.map +1 -1
- package/lib/plots/sunburst/types.d.ts +1 -1
- package/lib/plots/sunburst/types.js.map +1 -1
- package/lib/plots/venn/types.d.ts +1 -1
- package/lib/plots/venn/types.js.map +1 -1
- package/lib/utils/data.js +2 -0
- package/lib/utils/data.js.map +1 -1
- package/package.json +6 -5
- package/src/adaptor/conversion-tag.ts +3 -3
- package/src/index.ts +1 -1
- package/src/plots/bar/adaptor.ts +90 -47
- package/src/plots/bar/index.ts +1 -2
- package/src/plots/sunburst/adaptor.ts +9 -13
- package/src/plots/sunburst/constant.ts +1 -0
- package/src/plots/sunburst/types.ts +1 -1
- package/src/plots/venn/types.ts +1 -1
- package/src/utils/data.ts +1 -0
- package/esm/plots/bar/utils.d.ts +0 -6
- package/esm/plots/bar/utils.js +0 -8
- package/esm/plots/bar/utils.js.map +0 -1
- package/lib/plots/bar/utils.d.ts +0 -6
- package/lib/plots/bar/utils.js +0 -12
- package/lib/plots/bar/utils.js.map +0 -1
- package/src/plots/bar/utils.ts +0 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,30 @@
|
|
|
1
|
+
#### 2.4.0 (2021-12-09)
|
|
2
|
+
|
|
3
|
+
##### Documentation Changes
|
|
4
|
+
|
|
5
|
+
* 补充 legend 文档 & 自定义转化漏斗图 demo ([#2998](https://github.com/antvis/G2plot/pull/2998)) ([86a8ec0f](https://github.com/antvis/G2plot/commit/86a8ec0f8a2d590348762837d3af91a5b6a9e355))
|
|
6
|
+
* 周常丰富文档和 demo ([#2976](https://github.com/antvis/G2plot/pull/2976)) ([aad83bc2](https://github.com/antvis/G2plot/commit/aad83bc2d4eece515177cdee0bb930edfe8a02d2))
|
|
7
|
+
* 更新官网公告 ([b5fcf129](https://github.com/antvis/G2plot/commit/b5fcf12956493919d6c86864878f47fa275ab00a))
|
|
8
|
+
* **legend:** 增加图例自定义 marker 的 demo ([#2961](https://github.com/antvis/G2plot/pull/2961)) ([ceb52ab8](https://github.com/antvis/G2plot/commit/ceb52ab88a4bda626f6407e67030f7ff4586dca3))
|
|
9
|
+
* correct doc about `rotate` ([#2959](https://github.com/antvis/G2plot/pull/2959)) ([d3c5e856](https://github.com/antvis/G2plot/commit/d3c5e85691cbc5b948492bf7a541740cdc32dffb))
|
|
10
|
+
* **bar:** 条形图增加 bar 配置文档说明和 demo ([#2974](https://github.com/antvis/G2plot/pull/2974)) ([98d984f2](https://github.com/antvis/G2plot/commit/98d984f20197bfe65f51ba8d9edc4f6b86c72822))
|
|
11
|
+
* **typo:** fix description of package ([#2989](https://github.com/antvis/G2plot/pull/2989)) ([5829e794](https://github.com/antvis/G2plot/commit/5829e79498d5e3cfaed88d7ff6e9afac0f6a063a))
|
|
12
|
+
|
|
13
|
+
##### New Features
|
|
14
|
+
|
|
15
|
+
* **sunburst:** 旭日图支持图例配置 & 单测 ([#3011](https://github.com/antvis/G2plot/pull/3011)) ([5d650336](https://github.com/antvis/G2plot/commit/5d6503369776f0d3795e32467dc8db2bc5a267a4))
|
|
16
|
+
* **sankey:** nodelink data supported ([#2967](https://github.com/antvis/G2plot/pull/2967)) ([bb9e01cd](https://github.com/antvis/G2plot/commit/bb9e01cd37aa27cef66aa9fcab85f9e534160503))
|
|
17
|
+
|
|
18
|
+
##### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* **venn:** fix venn color option type compatibility ([#3015](https://github.com/antvis/G2plot/pull/3015)) ([4364df56](https://github.com/antvis/G2plot/commit/4364df569c411c248acad8911f91872d46bced2b))
|
|
21
|
+
* **bar:** 修复条形图图例转置 & 单测 ([#3013](https://github.com/antvis/G2plot/pull/3013)) ([be7caa9a](https://github.com/antvis/G2plot/commit/be7caa9ab6713974b33fcec5996a509dd099cdfa))
|
|
22
|
+
* **docs:** fix document typo ([#2971](https://github.com/antvis/G2plot/pull/2971)) ([5449ce0c](https://github.com/antvis/G2plot/commit/5449ce0c36a07be9892ff106dedce4f25d044757))
|
|
23
|
+
|
|
24
|
+
##### Refactors
|
|
25
|
+
|
|
26
|
+
* **bar:** 条形图重构,不需要反转数据 调整下坐标系即可. Breaking-changes maybe existed. ([#2914](https://github.com/antvis/G2plot/pull/2914)) ([b1d8f47b](https://github.com/antvis/G2plot/commit/b1d8f47b8152a96d1229276019d4f5c3068dbe33))
|
|
27
|
+
|
|
1
28
|
#### 2.3.40 (2021-11-12)
|
|
2
29
|
|
|
3
30
|
##### Documentation Changes
|
package/README.en-US.md
CHANGED
|
@@ -159,7 +159,6 @@ This project follows the [all-contributors](https://github.com/all-contributors/
|
|
|
159
159
|
|
|
160
160
|
钉钉群组号码: 30233731
|
|
161
161
|
|
|
162
|
-
<img src="https://gw.alipayobjects.com/zos/antfincdn/9sHnl5k%26u4/dingdingqun.png" width="200" height="266" />
|
|
163
162
|
<img src="https://gw.alipayobjects.com/zos/antfincdn/8qEHi7GiaN/G2Plot-dingding.JPG" width="200" height="266" />
|
|
164
163
|
|
|
165
164
|
## 🔗 Links
|
package/README.md
CHANGED
|
@@ -169,7 +169,6 @@ bar.render();
|
|
|
169
169
|
|
|
170
170
|
钉钉群组号码: 30233731
|
|
171
171
|
|
|
172
|
-
<img src="https://gw.alipayobjects.com/zos/antfincdn/9sHnl5k%26u4/dingdingqun.png" width="200" height="266" />
|
|
173
172
|
<img src="https://gw.alipayobjects.com/zos/antfincdn/8qEHi7GiaN/G2Plot-dingding.JPG" width="200" height="266" />
|
|
174
173
|
|
|
175
174
|
## 🔗 相关链接
|