@antv/g2plot 2.3.36 → 2.3.40
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 +67 -0
- package/dist/g2plot.min.js +18 -3
- package/dist/g2plot.min.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/adaptor/pattern.d.ts +1 -1
- package/esm/core/plot.d.ts +1 -1
- package/esm/core/plot.js +2 -2
- package/esm/core/plot.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/interactions/actions/drill-down.d.ts +5 -1
- package/esm/interactions/actions/drill-down.js +12 -4
- package/esm/interactions/actions/drill-down.js.map +1 -1
- package/esm/interactions/drill-down.js +23 -0
- package/esm/interactions/drill-down.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/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/box/adaptor.js +17 -2
- package/esm/plots/box/adaptor.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/funnel/adaptor.js +3 -3
- package/esm/plots/funnel/adaptor.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/{lib/plots/pie/interactions/pie-statistic-action.d.ts → esm/plots/pie/interactions/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/types.d.ts +3 -1
- package/esm/plots/sunburst/types.js.map +1 -1
- package/esm/plots/sunburst/utils.js +6 -1
- package/esm/plots/sunburst/utils.js.map +1 -1
- package/esm/plots/venn/adaptor.d.ts +1 -1
- package/esm/plots/venn/adaptor.js +53 -14
- package/esm/plots/venn/adaptor.js.map +1 -1
- package/esm/plots/venn/constant.js +22 -6
- package/esm/plots/venn/constant.js.map +1 -1
- package/esm/plots/venn/interactions/actions/active.d.ts +14 -0
- package/esm/plots/venn/interactions/actions/active.js +34 -0
- package/esm/plots/venn/interactions/actions/active.js.map +1 -0
- package/esm/plots/venn/interactions/actions/highlight.d.ts +16 -0
- package/esm/plots/venn/interactions/actions/highlight.js +39 -0
- package/esm/plots/venn/interactions/actions/highlight.js.map +1 -0
- package/esm/plots/venn/interactions/actions/selected.d.ts +33 -0
- package/esm/plots/venn/interactions/actions/selected.js +70 -0
- package/esm/plots/venn/interactions/actions/selected.js.map +1 -0
- package/esm/plots/venn/{interaction → interactions}/index.d.ts +0 -0
- package/esm/plots/venn/interactions/index.js +48 -0
- package/esm/plots/venn/interactions/index.js.map +1 -0
- package/esm/plots/venn/interactions/util.d.ts +3 -0
- package/esm/plots/venn/interactions/util.js +11 -0
- package/esm/plots/venn/interactions/util.js.map +1 -0
- package/esm/plots/venn/types.d.ts +2 -2
- package/esm/plots/venn/types.js.map +1 -1
- package/esm/plots/venn/utils.d.ts +3 -4
- package/esm/plots/venn/utils.js +2 -3
- package/esm/plots/venn/utils.js.map +1 -1
- package/esm/types/attr.d.ts +1 -1
- package/esm/types/attr.js.map +1 -1
- package/esm/types/common.d.ts +2 -0
- package/esm/types/common.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/adaptor/pattern.d.ts +1 -1
- package/lib/core/plot.d.ts +1 -1
- package/lib/core/plot.js +2 -2
- package/lib/core/plot.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/interactions/actions/drill-down.d.ts +5 -1
- package/lib/interactions/actions/drill-down.js +11 -3
- package/lib/interactions/actions/drill-down.js.map +1 -1
- package/lib/interactions/drill-down.js +23 -0
- package/lib/interactions/drill-down.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/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/box/adaptor.js +17 -2
- package/lib/plots/box/adaptor.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/funnel/adaptor.js +2 -2
- package/lib/plots/funnel/adaptor.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/{esm/plots/pie/interactions/pie-statistic-action.d.ts → lib/plots/pie/interactions/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/types.d.ts +3 -1
- package/lib/plots/sunburst/types.js.map +1 -1
- package/lib/plots/sunburst/utils.js +6 -1
- package/lib/plots/sunburst/utils.js.map +1 -1
- package/lib/plots/venn/adaptor.d.ts +1 -1
- package/lib/plots/venn/adaptor.js +52 -13
- package/lib/plots/venn/adaptor.js.map +1 -1
- package/lib/plots/venn/constant.js +22 -6
- package/lib/plots/venn/constant.js.map +1 -1
- package/lib/plots/venn/interactions/actions/active.d.ts +14 -0
- package/lib/plots/venn/interactions/actions/active.js +37 -0
- package/lib/plots/venn/interactions/actions/active.js.map +1 -0
- package/lib/plots/venn/interactions/actions/highlight.d.ts +16 -0
- package/lib/plots/venn/interactions/actions/highlight.js +42 -0
- package/lib/plots/venn/interactions/actions/highlight.js.map +1 -0
- package/lib/plots/venn/interactions/actions/selected.d.ts +33 -0
- package/lib/plots/venn/interactions/actions/selected.js +73 -0
- package/lib/plots/venn/interactions/actions/selected.js.map +1 -0
- package/lib/plots/venn/{interaction → interactions}/index.d.ts +0 -0
- package/lib/plots/venn/interactions/index.js +50 -0
- package/lib/plots/venn/interactions/index.js.map +1 -0
- package/lib/plots/venn/interactions/util.d.ts +3 -0
- package/lib/plots/venn/interactions/util.js +15 -0
- package/lib/plots/venn/interactions/util.js.map +1 -0
- package/lib/plots/venn/types.d.ts +2 -2
- package/lib/plots/venn/types.js.map +1 -1
- package/lib/plots/venn/utils.d.ts +3 -4
- package/lib/plots/venn/utils.js +2 -3
- package/lib/plots/venn/utils.js.map +1 -1
- package/lib/types/attr.d.ts +1 -1
- package/lib/types/attr.js.map +1 -1
- package/lib/types/common.d.ts +2 -0
- package/lib/types/common.js.map +1 -1
- package/package.json +5 -5
- package/src/adaptor/geometries/base.ts +23 -2
- package/src/adaptor/geometries/index.ts +1 -0
- package/src/core/plot.ts +3 -1
- package/src/index.ts +1 -1
- package/src/interactions/actions/drill-down.ts +13 -4
- package/src/interactions/drill-down.ts +24 -1
- package/src/plots/area/adaptor.ts +5 -2
- package/src/plots/area/types.ts +2 -3
- package/src/plots/bidirectional-bar/adaptor.ts +35 -7
- package/src/plots/bidirectional-bar/index.ts +3 -0
- package/src/plots/box/adaptor.ts +14 -2
- package/src/plots/column/adaptor.ts +2 -0
- package/src/plots/column/types.ts +5 -0
- package/src/plots/funnel/adaptor.ts +3 -3
- 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/types.ts +3 -1
- package/src/plots/sunburst/utils.ts +6 -1
- package/src/plots/venn/adaptor.ts +63 -13
- package/src/plots/venn/constant.ts +22 -6
- package/src/plots/venn/interactions/actions/active.ts +31 -0
- package/src/plots/venn/interactions/actions/highlight.ts +37 -0
- package/src/plots/venn/interactions/actions/selected.ts +65 -0
- package/src/plots/venn/interactions/index.ts +55 -0
- package/src/plots/venn/interactions/util.ts +12 -0
- package/src/plots/venn/types.ts +2 -2
- package/src/plots/venn/utils.ts +10 -4
- package/src/types/attr.ts +1 -1
- package/src/types/common.ts +2 -0
- 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/esm/plots/venn/interaction/action.d.ts +0 -18
- package/esm/plots/venn/interaction/action.js +0 -77
- package/esm/plots/venn/interaction/action.js.map +0 -1
- package/esm/plots/venn/interaction/index.js +0 -15
- package/esm/plots/venn/interaction/index.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/lib/plots/venn/interaction/action.d.ts +0 -18
- package/lib/plots/venn/interaction/action.js +0 -80
- package/lib/plots/venn/interaction/action.js.map +0 -1
- package/lib/plots/venn/interaction/index.js +0 -17
- package/lib/plots/venn/interaction/index.js.map +0 -1
- package/src/plots/venn/interaction/action.ts +0 -67
- package/src/plots/venn/interaction/index.ts +0 -17
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,70 @@
|
|
|
1
|
+
#### 2.3.40 (2021-11-12)
|
|
2
|
+
|
|
3
|
+
##### Documentation Changes
|
|
4
|
+
|
|
5
|
+
* 增加图例自定义 marker 的 demo ([#2961](https://github.com/antvis/g2plot/pull/2961)) ([ceb52ab8](https://github.com/antvis/g2plot/commit/ceb52ab88a4bda626f6407e67030f7ff4586dca3))
|
|
6
|
+
* correct doc about `rotate` ([#2959](https://github.com/antvis/g2plot/pull/2959)) ([d3c5e856](https://github.com/antvis/g2plot/commit/d3c5e85691cbc5b948492bf7a541740cdc32dffb))
|
|
7
|
+
|
|
8
|
+
##### New Features
|
|
9
|
+
|
|
10
|
+
* **sankey:** nodelink data supported ([#2967](https://github.com/antvis/g2plot/pull/2967)) ([bb9e01cd](https://github.com/antvis/g2plot/commit/bb9e01cd37aa27cef66aa9fcab85f9e534160503))
|
|
11
|
+
|
|
12
|
+
##### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* 修复文档错误 导致网站部署问题 ([ce2a4ea9](https://github.com/antvis/g2plot/commit/ce2a4ea9fc5ae6a6ba1be11f2b7117146b7e8a62))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
#### 2.3.39 (2021-10-23)
|
|
18
|
+
|
|
19
|
+
##### Documentation Changes
|
|
20
|
+
|
|
21
|
+
* 添加如何导出图片的 faq 文档 ([#2936](https://github.com/antvis/g2plot/pull/2936)) ([ab8cbe62](https://github.com/antvis/g2plot/commit/ab8cbe62b9623b7fcc8dea3dd107c2f7f5047ad0))
|
|
22
|
+
|
|
23
|
+
##### New Features
|
|
24
|
+
|
|
25
|
+
* **line:** 折线图支持区域填充 ([#2939](https://github.com/antvis/g2plot/pull/2939)) ([45cd61d8](https://github.com/antvis/g2plot/commit/45cd61d801d70821605de9890c7dd9e35ac66e5f))
|
|
26
|
+
* **customInfo:** 折线图、面积图支持 customInfo 配置 ([#2937](https://github.com/antvis/g2plot/pull/2937)) ([71b23a4d](https://github.com/antvis/g2plot/commit/71b23a4d9babe0f14bda9dd6ec82209f5fc2e201))
|
|
27
|
+
|
|
28
|
+
#### 2.3.38 (2021-10-21)
|
|
29
|
+
|
|
30
|
+
##### Documentation Changes
|
|
31
|
+
|
|
32
|
+
* 添加 supportCSSTransform 参数的使用文档 ([#2922](https://github.com/antvis/g2plot/pull/2922)) ([d5ce6666](https://github.com/antvis/g2plot/commit/d5ce666637208b68de80d90ece695bc5b8b7ad99))
|
|
33
|
+
|
|
34
|
+
##### New Features
|
|
35
|
+
|
|
36
|
+
* **column:** 柱状图支持 shape 配置 ([#2934](https://github.com/antvis/g2plot/pull/2934)) ([5a22da67](https://github.com/antvis/g2plot/commit/5a22da67bc68176de4a643684c92c0df02127ace))
|
|
37
|
+
* **heatmpap:** 热力图支持 sizeLegend ([#2924](https://github.com/antvis/g2plot/pull/2924)) ([3c1fe830](https://github.com/antvis/g2plot/commit/3c1fe83076bf6c21e974c0b50d8c70caa9593802))
|
|
38
|
+
* **line:** 折线图支持坐标系镜像反转 ([#2925](https://github.com/antvis/g2plot/pull/2925)) ([4d4b22b6](https://github.com/antvis/g2plot/commit/4d4b22b66fb652ab721b6c87a795715a74766eed))
|
|
39
|
+
|
|
40
|
+
##### Bug Fixes
|
|
41
|
+
|
|
42
|
+
* **pie:** 修复饼图中心文本交互问题 ([#2923](https://github.com/antvis/g2plot/pull/2923)) ([c65f6ab6](https://github.com/antvis/g2plot/commit/c65f6ab6720590c31aa744405fab516e20268dbc))
|
|
43
|
+
* 修复个性化标签饼图 demo 预览图不显示的问题 ([#2932](https://github.com/antvis/g2plot/pull/2932)) ([bf846715](https://github.com/antvis/g2plot/commit/bf846715ef28274823c747595605db40cf7c5fc6))
|
|
44
|
+
* **bidirection-bar:** 修复对称条形图 label 位置设置和默认配置 ([#2921](https://github.com/antvis/g2plot/pull/2921)) ([7f0ecba7](https://github.com/antvis/g2plot/commit/7f0ecba7da1ab2b27d2eb6ba6489d43efad4bb61))
|
|
45
|
+
* **area:** 修复面积图中折线没有传入 seriesField ([#2926](https://github.com/antvis/g2plot/pull/2926)) ([f0967409](https://github.com/antvis/g2plot/commit/f0967409942e079a4951477baa1434c1392ff95c))
|
|
46
|
+
|
|
47
|
+
#### 2.3.37 (2021-10-16)
|
|
48
|
+
|
|
49
|
+
##### Documentation Changes
|
|
50
|
+
|
|
51
|
+
* demo 增加说明 ([ee5bc822](https://github.com/antvis/g2plot/commit/ee5bc8225b5032e633d7bdc774b8c23d45efc615))
|
|
52
|
+
* **heatmap:** 通过 iframe 嵌入语雀图表指引文档 ([6a00f9b8](https://github.com/antvis/g2plot/commit/6a00f9b87477b14a1c5d3206bfbab54b0a9b1004))
|
|
53
|
+
|
|
54
|
+
##### New Features
|
|
55
|
+
|
|
56
|
+
* **venn:**
|
|
57
|
+
* 韦恩图交互增强(修复图例激活元素交互 & 增强 active、highlight、selected 交互) ([#2911](https://github.com/antvis/g2plot/pull/2911)) ([ed5b71e2](https://github.com/antvis/g2plot/commit/ed5b71e22492b94d1157a6cb7c3f92e130ee1e45))
|
|
58
|
+
* 韦恩图颜色回调重构 ([#2909](https://github.com/antvis/g2plot/pull/2909)) ([c3694961](https://github.com/antvis/g2plot/commit/c36949619512467024d7458f5d07b01e026615e6))
|
|
59
|
+
* **sunburst:**
|
|
60
|
+
* 丰富旭日图交互, 点击中心可以上卷 ([#2903](https://github.com/antvis/g2plot/pull/2903)) ([a8758fac](https://github.com/antvis/g2plot/commit/a8758fac13fa4fdb44e93297e7fedbd46f8d7d97))
|
|
61
|
+
* 旭日图增加 activeDepth 配置,允许配置默认展示的层级深度 ([#2902](https://github.com/antvis/g2plot/pull/2902)) ([b3920c9d](https://github.com/antvis/g2plot/commit/b3920c9d9cf83e9b37059f733bd344658c33e8c7))
|
|
62
|
+
|
|
63
|
+
##### Bug Fixes
|
|
64
|
+
|
|
65
|
+
* **box:** 修复箱形图异常点 view 的 label 只能展示一个 ([#2913](https://github.com/antvis/g2plot/pull/2913)) ([994c75d3](https://github.com/antvis/g2plot/commit/994c75d3ad585c582451ec6fd7b9319c4ff233e0))
|
|
66
|
+
* **funnel:** 漏斗图 do not mutable data ([#2900](https://github.com/antvis/g2plot/pull/2900)) ([d92443e1](https://github.com/antvis/g2plot/commit/d92443e1d370b06f8ba86001aee1e51676dac5ca))
|
|
67
|
+
|
|
1
68
|
#### 2.3.36 (2021-10-08)
|
|
2
69
|
|
|
3
70
|
##### Documentation Changes
|