@antv/g2plot 2.3.38 → 2.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. package/CHANGELOG.md +60 -0
  2. package/README.en-US.md +0 -1
  3. package/README.md +0 -1
  4. package/dist/g2plot.min.js +3 -3
  5. package/dist/g2plot.min.js.map +1 -1
  6. package/esm/adaptor/conversion-tag.js +3 -3
  7. package/esm/adaptor/conversion-tag.js.map +1 -1
  8. package/esm/adaptor/geometries/base.d.ts +2 -0
  9. package/esm/adaptor/geometries/base.js +7 -1
  10. package/esm/adaptor/geometries/base.js.map +1 -1
  11. package/esm/adaptor/geometries/index.d.ts +1 -0
  12. package/esm/adaptor/geometries/index.js.map +1 -1
  13. package/esm/index.d.ts +1 -1
  14. package/esm/index.js +1 -1
  15. package/esm/index.js.map +1 -1
  16. package/esm/plots/area/adaptor.js +2 -2
  17. package/esm/plots/area/adaptor.js.map +1 -1
  18. package/esm/plots/area/types.d.ts +2 -3
  19. package/esm/plots/area/types.js.map +1 -1
  20. package/esm/plots/bar/adaptor.d.ts +7 -2
  21. package/esm/plots/bar/adaptor.js +67 -25
  22. package/esm/plots/bar/adaptor.js.map +1 -1
  23. package/esm/plots/bar/index.js +1 -2
  24. package/esm/plots/bar/index.js.map +1 -1
  25. package/esm/plots/line/adaptor.js +6 -2
  26. package/esm/plots/line/adaptor.js.map +1 -1
  27. package/esm/plots/line/types.d.ts +5 -2
  28. package/esm/plots/line/types.js.map +1 -1
  29. package/esm/plots/sankey/helper.js +16 -2
  30. package/esm/plots/sankey/helper.js.map +1 -1
  31. package/esm/plots/sankey/types.d.ts +51 -8
  32. package/esm/plots/sankey/types.js.map +1 -1
  33. package/esm/plots/sunburst/adaptor.js +1 -11
  34. package/esm/plots/sunburst/adaptor.js.map +1 -1
  35. package/esm/plots/sunburst/constant.js +1 -0
  36. package/esm/plots/sunburst/constant.js.map +1 -1
  37. package/esm/plots/sunburst/types.d.ts +1 -1
  38. package/esm/plots/sunburst/types.js.map +1 -1
  39. package/esm/plots/venn/types.d.ts +1 -1
  40. package/esm/plots/venn/types.js.map +1 -1
  41. package/esm/utils/data.js +2 -0
  42. package/esm/utils/data.js.map +1 -1
  43. package/lib/adaptor/conversion-tag.js +3 -3
  44. package/lib/adaptor/conversion-tag.js.map +1 -1
  45. package/lib/adaptor/geometries/base.d.ts +2 -0
  46. package/lib/adaptor/geometries/base.js +7 -1
  47. package/lib/adaptor/geometries/base.js.map +1 -1
  48. package/lib/adaptor/geometries/index.d.ts +1 -0
  49. package/lib/adaptor/geometries/index.js.map +1 -1
  50. package/lib/index.d.ts +1 -1
  51. package/lib/index.js +1 -1
  52. package/lib/index.js.map +1 -1
  53. package/lib/plots/area/adaptor.js +2 -2
  54. package/lib/plots/area/adaptor.js.map +1 -1
  55. package/lib/plots/area/types.d.ts +2 -3
  56. package/lib/plots/area/types.js.map +1 -1
  57. package/lib/plots/bar/adaptor.d.ts +7 -2
  58. package/lib/plots/bar/adaptor.js +69 -26
  59. package/lib/plots/bar/adaptor.js.map +1 -1
  60. package/lib/plots/bar/index.js +1 -2
  61. package/lib/plots/bar/index.js.map +1 -1
  62. package/lib/plots/line/adaptor.js +5 -1
  63. package/lib/plots/line/adaptor.js.map +1 -1
  64. package/lib/plots/line/types.d.ts +5 -2
  65. package/lib/plots/line/types.js.map +1 -1
  66. package/lib/plots/sankey/helper.js +16 -2
  67. package/lib/plots/sankey/helper.js.map +1 -1
  68. package/lib/plots/sankey/types.d.ts +51 -8
  69. package/lib/plots/sankey/types.js.map +1 -1
  70. package/lib/plots/sunburst/adaptor.js +1 -11
  71. package/lib/plots/sunburst/adaptor.js.map +1 -1
  72. package/lib/plots/sunburst/constant.js +1 -0
  73. package/lib/plots/sunburst/constant.js.map +1 -1
  74. package/lib/plots/sunburst/types.d.ts +1 -1
  75. package/lib/plots/sunburst/types.js.map +1 -1
  76. package/lib/plots/venn/types.d.ts +1 -1
  77. package/lib/plots/venn/types.js.map +1 -1
  78. package/lib/utils/data.js +2 -0
  79. package/lib/utils/data.js.map +1 -1
  80. package/package.json +8 -7
  81. package/src/adaptor/conversion-tag.ts +3 -3
  82. package/src/adaptor/geometries/base.ts +23 -2
  83. package/src/adaptor/geometries/index.ts +1 -0
  84. package/src/index.ts +1 -1
  85. package/src/plots/area/adaptor.ts +2 -2
  86. package/src/plots/area/types.ts +2 -3
  87. package/src/plots/bar/adaptor.ts +94 -47
  88. package/src/plots/bar/index.ts +1 -2
  89. package/src/plots/line/adaptor.ts +9 -2
  90. package/src/plots/line/types.ts +11 -3
  91. package/src/plots/sankey/helper.ts +26 -9
  92. package/src/plots/sankey/types.ts +52 -8
  93. package/src/plots/sunburst/adaptor.ts +9 -13
  94. package/src/plots/sunburst/constant.ts +1 -0
  95. package/src/plots/sunburst/types.ts +1 -1
  96. package/src/plots/venn/types.ts +1 -1
  97. package/src/utils/data.ts +1 -0
  98. package/esm/plots/bar/utils.d.ts +0 -6
  99. package/esm/plots/bar/utils.js +0 -8
  100. package/esm/plots/bar/utils.js.map +0 -1
  101. package/lib/plots/bar/utils.d.ts +0 -6
  102. package/lib/plots/bar/utils.js +0 -12
  103. package/lib/plots/bar/utils.js.map +0 -1
  104. package/src/plots/bar/utils.ts +0 -9
package/CHANGELOG.md CHANGED
@@ -1,3 +1,63 @@
1
+ #### 2.4.1 (2021-12-14)
2
+
3
+ ##### Bug Fixes
4
+
5
+ * **bar:** 修复条形图 xAxis、yAxis 配置互相影响 ([d9684d1b](https://github.com/antvis/G2plot/commit/d9684d1b348b699420a33263bc3a4494643e6281))
6
+
7
+ #### 2.4.0 (2021-12-09)
8
+
9
+ ##### Documentation Changes
10
+
11
+ * 补充 legend 文档 & 自定义转化漏斗图 demo ([#2998](https://github.com/antvis/G2plot/pull/2998)) ([86a8ec0f](https://github.com/antvis/G2plot/commit/86a8ec0f8a2d590348762837d3af91a5b6a9e355))
12
+ * 周常丰富文档和 demo ([#2976](https://github.com/antvis/G2plot/pull/2976)) ([aad83bc2](https://github.com/antvis/G2plot/commit/aad83bc2d4eece515177cdee0bb930edfe8a02d2))
13
+ * 更新官网公告 ([b5fcf129](https://github.com/antvis/G2plot/commit/b5fcf12956493919d6c86864878f47fa275ab00a))
14
+ * **legend:** 增加图例自定义 marker 的 demo ([#2961](https://github.com/antvis/G2plot/pull/2961)) ([ceb52ab8](https://github.com/antvis/G2plot/commit/ceb52ab88a4bda626f6407e67030f7ff4586dca3))
15
+ * correct doc about `rotate` ([#2959](https://github.com/antvis/G2plot/pull/2959)) ([d3c5e856](https://github.com/antvis/G2plot/commit/d3c5e85691cbc5b948492bf7a541740cdc32dffb))
16
+ * **bar:** 条形图增加 bar 配置文档说明和 demo ([#2974](https://github.com/antvis/G2plot/pull/2974)) ([98d984f2](https://github.com/antvis/G2plot/commit/98d984f20197bfe65f51ba8d9edc4f6b86c72822))
17
+ * **typo:** fix description of package ([#2989](https://github.com/antvis/G2plot/pull/2989)) ([5829e794](https://github.com/antvis/G2plot/commit/5829e79498d5e3cfaed88d7ff6e9afac0f6a063a))
18
+
19
+ ##### New Features
20
+
21
+ * **sunburst:** 旭日图支持图例配置 & 单测 ([#3011](https://github.com/antvis/G2plot/pull/3011)) ([5d650336](https://github.com/antvis/G2plot/commit/5d6503369776f0d3795e32467dc8db2bc5a267a4))
22
+ * **sankey:** nodelink data supported ([#2967](https://github.com/antvis/G2plot/pull/2967)) ([bb9e01cd](https://github.com/antvis/G2plot/commit/bb9e01cd37aa27cef66aa9fcab85f9e534160503))
23
+
24
+ ##### Bug Fixes
25
+
26
+ * **venn:** fix venn color option type compatibility ([#3015](https://github.com/antvis/G2plot/pull/3015)) ([4364df56](https://github.com/antvis/G2plot/commit/4364df569c411c248acad8911f91872d46bced2b))
27
+ * **bar:** 修复条形图图例转置 & 单测 ([#3013](https://github.com/antvis/G2plot/pull/3013)) ([be7caa9a](https://github.com/antvis/G2plot/commit/be7caa9ab6713974b33fcec5996a509dd099cdfa))
28
+ * **docs:** fix document typo ([#2971](https://github.com/antvis/G2plot/pull/2971)) ([5449ce0c](https://github.com/antvis/G2plot/commit/5449ce0c36a07be9892ff106dedce4f25d044757))
29
+
30
+ ##### Refactors
31
+
32
+ * **bar:** 条形图重构,不需要反转数据 调整下坐标系即可. Breaking-changes maybe existed. ([#2914](https://github.com/antvis/G2plot/pull/2914)) ([b1d8f47b](https://github.com/antvis/G2plot/commit/b1d8f47b8152a96d1229276019d4f5c3068dbe33))
33
+
34
+ #### 2.3.40 (2021-11-12)
35
+
36
+ ##### Documentation Changes
37
+
38
+ * 增加图例自定义 marker 的 demo ([#2961](https://github.com/antvis/g2plot/pull/2961)) ([ceb52ab8](https://github.com/antvis/g2plot/commit/ceb52ab88a4bda626f6407e67030f7ff4586dca3))
39
+ * correct doc about `rotate` ([#2959](https://github.com/antvis/g2plot/pull/2959)) ([d3c5e856](https://github.com/antvis/g2plot/commit/d3c5e85691cbc5b948492bf7a541740cdc32dffb))
40
+
41
+ ##### New Features
42
+
43
+ * **sankey:** nodelink data supported ([#2967](https://github.com/antvis/g2plot/pull/2967)) ([bb9e01cd](https://github.com/antvis/g2plot/commit/bb9e01cd37aa27cef66aa9fcab85f9e534160503))
44
+
45
+ ##### Bug Fixes
46
+
47
+ * 修复文档错误 导致网站部署问题 ([ce2a4ea9](https://github.com/antvis/g2plot/commit/ce2a4ea9fc5ae6a6ba1be11f2b7117146b7e8a62))
48
+
49
+
50
+ #### 2.3.39 (2021-10-23)
51
+
52
+ ##### Documentation Changes
53
+
54
+ * 添加如何导出图片的 faq 文档 ([#2936](https://github.com/antvis/g2plot/pull/2936)) ([ab8cbe62](https://github.com/antvis/g2plot/commit/ab8cbe62b9623b7fcc8dea3dd107c2f7f5047ad0))
55
+
56
+ ##### New Features
57
+
58
+ * **line:** 折线图支持区域填充 ([#2939](https://github.com/antvis/g2plot/pull/2939)) ([45cd61d8](https://github.com/antvis/g2plot/commit/45cd61d801d70821605de9890c7dd9e35ac66e5f))
59
+ * **customInfo:** 折线图、面积图支持 customInfo 配置 ([#2937](https://github.com/antvis/g2plot/pull/2937)) ([71b23a4d](https://github.com/antvis/g2plot/commit/71b23a4d9babe0f14bda9dd6ec82209f5fc2e201))
60
+
1
61
  #### 2.3.38 (2021-10-21)
2
62
 
3
63
  ##### 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
  ## 🔗 相关链接