@antv/g2plot 2.3.37 → 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 +73 -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/adaptor/geometries/base.d.ts +2 -0
- package/esm/adaptor/geometries/base.js +7 -1
- package/esm/adaptor/geometries/base.js.map +1 -1
- package/esm/adaptor/geometries/index.d.ts +1 -0
- package/esm/adaptor/geometries/index.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/area/adaptor.js +5 -2
- package/esm/plots/area/adaptor.js.map +1 -1
- package/esm/plots/area/types.d.ts +2 -3
- package/esm/plots/area/types.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/bidirectional-bar/adaptor.js +45 -9
- package/esm/plots/bidirectional-bar/adaptor.js.map +1 -1
- package/esm/plots/bidirectional-bar/index.d.ts +2 -0
- package/esm/plots/bidirectional-bar/index.js +2 -0
- package/esm/plots/bidirectional-bar/index.js.map +1 -1
- package/esm/plots/column/adaptor.js +2 -1
- package/esm/plots/column/adaptor.js.map +1 -1
- package/esm/plots/column/types.d.ts +3 -0
- package/esm/plots/column/types.js.map +1 -1
- package/esm/plots/heatmap/adaptor.js +23 -1
- package/esm/plots/heatmap/adaptor.js.map +1 -1
- package/esm/plots/heatmap/types.d.ts +4 -2
- package/esm/plots/heatmap/types.js.map +1 -1
- package/esm/plots/line/adaptor.js +25 -4
- package/esm/plots/line/adaptor.js.map +1 -1
- package/esm/plots/line/types.d.ts +6 -2
- package/esm/plots/line/types.js.map +1 -1
- package/esm/plots/pie/interactions/{pie-legend-action.d.ts → actions/legend-active.d.ts} +0 -0
- package/esm/plots/pie/interactions/{pie-legend-action.js → actions/legend-active.js} +2 -2
- package/esm/plots/pie/interactions/actions/legend-active.js.map +1 -0
- package/esm/plots/pie/interactions/{pie-statistic-action.d.ts → actions/statistic-active.d.ts} +1 -1
- package/esm/plots/pie/interactions/{pie-statistic-action.js → actions/statistic-active.js} +8 -2
- package/esm/plots/pie/interactions/actions/statistic-active.js.map +1 -0
- package/esm/plots/pie/interactions/index.js +2 -2
- package/esm/plots/pie/interactions/index.js.map +1 -1
- package/esm/plots/pie/interactions/util.d.ts +7 -0
- package/esm/plots/pie/interactions/util.js +15 -0
- package/esm/plots/pie/interactions/util.js.map +1 -0
- package/esm/plots/sankey/helper.js +16 -2
- package/esm/plots/sankey/helper.js.map +1 -1
- package/esm/plots/sankey/types.d.ts +51 -8
- package/esm/plots/sankey/types.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/adaptor/geometries/base.d.ts +2 -0
- package/lib/adaptor/geometries/base.js +7 -1
- package/lib/adaptor/geometries/base.js.map +1 -1
- package/lib/adaptor/geometries/index.d.ts +1 -0
- package/lib/adaptor/geometries/index.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/area/adaptor.js +5 -2
- package/lib/plots/area/adaptor.js.map +1 -1
- package/lib/plots/area/types.d.ts +2 -3
- package/lib/plots/area/types.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/bidirectional-bar/adaptor.js +45 -9
- package/lib/plots/bidirectional-bar/adaptor.js.map +1 -1
- package/lib/plots/bidirectional-bar/index.d.ts +2 -0
- package/lib/plots/bidirectional-bar/index.js +2 -0
- package/lib/plots/bidirectional-bar/index.js.map +1 -1
- package/lib/plots/column/adaptor.js +2 -1
- package/lib/plots/column/adaptor.js.map +1 -1
- package/lib/plots/column/types.d.ts +3 -0
- package/lib/plots/column/types.js.map +1 -1
- package/lib/plots/heatmap/adaptor.js +23 -1
- package/lib/plots/heatmap/adaptor.js.map +1 -1
- package/lib/plots/heatmap/types.d.ts +4 -2
- package/lib/plots/heatmap/types.js.map +1 -1
- package/lib/plots/line/adaptor.js +23 -2
- package/lib/plots/line/adaptor.js.map +1 -1
- package/lib/plots/line/types.d.ts +6 -2
- package/lib/plots/line/types.js.map +1 -1
- package/lib/plots/pie/interactions/{pie-legend-action.d.ts → actions/legend-active.d.ts} +0 -0
- package/lib/plots/pie/interactions/{pie-legend-action.js → actions/legend-active.js} +2 -2
- package/lib/plots/pie/interactions/actions/legend-active.js.map +1 -0
- package/lib/plots/pie/interactions/{pie-statistic-action.d.ts → actions/statistic-active.d.ts} +1 -1
- package/lib/plots/pie/interactions/{pie-statistic-action.js → actions/statistic-active.js} +8 -2
- package/lib/plots/pie/interactions/actions/statistic-active.js.map +1 -0
- package/lib/plots/pie/interactions/index.js +4 -4
- package/lib/plots/pie/interactions/index.js.map +1 -1
- package/lib/plots/pie/interactions/util.d.ts +7 -0
- package/lib/plots/pie/interactions/util.js +19 -0
- package/lib/plots/pie/interactions/util.js.map +1 -0
- package/lib/plots/sankey/helper.js +16 -2
- package/lib/plots/sankey/helper.js.map +1 -1
- package/lib/plots/sankey/types.d.ts +51 -8
- package/lib/plots/sankey/types.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 +8 -7
- package/src/adaptor/conversion-tag.ts +3 -3
- package/src/adaptor/geometries/base.ts +23 -2
- package/src/adaptor/geometries/index.ts +1 -0
- package/src/index.ts +1 -1
- package/src/plots/area/adaptor.ts +5 -2
- package/src/plots/area/types.ts +2 -3
- package/src/plots/bar/adaptor.ts +90 -47
- package/src/plots/bar/index.ts +1 -2
- package/src/plots/bidirectional-bar/adaptor.ts +35 -7
- package/src/plots/bidirectional-bar/index.ts +3 -0
- package/src/plots/column/adaptor.ts +2 -0
- package/src/plots/column/types.ts +5 -0
- package/src/plots/heatmap/adaptor.ts +29 -11
- package/src/plots/heatmap/types.ts +6 -2
- package/src/plots/line/adaptor.ts +31 -3
- package/src/plots/line/types.ts +13 -2
- package/src/plots/pie/interactions/{pie-legend-action.ts → actions/legend-active.ts} +1 -1
- package/src/plots/pie/interactions/{pie-statistic-action.ts → actions/statistic-active.ts} +11 -3
- package/src/plots/pie/interactions/index.ts +2 -2
- package/src/plots/pie/interactions/util.ts +16 -0
- package/src/plots/sankey/helper.ts +26 -9
- package/src/plots/sankey/types.ts +52 -8
- 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/esm/plots/pie/interactions/pie-legend-action.js.map +0 -1
- package/esm/plots/pie/interactions/pie-statistic-action.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/lib/plots/pie/interactions/pie-legend-action.js.map +0 -1
- package/lib/plots/pie/interactions/pie-statistic-action.js.map +0 -1
- package/src/plots/bar/utils.ts +0 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,76 @@
|
|
|
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
|
+
|
|
28
|
+
#### 2.3.40 (2021-11-12)
|
|
29
|
+
|
|
30
|
+
##### Documentation Changes
|
|
31
|
+
|
|
32
|
+
* 增加图例自定义 marker 的 demo ([#2961](https://github.com/antvis/g2plot/pull/2961)) ([ceb52ab8](https://github.com/antvis/g2plot/commit/ceb52ab88a4bda626f6407e67030f7ff4586dca3))
|
|
33
|
+
* correct doc about `rotate` ([#2959](https://github.com/antvis/g2plot/pull/2959)) ([d3c5e856](https://github.com/antvis/g2plot/commit/d3c5e85691cbc5b948492bf7a541740cdc32dffb))
|
|
34
|
+
|
|
35
|
+
##### New Features
|
|
36
|
+
|
|
37
|
+
* **sankey:** nodelink data supported ([#2967](https://github.com/antvis/g2plot/pull/2967)) ([bb9e01cd](https://github.com/antvis/g2plot/commit/bb9e01cd37aa27cef66aa9fcab85f9e534160503))
|
|
38
|
+
|
|
39
|
+
##### Bug Fixes
|
|
40
|
+
|
|
41
|
+
* 修复文档错误 导致网站部署问题 ([ce2a4ea9](https://github.com/antvis/g2plot/commit/ce2a4ea9fc5ae6a6ba1be11f2b7117146b7e8a62))
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
#### 2.3.39 (2021-10-23)
|
|
45
|
+
|
|
46
|
+
##### Documentation Changes
|
|
47
|
+
|
|
48
|
+
* 添加如何导出图片的 faq 文档 ([#2936](https://github.com/antvis/g2plot/pull/2936)) ([ab8cbe62](https://github.com/antvis/g2plot/commit/ab8cbe62b9623b7fcc8dea3dd107c2f7f5047ad0))
|
|
49
|
+
|
|
50
|
+
##### New Features
|
|
51
|
+
|
|
52
|
+
* **line:** 折线图支持区域填充 ([#2939](https://github.com/antvis/g2plot/pull/2939)) ([45cd61d8](https://github.com/antvis/g2plot/commit/45cd61d801d70821605de9890c7dd9e35ac66e5f))
|
|
53
|
+
* **customInfo:** 折线图、面积图支持 customInfo 配置 ([#2937](https://github.com/antvis/g2plot/pull/2937)) ([71b23a4d](https://github.com/antvis/g2plot/commit/71b23a4d9babe0f14bda9dd6ec82209f5fc2e201))
|
|
54
|
+
|
|
55
|
+
#### 2.3.38 (2021-10-21)
|
|
56
|
+
|
|
57
|
+
##### Documentation Changes
|
|
58
|
+
|
|
59
|
+
* 添加 supportCSSTransform 参数的使用文档 ([#2922](https://github.com/antvis/g2plot/pull/2922)) ([d5ce6666](https://github.com/antvis/g2plot/commit/d5ce666637208b68de80d90ece695bc5b8b7ad99))
|
|
60
|
+
|
|
61
|
+
##### New Features
|
|
62
|
+
|
|
63
|
+
* **column:** 柱状图支持 shape 配置 ([#2934](https://github.com/antvis/g2plot/pull/2934)) ([5a22da67](https://github.com/antvis/g2plot/commit/5a22da67bc68176de4a643684c92c0df02127ace))
|
|
64
|
+
* **heatmpap:** 热力图支持 sizeLegend ([#2924](https://github.com/antvis/g2plot/pull/2924)) ([3c1fe830](https://github.com/antvis/g2plot/commit/3c1fe83076bf6c21e974c0b50d8c70caa9593802))
|
|
65
|
+
* **line:** 折线图支持坐标系镜像反转 ([#2925](https://github.com/antvis/g2plot/pull/2925)) ([4d4b22b6](https://github.com/antvis/g2plot/commit/4d4b22b66fb652ab721b6c87a795715a74766eed))
|
|
66
|
+
|
|
67
|
+
##### Bug Fixes
|
|
68
|
+
|
|
69
|
+
* **pie:** 修复饼图中心文本交互问题 ([#2923](https://github.com/antvis/g2plot/pull/2923)) ([c65f6ab6](https://github.com/antvis/g2plot/commit/c65f6ab6720590c31aa744405fab516e20268dbc))
|
|
70
|
+
* 修复个性化标签饼图 demo 预览图不显示的问题 ([#2932](https://github.com/antvis/g2plot/pull/2932)) ([bf846715](https://github.com/antvis/g2plot/commit/bf846715ef28274823c747595605db40cf7c5fc6))
|
|
71
|
+
* **bidirection-bar:** 修复对称条形图 label 位置设置和默认配置 ([#2921](https://github.com/antvis/g2plot/pull/2921)) ([7f0ecba7](https://github.com/antvis/g2plot/commit/7f0ecba7da1ab2b27d2eb6ba6489d43efad4bb61))
|
|
72
|
+
* **area:** 修复面积图中折线没有传入 seriesField ([#2926](https://github.com/antvis/g2plot/pull/2926)) ([f0967409](https://github.com/antvis/g2plot/commit/f0967409942e079a4951477baa1434c1392ff95c))
|
|
73
|
+
|
|
1
74
|
#### 2.3.37 (2021-10-16)
|
|
2
75
|
|
|
3
76
|
##### 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
|
## 🔗 相关链接
|