@antv/g2plot 2.4.30 → 3.0.0-alpha.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.
- package/LICENSE +4 -4
- package/README.en-US.md +0 -170
- package/README.md +8 -178
- package/dist/g2plot.min.js +10 -17
- package/esm/components/index.d.ts +1 -0
- package/esm/components/index.js +2 -0
- package/esm/components/index.js.map +1 -0
- package/esm/components/mark.d.ts +5 -0
- package/esm/components/mark.js +7 -0
- package/esm/components/mark.js.map +1 -0
- package/esm/core/plot.d.ts +23 -43
- package/esm/core/plot.js +77 -192
- package/esm/core/plot.js.map +1 -1
- package/esm/index.d.ts +4 -103
- package/esm/index.js +3 -102
- package/esm/index.js.map +1 -1
- package/esm/plots/column/adaptor.d.ts +7 -15
- package/esm/plots/column/adaptor.js +14 -218
- package/esm/plots/column/adaptor.js.map +1 -1
- package/esm/plots/column/index.d.ts +9 -16
- package/esm/plots/column/index.js +16 -36
- package/esm/plots/column/index.js.map +1 -1
- package/esm/plots/column/type.d.ts +2 -0
- package/esm/plots/column/type.js +2 -0
- package/esm/plots/column/type.js.map +1 -0
- package/esm/plots/line/adaptor.d.ts +5 -24
- package/esm/plots/line/adaptor.js +9 -157
- package/esm/plots/line/adaptor.js.map +1 -1
- package/esm/plots/line/index.d.ts +7 -13
- package/esm/plots/line/index.js +14 -31
- package/esm/plots/line/index.js.map +1 -1
- package/esm/plots/line/type.d.ts +2 -0
- package/esm/plots/line/type.js +2 -0
- package/esm/plots/line/type.js.map +1 -0
- package/esm/types/common.d.ts +6 -235
- package/esm/types/common.js.map +1 -1
- package/esm/types/index.d.ts +1 -14
- package/esm/types/index.js +0 -10
- package/esm/types/index.js.map +1 -1
- package/esm/utils/index.d.ts +2 -16
- package/esm/utils/index.js +2 -16
- package/esm/utils/index.js.map +1 -1
- package/esm/utils/is-composite-plot.d.ts +5 -0
- package/esm/utils/is-composite-plot.js +5 -0
- package/esm/utils/is-composite-plot.js.map +1 -0
- package/lib/components/index.d.ts +1 -0
- package/lib/components/index.js +6 -0
- package/lib/components/index.js.map +1 -0
- package/lib/components/mark.d.ts +5 -0
- package/lib/components/mark.js +11 -0
- package/lib/components/mark.js.map +1 -0
- package/lib/core/plot.d.ts +23 -43
- package/lib/core/plot.js +84 -195
- package/lib/core/plot.js.map +1 -1
- package/lib/index.d.ts +4 -103
- package/lib/index.js +31 -154
- package/lib/index.js.map +1 -1
- package/lib/plots/column/adaptor.d.ts +7 -15
- package/lib/plots/column/adaptor.js +15 -221
- package/lib/plots/column/adaptor.js.map +1 -1
- package/lib/plots/column/index.d.ts +9 -16
- package/lib/plots/column/index.js +17 -36
- package/lib/plots/column/index.js.map +1 -1
- package/lib/plots/column/type.d.ts +2 -0
- package/lib/{types/attr.js → plots/column/type.js} +1 -1
- package/lib/plots/column/type.js.map +1 -0
- package/lib/plots/line/adaptor.d.ts +5 -24
- package/lib/plots/line/adaptor.js +10 -162
- package/lib/plots/line/adaptor.js.map +1 -1
- package/lib/plots/line/index.d.ts +7 -13
- package/lib/plots/line/index.js +15 -31
- package/lib/plots/line/index.js.map +1 -1
- package/lib/plots/line/type.d.ts +2 -0
- package/lib/{types/axis.js → plots/line/type.js} +1 -1
- package/lib/plots/line/type.js.map +1 -0
- package/lib/types/common.d.ts +6 -235
- package/lib/types/common.js.map +1 -1
- package/lib/types/index.d.ts +1 -14
- package/lib/types/index.js +15 -12
- package/lib/types/index.js.map +1 -1
- package/lib/utils/index.d.ts +2 -16
- package/lib/utils/index.js +10 -38
- package/lib/utils/index.js.map +1 -1
- package/lib/utils/is-composite-plot.d.ts +5 -0
- package/lib/utils/is-composite-plot.js +9 -0
- package/lib/utils/is-composite-plot.js.map +1 -0
- package/package.json +83 -103
- package/src/components/index.ts +1 -0
- package/src/components/mark.ts +8 -0
- package/src/core/plot.ts +58 -193
- package/src/index.ts +5 -147
- package/src/module.d.ts +1 -0
- package/src/plots/column/adaptor.ts +15 -309
- package/src/plots/column/index.ts +11 -27
- package/src/plots/column/type.ts +3 -0
- package/src/plots/line/adaptor.ts +14 -219
- package/src/plots/line/index.ts +9 -22
- package/src/plots/line/type.ts +3 -0
- package/src/types/common.ts +6 -249
- package/src/types/index.ts +2 -13
- package/src/utils/index.ts +2 -16
- package/src/utils/is-composite-plot.ts +6 -0
- package/dist/g2plot.min.js.map +0 -1
- package/esm/adaptor/brush.d.ts +0 -12
- package/esm/adaptor/brush.js +0 -48
- package/esm/adaptor/brush.js.map +0 -1
- package/esm/adaptor/common.d.ts +0 -72
- package/esm/adaptor/common.js +0 -187
- package/esm/adaptor/common.js.map +0 -1
- package/esm/adaptor/connected-area.d.ts +0 -17
- package/esm/adaptor/connected-area.js +0 -76
- package/esm/adaptor/connected-area.js.map +0 -1
- package/esm/adaptor/conversion-tag.d.ts +0 -38
- package/esm/adaptor/conversion-tag.js +0 -178
- package/esm/adaptor/conversion-tag.js.map +0 -1
- package/esm/adaptor/geometries/area.d.ts +0 -19
- package/esm/adaptor/geometries/area.js +0 -29
- package/esm/adaptor/geometries/area.js.map +0 -1
- package/esm/adaptor/geometries/base.d.ts +0 -77
- package/esm/adaptor/geometries/base.js +0 -195
- package/esm/adaptor/geometries/base.js.map +0 -1
- package/esm/adaptor/geometries/edge.d.ts +0 -17
- package/esm/adaptor/geometries/edge.js +0 -25
- package/esm/adaptor/geometries/edge.js.map +0 -1
- package/esm/adaptor/geometries/index.d.ts +0 -17
- package/esm/adaptor/geometries/index.js +0 -9
- package/esm/adaptor/geometries/index.js.map +0 -1
- package/esm/adaptor/geometries/interval.d.ts +0 -36
- package/esm/adaptor/geometries/interval.js +0 -73
- package/esm/adaptor/geometries/interval.js.map +0 -1
- package/esm/adaptor/geometries/line.d.ts +0 -23
- package/esm/adaptor/geometries/line.js +0 -29
- package/esm/adaptor/geometries/line.js.map +0 -1
- package/esm/adaptor/geometries/point.d.ts +0 -21
- package/esm/adaptor/geometries/point.js +0 -26
- package/esm/adaptor/geometries/point.js.map +0 -1
- package/esm/adaptor/geometries/polygon.d.ts +0 -17
- package/esm/adaptor/geometries/polygon.js +0 -25
- package/esm/adaptor/geometries/polygon.js.map +0 -1
- package/esm/adaptor/geometries/schema.d.ts +0 -17
- package/esm/adaptor/geometries/schema.js +0 -25
- package/esm/adaptor/geometries/schema.js.map +0 -1
- package/esm/adaptor/geometries/violin.d.ts +0 -19
- package/esm/adaptor/geometries/violin.js +0 -24
- package/esm/adaptor/geometries/violin.js.map +0 -1
- package/esm/adaptor/pattern.d.ts +0 -15
- package/esm/adaptor/pattern.js +0 -54
- package/esm/adaptor/pattern.js.map +0 -1
- package/esm/constant.d.ts +0 -4
- package/esm/constant.js +0 -26
- package/esm/constant.js.map +0 -1
- package/esm/core/adaptor.d.ts +0 -15
- package/esm/core/adaptor.js +0 -2
- package/esm/core/adaptor.js.map +0 -1
- package/esm/core/global.d.ts +0 -13
- package/esm/core/global.js +0 -17
- package/esm/core/global.js.map +0 -1
- package/esm/core/locale.d.ts +0 -15
- package/esm/core/locale.js +0 -25
- package/esm/core/locale.js.map +0 -1
- package/esm/interactions/actions/drill-down.d.ts +0 -99
- package/esm/interactions/actions/drill-down.js +0 -252
- package/esm/interactions/actions/drill-down.js.map +0 -1
- package/esm/interactions/actions/reset-button.d.ts +0 -42
- package/esm/interactions/actions/reset-button.js +0 -144
- package/esm/interactions/actions/reset-button.js.map +0 -1
- package/esm/interactions/brush.d.ts +0 -91
- package/esm/interactions/brush.js +0 -305
- package/esm/interactions/brush.js.map +0 -1
- package/esm/interactions/drag-move.d.ts +0 -1
- package/esm/interactions/drag-move.js +0 -13
- package/esm/interactions/drag-move.js.map +0 -1
- package/esm/interactions/drill-down.d.ts +0 -4
- package/esm/interactions/drill-down.js +0 -52
- package/esm/interactions/drill-down.js.map +0 -1
- package/esm/lab.d.ts +0 -18
- package/esm/lab.js +0 -39
- package/esm/lab.js.map +0 -1
- package/esm/locales/en_US.d.ts +0 -2
- package/esm/locales/en_US.js +0 -27
- package/esm/locales/en_US.js.map +0 -1
- package/esm/locales/zh_CN.d.ts +0 -2
- package/esm/locales/zh_CN.js +0 -27
- package/esm/locales/zh_CN.js.map +0 -1
- package/esm/plots/_template/adaptor.d.ts +0 -13
- package/esm/plots/_template/adaptor.js +0 -38
- package/esm/plots/_template/adaptor.js.map +0 -1
- package/esm/plots/_template/constant.d.ts +0 -0
- package/esm/plots/_template/constant.js +0 -1
- package/esm/plots/_template/constant.js.map +0 -1
- package/esm/plots/_template/index.d.ts +0 -15
- package/esm/plots/_template/index.js +0 -24
- package/esm/plots/_template/index.js.map +0 -1
- package/esm/plots/_template/types.d.ts +0 -8
- package/esm/plots/_template/types.js +0 -2
- package/esm/plots/_template/types.js.map +0 -1
- package/esm/plots/area/adaptor.d.ts +0 -10
- package/esm/plots/area/adaptor.js +0 -115
- package/esm/plots/area/adaptor.js.map +0 -1
- package/esm/plots/area/constants.d.ts +0 -4
- package/esm/plots/area/constants.js +0 -23
- package/esm/plots/area/constants.js.map +0 -1
- package/esm/plots/area/index.d.ts +0 -26
- package/esm/plots/area/index.js +0 -47
- package/esm/plots/area/index.js.map +0 -1
- package/esm/plots/area/types.d.ts +0 -60
- package/esm/plots/area/types.js +0 -2
- package/esm/plots/area/types.js.map +0 -1
- package/esm/plots/bar/adaptor.d.ts +0 -13
- package/esm/plots/bar/adaptor.js +0 -101
- package/esm/plots/bar/adaptor.js.map +0 -1
- package/esm/plots/bar/constants.d.ts +0 -4
- package/esm/plots/bar/constants.js +0 -19
- package/esm/plots/bar/constants.js.map +0 -1
- package/esm/plots/bar/index.d.ts +0 -28
- package/esm/plots/bar/index.js +0 -54
- package/esm/plots/bar/index.js.map +0 -1
- package/esm/plots/bar/types.d.ts +0 -24
- package/esm/plots/bar/types.js +0 -2
- package/esm/plots/bar/types.js.map +0 -1
- package/esm/plots/bidirectional-bar/adaptor.d.ts +0 -28
- package/esm/plots/bidirectional-bar/adaptor.js +0 -311
- package/esm/plots/bidirectional-bar/adaptor.js.map +0 -1
- package/esm/plots/bidirectional-bar/constant.d.ts +0 -4
- package/esm/plots/bidirectional-bar/constant.js +0 -5
- package/esm/plots/bidirectional-bar/constant.js.map +0 -1
- package/esm/plots/bidirectional-bar/index.d.ts +0 -24
- package/esm/plots/bidirectional-bar/index.js +0 -60
- package/esm/plots/bidirectional-bar/index.js.map +0 -1
- package/esm/plots/bidirectional-bar/types.d.ts +0 -33
- package/esm/plots/bidirectional-bar/types.js +0 -2
- package/esm/plots/bidirectional-bar/types.js.map +0 -1
- package/esm/plots/bidirectional-bar/utils.d.ts +0 -22
- package/esm/plots/bidirectional-bar/utils.js +0 -78
- package/esm/plots/bidirectional-bar/utils.js.map +0 -1
- package/esm/plots/box/adaptor.d.ts +0 -12
- package/esm/plots/box/adaptor.js +0 -150
- package/esm/plots/box/adaptor.js.map +0 -1
- package/esm/plots/box/constant.d.ts +0 -8
- package/esm/plots/box/constant.js +0 -26
- package/esm/plots/box/constant.js.map +0 -1
- package/esm/plots/box/index.d.ts +0 -26
- package/esm/plots/box/index.js +0 -49
- package/esm/plots/box/index.js.map +0 -1
- package/esm/plots/box/types.d.ts +0 -29
- package/esm/plots/box/types.js +0 -2
- package/esm/plots/box/types.js.map +0 -1
- package/esm/plots/box/utils.d.ts +0 -7
- package/esm/plots/box/utils.js +0 -20
- package/esm/plots/box/utils.js.map +0 -1
- package/esm/plots/bullet/adaptor.d.ts +0 -13
- package/esm/plots/bullet/adaptor.js +0 -174
- package/esm/plots/bullet/adaptor.js.map +0 -1
- package/esm/plots/bullet/constant.d.ts +0 -4
- package/esm/plots/bullet/constant.js +0 -32
- package/esm/plots/bullet/constant.js.map +0 -1
- package/esm/plots/bullet/index.d.ts +0 -22
- package/esm/plots/bullet/index.js +0 -43
- package/esm/plots/bullet/index.js.map +0 -1
- package/esm/plots/bullet/types.d.ts +0 -56
- package/esm/plots/bullet/types.js +0 -2
- package/esm/plots/bullet/types.js.map +0 -1
- package/esm/plots/bullet/utils.d.ts +0 -12
- package/esm/plots/bullet/utils.js +0 -69
- package/esm/plots/bullet/utils.js.map +0 -1
- package/esm/plots/chord/adaptor.d.ts +0 -8
- package/esm/plots/chord/adaptor.js +0 -148
- package/esm/plots/chord/adaptor.js.map +0 -1
- package/esm/plots/chord/constant.d.ts +0 -43
- package/esm/plots/chord/constant.js +0 -56
- package/esm/plots/chord/constant.js.map +0 -1
- package/esm/plots/chord/index.d.ts +0 -21
- package/esm/plots/chord/index.js +0 -35
- package/esm/plots/chord/index.js.map +0 -1
- package/esm/plots/chord/types.d.ts +0 -48
- package/esm/plots/chord/types.js +0 -2
- package/esm/plots/chord/types.js.map +0 -1
- package/esm/plots/circle-packing/adaptor.d.ts +0 -13
- package/esm/plots/circle-packing/adaptor.js +0 -171
- package/esm/plots/circle-packing/adaptor.js.map +0 -1
- package/esm/plots/circle-packing/constant.d.ts +0 -4
- package/esm/plots/circle-packing/constant.js +0 -30
- package/esm/plots/circle-packing/constant.js.map +0 -1
- package/esm/plots/circle-packing/index.d.ts +0 -27
- package/esm/plots/circle-packing/index.js +0 -50
- package/esm/plots/circle-packing/index.js.map +0 -1
- package/esm/plots/circle-packing/interactions/index.d.ts +0 -2
- package/esm/plots/circle-packing/interactions/index.js +0 -3
- package/esm/plots/circle-packing/interactions/index.js.map +0 -1
- package/esm/plots/circle-packing/types.d.ts +0 -38
- package/esm/plots/circle-packing/types.js +0 -2
- package/esm/plots/circle-packing/types.js.map +0 -1
- package/esm/plots/circle-packing/utils.d.ts +0 -25
- package/esm/plots/circle-packing/utils.js +0 -56
- package/esm/plots/circle-packing/utils.js.map +0 -1
- package/esm/plots/column/constants.d.ts +0 -4
- package/esm/plots/column/constants.js +0 -19
- package/esm/plots/column/constants.js.map +0 -1
- package/esm/plots/column/types.d.ts +0 -90
- package/esm/plots/column/types.js +0 -2
- package/esm/plots/column/types.js.map +0 -1
- package/esm/plots/dual-axes/adaptor.d.ts +0 -63
- package/esm/plots/dual-axes/adaptor.js +0 -424
- package/esm/plots/dual-axes/adaptor.js.map +0 -1
- package/esm/plots/dual-axes/constant.d.ts +0 -26
- package/esm/plots/dual-axes/constant.js +0 -13
- package/esm/plots/dual-axes/constant.js.map +0 -1
- package/esm/plots/dual-axes/index.d.ts +0 -16
- package/esm/plots/dual-axes/index.js +0 -31
- package/esm/plots/dual-axes/index.js.map +0 -1
- package/esm/plots/dual-axes/types.d.ts +0 -79
- package/esm/plots/dual-axes/types.js +0 -11
- package/esm/plots/dual-axes/types.js.map +0 -1
- package/esm/plots/dual-axes/util/geometry.d.ts +0 -11
- package/esm/plots/dual-axes/util/geometry.js +0 -55
- package/esm/plots/dual-axes/util/geometry.js.map +0 -1
- package/esm/plots/dual-axes/util/legend.d.ts +0 -13
- package/esm/plots/dual-axes/util/legend.js +0 -66
- package/esm/plots/dual-axes/util/legend.js.map +0 -1
- package/esm/plots/dual-axes/util/option.d.ts +0 -29
- package/esm/plots/dual-axes/util/option.js +0 -70
- package/esm/plots/dual-axes/util/option.js.map +0 -1
- package/esm/plots/dual-axes/util/render-sider.d.ts +0 -9
- package/esm/plots/dual-axes/util/render-sider.js +0 -31
- package/esm/plots/dual-axes/util/render-sider.js.map +0 -1
- package/esm/plots/facet/adaptor.d.ts +0 -8
- package/esm/plots/facet/adaptor.js +0 -107
- package/esm/plots/facet/adaptor.js.map +0 -1
- package/esm/plots/facet/constant.d.ts +0 -23
- package/esm/plots/facet/constant.js +0 -24
- package/esm/plots/facet/constant.js.map +0 -1
- package/esm/plots/facet/index.d.ts +0 -21
- package/esm/plots/facet/index.js +0 -35
- package/esm/plots/facet/index.js.map +0 -1
- package/esm/plots/facet/types.d.ts +0 -148
- package/esm/plots/facet/types.js +0 -2
- package/esm/plots/facet/types.js.map +0 -1
- package/esm/plots/facet/utils.d.ts +0 -8
- package/esm/plots/facet/utils.js +0 -75
- package/esm/plots/facet/utils.js.map +0 -1
- package/esm/plots/funnel/adaptor.d.ts +0 -18
- package/esm/plots/funnel/adaptor.js +0 -157
- package/esm/plots/funnel/adaptor.js.map +0 -1
- package/esm/plots/funnel/constant.d.ts +0 -40
- package/esm/plots/funnel/constant.js +0 -48
- package/esm/plots/funnel/constant.js.map +0 -1
- package/esm/plots/funnel/geometries/basic.d.ts +0 -13
- package/esm/plots/funnel/geometries/basic.js +0 -93
- package/esm/plots/funnel/geometries/basic.js.map +0 -1
- package/esm/plots/funnel/geometries/common.d.ts +0 -15
- package/esm/plots/funnel/geometries/common.js +0 -59
- package/esm/plots/funnel/geometries/common.js.map +0 -1
- package/esm/plots/funnel/geometries/compare.d.ts +0 -9
- package/esm/plots/funnel/geometries/compare.js +0 -140
- package/esm/plots/funnel/geometries/compare.js.map +0 -1
- package/esm/plots/funnel/geometries/dynamic-height.d.ts +0 -8
- package/esm/plots/funnel/geometries/dynamic-height.js +0 -124
- package/esm/plots/funnel/geometries/dynamic-height.js.map +0 -1
- package/esm/plots/funnel/geometries/facet.d.ts +0 -8
- package/esm/plots/funnel/geometries/facet.js +0 -50
- package/esm/plots/funnel/geometries/facet.js.map +0 -1
- package/esm/plots/funnel/index.d.ts +0 -38
- package/esm/plots/funnel/index.js +0 -73
- package/esm/plots/funnel/index.js.map +0 -1
- package/esm/plots/funnel/interactions/funnel-conversion-tag.d.ts +0 -9
- package/esm/plots/funnel/interactions/funnel-conversion-tag.js +0 -57
- package/esm/plots/funnel/interactions/funnel-conversion-tag.js.map +0 -1
- package/esm/plots/funnel/interactions/index.d.ts +0 -5
- package/esm/plots/funnel/interactions/index.js +0 -10
- package/esm/plots/funnel/interactions/index.js.map +0 -1
- package/esm/plots/funnel/types.d.ts +0 -70
- package/esm/plots/funnel/types.js +0 -2
- package/esm/plots/funnel/types.js.map +0 -1
- package/esm/plots/gauge/adaptor.d.ts +0 -17
- package/esm/plots/gauge/adaptor.js +0 -182
- package/esm/plots/gauge/adaptor.js.map +0 -1
- package/esm/plots/gauge/constants.d.ts +0 -67
- package/esm/plots/gauge/constants.js +0 -70
- package/esm/plots/gauge/constants.js.map +0 -1
- package/esm/plots/gauge/index.d.ts +0 -32
- package/esm/plots/gauge/index.js +0 -63
- package/esm/plots/gauge/index.js.map +0 -1
- package/esm/plots/gauge/shapes/indicator.d.ts +0 -1
- package/esm/plots/gauge/shapes/indicator.js +0 -30
- package/esm/plots/gauge/shapes/indicator.js.map +0 -1
- package/esm/plots/gauge/shapes/meter-gauge.d.ts +0 -1
- package/esm/plots/gauge/shapes/meter-gauge.js +0 -52
- package/esm/plots/gauge/shapes/meter-gauge.js.map +0 -1
- package/esm/plots/gauge/types.d.ts +0 -130
- package/esm/plots/gauge/types.js +0 -2
- package/esm/plots/gauge/types.js.map +0 -1
- package/esm/plots/gauge/utils.d.ts +0 -20
- package/esm/plots/gauge/utils.js +0 -38
- package/esm/plots/gauge/utils.js.map +0 -1
- package/esm/plots/heatmap/adaptor.d.ts +0 -8
- package/esm/plots/heatmap/adaptor.js +0 -163
- package/esm/plots/heatmap/adaptor.js.map +0 -1
- package/esm/plots/heatmap/constant.d.ts +0 -4
- package/esm/plots/heatmap/constant.js +0 -39
- package/esm/plots/heatmap/constant.js.map +0 -1
- package/esm/plots/heatmap/index.d.ts +0 -23
- package/esm/plots/heatmap/index.js +0 -38
- package/esm/plots/heatmap/index.js.map +0 -1
- package/esm/plots/heatmap/shapes/circle.d.ts +0 -1
- package/esm/plots/heatmap/shapes/circle.js +0 -23
- package/esm/plots/heatmap/shapes/circle.js.map +0 -1
- package/esm/plots/heatmap/shapes/square.d.ts +0 -1
- package/esm/plots/heatmap/shapes/square.js +0 -23
- package/esm/plots/heatmap/shapes/square.js.map +0 -1
- package/esm/plots/heatmap/types.d.ts +0 -63
- package/esm/plots/heatmap/types.js +0 -2
- package/esm/plots/heatmap/types.js.map +0 -1
- package/esm/plots/histogram/adaptor.d.ts +0 -8
- package/esm/plots/histogram/adaptor.js +0 -105
- package/esm/plots/histogram/adaptor.js.map +0 -1
- package/esm/plots/histogram/constant.d.ts +0 -8
- package/esm/plots/histogram/constant.js +0 -20
- package/esm/plots/histogram/constant.js.map +0 -1
- package/esm/plots/histogram/index.d.ts +0 -22
- package/esm/plots/histogram/index.js +0 -41
- package/esm/plots/histogram/index.js.map +0 -1
- package/esm/plots/histogram/types.d.ts +0 -27
- package/esm/plots/histogram/types.js +0 -2
- package/esm/plots/histogram/types.js.map +0 -1
- package/esm/plots/line/constants.d.ts +0 -4
- package/esm/plots/line/constants.js +0 -21
- package/esm/plots/line/constants.js.map +0 -1
- package/esm/plots/line/interactions/index.d.ts +0 -1
- package/esm/plots/line/interactions/index.js +0 -18
- package/esm/plots/line/interactions/index.js.map +0 -1
- package/esm/plots/line/interactions/marker-active.d.ts +0 -6
- package/esm/plots/line/interactions/marker-active.js +0 -39
- package/esm/plots/line/interactions/marker-active.js.map +0 -1
- package/esm/plots/line/types.d.ts +0 -58
- package/esm/plots/line/types.js +0 -2
- package/esm/plots/line/types.js.map +0 -1
- package/esm/plots/liquid/adaptor.d.ts +0 -13
- package/esm/plots/liquid/adaptor.js +0 -88
- package/esm/plots/liquid/adaptor.js.map +0 -1
- package/esm/plots/liquid/constants.d.ts +0 -26
- package/esm/plots/liquid/constants.js +0 -27
- package/esm/plots/liquid/constants.js.map +0 -1
- package/esm/plots/liquid/index.d.ts +0 -31
- package/esm/plots/liquid/index.js +0 -54
- package/esm/plots/liquid/index.js.map +0 -1
- package/esm/plots/liquid/shapes/liquid.d.ts +0 -16
- package/esm/plots/liquid/shapes/liquid.js +0 -368
- package/esm/plots/liquid/shapes/liquid.js.map +0 -1
- package/esm/plots/liquid/types.d.ts +0 -93
- package/esm/plots/liquid/types.js +0 -2
- package/esm/plots/liquid/types.js.map +0 -1
- package/esm/plots/liquid/utils.d.ts +0 -7
- package/esm/plots/liquid/utils.js +0 -8
- package/esm/plots/liquid/utils.js.map +0 -1
- package/esm/plots/mix/adaptor.d.ts +0 -13
- package/esm/plots/mix/adaptor.js +0 -142
- package/esm/plots/mix/adaptor.js.map +0 -1
- package/esm/plots/mix/index.d.ts +0 -24
- package/esm/plots/mix/index.js +0 -33
- package/esm/plots/mix/index.js.map +0 -1
- package/esm/plots/mix/interactions/association.d.ts +0 -1
- package/esm/plots/mix/interactions/association.js +0 -169
- package/esm/plots/mix/interactions/association.js.map +0 -1
- package/esm/plots/mix/interactions/index.d.ts +0 -4
- package/esm/plots/mix/interactions/index.js +0 -5
- package/esm/plots/mix/interactions/index.js.map +0 -1
- package/esm/plots/mix/interactions/utils.d.ts +0 -14
- package/esm/plots/mix/interactions/utils.js +0 -40
- package/esm/plots/mix/interactions/utils.js.map +0 -1
- package/esm/plots/mix/types.d.ts +0 -125
- package/esm/plots/mix/types.js +0 -2
- package/esm/plots/mix/types.js.map +0 -1
- package/esm/plots/mix/utils.d.ts +0 -82
- package/esm/plots/mix/utils.js +0 -98
- package/esm/plots/mix/utils.js.map +0 -1
- package/esm/plots/pie/adaptor.d.ts +0 -24
- package/esm/plots/pie/adaptor.js +0 -288
- package/esm/plots/pie/adaptor.js.map +0 -1
- package/esm/plots/pie/contants.d.ts +0 -4
- package/esm/plots/pie/contants.js +0 -50
- package/esm/plots/pie/contants.js.map +0 -1
- package/esm/plots/pie/index.d.ts +0 -27
- package/esm/plots/pie/index.js +0 -62
- package/esm/plots/pie/index.js.map +0 -1
- package/esm/plots/pie/interactions/actions/legend-active.d.ts +0 -20
- package/esm/plots/pie/interactions/actions/legend-active.js +0 -68
- package/esm/plots/pie/interactions/actions/legend-active.js.map +0 -1
- package/esm/plots/pie/interactions/actions/statistic-active.d.ts +0 -13
- package/esm/plots/pie/interactions/actions/statistic-active.js +0 -79
- package/esm/plots/pie/interactions/actions/statistic-active.js.map +0 -1
- package/esm/plots/pie/interactions/index.d.ts +0 -1
- package/esm/plots/pie/interactions/index.js +0 -15
- package/esm/plots/pie/interactions/index.js.map +0 -1
- package/esm/plots/pie/interactions/util.d.ts +0 -7
- package/esm/plots/pie/interactions/util.js +0 -15
- package/esm/plots/pie/interactions/util.js.map +0 -1
- package/esm/plots/pie/types.d.ts +0 -51
- package/esm/plots/pie/types.js +0 -2
- package/esm/plots/pie/types.js.map +0 -1
- package/esm/plots/pie/utils.d.ts +0 -18
- package/esm/plots/pie/utils.js +0 -47
- package/esm/plots/pie/utils.js.map +0 -1
- package/esm/plots/progress/adaptor.d.ts +0 -13
- package/esm/plots/progress/adaptor.js +0 -56
- package/esm/plots/progress/adaptor.js.map +0 -1
- package/esm/plots/progress/constants.d.ts +0 -9
- package/esm/plots/progress/constants.js +0 -10
- package/esm/plots/progress/constants.js.map +0 -1
- package/esm/plots/progress/index.d.ts +0 -23
- package/esm/plots/progress/index.js +0 -41
- package/esm/plots/progress/index.js.map +0 -1
- package/esm/plots/progress/types.d.ts +0 -21
- package/esm/plots/progress/types.js +0 -2
- package/esm/plots/progress/types.js.map +0 -1
- package/esm/plots/progress/utils.d.ts +0 -8
- package/esm/plots/progress/utils.js +0 -22
- package/esm/plots/progress/utils.js.map +0 -1
- package/esm/plots/radar/adaptor.d.ts +0 -8
- package/esm/plots/radar/adaptor.js +0 -110
- package/esm/plots/radar/adaptor.js.map +0 -1
- package/esm/plots/radar/index.d.ts +0 -22
- package/esm/plots/radar/index.js +0 -73
- package/esm/plots/radar/index.js.map +0 -1
- package/esm/plots/radar/interactions/index.d.ts +0 -1
- package/esm/plots/radar/interactions/index.js +0 -8
- package/esm/plots/radar/interactions/index.js.map +0 -1
- package/esm/plots/radar/interactions/radar-tooltip-action.d.ts +0 -15
- package/esm/plots/radar/interactions/radar-tooltip-action.js +0 -74
- package/esm/plots/radar/interactions/radar-tooltip-action.js.map +0 -1
- package/esm/plots/radar/types.d.ts +0 -55
- package/esm/plots/radar/types.js +0 -2
- package/esm/plots/radar/types.js.map +0 -1
- package/esm/plots/radial-bar/adaptor.d.ts +0 -18
- package/esm/plots/radial-bar/adaptor.js +0 -118
- package/esm/plots/radial-bar/adaptor.js.map +0 -1
- package/esm/plots/radial-bar/constant.d.ts +0 -4
- package/esm/plots/radial-bar/constant.js +0 -19
- package/esm/plots/radial-bar/constant.js.map +0 -1
- package/esm/plots/radial-bar/index.d.ts +0 -25
- package/esm/plots/radial-bar/index.js +0 -44
- package/esm/plots/radial-bar/index.js.map +0 -1
- package/esm/plots/radial-bar/types.d.ts +0 -63
- package/esm/plots/radial-bar/types.js +0 -2
- package/esm/plots/radial-bar/types.js.map +0 -1
- package/esm/plots/radial-bar/utils.d.ts +0 -6
- package/esm/plots/radial-bar/utils.js +0 -27
- package/esm/plots/radial-bar/utils.js.map +0 -1
- package/esm/plots/ring-progress/adaptor.d.ts +0 -13
- package/esm/plots/ring-progress/adaptor.js +0 -53
- package/esm/plots/ring-progress/adaptor.js.map +0 -1
- package/esm/plots/ring-progress/constants.d.ts +0 -22
- package/esm/plots/ring-progress/constants.js +0 -23
- package/esm/plots/ring-progress/constants.js.map +0 -1
- package/esm/plots/ring-progress/index.d.ts +0 -23
- package/esm/plots/ring-progress/index.js +0 -46
- package/esm/plots/ring-progress/index.js.map +0 -1
- package/esm/plots/ring-progress/types.d.ts +0 -28
- package/esm/plots/ring-progress/types.js +0 -2
- package/esm/plots/ring-progress/types.js.map +0 -1
- package/esm/plots/rose/adaptor.d.ts +0 -13
- package/esm/plots/rose/adaptor.js +0 -139
- package/esm/plots/rose/adaptor.js.map +0 -1
- package/esm/plots/rose/constant.d.ts +0 -4
- package/esm/plots/rose/constant.js +0 -28
- package/esm/plots/rose/constant.js.map +0 -1
- package/esm/plots/rose/index.d.ts +0 -26
- package/esm/plots/rose/index.js +0 -43
- package/esm/plots/rose/index.js.map +0 -1
- package/esm/plots/rose/types.d.ts +0 -55
- package/esm/plots/rose/types.js +0 -2
- package/esm/plots/rose/types.js.map +0 -1
- package/esm/plots/sankey/adaptor.d.ts +0 -18
- package/esm/plots/sankey/adaptor.js +0 -156
- package/esm/plots/sankey/adaptor.js.map +0 -1
- package/esm/plots/sankey/circle.d.ts +0 -16
- package/esm/plots/sankey/circle.js +0 -93
- package/esm/plots/sankey/circle.js.map +0 -1
- package/esm/plots/sankey/constant.d.ts +0 -5
- package/esm/plots/sankey/constant.js +0 -6
- package/esm/plots/sankey/constant.js.map +0 -1
- package/esm/plots/sankey/helper.d.ts +0 -20
- package/esm/plots/sankey/helper.js +0 -53
- package/esm/plots/sankey/helper.js.map +0 -1
- package/esm/plots/sankey/index.d.ts +0 -27
- package/esm/plots/sankey/index.js +0 -118
- package/esm/plots/sankey/index.js.map +0 -1
- package/esm/plots/sankey/interactions/actions/node-drag.d.ts +0 -46
- package/esm/plots/sankey/interactions/actions/node-drag.js +0 -137
- package/esm/plots/sankey/interactions/actions/node-drag.js.map +0 -1
- package/esm/plots/sankey/interactions/index.d.ts +0 -1
- package/esm/plots/sankey/interactions/index.js +0 -2
- package/esm/plots/sankey/interactions/index.js.map +0 -1
- package/esm/plots/sankey/interactions/node-draggable.d.ts +0 -1
- package/esm/plots/sankey/interactions/node-draggable.js +0 -16
- package/esm/plots/sankey/interactions/node-draggable.js.map +0 -1
- package/esm/plots/sankey/layout.d.ts +0 -86
- package/esm/plots/sankey/layout.js +0 -87
- package/esm/plots/sankey/layout.js.map +0 -1
- package/esm/plots/sankey/sankey/align.d.ts +0 -4
- package/esm/plots/sankey/sankey/align.js +0 -17
- package/esm/plots/sankey/sankey/align.js.map +0 -1
- package/esm/plots/sankey/sankey/helper.d.ts +0 -14
- package/esm/plots/sankey/sankey/helper.js +0 -37
- package/esm/plots/sankey/sankey/helper.js.map +0 -1
- package/esm/plots/sankey/sankey/index.d.ts +0 -11
- package/esm/plots/sankey/sankey/index.js +0 -12
- package/esm/plots/sankey/sankey/index.js.map +0 -1
- package/esm/plots/sankey/sankey/sankey.d.ts +0 -24
- package/esm/plots/sankey/sankey/sankey.js +0 -401
- package/esm/plots/sankey/sankey/sankey.js.map +0 -1
- package/esm/plots/sankey/types.d.ts +0 -143
- package/esm/plots/sankey/types.js +0 -2
- package/esm/plots/sankey/types.js.map +0 -1
- package/esm/plots/scatter/adaptor.d.ts +0 -25
- package/esm/plots/scatter/adaptor.js +0 -269
- package/esm/plots/scatter/adaptor.js.map +0 -1
- package/esm/plots/scatter/constant.d.ts +0 -4
- package/esm/plots/scatter/constant.js +0 -17
- package/esm/plots/scatter/constant.js.map +0 -1
- package/esm/plots/scatter/index.d.ts +0 -25
- package/esm/plots/scatter/index.js +0 -58
- package/esm/plots/scatter/index.js.map +0 -1
- package/esm/plots/scatter/interactions/index.d.ts +0 -1
- package/esm/plots/scatter/interactions/index.js +0 -2
- package/esm/plots/scatter/interactions/index.js.map +0 -1
- package/esm/plots/scatter/types.d.ts +0 -125
- package/esm/plots/scatter/types.js +0 -2
- package/esm/plots/scatter/types.js.map +0 -1
- package/esm/plots/scatter/util.d.ts +0 -36
- package/esm/plots/scatter/util.js +0 -231
- package/esm/plots/scatter/util.js.map +0 -1
- package/esm/plots/stock/adaptor.d.ts +0 -28
- package/esm/plots/stock/adaptor.js +0 -120
- package/esm/plots/stock/adaptor.js.map +0 -1
- package/esm/plots/stock/constant.d.ts +0 -31
- package/esm/plots/stock/constant.js +0 -54
- package/esm/plots/stock/constant.js.map +0 -1
- package/esm/plots/stock/index.d.ts +0 -27
- package/esm/plots/stock/index.js +0 -46
- package/esm/plots/stock/index.js.map +0 -1
- package/esm/plots/stock/types.d.ts +0 -28
- package/esm/plots/stock/types.js +0 -2
- package/esm/plots/stock/types.js.map +0 -1
- package/esm/plots/stock/utils.d.ts +0 -8
- package/esm/plots/stock/utils.js +0 -20
- package/esm/plots/stock/utils.js.map +0 -1
- package/esm/plots/sunburst/adaptor.d.ts +0 -23
- package/esm/plots/sunburst/adaptor.js +0 -176
- package/esm/plots/sunburst/adaptor.js.map +0 -1
- package/esm/plots/sunburst/constant.d.ts +0 -13
- package/esm/plots/sunburst/constant.js +0 -47
- package/esm/plots/sunburst/constant.js.map +0 -1
- package/esm/plots/sunburst/index.d.ts +0 -28
- package/esm/plots/sunburst/index.js +0 -43
- package/esm/plots/sunburst/index.js.map +0 -1
- package/esm/plots/sunburst/interactions/index.d.ts +0 -2
- package/esm/plots/sunburst/interactions/index.js +0 -3
- package/esm/plots/sunburst/interactions/index.js.map +0 -1
- package/esm/plots/sunburst/types.d.ts +0 -66
- package/esm/plots/sunburst/types.js +0 -2
- package/esm/plots/sunburst/types.js.map +0 -1
- package/esm/plots/sunburst/utils.d.ts +0 -6
- package/esm/plots/sunburst/utils.js +0 -56
- package/esm/plots/sunburst/utils.js.map +0 -1
- package/esm/plots/tiny-area/adaptor.d.ts +0 -13
- package/esm/plots/tiny-area/adaptor.js +0 -63
- package/esm/plots/tiny-area/adaptor.js.map +0 -1
- package/esm/plots/tiny-area/constants.d.ts +0 -33
- package/esm/plots/tiny-area/constants.js +0 -20
- package/esm/plots/tiny-area/constants.js.map +0 -1
- package/esm/plots/tiny-area/index.d.ts +0 -23
- package/esm/plots/tiny-area/index.js +0 -43
- package/esm/plots/tiny-area/index.js.map +0 -1
- package/esm/plots/tiny-area/types.d.ts +0 -27
- package/esm/plots/tiny-area/types.js +0 -2
- package/esm/plots/tiny-area/types.js.map +0 -1
- package/esm/plots/tiny-column/adaptor.d.ts +0 -10
- package/esm/plots/tiny-column/adaptor.js +0 -42
- package/esm/plots/tiny-column/adaptor.js.map +0 -1
- package/esm/plots/tiny-column/constants.d.ts +0 -35
- package/esm/plots/tiny-column/constants.js +0 -25
- package/esm/plots/tiny-column/constants.js.map +0 -1
- package/esm/plots/tiny-column/index.d.ts +0 -23
- package/esm/plots/tiny-column/index.js +0 -43
- package/esm/plots/tiny-column/index.js.map +0 -1
- package/esm/plots/tiny-column/types.d.ts +0 -17
- package/esm/plots/tiny-column/types.js +0 -2
- package/esm/plots/tiny-column/types.js.map +0 -1
- package/esm/plots/tiny-line/adaptor.d.ts +0 -10
- package/esm/plots/tiny-line/adaptor.js +0 -45
- package/esm/plots/tiny-line/adaptor.js.map +0 -1
- package/esm/plots/tiny-line/constants.d.ts +0 -45
- package/esm/plots/tiny-line/constants.js +0 -31
- package/esm/plots/tiny-line/constants.js.map +0 -1
- package/esm/plots/tiny-line/index.d.ts +0 -23
- package/esm/plots/tiny-line/index.js +0 -43
- package/esm/plots/tiny-line/index.js.map +0 -1
- package/esm/plots/tiny-line/types.d.ts +0 -28
- package/esm/plots/tiny-line/types.js +0 -2
- package/esm/plots/tiny-line/types.js.map +0 -1
- package/esm/plots/tiny-line/utils.d.ts +0 -4
- package/esm/plots/tiny-line/utils.js +0 -5
- package/esm/plots/tiny-line/utils.js.map +0 -1
- package/esm/plots/treemap/adaptor.d.ts +0 -13
- package/esm/plots/treemap/adaptor.js +0 -128
- package/esm/plots/treemap/adaptor.js.map +0 -1
- package/esm/plots/treemap/constant.d.ts +0 -36
- package/esm/plots/treemap/constant.js +0 -39
- package/esm/plots/treemap/constant.js.map +0 -1
- package/esm/plots/treemap/index.d.ts +0 -23
- package/esm/plots/treemap/index.js +0 -49
- package/esm/plots/treemap/index.js.map +0 -1
- package/esm/plots/treemap/interactions/index.d.ts +0 -4
- package/esm/plots/treemap/interactions/index.js +0 -5
- package/esm/plots/treemap/interactions/index.js.map +0 -1
- package/esm/plots/treemap/types.d.ts +0 -30
- package/esm/plots/treemap/types.js +0 -2
- package/esm/plots/treemap/types.js.map +0 -1
- package/esm/plots/treemap/utils.d.ts +0 -21
- package/esm/plots/treemap/utils.js +0 -72
- package/esm/plots/treemap/utils.js.map +0 -1
- package/esm/plots/venn/adaptor.d.ts +0 -23
- package/esm/plots/venn/adaptor.js +0 -215
- package/esm/plots/venn/adaptor.js.map +0 -1
- package/esm/plots/venn/constant.d.ts +0 -7
- package/esm/plots/venn/constant.js +0 -49
- package/esm/plots/venn/constant.js.map +0 -1
- package/esm/plots/venn/index.d.ts +0 -24
- package/esm/plots/venn/index.js +0 -47
- package/esm/plots/venn/index.js.map +0 -1
- package/esm/plots/venn/interactions/actions/active.d.ts +0 -14
- package/esm/plots/venn/interactions/actions/active.js +0 -34
- package/esm/plots/venn/interactions/actions/active.js.map +0 -1
- package/esm/plots/venn/interactions/actions/highlight.d.ts +0 -16
- package/esm/plots/venn/interactions/actions/highlight.js +0 -39
- package/esm/plots/venn/interactions/actions/highlight.js.map +0 -1
- package/esm/plots/venn/interactions/actions/selected.d.ts +0 -33
- package/esm/plots/venn/interactions/actions/selected.js +0 -70
- package/esm/plots/venn/interactions/actions/selected.js.map +0 -1
- package/esm/plots/venn/interactions/index.d.ts +0 -1
- package/esm/plots/venn/interactions/index.js +0 -48
- package/esm/plots/venn/interactions/index.js.map +0 -1
- package/esm/plots/venn/interactions/util.d.ts +0 -3
- package/esm/plots/venn/interactions/util.js +0 -11
- package/esm/plots/venn/interactions/util.js.map +0 -1
- package/esm/plots/venn/label.d.ts +0 -1
- package/esm/plots/venn/label.js +0 -31
- package/esm/plots/venn/label.js.map +0 -1
- package/esm/plots/venn/layout/circleintersection.d.ts +0 -29
- package/esm/plots/venn/layout/circleintersection.js +0 -186
- package/esm/plots/venn/layout/circleintersection.js.map +0 -1
- package/esm/plots/venn/layout/diagram.d.ts +0 -17
- package/esm/plots/venn/layout/diagram.js +0 -193
- package/esm/plots/venn/layout/diagram.js.map +0 -1
- package/esm/plots/venn/layout/layout.d.ts +0 -27
- package/esm/plots/venn/layout/layout.js +0 -594
- package/esm/plots/venn/layout/layout.js.map +0 -1
- package/esm/plots/venn/shape.d.ts +0 -1
- package/esm/plots/venn/shape.js +0 -42
- package/esm/plots/venn/shape.js.map +0 -1
- package/esm/plots/venn/types.d.ts +0 -41
- package/esm/plots/venn/types.js +0 -2
- package/esm/plots/venn/types.js.map +0 -1
- package/esm/plots/venn/utils.d.ts +0 -27
- package/esm/plots/venn/utils.js +0 -92
- package/esm/plots/venn/utils.js.map +0 -1
- package/esm/plots/violin/adaptor.d.ts +0 -12
- package/esm/plots/violin/adaptor.js +0 -228
- package/esm/plots/violin/adaptor.js.map +0 -1
- package/esm/plots/violin/constant.d.ts +0 -11
- package/esm/plots/violin/constant.js +0 -58
- package/esm/plots/violin/constant.js.map +0 -1
- package/esm/plots/violin/index.d.ts +0 -25
- package/esm/plots/violin/index.js +0 -43
- package/esm/plots/violin/index.js.map +0 -1
- package/esm/plots/violin/types.d.ts +0 -72
- package/esm/plots/violin/types.js +0 -2
- package/esm/plots/violin/types.js.map +0 -1
- package/esm/plots/violin/utils.d.ts +0 -43
- package/esm/plots/violin/utils.js +0 -55
- package/esm/plots/violin/utils.js.map +0 -1
- package/esm/plots/waterfall/adaptor.d.ts +0 -13
- package/esm/plots/waterfall/adaptor.js +0 -192
- package/esm/plots/waterfall/adaptor.js.map +0 -1
- package/esm/plots/waterfall/constant.d.ts +0 -42
- package/esm/plots/waterfall/constant.js +0 -41
- package/esm/plots/waterfall/constant.js.map +0 -1
- package/esm/plots/waterfall/index.d.ts +0 -29
- package/esm/plots/waterfall/index.js +0 -48
- package/esm/plots/waterfall/index.js.map +0 -1
- package/esm/plots/waterfall/shape.d.ts +0 -1
- package/esm/plots/waterfall/shape.js +0 -58
- package/esm/plots/waterfall/shape.js.map +0 -1
- package/esm/plots/waterfall/types.d.ts +0 -70
- package/esm/plots/waterfall/types.js +0 -2
- package/esm/plots/waterfall/types.js.map +0 -1
- package/esm/plots/waterfall/utils.d.ts +0 -17
- package/esm/plots/waterfall/utils.js +0 -47
- package/esm/plots/waterfall/utils.js.map +0 -1
- package/esm/plots/word-cloud/adaptor.d.ts +0 -13
- package/esm/plots/word-cloud/adaptor.js +0 -69
- package/esm/plots/word-cloud/adaptor.js.map +0 -1
- package/esm/plots/word-cloud/constant.d.ts +0 -6
- package/esm/plots/word-cloud/constant.js +0 -30
- package/esm/plots/word-cloud/constant.js.map +0 -1
- package/esm/plots/word-cloud/index.d.ts +0 -35
- package/esm/plots/word-cloud/index.js +0 -91
- package/esm/plots/word-cloud/index.js.map +0 -1
- package/esm/plots/word-cloud/shapes/word-cloud.d.ts +0 -1
- package/esm/plots/word-cloud/shapes/word-cloud.js +0 -28
- package/esm/plots/word-cloud/shapes/word-cloud.js.map +0 -1
- package/esm/plots/word-cloud/types.d.ts +0 -149
- package/esm/plots/word-cloud/types.js +0 -2
- package/esm/plots/word-cloud/types.js.map +0 -1
- package/esm/plots/word-cloud/utils.d.ts +0 -34
- package/esm/plots/word-cloud/utils.js +0 -218
- package/esm/plots/word-cloud/utils.js.map +0 -1
- package/esm/plugin/index.d.ts +0 -48
- package/esm/plugin/index.js +0 -58
- package/esm/plugin/index.js.map +0 -1
- package/esm/types/animation.d.ts +0 -2
- package/esm/types/animation.js +0 -2
- package/esm/types/animation.js.map +0 -1
- package/esm/types/annotation.d.ts +0 -6
- package/esm/types/annotation.js +0 -2
- package/esm/types/annotation.js.map +0 -1
- package/esm/types/attr.d.ts +0 -20
- package/esm/types/attr.js +0 -2
- package/esm/types/attr.js.map +0 -1
- package/esm/types/axis.d.ts +0 -3
- package/esm/types/axis.js +0 -2
- package/esm/types/axis.js.map +0 -1
- package/esm/types/button.d.ts +0 -33
- package/esm/types/button.js +0 -2
- package/esm/types/button.js.map +0 -1
- package/esm/types/coordinate.d.ts +0 -13
- package/esm/types/coordinate.js +0 -2
- package/esm/types/coordinate.js.map +0 -1
- package/esm/types/drill-down.d.ts +0 -39
- package/esm/types/drill-down.js +0 -2
- package/esm/types/drill-down.js.map +0 -1
- package/esm/types/interaction.d.ts +0 -49
- package/esm/types/interaction.js +0 -2
- package/esm/types/interaction.js.map +0 -1
- package/esm/types/label.d.ts +0 -17
- package/esm/types/label.js +0 -2
- package/esm/types/label.js.map +0 -1
- package/esm/types/legend.d.ts +0 -2
- package/esm/types/legend.js +0 -2
- package/esm/types/legend.js.map +0 -1
- package/esm/types/locale.d.ts +0 -24
- package/esm/types/locale.js +0 -2
- package/esm/types/locale.js.map +0 -1
- package/esm/types/meta.d.ts +0 -14
- package/esm/types/meta.js +0 -2
- package/esm/types/meta.js.map +0 -1
- package/esm/types/pattern.d.ts +0 -87
- package/esm/types/pattern.js +0 -2
- package/esm/types/pattern.js.map +0 -1
- package/esm/types/relation-data.d.ts +0 -16
- package/esm/types/relation-data.js +0 -2
- package/esm/types/relation-data.js.map +0 -1
- package/esm/types/scrollbar.d.ts +0 -2
- package/esm/types/scrollbar.js +0 -2
- package/esm/types/scrollbar.js.map +0 -1
- package/esm/types/slider.d.ts +0 -2
- package/esm/types/slider.js +0 -2
- package/esm/types/slider.js.map +0 -1
- package/esm/types/state.d.ts +0 -22
- package/esm/types/state.js +0 -2
- package/esm/types/state.js.map +0 -1
- package/esm/types/statistic.d.ts +0 -64
- package/esm/types/statistic.js +0 -2
- package/esm/types/statistic.js.map +0 -1
- package/esm/types/tooltip.d.ts +0 -15
- package/esm/types/tooltip.js +0 -2
- package/esm/types/tooltip.js.map +0 -1
- package/esm/utils/color/blend.d.ts +0 -20
- package/esm/utils/color/blend.js +0 -92
- package/esm/utils/color/blend.js.map +0 -1
- package/esm/utils/context.d.ts +0 -4
- package/esm/utils/context.js +0 -11
- package/esm/utils/context.js.map +0 -1
- package/esm/utils/conversion.d.ts +0 -6
- package/esm/utils/conversion.js +0 -23
- package/esm/utils/conversion.js.map +0 -1
- package/esm/utils/data.d.ts +0 -23
- package/esm/utils/data.js +0 -89
- package/esm/utils/data.js.map +0 -1
- package/esm/utils/deep-assign.d.ts +0 -6
- package/esm/utils/deep-assign.js +0 -86
- package/esm/utils/deep-assign.js.map +0 -1
- package/esm/utils/dom.d.ts +0 -7
- package/esm/utils/dom.js +0 -20
- package/esm/utils/dom.js.map +0 -1
- package/esm/utils/flow.d.ts +0 -7
- package/esm/utils/flow.js +0 -16
- package/esm/utils/flow.js.map +0 -1
- package/esm/utils/geometry.d.ts +0 -19
- package/esm/utils/geometry.js +0 -40
- package/esm/utils/geometry.js.map +0 -1
- package/esm/utils/hierarchy/pack.d.ts +0 -6
- package/esm/utils/hierarchy/pack.js +0 -40
- package/esm/utils/hierarchy/pack.js.map +0 -1
- package/esm/utils/hierarchy/partition.d.ts +0 -11
- package/esm/utils/hierarchy/partition.js +0 -71
- package/esm/utils/hierarchy/partition.js.map +0 -1
- package/esm/utils/hierarchy/treemap.d.ts +0 -3
- package/esm/utils/hierarchy/treemap.js +0 -86
- package/esm/utils/hierarchy/treemap.js.map +0 -1
- package/esm/utils/hierarchy/types.d.ts +0 -20
- package/esm/utils/hierarchy/types.js +0 -2
- package/esm/utils/hierarchy/types.js.map +0 -1
- package/esm/utils/hierarchy/util.d.ts +0 -14
- package/esm/utils/hierarchy/util.js +0 -64
- package/esm/utils/hierarchy/util.js.map +0 -1
- package/esm/utils/invariant.d.ts +0 -23
- package/esm/utils/invariant.js +0 -59
- package/esm/utils/invariant.js.map +0 -1
- package/esm/utils/kebab-case.d.ts +0 -6
- package/esm/utils/kebab-case.js +0 -13
- package/esm/utils/kebab-case.js.map +0 -1
- package/esm/utils/label.d.ts +0 -5
- package/esm/utils/label.js +0 -17
- package/esm/utils/label.js.map +0 -1
- package/esm/utils/matrix.d.ts +0 -6
- package/esm/utils/matrix.js +0 -13
- package/esm/utils/matrix.js.map +0 -1
- package/esm/utils/measure-text.d.ts +0 -9
- package/esm/utils/measure-text.js +0 -21
- package/esm/utils/measure-text.js.map +0 -1
- package/esm/utils/number.d.ts +0 -14
- package/esm/utils/number.js +0 -21
- package/esm/utils/number.js.map +0 -1
- package/esm/utils/padding.d.ts +0 -15
- package/esm/utils/padding.js +0 -66
- package/esm/utils/padding.js.map +0 -1
- package/esm/utils/path.d.ts +0 -17
- package/esm/utils/path.js +0 -141
- package/esm/utils/path.js.map +0 -1
- package/esm/utils/pattern/dot.d.ts +0 -32
- package/esm/utils/pattern/dot.js +0 -69
- package/esm/utils/pattern/dot.js.map +0 -1
- package/esm/utils/pattern/index.d.ts +0 -17
- package/esm/utils/pattern/index.js +0 -27
- package/esm/utils/pattern/index.js.map +0 -1
- package/esm/utils/pattern/line.d.ts +0 -25
- package/esm/utils/pattern/line.js +0 -56
- package/esm/utils/pattern/line.js.map +0 -1
- package/esm/utils/pattern/square.d.ts +0 -28
- package/esm/utils/pattern/square.js +0 -61
- package/esm/utils/pattern/square.js.map +0 -1
- package/esm/utils/pattern/util.d.ts +0 -50
- package/esm/utils/pattern/util.js +0 -90
- package/esm/utils/pattern/util.js.map +0 -1
- package/esm/utils/pick.d.ts +0 -6
- package/esm/utils/pick.js +0 -18
- package/esm/utils/pick.js.map +0 -1
- package/esm/utils/statistic.d.ts +0 -36
- package/esm/utils/statistic.js +0 -158
- package/esm/utils/statistic.js.map +0 -1
- package/esm/utils/template.d.ts +0 -7
- package/esm/utils/template.js +0 -16
- package/esm/utils/template.js.map +0 -1
- package/esm/utils/tooltip.d.ts +0 -7
- package/esm/utils/tooltip.js +0 -23
- package/esm/utils/tooltip.js.map +0 -1
- package/esm/utils/transform/chord.d.ts +0 -34
- package/esm/utils/transform/chord.js +0 -182
- package/esm/utils/transform/chord.js.map +0 -1
- package/esm/utils/transform/histogram.d.ts +0 -15
- package/esm/utils/transform/histogram.js +0 -78
- package/esm/utils/transform/histogram.js.map +0 -1
- package/esm/utils/transform/percent.d.ts +0 -26
- package/esm/utils/transform/percent.js +0 -64
- package/esm/utils/transform/percent.js.map +0 -1
- package/esm/utils/transform/quantile.d.ts +0 -62
- package/esm/utils/transform/quantile.js +0 -194
- package/esm/utils/transform/quantile.js.map +0 -1
- package/esm/utils/transform/sankey.d.ts +0 -0
- package/esm/utils/transform/sankey.js +0 -1
- package/esm/utils/transform/sankey.js.map +0 -1
- package/esm/utils/transform/word-cloud.d.ts +0 -30
- package/esm/utils/transform/word-cloud.js +0 -419
- package/esm/utils/transform/word-cloud.js.map +0 -1
- package/esm/utils/view.d.ts +0 -28
- package/esm/utils/view.js +0 -55
- package/esm/utils/view.js.map +0 -1
- package/lib/adaptor/brush.d.ts +0 -12
- package/lib/adaptor/brush.js +0 -52
- package/lib/adaptor/brush.js.map +0 -1
- package/lib/adaptor/common.d.ts +0 -72
- package/lib/adaptor/common.js +0 -203
- package/lib/adaptor/common.js.map +0 -1
- package/lib/adaptor/connected-area.d.ts +0 -17
- package/lib/adaptor/connected-area.js +0 -80
- package/lib/adaptor/connected-area.js.map +0 -1
- package/lib/adaptor/conversion-tag.d.ts +0 -38
- package/lib/adaptor/conversion-tag.js +0 -182
- package/lib/adaptor/conversion-tag.js.map +0 -1
- package/lib/adaptor/geometries/area.d.ts +0 -19
- package/lib/adaptor/geometries/area.js +0 -33
- package/lib/adaptor/geometries/area.js.map +0 -1
- package/lib/adaptor/geometries/base.d.ts +0 -77
- package/lib/adaptor/geometries/base.js +0 -201
- package/lib/adaptor/geometries/base.js.map +0 -1
- package/lib/adaptor/geometries/edge.d.ts +0 -17
- package/lib/adaptor/geometries/edge.js +0 -29
- package/lib/adaptor/geometries/edge.js.map +0 -1
- package/lib/adaptor/geometries/index.d.ts +0 -17
- package/lib/adaptor/geometries/index.js +0 -20
- package/lib/adaptor/geometries/index.js.map +0 -1
- package/lib/adaptor/geometries/interval.d.ts +0 -36
- package/lib/adaptor/geometries/interval.js +0 -77
- package/lib/adaptor/geometries/interval.js.map +0 -1
- package/lib/adaptor/geometries/line.d.ts +0 -23
- package/lib/adaptor/geometries/line.js +0 -33
- package/lib/adaptor/geometries/line.js.map +0 -1
- package/lib/adaptor/geometries/point.d.ts +0 -21
- package/lib/adaptor/geometries/point.js +0 -30
- package/lib/adaptor/geometries/point.js.map +0 -1
- package/lib/adaptor/geometries/polygon.d.ts +0 -17
- package/lib/adaptor/geometries/polygon.js +0 -29
- package/lib/adaptor/geometries/polygon.js.map +0 -1
- package/lib/adaptor/geometries/schema.d.ts +0 -17
- package/lib/adaptor/geometries/schema.js +0 -29
- package/lib/adaptor/geometries/schema.js.map +0 -1
- package/lib/adaptor/geometries/violin.d.ts +0 -19
- package/lib/adaptor/geometries/violin.js +0 -28
- package/lib/adaptor/geometries/violin.js.map +0 -1
- package/lib/adaptor/pattern.d.ts +0 -15
- package/lib/adaptor/pattern.js +0 -58
- package/lib/adaptor/pattern.js.map +0 -1
- package/lib/constant.d.ts +0 -4
- package/lib/constant.js +0 -29
- package/lib/constant.js.map +0 -1
- package/lib/core/adaptor.d.ts +0 -15
- package/lib/core/adaptor.js +0 -3
- package/lib/core/adaptor.js.map +0 -1
- package/lib/core/global.d.ts +0 -13
- package/lib/core/global.js +0 -21
- package/lib/core/global.js.map +0 -1
- package/lib/core/locale.d.ts +0 -15
- package/lib/core/locale.js +0 -30
- package/lib/core/locale.js.map +0 -1
- package/lib/interactions/actions/drill-down.d.ts +0 -99
- package/lib/interactions/actions/drill-down.js +0 -255
- package/lib/interactions/actions/drill-down.js.map +0 -1
- package/lib/interactions/actions/reset-button.d.ts +0 -42
- package/lib/interactions/actions/reset-button.js +0 -147
- package/lib/interactions/actions/reset-button.js.map +0 -1
- package/lib/interactions/brush.d.ts +0 -91
- package/lib/interactions/brush.js +0 -309
- package/lib/interactions/brush.js.map +0 -1
- package/lib/interactions/drag-move.d.ts +0 -1
- package/lib/interactions/drag-move.js +0 -15
- package/lib/interactions/drag-move.js.map +0 -1
- package/lib/interactions/drill-down.d.ts +0 -4
- package/lib/interactions/drill-down.js +0 -56
- package/lib/interactions/drill-down.js.map +0 -1
- package/lib/lab.d.ts +0 -18
- package/lib/lab.js +0 -43
- package/lib/lab.js.map +0 -1
- package/lib/locales/en_US.d.ts +0 -2
- package/lib/locales/en_US.js +0 -30
- package/lib/locales/en_US.js.map +0 -1
- package/lib/locales/zh_CN.d.ts +0 -2
- package/lib/locales/zh_CN.js +0 -30
- package/lib/locales/zh_CN.js.map +0 -1
- package/lib/plots/_template/adaptor.d.ts +0 -13
- package/lib/plots/_template/adaptor.js +0 -43
- package/lib/plots/_template/adaptor.js.map +0 -1
- package/lib/plots/_template/constant.d.ts +0 -0
- package/lib/plots/_template/constant.js +0 -1
- package/lib/plots/_template/constant.js.map +0 -1
- package/lib/plots/_template/index.d.ts +0 -15
- package/lib/plots/_template/index.js +0 -27
- package/lib/plots/_template/index.js.map +0 -1
- package/lib/plots/_template/types.d.ts +0 -8
- package/lib/plots/_template/types.js +0 -3
- package/lib/plots/_template/types.js.map +0 -1
- package/lib/plots/area/adaptor.d.ts +0 -10
- package/lib/plots/area/adaptor.js +0 -119
- package/lib/plots/area/adaptor.js.map +0 -1
- package/lib/plots/area/constants.d.ts +0 -4
- package/lib/plots/area/constants.js +0 -26
- package/lib/plots/area/constants.js.map +0 -1
- package/lib/plots/area/index.d.ts +0 -26
- package/lib/plots/area/index.js +0 -50
- package/lib/plots/area/index.js.map +0 -1
- package/lib/plots/area/types.d.ts +0 -60
- package/lib/plots/area/types.js +0 -3
- package/lib/plots/area/types.js.map +0 -1
- package/lib/plots/bar/adaptor.d.ts +0 -13
- package/lib/plots/bar/adaptor.js +0 -107
- package/lib/plots/bar/adaptor.js.map +0 -1
- package/lib/plots/bar/constants.d.ts +0 -4
- package/lib/plots/bar/constants.js +0 -22
- package/lib/plots/bar/constants.js.map +0 -1
- package/lib/plots/bar/index.d.ts +0 -28
- package/lib/plots/bar/index.js +0 -57
- package/lib/plots/bar/index.js.map +0 -1
- package/lib/plots/bar/types.d.ts +0 -24
- package/lib/plots/bar/types.js +0 -3
- package/lib/plots/bar/types.js.map +0 -1
- package/lib/plots/bidirectional-bar/adaptor.d.ts +0 -28
- package/lib/plots/bidirectional-bar/adaptor.js +0 -319
- package/lib/plots/bidirectional-bar/adaptor.js.map +0 -1
- package/lib/plots/bidirectional-bar/constant.d.ts +0 -4
- package/lib/plots/bidirectional-bar/constant.js +0 -8
- package/lib/plots/bidirectional-bar/constant.js.map +0 -1
- package/lib/plots/bidirectional-bar/index.d.ts +0 -24
- package/lib/plots/bidirectional-bar/index.js +0 -63
- package/lib/plots/bidirectional-bar/index.js.map +0 -1
- package/lib/plots/bidirectional-bar/types.d.ts +0 -33
- package/lib/plots/bidirectional-bar/types.js +0 -3
- package/lib/plots/bidirectional-bar/types.js.map +0 -1
- package/lib/plots/bidirectional-bar/utils.d.ts +0 -22
- package/lib/plots/bidirectional-bar/utils.js +0 -84
- package/lib/plots/bidirectional-bar/utils.js.map +0 -1
- package/lib/plots/box/adaptor.d.ts +0 -12
- package/lib/plots/box/adaptor.js +0 -155
- package/lib/plots/box/adaptor.js.map +0 -1
- package/lib/plots/box/constant.d.ts +0 -8
- package/lib/plots/box/constant.js +0 -29
- package/lib/plots/box/constant.js.map +0 -1
- package/lib/plots/box/index.d.ts +0 -26
- package/lib/plots/box/index.js +0 -52
- package/lib/plots/box/index.js.map +0 -1
- package/lib/plots/box/types.d.ts +0 -29
- package/lib/plots/box/types.js +0 -3
- package/lib/plots/box/types.js.map +0 -1
- package/lib/plots/box/utils.d.ts +0 -7
- package/lib/plots/box/utils.js +0 -24
- package/lib/plots/box/utils.js.map +0 -1
- package/lib/plots/bullet/adaptor.d.ts +0 -13
- package/lib/plots/bullet/adaptor.js +0 -179
- package/lib/plots/bullet/adaptor.js.map +0 -1
- package/lib/plots/bullet/constant.d.ts +0 -4
- package/lib/plots/bullet/constant.js +0 -35
- package/lib/plots/bullet/constant.js.map +0 -1
- package/lib/plots/bullet/index.d.ts +0 -22
- package/lib/plots/bullet/index.js +0 -46
- package/lib/plots/bullet/index.js.map +0 -1
- package/lib/plots/bullet/types.d.ts +0 -56
- package/lib/plots/bullet/types.js +0 -3
- package/lib/plots/bullet/types.js.map +0 -1
- package/lib/plots/bullet/utils.d.ts +0 -12
- package/lib/plots/bullet/utils.js +0 -73
- package/lib/plots/bullet/utils.js.map +0 -1
- package/lib/plots/chord/adaptor.d.ts +0 -8
- package/lib/plots/chord/adaptor.js +0 -152
- package/lib/plots/chord/adaptor.js.map +0 -1
- package/lib/plots/chord/constant.d.ts +0 -43
- package/lib/plots/chord/constant.js +0 -59
- package/lib/plots/chord/constant.js.map +0 -1
- package/lib/plots/chord/index.d.ts +0 -21
- package/lib/plots/chord/index.js +0 -38
- package/lib/plots/chord/index.js.map +0 -1
- package/lib/plots/chord/types.d.ts +0 -48
- package/lib/plots/chord/types.js +0 -3
- package/lib/plots/chord/types.js.map +0 -1
- package/lib/plots/circle-packing/adaptor.d.ts +0 -13
- package/lib/plots/circle-packing/adaptor.js +0 -176
- package/lib/plots/circle-packing/adaptor.js.map +0 -1
- package/lib/plots/circle-packing/constant.d.ts +0 -4
- package/lib/plots/circle-packing/constant.js +0 -33
- package/lib/plots/circle-packing/constant.js.map +0 -1
- package/lib/plots/circle-packing/index.d.ts +0 -27
- package/lib/plots/circle-packing/index.js +0 -53
- package/lib/plots/circle-packing/index.js.map +0 -1
- package/lib/plots/circle-packing/interactions/index.d.ts +0 -2
- package/lib/plots/circle-packing/interactions/index.js +0 -5
- package/lib/plots/circle-packing/interactions/index.js.map +0 -1
- package/lib/plots/circle-packing/types.d.ts +0 -38
- package/lib/plots/circle-packing/types.js +0 -3
- package/lib/plots/circle-packing/types.js.map +0 -1
- package/lib/plots/circle-packing/utils.d.ts +0 -25
- package/lib/plots/circle-packing/utils.js +0 -61
- package/lib/plots/circle-packing/utils.js.map +0 -1
- package/lib/plots/column/constants.d.ts +0 -4
- package/lib/plots/column/constants.js +0 -22
- package/lib/plots/column/constants.js.map +0 -1
- package/lib/plots/column/types.d.ts +0 -90
- package/lib/plots/column/types.js +0 -3
- package/lib/plots/column/types.js.map +0 -1
- package/lib/plots/dual-axes/adaptor.d.ts +0 -63
- package/lib/plots/dual-axes/adaptor.js +0 -440
- package/lib/plots/dual-axes/adaptor.js.map +0 -1
- package/lib/plots/dual-axes/constant.d.ts +0 -26
- package/lib/plots/dual-axes/constant.js +0 -16
- package/lib/plots/dual-axes/constant.js.map +0 -1
- package/lib/plots/dual-axes/index.d.ts +0 -16
- package/lib/plots/dual-axes/index.js +0 -34
- package/lib/plots/dual-axes/index.js.map +0 -1
- package/lib/plots/dual-axes/types.d.ts +0 -79
- package/lib/plots/dual-axes/types.js +0 -14
- package/lib/plots/dual-axes/types.js.map +0 -1
- package/lib/plots/dual-axes/util/geometry.d.ts +0 -11
- package/lib/plots/dual-axes/util/geometry.js +0 -59
- package/lib/plots/dual-axes/util/geometry.js.map +0 -1
- package/lib/plots/dual-axes/util/legend.d.ts +0 -13
- package/lib/plots/dual-axes/util/legend.js +0 -70
- package/lib/plots/dual-axes/util/legend.js.map +0 -1
- package/lib/plots/dual-axes/util/option.d.ts +0 -29
- package/lib/plots/dual-axes/util/option.js +0 -78
- package/lib/plots/dual-axes/util/option.js.map +0 -1
- package/lib/plots/dual-axes/util/render-sider.d.ts +0 -9
- package/lib/plots/dual-axes/util/render-sider.js +0 -35
- package/lib/plots/dual-axes/util/render-sider.js.map +0 -1
- package/lib/plots/facet/adaptor.d.ts +0 -8
- package/lib/plots/facet/adaptor.js +0 -111
- package/lib/plots/facet/adaptor.js.map +0 -1
- package/lib/plots/facet/constant.d.ts +0 -23
- package/lib/plots/facet/constant.js +0 -27
- package/lib/plots/facet/constant.js.map +0 -1
- package/lib/plots/facet/index.d.ts +0 -21
- package/lib/plots/facet/index.js +0 -38
- package/lib/plots/facet/index.js.map +0 -1
- package/lib/plots/facet/types.d.ts +0 -148
- package/lib/plots/facet/types.js +0 -3
- package/lib/plots/facet/types.js.map +0 -1
- package/lib/plots/facet/utils.d.ts +0 -8
- package/lib/plots/facet/utils.js +0 -79
- package/lib/plots/facet/utils.js.map +0 -1
- package/lib/plots/funnel/adaptor.d.ts +0 -18
- package/lib/plots/funnel/adaptor.js +0 -163
- package/lib/plots/funnel/adaptor.js.map +0 -1
- package/lib/plots/funnel/constant.d.ts +0 -40
- package/lib/plots/funnel/constant.js +0 -51
- package/lib/plots/funnel/constant.js.map +0 -1
- package/lib/plots/funnel/geometries/basic.d.ts +0 -13
- package/lib/plots/funnel/geometries/basic.js +0 -98
- package/lib/plots/funnel/geometries/basic.js.map +0 -1
- package/lib/plots/funnel/geometries/common.d.ts +0 -15
- package/lib/plots/funnel/geometries/common.js +0 -64
- package/lib/plots/funnel/geometries/common.js.map +0 -1
- package/lib/plots/funnel/geometries/compare.d.ts +0 -9
- package/lib/plots/funnel/geometries/compare.js +0 -145
- package/lib/plots/funnel/geometries/compare.js.map +0 -1
- package/lib/plots/funnel/geometries/dynamic-height.d.ts +0 -8
- package/lib/plots/funnel/geometries/dynamic-height.js +0 -128
- package/lib/plots/funnel/geometries/dynamic-height.js.map +0 -1
- package/lib/plots/funnel/geometries/facet.d.ts +0 -8
- package/lib/plots/funnel/geometries/facet.js +0 -54
- package/lib/plots/funnel/geometries/facet.js.map +0 -1
- package/lib/plots/funnel/index.d.ts +0 -38
- package/lib/plots/funnel/index.js +0 -76
- package/lib/plots/funnel/index.js.map +0 -1
- package/lib/plots/funnel/interactions/funnel-conversion-tag.d.ts +0 -9
- package/lib/plots/funnel/interactions/funnel-conversion-tag.js +0 -60
- package/lib/plots/funnel/interactions/funnel-conversion-tag.js.map +0 -1
- package/lib/plots/funnel/interactions/index.d.ts +0 -5
- package/lib/plots/funnel/interactions/index.js +0 -13
- package/lib/plots/funnel/interactions/index.js.map +0 -1
- package/lib/plots/funnel/types.d.ts +0 -70
- package/lib/plots/funnel/types.js +0 -3
- package/lib/plots/funnel/types.js.map +0 -1
- package/lib/plots/gauge/adaptor.d.ts +0 -17
- package/lib/plots/gauge/adaptor.js +0 -183
- package/lib/plots/gauge/adaptor.js.map +0 -1
- package/lib/plots/gauge/constants.d.ts +0 -67
- package/lib/plots/gauge/constants.js +0 -73
- package/lib/plots/gauge/constants.js.map +0 -1
- package/lib/plots/gauge/index.d.ts +0 -32
- package/lib/plots/gauge/index.js +0 -66
- package/lib/plots/gauge/index.js.map +0 -1
- package/lib/plots/gauge/shapes/indicator.d.ts +0 -1
- package/lib/plots/gauge/shapes/indicator.js +0 -32
- package/lib/plots/gauge/shapes/indicator.js.map +0 -1
- package/lib/plots/gauge/shapes/meter-gauge.d.ts +0 -1
- package/lib/plots/gauge/shapes/meter-gauge.js +0 -54
- package/lib/plots/gauge/shapes/meter-gauge.js.map +0 -1
- package/lib/plots/gauge/types.d.ts +0 -130
- package/lib/plots/gauge/types.js +0 -4
- package/lib/plots/gauge/types.js.map +0 -1
- package/lib/plots/gauge/utils.d.ts +0 -20
- package/lib/plots/gauge/utils.js +0 -44
- package/lib/plots/gauge/utils.js.map +0 -1
- package/lib/plots/heatmap/adaptor.d.ts +0 -8
- package/lib/plots/heatmap/adaptor.js +0 -167
- package/lib/plots/heatmap/adaptor.js.map +0 -1
- package/lib/plots/heatmap/constant.d.ts +0 -4
- package/lib/plots/heatmap/constant.js +0 -42
- package/lib/plots/heatmap/constant.js.map +0 -1
- package/lib/plots/heatmap/index.d.ts +0 -23
- package/lib/plots/heatmap/index.js +0 -41
- package/lib/plots/heatmap/index.js.map +0 -1
- package/lib/plots/heatmap/shapes/circle.d.ts +0 -1
- package/lib/plots/heatmap/shapes/circle.js +0 -25
- package/lib/plots/heatmap/shapes/circle.js.map +0 -1
- package/lib/plots/heatmap/shapes/square.d.ts +0 -1
- package/lib/plots/heatmap/shapes/square.js +0 -25
- package/lib/plots/heatmap/shapes/square.js.map +0 -1
- package/lib/plots/heatmap/types.d.ts +0 -63
- package/lib/plots/heatmap/types.js +0 -3
- package/lib/plots/heatmap/types.js.map +0 -1
- package/lib/plots/histogram/adaptor.d.ts +0 -8
- package/lib/plots/histogram/adaptor.js +0 -109
- package/lib/plots/histogram/adaptor.js.map +0 -1
- package/lib/plots/histogram/constant.d.ts +0 -8
- package/lib/plots/histogram/constant.js +0 -23
- package/lib/plots/histogram/constant.js.map +0 -1
- package/lib/plots/histogram/index.d.ts +0 -22
- package/lib/plots/histogram/index.js +0 -44
- package/lib/plots/histogram/index.js.map +0 -1
- package/lib/plots/histogram/types.d.ts +0 -27
- package/lib/plots/histogram/types.js +0 -3
- package/lib/plots/histogram/types.js.map +0 -1
- package/lib/plots/line/constants.d.ts +0 -4
- package/lib/plots/line/constants.js +0 -24
- package/lib/plots/line/constants.js.map +0 -1
- package/lib/plots/line/interactions/index.d.ts +0 -1
- package/lib/plots/line/interactions/index.js +0 -20
- package/lib/plots/line/interactions/index.js.map +0 -1
- package/lib/plots/line/interactions/marker-active.d.ts +0 -6
- package/lib/plots/line/interactions/marker-active.js +0 -42
- package/lib/plots/line/interactions/marker-active.js.map +0 -1
- package/lib/plots/line/types.d.ts +0 -58
- package/lib/plots/line/types.js +0 -3
- package/lib/plots/line/types.js.map +0 -1
- package/lib/plots/liquid/adaptor.d.ts +0 -13
- package/lib/plots/liquid/adaptor.js +0 -93
- package/lib/plots/liquid/adaptor.js.map +0 -1
- package/lib/plots/liquid/constants.d.ts +0 -26
- package/lib/plots/liquid/constants.js +0 -30
- package/lib/plots/liquid/constants.js.map +0 -1
- package/lib/plots/liquid/index.d.ts +0 -31
- package/lib/plots/liquid/index.js +0 -58
- package/lib/plots/liquid/index.js.map +0 -1
- package/lib/plots/liquid/shapes/liquid.d.ts +0 -16
- package/lib/plots/liquid/shapes/liquid.js +0 -372
- package/lib/plots/liquid/shapes/liquid.js.map +0 -1
- package/lib/plots/liquid/types.d.ts +0 -93
- package/lib/plots/liquid/types.js +0 -3
- package/lib/plots/liquid/types.js.map +0 -1
- package/lib/plots/liquid/utils.d.ts +0 -7
- package/lib/plots/liquid/utils.js +0 -12
- package/lib/plots/liquid/utils.js.map +0 -1
- package/lib/plots/mix/adaptor.d.ts +0 -13
- package/lib/plots/mix/adaptor.js +0 -147
- package/lib/plots/mix/adaptor.js.map +0 -1
- package/lib/plots/mix/index.d.ts +0 -24
- package/lib/plots/mix/index.js +0 -36
- package/lib/plots/mix/index.js.map +0 -1
- package/lib/plots/mix/interactions/association.d.ts +0 -1
- package/lib/plots/mix/interactions/association.js +0 -171
- package/lib/plots/mix/interactions/association.js.map +0 -1
- package/lib/plots/mix/interactions/index.d.ts +0 -4
- package/lib/plots/mix/interactions/index.js +0 -7
- package/lib/plots/mix/interactions/index.js.map +0 -1
- package/lib/plots/mix/interactions/utils.d.ts +0 -14
- package/lib/plots/mix/interactions/utils.js +0 -45
- package/lib/plots/mix/interactions/utils.js.map +0 -1
- package/lib/plots/mix/types.d.ts +0 -125
- package/lib/plots/mix/types.js +0 -3
- package/lib/plots/mix/types.js.map +0 -1
- package/lib/plots/mix/utils.d.ts +0 -82
- package/lib/plots/mix/utils.js +0 -102
- package/lib/plots/mix/utils.js.map +0 -1
- package/lib/plots/pie/adaptor.d.ts +0 -24
- package/lib/plots/pie/adaptor.js +0 -295
- package/lib/plots/pie/adaptor.js.map +0 -1
- package/lib/plots/pie/contants.d.ts +0 -4
- package/lib/plots/pie/contants.js +0 -53
- package/lib/plots/pie/contants.js.map +0 -1
- package/lib/plots/pie/index.d.ts +0 -27
- package/lib/plots/pie/index.js +0 -65
- package/lib/plots/pie/index.js.map +0 -1
- package/lib/plots/pie/interactions/actions/legend-active.d.ts +0 -20
- package/lib/plots/pie/interactions/actions/legend-active.js +0 -71
- package/lib/plots/pie/interactions/actions/legend-active.js.map +0 -1
- package/lib/plots/pie/interactions/actions/statistic-active.d.ts +0 -13
- package/lib/plots/pie/interactions/actions/statistic-active.js +0 -82
- package/lib/plots/pie/interactions/actions/statistic-active.js.map +0 -1
- package/lib/plots/pie/interactions/index.d.ts +0 -1
- package/lib/plots/pie/interactions/index.js +0 -18
- package/lib/plots/pie/interactions/index.js.map +0 -1
- package/lib/plots/pie/interactions/util.d.ts +0 -7
- package/lib/plots/pie/interactions/util.js +0 -19
- package/lib/plots/pie/interactions/util.js.map +0 -1
- package/lib/plots/pie/types.d.ts +0 -51
- package/lib/plots/pie/types.js +0 -3
- package/lib/plots/pie/types.js.map +0 -1
- package/lib/plots/pie/utils.d.ts +0 -18
- package/lib/plots/pie/utils.js +0 -53
- package/lib/plots/pie/utils.js.map +0 -1
- package/lib/plots/progress/adaptor.d.ts +0 -13
- package/lib/plots/progress/adaptor.js +0 -61
- package/lib/plots/progress/adaptor.js.map +0 -1
- package/lib/plots/progress/constants.d.ts +0 -9
- package/lib/plots/progress/constants.js +0 -13
- package/lib/plots/progress/constants.js.map +0 -1
- package/lib/plots/progress/index.d.ts +0 -23
- package/lib/plots/progress/index.js +0 -44
- package/lib/plots/progress/index.js.map +0 -1
- package/lib/plots/progress/types.d.ts +0 -21
- package/lib/plots/progress/types.js +0 -3
- package/lib/plots/progress/types.js.map +0 -1
- package/lib/plots/progress/utils.d.ts +0 -8
- package/lib/plots/progress/utils.js +0 -26
- package/lib/plots/progress/utils.js.map +0 -1
- package/lib/plots/radar/adaptor.d.ts +0 -8
- package/lib/plots/radar/adaptor.js +0 -114
- package/lib/plots/radar/adaptor.js.map +0 -1
- package/lib/plots/radar/index.d.ts +0 -22
- package/lib/plots/radar/index.js +0 -76
- package/lib/plots/radar/index.js.map +0 -1
- package/lib/plots/radar/interactions/index.d.ts +0 -1
- package/lib/plots/radar/interactions/index.js +0 -10
- package/lib/plots/radar/interactions/index.js.map +0 -1
- package/lib/plots/radar/interactions/radar-tooltip-action.d.ts +0 -15
- package/lib/plots/radar/interactions/radar-tooltip-action.js +0 -77
- package/lib/plots/radar/interactions/radar-tooltip-action.js.map +0 -1
- package/lib/plots/radar/types.d.ts +0 -55
- package/lib/plots/radar/types.js +0 -3
- package/lib/plots/radar/types.js.map +0 -1
- package/lib/plots/radial-bar/adaptor.d.ts +0 -18
- package/lib/plots/radial-bar/adaptor.js +0 -124
- package/lib/plots/radial-bar/adaptor.js.map +0 -1
- package/lib/plots/radial-bar/constant.d.ts +0 -4
- package/lib/plots/radial-bar/constant.js +0 -22
- package/lib/plots/radial-bar/constant.js.map +0 -1
- package/lib/plots/radial-bar/index.d.ts +0 -25
- package/lib/plots/radial-bar/index.js +0 -47
- package/lib/plots/radial-bar/index.js.map +0 -1
- package/lib/plots/radial-bar/types.d.ts +0 -63
- package/lib/plots/radial-bar/types.js +0 -3
- package/lib/plots/radial-bar/types.js.map +0 -1
- package/lib/plots/radial-bar/utils.d.ts +0 -6
- package/lib/plots/radial-bar/utils.js +0 -32
- package/lib/plots/radial-bar/utils.js.map +0 -1
- package/lib/plots/ring-progress/adaptor.d.ts +0 -13
- package/lib/plots/ring-progress/adaptor.js +0 -58
- package/lib/plots/ring-progress/adaptor.js.map +0 -1
- package/lib/plots/ring-progress/constants.d.ts +0 -22
- package/lib/plots/ring-progress/constants.js +0 -26
- package/lib/plots/ring-progress/constants.js.map +0 -1
- package/lib/plots/ring-progress/index.d.ts +0 -23
- package/lib/plots/ring-progress/index.js +0 -49
- package/lib/plots/ring-progress/index.js.map +0 -1
- package/lib/plots/ring-progress/types.d.ts +0 -28
- package/lib/plots/ring-progress/types.js +0 -3
- package/lib/plots/ring-progress/types.js.map +0 -1
- package/lib/plots/rose/adaptor.d.ts +0 -13
- package/lib/plots/rose/adaptor.js +0 -144
- package/lib/plots/rose/adaptor.js.map +0 -1
- package/lib/plots/rose/constant.d.ts +0 -4
- package/lib/plots/rose/constant.js +0 -31
- package/lib/plots/rose/constant.js.map +0 -1
- package/lib/plots/rose/index.d.ts +0 -26
- package/lib/plots/rose/index.js +0 -46
- package/lib/plots/rose/index.js.map +0 -1
- package/lib/plots/rose/types.d.ts +0 -55
- package/lib/plots/rose/types.js +0 -3
- package/lib/plots/rose/types.js.map +0 -1
- package/lib/plots/sankey/adaptor.d.ts +0 -18
- package/lib/plots/sankey/adaptor.js +0 -162
- package/lib/plots/sankey/adaptor.js.map +0 -1
- package/lib/plots/sankey/circle.d.ts +0 -16
- package/lib/plots/sankey/circle.js +0 -99
- package/lib/plots/sankey/circle.js.map +0 -1
- package/lib/plots/sankey/constant.d.ts +0 -5
- package/lib/plots/sankey/constant.js +0 -9
- package/lib/plots/sankey/constant.js.map +0 -1
- package/lib/plots/sankey/helper.d.ts +0 -20
- package/lib/plots/sankey/helper.js +0 -59
- package/lib/plots/sankey/helper.js.map +0 -1
- package/lib/plots/sankey/index.d.ts +0 -27
- package/lib/plots/sankey/index.js +0 -121
- package/lib/plots/sankey/index.js.map +0 -1
- package/lib/plots/sankey/interactions/actions/node-drag.d.ts +0 -46
- package/lib/plots/sankey/interactions/actions/node-drag.js +0 -140
- package/lib/plots/sankey/interactions/actions/node-drag.js.map +0 -1
- package/lib/plots/sankey/interactions/index.d.ts +0 -1
- package/lib/plots/sankey/interactions/index.js +0 -4
- package/lib/plots/sankey/interactions/index.js.map +0 -1
- package/lib/plots/sankey/interactions/node-draggable.d.ts +0 -1
- package/lib/plots/sankey/interactions/node-draggable.js +0 -18
- package/lib/plots/sankey/interactions/node-draggable.js.map +0 -1
- package/lib/plots/sankey/layout.d.ts +0 -86
- package/lib/plots/sankey/layout.js +0 -93
- package/lib/plots/sankey/layout.js.map +0 -1
- package/lib/plots/sankey/sankey/align.d.ts +0 -4
- package/lib/plots/sankey/sankey/align.js +0 -24
- package/lib/plots/sankey/sankey/align.js.map +0 -1
- package/lib/plots/sankey/sankey/helper.d.ts +0 -14
- package/lib/plots/sankey/sankey/helper.js +0 -44
- package/lib/plots/sankey/sankey/helper.js.map +0 -1
- package/lib/plots/sankey/sankey/index.d.ts +0 -11
- package/lib/plots/sankey/sankey/index.js +0 -19
- package/lib/plots/sankey/sankey/index.js.map +0 -1
- package/lib/plots/sankey/sankey/sankey.d.ts +0 -24
- package/lib/plots/sankey/sankey/sankey.js +0 -405
- package/lib/plots/sankey/sankey/sankey.js.map +0 -1
- package/lib/plots/sankey/types.d.ts +0 -143
- package/lib/plots/sankey/types.js +0 -3
- package/lib/plots/sankey/types.js.map +0 -1
- package/lib/plots/scatter/adaptor.d.ts +0 -25
- package/lib/plots/scatter/adaptor.js +0 -276
- package/lib/plots/scatter/adaptor.js.map +0 -1
- package/lib/plots/scatter/constant.d.ts +0 -4
- package/lib/plots/scatter/constant.js +0 -20
- package/lib/plots/scatter/constant.js.map +0 -1
- package/lib/plots/scatter/index.d.ts +0 -25
- package/lib/plots/scatter/index.js +0 -61
- package/lib/plots/scatter/index.js.map +0 -1
- package/lib/plots/scatter/interactions/index.d.ts +0 -1
- package/lib/plots/scatter/interactions/index.js +0 -4
- package/lib/plots/scatter/interactions/index.js.map +0 -1
- package/lib/plots/scatter/types.d.ts +0 -125
- package/lib/plots/scatter/types.js +0 -3
- package/lib/plots/scatter/types.js.map +0 -1
- package/lib/plots/scatter/util.d.ts +0 -36
- package/lib/plots/scatter/util.js +0 -238
- package/lib/plots/scatter/util.js.map +0 -1
- package/lib/plots/stock/adaptor.d.ts +0 -28
- package/lib/plots/stock/adaptor.js +0 -128
- package/lib/plots/stock/adaptor.js.map +0 -1
- package/lib/plots/stock/constant.d.ts +0 -31
- package/lib/plots/stock/constant.js +0 -57
- package/lib/plots/stock/constant.js.map +0 -1
- package/lib/plots/stock/index.d.ts +0 -27
- package/lib/plots/stock/index.js +0 -49
- package/lib/plots/stock/index.js.map +0 -1
- package/lib/plots/stock/types.d.ts +0 -28
- package/lib/plots/stock/types.js +0 -3
- package/lib/plots/stock/types.js.map +0 -1
- package/lib/plots/stock/utils.d.ts +0 -8
- package/lib/plots/stock/utils.js +0 -24
- package/lib/plots/stock/utils.js.map +0 -1
- package/lib/plots/sunburst/adaptor.d.ts +0 -23
- package/lib/plots/sunburst/adaptor.js +0 -183
- package/lib/plots/sunburst/adaptor.js.map +0 -1
- package/lib/plots/sunburst/constant.d.ts +0 -13
- package/lib/plots/sunburst/constant.js +0 -50
- package/lib/plots/sunburst/constant.js.map +0 -1
- package/lib/plots/sunburst/index.d.ts +0 -28
- package/lib/plots/sunburst/index.js +0 -46
- package/lib/plots/sunburst/index.js.map +0 -1
- package/lib/plots/sunburst/interactions/index.d.ts +0 -2
- package/lib/plots/sunburst/interactions/index.js +0 -5
- package/lib/plots/sunburst/interactions/index.js.map +0 -1
- package/lib/plots/sunburst/types.d.ts +0 -66
- package/lib/plots/sunburst/types.js +0 -3
- package/lib/plots/sunburst/types.js.map +0 -1
- package/lib/plots/sunburst/utils.d.ts +0 -6
- package/lib/plots/sunburst/utils.js +0 -60
- package/lib/plots/sunburst/utils.js.map +0 -1
- package/lib/plots/tiny-area/adaptor.d.ts +0 -13
- package/lib/plots/tiny-area/adaptor.js +0 -68
- package/lib/plots/tiny-area/adaptor.js.map +0 -1
- package/lib/plots/tiny-area/constants.d.ts +0 -33
- package/lib/plots/tiny-area/constants.js +0 -23
- package/lib/plots/tiny-area/constants.js.map +0 -1
- package/lib/plots/tiny-area/index.d.ts +0 -23
- package/lib/plots/tiny-area/index.js +0 -46
- package/lib/plots/tiny-area/index.js.map +0 -1
- package/lib/plots/tiny-area/types.d.ts +0 -27
- package/lib/plots/tiny-area/types.js +0 -3
- package/lib/plots/tiny-area/types.js.map +0 -1
- package/lib/plots/tiny-column/adaptor.d.ts +0 -10
- package/lib/plots/tiny-column/adaptor.js +0 -46
- package/lib/plots/tiny-column/adaptor.js.map +0 -1
- package/lib/plots/tiny-column/constants.d.ts +0 -35
- package/lib/plots/tiny-column/constants.js +0 -28
- package/lib/plots/tiny-column/constants.js.map +0 -1
- package/lib/plots/tiny-column/index.d.ts +0 -23
- package/lib/plots/tiny-column/index.js +0 -46
- package/lib/plots/tiny-column/index.js.map +0 -1
- package/lib/plots/tiny-column/types.d.ts +0 -17
- package/lib/plots/tiny-column/types.js +0 -3
- package/lib/plots/tiny-column/types.js.map +0 -1
- package/lib/plots/tiny-line/adaptor.d.ts +0 -10
- package/lib/plots/tiny-line/adaptor.js +0 -49
- package/lib/plots/tiny-line/adaptor.js.map +0 -1
- package/lib/plots/tiny-line/constants.d.ts +0 -45
- package/lib/plots/tiny-line/constants.js +0 -34
- package/lib/plots/tiny-line/constants.js.map +0 -1
- package/lib/plots/tiny-line/index.d.ts +0 -23
- package/lib/plots/tiny-line/index.js +0 -46
- package/lib/plots/tiny-line/index.js.map +0 -1
- package/lib/plots/tiny-line/types.d.ts +0 -28
- package/lib/plots/tiny-line/types.js +0 -3
- package/lib/plots/tiny-line/types.js.map +0 -1
- package/lib/plots/tiny-line/utils.d.ts +0 -4
- package/lib/plots/tiny-line/utils.js +0 -9
- package/lib/plots/tiny-line/utils.js.map +0 -1
- package/lib/plots/treemap/adaptor.d.ts +0 -13
- package/lib/plots/treemap/adaptor.js +0 -133
- package/lib/plots/treemap/adaptor.js.map +0 -1
- package/lib/plots/treemap/constant.d.ts +0 -36
- package/lib/plots/treemap/constant.js +0 -42
- package/lib/plots/treemap/constant.js.map +0 -1
- package/lib/plots/treemap/index.d.ts +0 -23
- package/lib/plots/treemap/index.js +0 -52
- package/lib/plots/treemap/index.js.map +0 -1
- package/lib/plots/treemap/interactions/index.d.ts +0 -4
- package/lib/plots/treemap/interactions/index.js +0 -7
- package/lib/plots/treemap/interactions/index.js.map +0 -1
- package/lib/plots/treemap/types.d.ts +0 -30
- package/lib/plots/treemap/types.js +0 -3
- package/lib/plots/treemap/types.js.map +0 -1
- package/lib/plots/treemap/utils.d.ts +0 -21
- package/lib/plots/treemap/utils.js +0 -80
- package/lib/plots/treemap/utils.js.map +0 -1
- package/lib/plots/venn/adaptor.d.ts +0 -23
- package/lib/plots/venn/adaptor.js +0 -221
- package/lib/plots/venn/adaptor.js.map +0 -1
- package/lib/plots/venn/constant.d.ts +0 -7
- package/lib/plots/venn/constant.js +0 -52
- package/lib/plots/venn/constant.js.map +0 -1
- package/lib/plots/venn/index.d.ts +0 -24
- package/lib/plots/venn/index.js +0 -50
- package/lib/plots/venn/index.js.map +0 -1
- package/lib/plots/venn/interactions/actions/active.d.ts +0 -14
- package/lib/plots/venn/interactions/actions/active.js +0 -37
- package/lib/plots/venn/interactions/actions/active.js.map +0 -1
- package/lib/plots/venn/interactions/actions/highlight.d.ts +0 -16
- package/lib/plots/venn/interactions/actions/highlight.js +0 -42
- package/lib/plots/venn/interactions/actions/highlight.js.map +0 -1
- package/lib/plots/venn/interactions/actions/selected.d.ts +0 -33
- package/lib/plots/venn/interactions/actions/selected.js +0 -73
- package/lib/plots/venn/interactions/actions/selected.js.map +0 -1
- package/lib/plots/venn/interactions/index.d.ts +0 -1
- package/lib/plots/venn/interactions/index.js +0 -50
- package/lib/plots/venn/interactions/index.js.map +0 -1
- package/lib/plots/venn/interactions/util.d.ts +0 -3
- package/lib/plots/venn/interactions/util.js +0 -15
- package/lib/plots/venn/interactions/util.js.map +0 -1
- package/lib/plots/venn/label.d.ts +0 -1
- package/lib/plots/venn/label.js +0 -33
- package/lib/plots/venn/label.js.map +0 -1
- package/lib/plots/venn/layout/circleintersection.d.ts +0 -29
- package/lib/plots/venn/layout/circleintersection.js +0 -196
- package/lib/plots/venn/layout/circleintersection.js.map +0 -1
- package/lib/plots/venn/layout/diagram.d.ts +0 -17
- package/lib/plots/venn/layout/diagram.js +0 -201
- package/lib/plots/venn/layout/diagram.js.map +0 -1
- package/lib/plots/venn/layout/layout.d.ts +0 -27
- package/lib/plots/venn/layout/layout.js +0 -607
- package/lib/plots/venn/layout/layout.js.map +0 -1
- package/lib/plots/venn/shape.d.ts +0 -1
- package/lib/plots/venn/shape.js +0 -44
- package/lib/plots/venn/shape.js.map +0 -1
- package/lib/plots/venn/types.d.ts +0 -41
- package/lib/plots/venn/types.js +0 -4
- package/lib/plots/venn/types.js.map +0 -1
- package/lib/plots/venn/utils.d.ts +0 -27
- package/lib/plots/venn/utils.js +0 -97
- package/lib/plots/venn/utils.js.map +0 -1
- package/lib/plots/violin/adaptor.d.ts +0 -12
- package/lib/plots/violin/adaptor.js +0 -233
- package/lib/plots/violin/adaptor.js.map +0 -1
- package/lib/plots/violin/constant.d.ts +0 -11
- package/lib/plots/violin/constant.js +0 -61
- package/lib/plots/violin/constant.js.map +0 -1
- package/lib/plots/violin/index.d.ts +0 -25
- package/lib/plots/violin/index.js +0 -46
- package/lib/plots/violin/index.js.map +0 -1
- package/lib/plots/violin/types.d.ts +0 -72
- package/lib/plots/violin/types.js +0 -3
- package/lib/plots/violin/types.js.map +0 -1
- package/lib/plots/violin/utils.d.ts +0 -43
- package/lib/plots/violin/utils.js +0 -61
- package/lib/plots/violin/utils.js.map +0 -1
- package/lib/plots/waterfall/adaptor.d.ts +0 -13
- package/lib/plots/waterfall/adaptor.js +0 -197
- package/lib/plots/waterfall/adaptor.js.map +0 -1
- package/lib/plots/waterfall/constant.d.ts +0 -42
- package/lib/plots/waterfall/constant.js +0 -44
- package/lib/plots/waterfall/constant.js.map +0 -1
- package/lib/plots/waterfall/index.d.ts +0 -29
- package/lib/plots/waterfall/index.js +0 -51
- package/lib/plots/waterfall/index.js.map +0 -1
- package/lib/plots/waterfall/shape.d.ts +0 -1
- package/lib/plots/waterfall/shape.js +0 -60
- package/lib/plots/waterfall/shape.js.map +0 -1
- package/lib/plots/waterfall/types.d.ts +0 -70
- package/lib/plots/waterfall/types.js +0 -3
- package/lib/plots/waterfall/types.js.map +0 -1
- package/lib/plots/waterfall/utils.d.ts +0 -17
- package/lib/plots/waterfall/utils.js +0 -52
- package/lib/plots/waterfall/utils.js.map +0 -1
- package/lib/plots/word-cloud/adaptor.d.ts +0 -13
- package/lib/plots/word-cloud/adaptor.js +0 -74
- package/lib/plots/word-cloud/adaptor.js.map +0 -1
- package/lib/plots/word-cloud/constant.d.ts +0 -6
- package/lib/plots/word-cloud/constant.js +0 -33
- package/lib/plots/word-cloud/constant.js.map +0 -1
- package/lib/plots/word-cloud/index.d.ts +0 -35
- package/lib/plots/word-cloud/index.js +0 -94
- package/lib/plots/word-cloud/index.js.map +0 -1
- package/lib/plots/word-cloud/shapes/word-cloud.d.ts +0 -1
- package/lib/plots/word-cloud/shapes/word-cloud.js +0 -30
- package/lib/plots/word-cloud/shapes/word-cloud.js.map +0 -1
- package/lib/plots/word-cloud/types.d.ts +0 -149
- package/lib/plots/word-cloud/types.js +0 -3
- package/lib/plots/word-cloud/types.js.map +0 -1
- package/lib/plots/word-cloud/utils.d.ts +0 -34
- package/lib/plots/word-cloud/utils.js +0 -226
- package/lib/plots/word-cloud/utils.js.map +0 -1
- package/lib/plugin/index.d.ts +0 -48
- package/lib/plugin/index.js +0 -61
- package/lib/plugin/index.js.map +0 -1
- package/lib/types/animation.d.ts +0 -2
- package/lib/types/animation.js +0 -3
- package/lib/types/animation.js.map +0 -1
- package/lib/types/annotation.d.ts +0 -6
- package/lib/types/annotation.js +0 -3
- package/lib/types/annotation.js.map +0 -1
- package/lib/types/attr.d.ts +0 -20
- package/lib/types/attr.js.map +0 -1
- package/lib/types/axis.d.ts +0 -3
- package/lib/types/axis.js.map +0 -1
- package/lib/types/button.d.ts +0 -33
- package/lib/types/button.js +0 -3
- package/lib/types/button.js.map +0 -1
- package/lib/types/coordinate.d.ts +0 -13
- package/lib/types/coordinate.js +0 -3
- package/lib/types/coordinate.js.map +0 -1
- package/lib/types/drill-down.d.ts +0 -39
- package/lib/types/drill-down.js +0 -3
- package/lib/types/drill-down.js.map +0 -1
- package/lib/types/interaction.d.ts +0 -49
- package/lib/types/interaction.js +0 -3
- package/lib/types/interaction.js.map +0 -1
- package/lib/types/label.d.ts +0 -17
- package/lib/types/label.js +0 -3
- package/lib/types/label.js.map +0 -1
- package/lib/types/legend.d.ts +0 -2
- package/lib/types/legend.js +0 -3
- package/lib/types/legend.js.map +0 -1
- package/lib/types/locale.d.ts +0 -24
- package/lib/types/locale.js +0 -3
- package/lib/types/locale.js.map +0 -1
- package/lib/types/meta.d.ts +0 -14
- package/lib/types/meta.js +0 -3
- package/lib/types/meta.js.map +0 -1
- package/lib/types/pattern.d.ts +0 -87
- package/lib/types/pattern.js +0 -3
- package/lib/types/pattern.js.map +0 -1
- package/lib/types/relation-data.d.ts +0 -16
- package/lib/types/relation-data.js +0 -3
- package/lib/types/relation-data.js.map +0 -1
- package/lib/types/scrollbar.d.ts +0 -2
- package/lib/types/scrollbar.js +0 -3
- package/lib/types/scrollbar.js.map +0 -1
- package/lib/types/slider.d.ts +0 -2
- package/lib/types/slider.js +0 -3
- package/lib/types/slider.js.map +0 -1
- package/lib/types/state.d.ts +0 -22
- package/lib/types/state.js +0 -3
- package/lib/types/state.js.map +0 -1
- package/lib/types/statistic.d.ts +0 -64
- package/lib/types/statistic.js +0 -3
- package/lib/types/statistic.js.map +0 -1
- package/lib/types/tooltip.d.ts +0 -15
- package/lib/types/tooltip.js +0 -3
- package/lib/types/tooltip.js.map +0 -1
- package/lib/utils/color/blend.d.ts +0 -20
- package/lib/utils/color/blend.js +0 -99
- package/lib/utils/color/blend.js.map +0 -1
- package/lib/utils/context.d.ts +0 -4
- package/lib/utils/context.js +0 -15
- package/lib/utils/context.js.map +0 -1
- package/lib/utils/conversion.d.ts +0 -6
- package/lib/utils/conversion.js +0 -27
- package/lib/utils/conversion.js.map +0 -1
- package/lib/utils/data.d.ts +0 -23
- package/lib/utils/data.js +0 -95
- package/lib/utils/data.js.map +0 -1
- package/lib/utils/deep-assign.d.ts +0 -6
- package/lib/utils/deep-assign.js +0 -90
- package/lib/utils/deep-assign.js.map +0 -1
- package/lib/utils/dom.d.ts +0 -7
- package/lib/utils/dom.js +0 -24
- package/lib/utils/dom.js.map +0 -1
- package/lib/utils/flow.d.ts +0 -7
- package/lib/utils/flow.js +0 -20
- package/lib/utils/flow.js.map +0 -1
- package/lib/utils/geometry.d.ts +0 -19
- package/lib/utils/geometry.js +0 -47
- package/lib/utils/geometry.js.map +0 -1
- package/lib/utils/hierarchy/pack.d.ts +0 -6
- package/lib/utils/hierarchy/pack.js +0 -45
- package/lib/utils/hierarchy/pack.js.map +0 -1
- package/lib/utils/hierarchy/partition.d.ts +0 -11
- package/lib/utils/hierarchy/partition.js +0 -76
- package/lib/utils/hierarchy/partition.js.map +0 -1
- package/lib/utils/hierarchy/treemap.d.ts +0 -3
- package/lib/utils/hierarchy/treemap.js +0 -92
- package/lib/utils/hierarchy/treemap.js.map +0 -1
- package/lib/utils/hierarchy/types.d.ts +0 -20
- package/lib/utils/hierarchy/types.js +0 -3
- package/lib/utils/hierarchy/types.js.map +0 -1
- package/lib/utils/hierarchy/util.d.ts +0 -14
- package/lib/utils/hierarchy/util.js +0 -69
- package/lib/utils/hierarchy/util.js.map +0 -1
- package/lib/utils/invariant.d.ts +0 -23
- package/lib/utils/invariant.js +0 -64
- package/lib/utils/invariant.js.map +0 -1
- package/lib/utils/kebab-case.d.ts +0 -6
- package/lib/utils/kebab-case.js +0 -17
- package/lib/utils/kebab-case.js.map +0 -1
- package/lib/utils/label.d.ts +0 -5
- package/lib/utils/label.js +0 -21
- package/lib/utils/label.js.map +0 -1
- package/lib/utils/matrix.d.ts +0 -6
- package/lib/utils/matrix.js +0 -17
- package/lib/utils/matrix.js.map +0 -1
- package/lib/utils/measure-text.d.ts +0 -9
- package/lib/utils/measure-text.js +0 -24
- package/lib/utils/measure-text.js.map +0 -1
- package/lib/utils/number.d.ts +0 -14
- package/lib/utils/number.js +0 -26
- package/lib/utils/number.js.map +0 -1
- package/lib/utils/padding.d.ts +0 -15
- package/lib/utils/padding.js +0 -72
- package/lib/utils/padding.js.map +0 -1
- package/lib/utils/path.d.ts +0 -17
- package/lib/utils/path.js +0 -148
- package/lib/utils/path.js.map +0 -1
- package/lib/utils/pattern/dot.d.ts +0 -32
- package/lib/utils/pattern/dot.js +0 -74
- package/lib/utils/pattern/dot.js.map +0 -1
- package/lib/utils/pattern/index.d.ts +0 -17
- package/lib/utils/pattern/index.js +0 -31
- package/lib/utils/pattern/index.js.map +0 -1
- package/lib/utils/pattern/line.d.ts +0 -25
- package/lib/utils/pattern/line.js +0 -61
- package/lib/utils/pattern/line.js.map +0 -1
- package/lib/utils/pattern/square.d.ts +0 -28
- package/lib/utils/pattern/square.js +0 -66
- package/lib/utils/pattern/square.js.map +0 -1
- package/lib/utils/pattern/util.d.ts +0 -50
- package/lib/utils/pattern/util.js +0 -99
- package/lib/utils/pattern/util.js.map +0 -1
- package/lib/utils/pick.d.ts +0 -6
- package/lib/utils/pick.js +0 -22
- package/lib/utils/pick.js.map +0 -1
- package/lib/utils/statistic.d.ts +0 -36
- package/lib/utils/statistic.js +0 -165
- package/lib/utils/statistic.js.map +0 -1
- package/lib/utils/template.d.ts +0 -7
- package/lib/utils/template.js +0 -20
- package/lib/utils/template.js.map +0 -1
- package/lib/utils/tooltip.d.ts +0 -7
- package/lib/utils/tooltip.js +0 -27
- package/lib/utils/tooltip.js.map +0 -1
- package/lib/utils/transform/chord.d.ts +0 -34
- package/lib/utils/transform/chord.js +0 -187
- package/lib/utils/transform/chord.js.map +0 -1
- package/lib/utils/transform/histogram.d.ts +0 -15
- package/lib/utils/transform/histogram.js +0 -82
- package/lib/utils/transform/histogram.js.map +0 -1
- package/lib/utils/transform/percent.d.ts +0 -26
- package/lib/utils/transform/percent.js +0 -70
- package/lib/utils/transform/percent.js.map +0 -1
- package/lib/utils/transform/quantile.d.ts +0 -62
- package/lib/utils/transform/quantile.js +0 -200
- package/lib/utils/transform/quantile.js.map +0 -1
- package/lib/utils/transform/sankey.d.ts +0 -0
- package/lib/utils/transform/sankey.js +0 -1
- package/lib/utils/transform/sankey.js.map +0 -1
- package/lib/utils/transform/word-cloud.d.ts +0 -30
- package/lib/utils/transform/word-cloud.js +0 -425
- package/lib/utils/transform/word-cloud.js.map +0 -1
- package/lib/utils/view.d.ts +0 -28
- package/lib/utils/view.js +0 -62
- package/lib/utils/view.js.map +0 -1
- package/src/adaptor/brush.ts +0 -58
- package/src/adaptor/common.ts +0 -228
- package/src/adaptor/connected-area.ts +0 -94
- package/src/adaptor/conversion-tag.ts +0 -253
- package/src/adaptor/geometries/area.ts +0 -50
- package/src/adaptor/geometries/base.ts +0 -281
- package/src/adaptor/geometries/edge.ts +0 -43
- package/src/adaptor/geometries/index.ts +0 -17
- package/src/adaptor/geometries/interval.ts +0 -134
- package/src/adaptor/geometries/line.ts +0 -54
- package/src/adaptor/geometries/point.ts +0 -48
- package/src/adaptor/geometries/polygon.ts +0 -43
- package/src/adaptor/geometries/schema.ts +0 -43
- package/src/adaptor/geometries/violin.ts +0 -44
- package/src/adaptor/pattern.ts +0 -66
- package/src/constant.ts +0 -25
- package/src/core/adaptor.ts +0 -17
- package/src/core/global.ts +0 -17
- package/src/core/locale.ts +0 -31
- package/src/interactions/actions/drill-down.ts +0 -302
- package/src/interactions/actions/reset-button.ts +0 -161
- package/src/interactions/brush.ts +0 -316
- package/src/interactions/drag-move.ts +0 -13
- package/src/interactions/drill-down.ts +0 -54
- package/src/lab.ts +0 -34
- package/src/locales/en_US.ts +0 -31
- package/src/locales/zh_CN.ts +0 -31
- package/src/plots/_template/adaptor.ts +0 -51
- package/src/plots/_template/constant.ts +0 -0
- package/src/plots/_template/index.ts +0 -21
- package/src/plots/_template/types.ts +0 -9
- package/src/plots/area/adaptor.ts +0 -180
- package/src/plots/area/constants.ts +0 -23
- package/src/plots/area/index.ts +0 -47
- package/src/plots/area/types.ts +0 -67
- package/src/plots/bar/adaptor.ts +0 -145
- package/src/plots/bar/constants.ts +0 -19
- package/src/plots/bar/index.ts +0 -53
- package/src/plots/bar/types.ts +0 -27
- package/src/plots/bidirectional-bar/adaptor.ts +0 -349
- package/src/plots/bidirectional-bar/constant.ts +0 -4
- package/src/plots/bidirectional-bar/index.ts +0 -68
- package/src/plots/bidirectional-bar/types.ts +0 -36
- package/src/plots/bidirectional-bar/utils.ts +0 -92
- package/src/plots/box/adaptor.ts +0 -171
- package/src/plots/box/constant.ts +0 -30
- package/src/plots/box/index.ts +0 -50
- package/src/plots/box/types.ts +0 -30
- package/src/plots/box/utils.ts +0 -22
- package/src/plots/bullet/adaptor.ts +0 -204
- package/src/plots/bullet/constant.ts +0 -32
- package/src/plots/bullet/index.ts +0 -43
- package/src/plots/bullet/types.ts +0 -57
- package/src/plots/bullet/utils.ts +0 -75
- package/src/plots/chord/adaptor.ts +0 -196
- package/src/plots/chord/constant.ts +0 -58
- package/src/plots/chord/index.ts +0 -33
- package/src/plots/chord/types.ts +0 -49
- package/src/plots/circle-packing/adaptor.ts +0 -230
- package/src/plots/circle-packing/constant.ts +0 -32
- package/src/plots/circle-packing/index.ts +0 -49
- package/src/plots/circle-packing/interactions/index.ts +0 -2
- package/src/plots/circle-packing/types.ts +0 -46
- package/src/plots/circle-packing/utils.ts +0 -89
- package/src/plots/column/constants.ts +0 -19
- package/src/plots/column/types.ts +0 -94
- package/src/plots/dual-axes/adaptor.ts +0 -511
- package/src/plots/dual-axes/constant.ts +0 -21
- package/src/plots/dual-axes/index.ts +0 -29
- package/src/plots/dual-axes/types.ts +0 -104
- package/src/plots/dual-axes/util/geometry.ts +0 -88
- package/src/plots/dual-axes/util/legend.ts +0 -85
- package/src/plots/dual-axes/util/option.ts +0 -91
- package/src/plots/dual-axes/util/render-sider.ts +0 -33
- package/src/plots/facet/adaptor.ts +0 -127
- package/src/plots/facet/constant.ts +0 -23
- package/src/plots/facet/index.ts +0 -34
- package/src/plots/facet/types.ts +0 -152
- package/src/plots/facet/utils.ts +0 -86
- package/src/plots/funnel/adaptor.ts +0 -188
- package/src/plots/funnel/constant.ts +0 -47
- package/src/plots/funnel/geometries/basic.ts +0 -118
- package/src/plots/funnel/geometries/common.ts +0 -82
- package/src/plots/funnel/geometries/compare.ts +0 -182
- package/src/plots/funnel/geometries/dynamic-height.ts +0 -156
- package/src/plots/funnel/geometries/facet.ts +0 -57
- package/src/plots/funnel/index.ts +0 -84
- package/src/plots/funnel/interactions/funnel-conversion-tag.ts +0 -57
- package/src/plots/funnel/interactions/index.ts +0 -11
- package/src/plots/funnel/types.ts +0 -75
- package/src/plots/gauge/adaptor.ts +0 -225
- package/src/plots/gauge/constants.ts +0 -71
- package/src/plots/gauge/index.ts +0 -72
- package/src/plots/gauge/shapes/indicator.ts +0 -44
- package/src/plots/gauge/shapes/meter-gauge.ts +0 -67
- package/src/plots/gauge/types.ts +0 -138
- package/src/plots/gauge/utils.ts +0 -43
- package/src/plots/heatmap/adaptor.ts +0 -204
- package/src/plots/heatmap/constant.ts +0 -39
- package/src/plots/heatmap/index.ts +0 -37
- package/src/plots/heatmap/shapes/circle.ts +0 -30
- package/src/plots/heatmap/shapes/square.ts +0 -31
- package/src/plots/heatmap/types.ts +0 -68
- package/src/plots/histogram/adaptor.ts +0 -131
- package/src/plots/histogram/constant.ts +0 -21
- package/src/plots/histogram/index.ts +0 -42
- package/src/plots/histogram/types.ts +0 -29
- package/src/plots/line/constants.ts +0 -21
- package/src/plots/line/interactions/index.ts +0 -18
- package/src/plots/line/interactions/marker-active.ts +0 -34
- package/src/plots/line/types.ts +0 -64
- package/src/plots/liquid/adaptor.ts +0 -104
- package/src/plots/liquid/constants.ts +0 -26
- package/src/plots/liquid/index.ts +0 -62
- package/src/plots/liquid/shapes/liquid.ts +0 -484
- package/src/plots/liquid/types.ts +0 -99
- package/src/plots/liquid/utils.ts +0 -8
- package/src/plots/mix/adaptor.ts +0 -178
- package/src/plots/mix/index.ts +0 -30
- package/src/plots/mix/interactions/association.ts +0 -178
- package/src/plots/mix/interactions/index.ts +0 -4
- package/src/plots/mix/interactions/utils.ts +0 -41
- package/src/plots/mix/types.ts +0 -129
- package/src/plots/mix/utils.ts +0 -183
- package/src/plots/pie/adaptor.ts +0 -340
- package/src/plots/pie/contants.ts +0 -50
- package/src/plots/pie/index.ts +0 -68
- package/src/plots/pie/interactions/actions/legend-active.ts +0 -65
- package/src/plots/pie/interactions/actions/statistic-active.ts +0 -83
- package/src/plots/pie/interactions/index.ts +0 -17
- package/src/plots/pie/interactions/util.ts +0 -16
- package/src/plots/pie/types.ts +0 -54
- package/src/plots/pie/utils.ts +0 -51
- package/src/plots/progress/adaptor.ts +0 -67
- package/src/plots/progress/constants.ts +0 -10
- package/src/plots/progress/index.ts +0 -41
- package/src/plots/progress/types.ts +0 -22
- package/src/plots/progress/utils.ts +0 -22
- package/src/plots/radar/adaptor.ts +0 -135
- package/src/plots/radar/index.ts +0 -72
- package/src/plots/radar/interactions/index.ts +0 -8
- package/src/plots/radar/interactions/radar-tooltip-action.ts +0 -64
- package/src/plots/radar/types.ts +0 -56
- package/src/plots/radial-bar/adaptor.ts +0 -147
- package/src/plots/radial-bar/constant.ts +0 -19
- package/src/plots/radial-bar/index.ts +0 -43
- package/src/plots/radial-bar/types.ts +0 -67
- package/src/plots/radial-bar/utils.ts +0 -27
- package/src/plots/ring-progress/adaptor.ts +0 -66
- package/src/plots/ring-progress/constants.ts +0 -22
- package/src/plots/ring-progress/index.ts +0 -54
- package/src/plots/ring-progress/types.ts +0 -29
- package/src/plots/rose/adaptor.ts +0 -173
- package/src/plots/rose/constant.ts +0 -28
- package/src/plots/rose/index.ts +0 -43
- package/src/plots/rose/types.ts +0 -56
- package/src/plots/sankey/adaptor.ts +0 -190
- package/src/plots/sankey/circle.ts +0 -108
- package/src/plots/sankey/constant.ts +0 -5
- package/src/plots/sankey/helper.ts +0 -92
- package/src/plots/sankey/index.ts +0 -119
- package/src/plots/sankey/interactions/actions/node-drag.ts +0 -175
- package/src/plots/sankey/interactions/index.ts +0 -1
- package/src/plots/sankey/interactions/node-draggable.ts +0 -17
- package/src/plots/sankey/layout.ts +0 -187
- package/src/plots/sankey/sankey/align.ts +0 -21
- package/src/plots/sankey/sankey/helper.ts +0 -42
- package/src/plots/sankey/sankey/index.ts +0 -11
- package/src/plots/sankey/sankey/sankey.ts +0 -405
- package/src/plots/sankey/types.ts +0 -146
- package/src/plots/scatter/adaptor.ts +0 -355
- package/src/plots/scatter/constant.ts +0 -17
- package/src/plots/scatter/index.ts +0 -63
- package/src/plots/scatter/interactions/index.ts +0 -1
- package/src/plots/scatter/types.ts +0 -142
- package/src/plots/scatter/util.ts +0 -282
- package/src/plots/stock/adaptor.ts +0 -140
- package/src/plots/stock/constant.ts +0 -56
- package/src/plots/stock/index.ts +0 -46
- package/src/plots/stock/types.ts +0 -31
- package/src/plots/stock/utils.ts +0 -19
- package/src/plots/sunburst/adaptor.ts +0 -239
- package/src/plots/sunburst/constant.ts +0 -54
- package/src/plots/sunburst/index.ts +0 -43
- package/src/plots/sunburst/interactions/index.ts +0 -2
- package/src/plots/sunburst/types.ts +0 -76
- package/src/plots/sunburst/utils.ts +0 -69
- package/src/plots/tiny-area/adaptor.ts +0 -78
- package/src/plots/tiny-area/constants.ts +0 -21
- package/src/plots/tiny-area/index.ts +0 -43
- package/src/plots/tiny-area/types.ts +0 -28
- package/src/plots/tiny-column/adaptor.ts +0 -50
- package/src/plots/tiny-column/constants.ts +0 -27
- package/src/plots/tiny-column/index.ts +0 -43
- package/src/plots/tiny-column/types.ts +0 -18
- package/src/plots/tiny-line/adaptor.ts +0 -56
- package/src/plots/tiny-line/constants.ts +0 -34
- package/src/plots/tiny-line/index.ts +0 -43
- package/src/plots/tiny-line/types.ts +0 -29
- package/src/plots/tiny-line/utils.ts +0 -5
- package/src/plots/treemap/adaptor.ts +0 -161
- package/src/plots/treemap/constant.ts +0 -38
- package/src/plots/treemap/index.ts +0 -50
- package/src/plots/treemap/interactions/index.ts +0 -4
- package/src/plots/treemap/types.ts +0 -31
- package/src/plots/treemap/utils.ts +0 -106
- package/src/plots/venn/adaptor.ts +0 -278
- package/src/plots/venn/constant.ts +0 -51
- package/src/plots/venn/index.ts +0 -47
- package/src/plots/venn/interactions/actions/active.ts +0 -31
- package/src/plots/venn/interactions/actions/highlight.ts +0 -37
- package/src/plots/venn/interactions/actions/selected.ts +0 -65
- package/src/plots/venn/interactions/index.ts +0 -55
- package/src/plots/venn/interactions/util.ts +0 -12
- package/src/plots/venn/label.ts +0 -26
- package/src/plots/venn/layout/circleintersection.ts +0 -223
- package/src/plots/venn/layout/diagram.ts +0 -219
- package/src/plots/venn/layout/layout.ts +0 -734
- package/src/plots/venn/shape.ts +0 -53
- package/src/plots/venn/types.ts +0 -40
- package/src/plots/venn/utils.ts +0 -106
- package/src/plots/violin/adaptor.ts +0 -308
- package/src/plots/violin/constant.ts +0 -62
- package/src/plots/violin/index.ts +0 -42
- package/src/plots/violin/types.ts +0 -75
- package/src/plots/violin/utils.ts +0 -102
- package/src/plots/waterfall/adaptor.ts +0 -264
- package/src/plots/waterfall/constant.ts +0 -41
- package/src/plots/waterfall/index.ts +0 -48
- package/src/plots/waterfall/shape.ts +0 -76
- package/src/plots/waterfall/types.ts +0 -72
- package/src/plots/waterfall/utils.ts +0 -66
- package/src/plots/word-cloud/adaptor.ts +0 -81
- package/src/plots/word-cloud/constant.ts +0 -32
- package/src/plots/word-cloud/index.ts +0 -98
- package/src/plots/word-cloud/shapes/word-cloud.ts +0 -37
- package/src/plots/word-cloud/types.ts +0 -150
- package/src/plots/word-cloud/utils.ts +0 -267
- package/src/plugin/index.ts +0 -63
- package/src/types/animation.ts +0 -3
- package/src/types/annotation.ts +0 -15
- package/src/types/attr.ts +0 -22
- package/src/types/axis.ts +0 -4
- package/src/types/button.ts +0 -34
- package/src/types/coordinate.ts +0 -17
- package/src/types/drill-down.ts +0 -40
- package/src/types/interaction.ts +0 -52
- package/src/types/label.ts +0 -20
- package/src/types/legend.ts +0 -3
- package/src/types/locale.ts +0 -30
- package/src/types/meta.ts +0 -15
- package/src/types/pattern.ts +0 -90
- package/src/types/relation-data.ts +0 -18
- package/src/types/scrollbar.ts +0 -3
- package/src/types/slider.ts +0 -3
- package/src/types/state.ts +0 -21
- package/src/types/statistic.ts +0 -66
- package/src/types/tooltip.ts +0 -18
- package/src/utils/color/blend.ts +0 -103
- package/src/utils/context.ts +0 -12
- package/src/utils/conversion.ts +0 -26
- package/src/utils/data.ts +0 -115
- package/src/utils/deep-assign.ts +0 -84
- package/src/utils/dom.ts +0 -24
- package/src/utils/flow.ts +0 -13
- package/src/utils/geometry.ts +0 -58
- package/src/utils/hierarchy/pack.ts +0 -49
- package/src/utils/hierarchy/partition.ts +0 -88
- package/src/utils/hierarchy/treemap.ts +0 -93
- package/src/utils/hierarchy/types.ts +0 -27
- package/src/utils/hierarchy/util.ts +0 -71
- package/src/utils/invariant.ts +0 -49
- package/src/utils/kebab-case.ts +0 -12
- package/src/utils/label.ts +0 -15
- package/src/utils/matrix.ts +0 -13
- package/src/utils/measure-text.ts +0 -19
- package/src/utils/number.ts +0 -22
- package/src/utils/padding.ts +0 -70
- package/src/utils/path.ts +0 -161
- package/src/utils/pattern/dot.ts +0 -86
- package/src/utils/pattern/index.ts +0 -45
- package/src/utils/pattern/line.ts +0 -70
- package/src/utils/pattern/square.ts +0 -78
- package/src/utils/pattern/util.ts +0 -104
- package/src/utils/pick.ts +0 -18
- package/src/utils/statistic.ts +0 -197
- package/src/utils/template.ts +0 -18
- package/src/utils/tooltip.ts +0 -27
- package/src/utils/transform/chord.ts +0 -231
- package/src/utils/transform/histogram.ts +0 -90
- package/src/utils/transform/percent.ts +0 -96
- package/src/utils/transform/quantile.ts +0 -216
- package/src/utils/transform/sankey.ts +0 -0
- package/src/utils/transform/word-cloud.ts +0 -537
- package/src/utils/view.ts +0 -64
package/esm/plots/mix/adaptor.js
DELETED
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
2
|
-
import { each } from '@antv/util';
|
|
3
|
-
import { animation, annotation, interaction, theme, tooltip } from '../../adaptor/common';
|
|
4
|
-
import { geometry as geometryAdaptor } from '../../adaptor/geometries/base';
|
|
5
|
-
import { AXIS_META_CONFIG_KEYS } from '../../constant';
|
|
6
|
-
import { PLOT_CONTAINER_OPTIONS } from '../../core/plot';
|
|
7
|
-
import { deepAssign, flow, pick } from '../../utils';
|
|
8
|
-
import { execPlotAdaptor } from './utils';
|
|
9
|
-
/**
|
|
10
|
-
* geometry 处理
|
|
11
|
-
* @param params
|
|
12
|
-
*/
|
|
13
|
-
function multiView(params) {
|
|
14
|
-
var chart = params.chart, options = params.options;
|
|
15
|
-
var views = options.views, legend = options.legend;
|
|
16
|
-
each(views, function (v) {
|
|
17
|
-
var region = v.region, data = v.data, meta = v.meta, axes = v.axes, coordinate = v.coordinate, interactions = v.interactions, annotations = v.annotations, tooltip = v.tooltip, geometries = v.geometries;
|
|
18
|
-
// 1. 创建 view
|
|
19
|
-
var viewOfG2 = chart.createView({
|
|
20
|
-
region: region,
|
|
21
|
-
});
|
|
22
|
-
// 2. data
|
|
23
|
-
viewOfG2.data(data);
|
|
24
|
-
// 3. meta
|
|
25
|
-
var scales = {};
|
|
26
|
-
if (axes) {
|
|
27
|
-
each(axes, function (axis, field) {
|
|
28
|
-
scales[field] = pick(axis, AXIS_META_CONFIG_KEYS);
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
scales = deepAssign({}, meta, scales);
|
|
32
|
-
viewOfG2.scale(scales);
|
|
33
|
-
// 4. x y axis
|
|
34
|
-
if (!axes) {
|
|
35
|
-
viewOfG2.axis(false);
|
|
36
|
-
}
|
|
37
|
-
else {
|
|
38
|
-
each(axes, function (axis, field) {
|
|
39
|
-
viewOfG2.axis(field, axis);
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
// 5. coordinate
|
|
43
|
-
viewOfG2.coordinate(coordinate);
|
|
44
|
-
// 6. geometry
|
|
45
|
-
each(geometries, function (geometry) {
|
|
46
|
-
var ext = geometryAdaptor({
|
|
47
|
-
chart: viewOfG2,
|
|
48
|
-
options: geometry,
|
|
49
|
-
}).ext;
|
|
50
|
-
// adjust
|
|
51
|
-
var adjust = geometry.adjust;
|
|
52
|
-
if (adjust) {
|
|
53
|
-
ext.geometry.adjust(adjust);
|
|
54
|
-
}
|
|
55
|
-
});
|
|
56
|
-
// 7. interactions
|
|
57
|
-
each(interactions, function (interaction) {
|
|
58
|
-
if (interaction.enable === false) {
|
|
59
|
-
viewOfG2.removeInteraction(interaction.type);
|
|
60
|
-
}
|
|
61
|
-
else {
|
|
62
|
-
viewOfG2.interaction(interaction.type, interaction.cfg);
|
|
63
|
-
}
|
|
64
|
-
});
|
|
65
|
-
// 8. annotations
|
|
66
|
-
each(annotations, function (annotation) {
|
|
67
|
-
viewOfG2.annotation()[annotation.type](__assign({}, annotation));
|
|
68
|
-
});
|
|
69
|
-
// 9. animation (先做动画)
|
|
70
|
-
if (typeof v.animation === 'boolean') {
|
|
71
|
-
viewOfG2.animate(false);
|
|
72
|
-
}
|
|
73
|
-
else {
|
|
74
|
-
viewOfG2.animate(true);
|
|
75
|
-
// 9.1 所有的 Geometry 都使用同一动画(各个图形如有区别,todo 自行覆盖)
|
|
76
|
-
each(viewOfG2.geometries, function (g) {
|
|
77
|
-
g.animate(v.animation);
|
|
78
|
-
});
|
|
79
|
-
}
|
|
80
|
-
if (tooltip) {
|
|
81
|
-
// 10. tooltip
|
|
82
|
-
viewOfG2.interaction('tooltip');
|
|
83
|
-
viewOfG2.tooltip(tooltip);
|
|
84
|
-
}
|
|
85
|
-
});
|
|
86
|
-
// legend
|
|
87
|
-
if (!legend) {
|
|
88
|
-
chart.legend(false);
|
|
89
|
-
}
|
|
90
|
-
else {
|
|
91
|
-
each(legend, function (l, field) {
|
|
92
|
-
chart.legend(field, l);
|
|
93
|
-
});
|
|
94
|
-
}
|
|
95
|
-
// tooltip
|
|
96
|
-
chart.tooltip(options.tooltip);
|
|
97
|
-
return params;
|
|
98
|
-
}
|
|
99
|
-
/**
|
|
100
|
-
* 支持嵌套使用 g2plot 内置图表
|
|
101
|
-
* @param params
|
|
102
|
-
*/
|
|
103
|
-
function multiPlot(params) {
|
|
104
|
-
var chart = params.chart, options = params.options;
|
|
105
|
-
var plots = options.plots, _a = options.data, data = _a === void 0 ? [] : _a;
|
|
106
|
-
each(plots, function (plot) {
|
|
107
|
-
var type = plot.type, region = plot.region, _a = plot.options, options = _a === void 0 ? {} : _a, top = plot.top;
|
|
108
|
-
var tooltip = options.tooltip;
|
|
109
|
-
if (top) {
|
|
110
|
-
execPlotAdaptor(type, chart, __assign(__assign({}, options), { data: data }));
|
|
111
|
-
return;
|
|
112
|
-
}
|
|
113
|
-
var viewOfG2 = chart.createView(__assign({ region: region }, pick(options, PLOT_CONTAINER_OPTIONS)));
|
|
114
|
-
if (tooltip) {
|
|
115
|
-
// 配置 tooltip 交互
|
|
116
|
-
viewOfG2.interaction('tooltip');
|
|
117
|
-
}
|
|
118
|
-
execPlotAdaptor(type, viewOfG2, __assign({ data: data }, options));
|
|
119
|
-
});
|
|
120
|
-
return params;
|
|
121
|
-
}
|
|
122
|
-
/**
|
|
123
|
-
* 处理缩略轴的 adaptor (mix)
|
|
124
|
-
* @param params
|
|
125
|
-
*/
|
|
126
|
-
export function slider(params) {
|
|
127
|
-
var chart = params.chart, options = params.options;
|
|
128
|
-
chart.option('slider', options.slider);
|
|
129
|
-
return params;
|
|
130
|
-
}
|
|
131
|
-
/**
|
|
132
|
-
* 图适配器
|
|
133
|
-
* @param chart
|
|
134
|
-
* @param options
|
|
135
|
-
*/
|
|
136
|
-
export function adaptor(params) {
|
|
137
|
-
return flow(animation, // 多 view 的图,动画配置放到最前面
|
|
138
|
-
multiView, multiPlot, interaction, animation, theme, tooltip, slider, annotation()
|
|
139
|
-
// ... 其他的 adaptor flow
|
|
140
|
-
)(params);
|
|
141
|
-
}
|
|
142
|
-
//# sourceMappingURL=adaptor.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"adaptor.js","sourceRoot":"","sources":["../../../src/plots/mix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port { each } from '@antv/util';\nimport { animation, annotation, interaction, theme, tooltip } from '../../adaptor/common';\nimport { geometry as geometryAdaptor } from '../../adaptor/geometries/base';\nimport { AXIS_META_CONFIG_KEYS } from '../../constant';\nimport { Params } from '../../core/adaptor';\nimport { PLOT_CONTAINER_OPTIONS } from '../../core/plot';\nimport { Axis } from '../../types/axis';\nimport { Interaction } from '../../types/interaction';\nimport { Legend } from '../../types/legend';\nimport { deepAssign, flow, pick } from '../../utils';\nimport { IGeometry, IView, MixOptions } from './types';\nimport { execPlotAdaptor } from './utils';\n\n/**\n * geometry 处理\n * @param params\n */\nfunction multiView(params: Params<MixOptions>): Params<MixOptions> {\n const { chart, options } = params;\n const { views, legend } = options;\n\n each(views, (v: IView) => {\n const { region, data, meta, axes, coordinate, interactions, annotations, tooltip, geometries } = v;\n\n // 1. 创建 view\n const viewOfG2 = chart.createView({\n region,\n });\n\n // 2. data\n viewOfG2.data(data);\n\n // 3. meta\n let scales: Record<string, any> = {};\n if (axes) {\n each(axes, (axis: Axis, field: string) => {\n scales[field] = pick(axis, AXIS_META_CONFIG_KEYS);\n });\n }\n\n scales = deepAssign({}, meta, scales);\n viewOfG2.scale(scales);\n\n // 4. x y axis\n if (!axes) {\n viewOfG2.axis(false);\n } else {\n each(axes, (axis: Axis, field: string) => {\n viewOfG2.axis(field, axis);\n });\n }\n\n // 5. coordinate\n viewOfG2.coordinate(coordinate);\n\n // 6. geometry\n each(geometries, (geometry: IGeometry) => {\n const { ext } = geometryAdaptor({\n chart: viewOfG2,\n options: geometry,\n });\n\n // adjust\n const { adjust } = geometry;\n if (adjust) {\n ext.geometry.adjust(adjust);\n }\n });\n\n // 7. interactions\n each(interactions, (interaction: Interaction) => {\n if (interaction.enable === false) {\n viewOfG2.removeInteraction(interaction.type);\n } else {\n viewOfG2.interaction(interaction.type, interaction.cfg);\n }\n });\n\n // 8. annotations\n each(annotations, (annotation) => {\n viewOfG2.annotation()[annotation.type]({\n ...annotation,\n });\n });\n\n // 9. animation (先做动画)\n if (typeof v.animation === 'boolean') {\n viewOfG2.animate(false);\n } else {\n viewOfG2.animate(true);\n // 9.1 所有的 Geometry 都使用同一动画(各个图形如有区别,todo 自行覆盖)\n each(viewOfG2.geometries, (g: Geometry) => {\n g.animate(v.animation);\n });\n }\n\n if (tooltip) {\n // 10. tooltip\n viewOfG2.interaction('tooltip');\n viewOfG2.tooltip(tooltip);\n }\n });\n\n // legend\n if (!legend) {\n chart.legend(false);\n } else {\n each(legend, (l: Legend, field: string) => {\n chart.legend(field, l);\n });\n }\n\n // tooltip\n chart.tooltip(options.tooltip);\n return params;\n}\n\n/**\n * 支持嵌套使用 g2plot 内置图表\n * @param params\n */\nfunction multiPlot(params: Params<MixOptions>): Params<MixOptions> {\n const { chart, options } = params;\n const { plots, data = [] } = options;\n\n each(plots, (plot) => {\n const { type, region, options = {}, top } = plot;\n const { tooltip } = options;\n\n if (top) {\n execPlotAdaptor(type, chart, { ...options, data });\n return;\n }\n\n const viewOfG2 = chart.createView({ region, ...pick(options, PLOT_CONTAINER_OPTIONS) });\n if (tooltip) {\n // 配置 tooltip 交互\n viewOfG2.interaction('tooltip');\n }\n\n execPlotAdaptor(type, viewOfG2, { data, ...options });\n });\n\n return params;\n}\n\n/**\n * 处理缩略轴的 adaptor (mix)\n * @param params\n */\nexport function slider(params: Params<MixOptions>): Params<MixOptions> {\n const { chart, options } = params;\n\n chart.option('slider', options.slider);\n\n return params;\n}\n\n/**\n * 图适配器\n * @param chart\n * @param options\n */\nexport function adaptor(params: Params<MixOptions>) {\n return flow(\n animation, // 多 view 的图,动画配置放到最前面\n multiView,\n multiPlot,\n interaction,\n animation,\n theme,\n tooltip,\n slider,\n annotation()\n // ... 其他的 adaptor flow\n )(params);\n}\n"]}
|
package/esm/plots/mix/index.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Adaptor } from '../../core/adaptor';
|
|
2
|
-
import { Plot } from '../../core/plot';
|
|
3
|
-
import './interactions';
|
|
4
|
-
import { MixOptions } from './types';
|
|
5
|
-
export type { MixOptions };
|
|
6
|
-
/**
|
|
7
|
-
* 多图层图形,释放 G2 80% 的功能,可以用来做:
|
|
8
|
-
* 1. 图层叠加的图:
|
|
9
|
-
* - 折线 + 置信度区间迭代
|
|
10
|
-
* - 嵌套饼图
|
|
11
|
-
* - ...
|
|
12
|
-
* 2. 图层划分的图
|
|
13
|
-
* - 多维图
|
|
14
|
-
* - 柱饼组合图
|
|
15
|
-
* - ...
|
|
16
|
-
*/
|
|
17
|
-
export declare class Mix extends Plot<MixOptions> {
|
|
18
|
-
/** 图表类型 */
|
|
19
|
-
type: string;
|
|
20
|
-
/**
|
|
21
|
-
* 获取适配器
|
|
22
|
-
*/
|
|
23
|
-
protected getSchemaAdaptor(): Adaptor<MixOptions>;
|
|
24
|
-
}
|
package/esm/plots/mix/index.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { Plot } from '../../core/plot';
|
|
3
|
-
import { adaptor } from './adaptor';
|
|
4
|
-
import './interactions';
|
|
5
|
-
/**
|
|
6
|
-
* 多图层图形,释放 G2 80% 的功能,可以用来做:
|
|
7
|
-
* 1. 图层叠加的图:
|
|
8
|
-
* - 折线 + 置信度区间迭代
|
|
9
|
-
* - 嵌套饼图
|
|
10
|
-
* - ...
|
|
11
|
-
* 2. 图层划分的图
|
|
12
|
-
* - 多维图
|
|
13
|
-
* - 柱饼组合图
|
|
14
|
-
* - ...
|
|
15
|
-
*/
|
|
16
|
-
var Mix = /** @class */ (function (_super) {
|
|
17
|
-
__extends(Mix, _super);
|
|
18
|
-
function Mix() {
|
|
19
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
20
|
-
/** 图表类型 */
|
|
21
|
-
_this.type = 'mix';
|
|
22
|
-
return _this;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* 获取适配器
|
|
26
|
-
*/
|
|
27
|
-
Mix.prototype.getSchemaAdaptor = function () {
|
|
28
|
-
return adaptor;
|
|
29
|
-
};
|
|
30
|
-
return Mix;
|
|
31
|
-
}(Plot));
|
|
32
|
-
export { Mix };
|
|
33
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/plots/mix/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,gBAAgB,CAAC;AAKxB;;;;;;;;;;GAUG;AACH;IAAyB,uBAAgB;IAAzC;QAAA,qEAUC;QATC,WAAW;QACJ,UAAI,GAAW,KAAK,CAAC;;IAQ9B,CAAC;IANC;;OAEG;IACO,8BAAgB,GAA1B;QACE,OAAO,OAAO,CAAC;IACjB,CAAC;IACH,UAAC;AAAD,CAAC,AAVD,CAAyB,IAAI,GAU5B","sourcesContent":["import { Adaptor } from '../../core/adaptor';\nimport { Plot } from '../../core/plot';\nimport { adaptor } from './adaptor';\nimport './interactions';\nimport { MixOptions } from './types';\n\nexport type { MixOptions };\n\n/**\n * 多图层图形,释放 G2 80% 的功能,可以用来做:\n * 1. 图层叠加的图:\n * - 折线 + 置信度区间迭代\n * - 嵌套饼图\n * - ...\n * 2. 图层划分的图\n * - 多维图\n * - 柱饼组合图\n * - ...\n */\nexport class Mix extends Plot<MixOptions> {\n /** 图表类型 */\n public type: string = 'mix';\n\n /**\n * 获取适配器\n */\n protected getSchemaAdaptor(): Adaptor<MixOptions> {\n return adaptor;\n }\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { Action, registerAction, registerInteraction } from '@antv/g2';
|
|
3
|
-
import { each, get, isArray, map } from '@antv/util';
|
|
4
|
-
import { getAllElements, getSiblingViews, getViews } from '../../../utils';
|
|
5
|
-
import { clearHighlight, getElementValue } from './utils';
|
|
6
|
-
/**
|
|
7
|
-
* 存在多个 view 时,view 之间的联动交互
|
|
8
|
-
*
|
|
9
|
-
* 提供四个反馈 action,均接受参数:linkField 关联字段,dim 维度
|
|
10
|
-
* 1. showTooltip
|
|
11
|
-
* 2. active
|
|
12
|
-
* 3. highlight
|
|
13
|
-
* 4. selected
|
|
14
|
-
*
|
|
15
|
-
* 附加,两个结束反馈 action:
|
|
16
|
-
* 1. hidetooltip
|
|
17
|
-
* 2. reset 清除激活和高亮状态
|
|
18
|
-
*/
|
|
19
|
-
var Association = /** @class */ (function (_super) {
|
|
20
|
-
__extends(Association, _super);
|
|
21
|
-
function Association() {
|
|
22
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* 获取关联的 elements
|
|
26
|
-
*
|
|
27
|
-
* - 如果 dim 参数存在,根据 dim 获取相应的 field。与 linkField 不匹配则 return
|
|
28
|
-
* - 否则 dim 参数不存在,且 linkField 存在,则作为关联字段
|
|
29
|
-
* - 否则若 linkField 不存在,则获取第一个分类字段
|
|
30
|
-
* @returns EventItem[]
|
|
31
|
-
*/
|
|
32
|
-
Association.prototype.getAssociationItems = function (views, params) {
|
|
33
|
-
var _a;
|
|
34
|
-
var event = this.context.event;
|
|
35
|
-
var _b = params || {}, linkField = _b.linkField, dim = _b.dim;
|
|
36
|
-
var items = [];
|
|
37
|
-
if ((_a = event.data) === null || _a === void 0 ? void 0 : _a.data) {
|
|
38
|
-
var data_1 = event.data.data;
|
|
39
|
-
each(views, function (v) {
|
|
40
|
-
var _a, _b;
|
|
41
|
-
var field = linkField;
|
|
42
|
-
if (dim === 'x') {
|
|
43
|
-
field = v.getXScale().field;
|
|
44
|
-
}
|
|
45
|
-
else if (dim === 'y') {
|
|
46
|
-
field = (_a = v.getYScales().find(function (s) { return s.field === field; })) === null || _a === void 0 ? void 0 : _a.field;
|
|
47
|
-
}
|
|
48
|
-
else if (!field) {
|
|
49
|
-
field = (_b = v.getGroupScales()[0]) === null || _b === void 0 ? void 0 : _b.field;
|
|
50
|
-
}
|
|
51
|
-
if (!field) {
|
|
52
|
-
return;
|
|
53
|
-
}
|
|
54
|
-
var elements = map(getAllElements(v), function (ele) {
|
|
55
|
-
var active = false;
|
|
56
|
-
var inactive = false;
|
|
57
|
-
var dataValue = isArray(data_1) ? get(data_1[0], field) : get(data_1, field);
|
|
58
|
-
if (getElementValue(ele, field) === dataValue) {
|
|
59
|
-
active = true;
|
|
60
|
-
}
|
|
61
|
-
else {
|
|
62
|
-
inactive = true;
|
|
63
|
-
}
|
|
64
|
-
return { element: ele, view: v, active: active, inactive: inactive };
|
|
65
|
-
});
|
|
66
|
-
items.push.apply(items, elements);
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
return items;
|
|
70
|
-
};
|
|
71
|
-
/**
|
|
72
|
-
* 所有同一层级的 tooltip 显示
|
|
73
|
-
*/
|
|
74
|
-
Association.prototype.showTooltip = function (params) {
|
|
75
|
-
var siblings = getSiblingViews(this.context.view);
|
|
76
|
-
var elements = this.getAssociationItems(siblings, params);
|
|
77
|
-
each(elements, function (ele) {
|
|
78
|
-
if (ele.active) {
|
|
79
|
-
var box = ele.element.shape.getCanvasBBox();
|
|
80
|
-
ele.view.showTooltip({ x: box.minX + box.width / 2, y: box.minY + box.height / 2 });
|
|
81
|
-
}
|
|
82
|
-
});
|
|
83
|
-
};
|
|
84
|
-
/**
|
|
85
|
-
* 隐藏同一层级的 tooltip
|
|
86
|
-
*/
|
|
87
|
-
Association.prototype.hideTooltip = function () {
|
|
88
|
-
var siblings = getSiblingViews(this.context.view);
|
|
89
|
-
each(siblings, function (sibling) {
|
|
90
|
-
sibling.hideTooltip();
|
|
91
|
-
});
|
|
92
|
-
};
|
|
93
|
-
/**
|
|
94
|
-
* 设置 active 状态
|
|
95
|
-
*/
|
|
96
|
-
Association.prototype.active = function (params) {
|
|
97
|
-
var views = getViews(this.context.view);
|
|
98
|
-
var items = this.getAssociationItems(views, params);
|
|
99
|
-
each(items, function (item) {
|
|
100
|
-
var active = item.active, element = item.element;
|
|
101
|
-
if (active) {
|
|
102
|
-
element.setState('active', true);
|
|
103
|
-
}
|
|
104
|
-
});
|
|
105
|
-
};
|
|
106
|
-
/**
|
|
107
|
-
* 设置 selected 状态
|
|
108
|
-
*/
|
|
109
|
-
Association.prototype.selected = function (params) {
|
|
110
|
-
var views = getViews(this.context.view);
|
|
111
|
-
var items = this.getAssociationItems(views, params);
|
|
112
|
-
each(items, function (item) {
|
|
113
|
-
var active = item.active, element = item.element;
|
|
114
|
-
if (active) {
|
|
115
|
-
element.setState('selected', true);
|
|
116
|
-
}
|
|
117
|
-
});
|
|
118
|
-
};
|
|
119
|
-
/**
|
|
120
|
-
* 进行高亮 => 设置 inactive 状态
|
|
121
|
-
*/
|
|
122
|
-
Association.prototype.highlight = function (params) {
|
|
123
|
-
var views = getViews(this.context.view);
|
|
124
|
-
var items = this.getAssociationItems(views, params);
|
|
125
|
-
each(items, function (item) {
|
|
126
|
-
var inactive = item.inactive, element = item.element;
|
|
127
|
-
if (inactive) {
|
|
128
|
-
element.setState('inactive', true);
|
|
129
|
-
}
|
|
130
|
-
});
|
|
131
|
-
};
|
|
132
|
-
Association.prototype.reset = function () {
|
|
133
|
-
var views = getViews(this.context.view);
|
|
134
|
-
each(views, function (v) {
|
|
135
|
-
clearHighlight(v);
|
|
136
|
-
});
|
|
137
|
-
};
|
|
138
|
-
return Association;
|
|
139
|
-
}(Action));
|
|
140
|
-
registerAction('association', Association);
|
|
141
|
-
/**
|
|
142
|
-
* 相邻 view 的 active 联动(相同维值的 tooltip 联动)
|
|
143
|
-
*/
|
|
144
|
-
registerInteraction('association-active', {
|
|
145
|
-
start: [{ trigger: 'element:mouseenter', action: 'association:active' }],
|
|
146
|
-
end: [{ trigger: 'element:mouseleave', action: 'association:reset' }],
|
|
147
|
-
});
|
|
148
|
-
/**
|
|
149
|
-
* 相邻 view 的 active 联动(相同维值的 tooltip 联动)
|
|
150
|
-
*/
|
|
151
|
-
registerInteraction('association-selected', {
|
|
152
|
-
start: [{ trigger: 'element:mouseenter', action: 'association:selected' }],
|
|
153
|
-
end: [{ trigger: 'element:mouseleave', action: 'association:reset' }],
|
|
154
|
-
});
|
|
155
|
-
/**
|
|
156
|
-
* 相邻 view 的 highlight 联动, 突出当前 element
|
|
157
|
-
*/
|
|
158
|
-
registerInteraction('association-highlight', {
|
|
159
|
-
start: [{ trigger: 'element:mouseenter', action: 'association:highlight' }],
|
|
160
|
-
end: [{ trigger: 'element:mouseleave', action: 'association:reset' }],
|
|
161
|
-
});
|
|
162
|
-
/**
|
|
163
|
-
* 相邻 view 的 tooltip 联动,根据 groupField 进行关联(相同维值的 tooltip 联动)
|
|
164
|
-
*/
|
|
165
|
-
registerInteraction('association-tooltip', {
|
|
166
|
-
start: [{ trigger: 'element:mousemove', action: 'association:showTooltip' }],
|
|
167
|
-
end: [{ trigger: 'element:mouseleave', action: 'association:hideTooltip' }],
|
|
168
|
-
});
|
|
169
|
-
//# sourceMappingURL=association.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"association.js","sourceRoot":"","sources":["../../../../src/plots/mix/interactions/association.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAW,cAAc,EAAE,mBAAmB,EAAQ,MAAM,UAAU,CAAC;AACtF,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC3E,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAI1D;;;;;;;;;;;;GAYG;AACH;IAA0B,+BAAM;IAAhC;;IA2HA,CAAC;IA1HC;;;;;;;OAOG;IACK,yCAAmB,GAA3B,UAA4B,KAAa,EAAE,MAAqB;;QACtD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AE,MAAM,EAAE,yBAAyB,EAAE,CAAC;IAC5E,GAAG,EAAE,CAAC,EAAE,OAAO,EAAE,oBAAoB,EAAE,MAAM,EAAE,yBAAyB,EAAE,CAAC;CAC5E,CAAC,CAAC","sourcesContent":["import { Action, Element, registerAction, registerInteraction, View } from '@antv/g2';\nimport { each, get, isArray, map } from '@antv/util';\nimport { getAllElements, getSiblingViews, getViews } from '../../../utils';\nimport { clearHighlight, getElementValue } from './utils';\n\ntype EventItem = { element: Element; view: View; active: boolean; inactive: boolean };\ntype ActionParams = { linkField?: string; dim?: 'x' | 'y' };\n/**\n * 存在多个 view 时,view 之间的联动交互\n *\n * 提供四个反馈 action,均接受参数:linkField 关联字段,dim 维度\n * 1. showTooltip\n * 2. active\n * 3. highlight\n * 4. selected\n *\n * 附加,两个结束反馈 action:\n * 1. hidetooltip\n * 2. reset 清除激活和高亮状态\n */\nclass Association extends Action {\n /**\n * 获取关联的 elements\n *\n * - 如果 dim 参数存在,根据 dim 获取相应的 field。与 linkField 不匹配则 return\n * - 否则 dim 参数不存在,且 linkField 存在,则作为关联字段\n * - 否则若 linkField 不存在,则获取第一个分类字段\n * @returns EventItem[]\n */\n private getAssociationItems(views: View[], params?: ActionParams): EventItem[] {\n const { event } = this.context;\n const { linkField, dim } = params || {};\n\n const items = [];\n\n if (event.data?.data) {\n const { data } = event.data;\n each(views, (v: View) => {\n let field = linkField;\n if (dim === 'x') {\n field = v.getXScale().field;\n } else if (dim === 'y') {\n field = v.getYScales().find((s) => s.field === field)?.field;\n } else if (!field) {\n field = v.getGroupScales()[0]?.field;\n }\n if (!field) {\n return;\n }\n const elements = map(getAllElements(v), (ele) => {\n let active = false;\n let inactive = false;\n const dataValue = isArray(data) ? get(data[0], field) : get(data, field);\n if (getElementValue(ele, field) === dataValue) {\n active = true;\n } else {\n inactive = true;\n }\n return { element: ele, view: v, active, inactive };\n });\n items.push(...elements);\n });\n }\n\n return items;\n }\n\n /**\n * 所有同一层级的 tooltip 显示\n */\n public showTooltip(params?: ActionParams) {\n const siblings = getSiblingViews(this.context.view);\n const elements = this.getAssociationItems(siblings, params);\n\n each(elements, (ele) => {\n if (ele.active) {\n const box = ele.element.shape.getCanvasBBox();\n ele.view.showTooltip({ x: box.minX + box.width / 2, y: box.minY + box.height / 2 });\n }\n });\n }\n\n /**\n * 隐藏同一层级的 tooltip\n */\n public hideTooltip() {\n const siblings = getSiblingViews(this.context.view);\n each(siblings, (sibling) => {\n sibling.hideTooltip();\n });\n }\n\n /**\n * 设置 active 状态\n */\n public active(params?: ActionParams) {\n const views = getViews(this.context.view);\n const items = this.getAssociationItems(views, params);\n\n each(items, (item: EventItem) => {\n const { active, element } = item;\n if (active) {\n element.setState('active', true);\n }\n });\n }\n\n /**\n * 设置 selected 状态\n */\n public selected(params?: ActionParams) {\n const views = getViews(this.context.view);\n const items = this.getAssociationItems(views, params);\n\n each(items, (item: EventItem) => {\n const { active, element } = item;\n if (active) {\n element.setState('selected', true);\n }\n });\n }\n\n /**\n * 进行高亮 => 设置 inactive 状态\n */\n public highlight(params?: ActionParams) {\n const views = getViews(this.context.view);\n const items = this.getAssociationItems(views, params);\n\n each(items, (item: EventItem) => {\n const { inactive, element } = item;\n if (inactive) {\n element.setState('inactive', true);\n }\n });\n }\n\n public reset() {\n const views = getViews(this.context.view);\n each(views, (v) => {\n clearHighlight(v);\n });\n }\n}\n\nregisterAction('association', Association);\n\n/**\n * 相邻 view 的 active 联动(相同维值的 tooltip 联动)\n */\nregisterInteraction('association-active', {\n start: [{ trigger: 'element:mouseenter', action: 'association:active' }],\n end: [{ trigger: 'element:mouseleave', action: 'association:reset' }],\n});\n\n/**\n * 相邻 view 的 active 联动(相同维值的 tooltip 联动)\n */\nregisterInteraction('association-selected', {\n start: [{ trigger: 'element:mouseenter', action: 'association:selected' }],\n end: [{ trigger: 'element:mouseleave', action: 'association:reset' }],\n});\n\n/**\n * 相邻 view 的 highlight 联动, 突出当前 element\n */\nregisterInteraction('association-highlight', {\n start: [{ trigger: 'element:mouseenter', action: 'association:highlight' }],\n end: [{ trigger: 'element:mouseleave', action: 'association:reset' }],\n});\n\n/**\n * 相邻 view 的 tooltip 联动,根据 groupField 进行关联(相同维值的 tooltip 联动)\n */\nregisterInteraction('association-tooltip', {\n start: [{ trigger: 'element:mousemove', action: 'association:showTooltip' }],\n end: [{ trigger: 'element:mouseleave', action: 'association:hideTooltip' }],\n});\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/plots/mix/interactions/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,eAAe,CAAC","sourcesContent":["/**\n * 相邻 view 的联动交互\n */\nimport './association';\n"]}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Element, View } from '@antv/g2';
|
|
2
|
-
/**
|
|
3
|
-
* 获取图表元素对应字段的值
|
|
4
|
-
* @param element 图表元素
|
|
5
|
-
* @param field 字段名
|
|
6
|
-
* @ignore
|
|
7
|
-
*/
|
|
8
|
-
export declare function getElementValue(element: Element, field: any): any;
|
|
9
|
-
/**
|
|
10
|
-
* @ignore
|
|
11
|
-
* 清理 highlight 效果
|
|
12
|
-
* @param view View 或者 Chart
|
|
13
|
-
*/
|
|
14
|
-
export declare function clearHighlight(view: View): void;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { each, isArray } from '@antv/util';
|
|
2
|
-
import { getAllElements } from '../../../utils';
|
|
3
|
-
/**
|
|
4
|
-
* 获取图表元素对应字段的值
|
|
5
|
-
* @param element 图表元素
|
|
6
|
-
* @param field 字段名
|
|
7
|
-
* @ignore
|
|
8
|
-
*/
|
|
9
|
-
export function getElementValue(element, field) {
|
|
10
|
-
var model = element.getModel();
|
|
11
|
-
var record = model.data;
|
|
12
|
-
var value;
|
|
13
|
-
if (isArray(record)) {
|
|
14
|
-
value = record[0][field];
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
value = record[field];
|
|
18
|
-
}
|
|
19
|
-
return value;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* @ignore
|
|
23
|
-
* 清理 highlight 效果
|
|
24
|
-
* @param view View 或者 Chart
|
|
25
|
-
*/
|
|
26
|
-
export function clearHighlight(view) {
|
|
27
|
-
var elements = getAllElements(view);
|
|
28
|
-
each(elements, function (el) {
|
|
29
|
-
if (el.hasState('active')) {
|
|
30
|
-
el.setState('active', false);
|
|
31
|
-
}
|
|
32
|
-
if (el.hasState('selected')) {
|
|
33
|
-
el.setState('selected', false);
|
|
34
|
-
}
|
|
35
|
-
if (el.hasState('inactive')) {
|
|
36
|
-
el.setState('inactive', false);
|
|
37
|
-
}
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
//# sourceMappingURL=utils.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../src/plots/mix/interactions/utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAEhD;;;;;GAKG;AACH,MAAM,UAAU,eAAe,CAAC,OAAgB,EAAE,KAAK;IACrD,IAAM,KAAK,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC;IACjC,IAAM,MAAM,GAAG,KAAK,CAAC,IAAI,CAAC;IAC1B,IAAI,KAAK,CAAC;IACV,IAAI,OAAO,CAAC,MAAM,CAAC,EAAE;QACnB,KAAK,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;KAC1B;SAAM;QACL,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;KACvB;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,cAAc,CAAC,IAAU;IACvC,IAAM,QAAQ,GAAG,cAAc,CAAC,IAAI,CAAC,CAAC;IACtC,IAAI,CAAC,QAAQ,EAAE,UAAC,EAAE;QAChB,IAAI,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE;YACzB,EAAE,CAAC,QAAQ,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC;SAC9B;QACD,IAAI,EAAE,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE;YAC3B,EAAE,CAAC,QAAQ,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC;SAChC;QACD,IAAI,EAAE,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE;YAC3B,EAAE,CAAC,QAAQ,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC;SAChC;IACH,CAAC,CAAC,CAAC;AACL,CAAC","sourcesContent":["import { Element, View } from '@antv/g2';\nimport { each, isArray } from '@antv/util';\nimport { getAllElements } from '../../../utils';\n\n/**\n * 获取图表元素对应字段的值\n * @param element 图表元素\n * @param field 字段名\n * @ignore\n */\nexport function getElementValue(element: Element, field) {\n const model = element.getModel();\n const record = model.data;\n let value;\n if (isArray(record)) {\n value = record[0][field];\n } else {\n value = record[field];\n }\n return value;\n}\n\n/**\n * @ignore\n * 清理 highlight 效果\n * @param view View 或者 Chart\n */\nexport function clearHighlight(view: View) {\n const elements = getAllElements(view);\n each(elements, (el) => {\n if (el.hasState('active')) {\n el.setState('active', false);\n }\n if (el.hasState('selected')) {\n el.setState('selected', false);\n }\n if (el.hasState('inactive')) {\n el.setState('inactive', false);\n }\n });\n}\n"]}
|
package/esm/plots/mix/types.d.ts
DELETED
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
import { Types } from '@antv/g2';
|
|
2
|
-
import { Geometry } from '../../adaptor/geometries/base';
|
|
3
|
-
import { Data, Meta, Options, Region, Tooltip } from '../../types';
|
|
4
|
-
import { Animation } from '../../types/animation';
|
|
5
|
-
import { Annotation } from '../../types/annotation';
|
|
6
|
-
import { Axis } from '../../types/axis';
|
|
7
|
-
import { Interaction } from '../../types/interaction';
|
|
8
|
-
import { Legend } from '../../types/legend';
|
|
9
|
-
import { Slider } from '../../types/slider';
|
|
10
|
-
import { IPlotTypes } from './utils';
|
|
11
|
-
/**
|
|
12
|
-
* @title geometry 映射信息
|
|
13
|
-
*/
|
|
14
|
-
export type IGeometry = Geometry & {
|
|
15
|
-
adjust?: Types.AdjustOption;
|
|
16
|
-
};
|
|
17
|
-
/**
|
|
18
|
-
* @title 子 view 的配置
|
|
19
|
-
* @description 暂时不开嵌套 view 的情况
|
|
20
|
-
*/
|
|
21
|
-
export type IView = {
|
|
22
|
-
/**
|
|
23
|
-
* @title view 的布局范围
|
|
24
|
-
* @default "占满全部"
|
|
25
|
-
*/
|
|
26
|
-
readonly region?: Region;
|
|
27
|
-
/**
|
|
28
|
-
* @title view 中的数据
|
|
29
|
-
*/
|
|
30
|
-
readonly data: Data;
|
|
31
|
-
/**
|
|
32
|
-
* @title view 中对应的 meta 字段配置
|
|
33
|
-
*/
|
|
34
|
-
readonly meta?: Record<string, Meta>;
|
|
35
|
-
/**
|
|
36
|
-
* @title 坐标系的配置
|
|
37
|
-
* @description 每一个 view 具有相同的坐标系
|
|
38
|
-
*/
|
|
39
|
-
readonly coordinate?: Types.CoordinateOption;
|
|
40
|
-
/**
|
|
41
|
-
* @title 图形 geometry 及映射配置
|
|
42
|
-
*/
|
|
43
|
-
readonly geometries: IGeometry[];
|
|
44
|
-
/**
|
|
45
|
-
* @title x,y 轴
|
|
46
|
-
*/
|
|
47
|
-
readonly axes?: false | Record<string, Axis>;
|
|
48
|
-
/**
|
|
49
|
-
* @title interactions
|
|
50
|
-
*/
|
|
51
|
-
readonly interactions?: Interaction[];
|
|
52
|
-
/**
|
|
53
|
-
* @title annotation
|
|
54
|
-
*/
|
|
55
|
-
readonly annotations?: Annotation[];
|
|
56
|
-
/**
|
|
57
|
-
* @title annotation
|
|
58
|
-
*/
|
|
59
|
-
readonly animation?: Animation;
|
|
60
|
-
/**
|
|
61
|
-
* @title tooltip
|
|
62
|
-
*/
|
|
63
|
-
readonly tooltip?: Tooltip;
|
|
64
|
-
};
|
|
65
|
-
/**
|
|
66
|
-
* @title 子 plot 的配置
|
|
67
|
-
*/
|
|
68
|
-
export type IPlot = IPlotTypes & {
|
|
69
|
-
/**
|
|
70
|
-
* @title 数据
|
|
71
|
-
* @description 设置画布具体的数据. 默认基础顶层 data
|
|
72
|
-
*/
|
|
73
|
-
readonly data?: Record<string, any>[];
|
|
74
|
-
/**
|
|
75
|
-
* @title plot view 的布局范围
|
|
76
|
-
* @default "占满全部"
|
|
77
|
-
*/
|
|
78
|
-
readonly region?: Region;
|
|
79
|
-
/**
|
|
80
|
-
* @title 是否为顶层
|
|
81
|
-
* @description 设置为 true 时,几何图形挂在顶层 chart 对象上,而不是子 view 下。此时 region 设置无效,data 继承顶层 data 配置。
|
|
82
|
-
* @default false
|
|
83
|
-
*/
|
|
84
|
-
readonly top?: boolean;
|
|
85
|
-
};
|
|
86
|
-
/**
|
|
87
|
-
* @title 类型定义
|
|
88
|
-
*/
|
|
89
|
-
export interface MixOptions extends Omit<Options, 'data' | 'legend' | 'xAxis' | 'yAxis' | 'legend' | 'tooltip' | 'slider' | 'scrollbar'> {
|
|
90
|
-
/**
|
|
91
|
-
* @title 顶层数据配置
|
|
92
|
-
*/
|
|
93
|
-
readonly data?: Options['data'];
|
|
94
|
-
/**
|
|
95
|
-
* @title 是否同步子 view 的配置
|
|
96
|
-
* @description 目前仅仅支持 true / false,后续需要增加 function 的方式进行自定义 view 之前的布局同步
|
|
97
|
-
*/
|
|
98
|
-
readonly syncViewPadding?: boolean;
|
|
99
|
-
/**
|
|
100
|
-
* @title 每一个图层的配置
|
|
101
|
-
* @description 每个图层包括有自己的:数据、图形、图形映射
|
|
102
|
-
*/
|
|
103
|
-
readonly views?: IView[];
|
|
104
|
-
/**
|
|
105
|
-
* @title 限定与指定 plot 类型
|
|
106
|
-
* @description 支持使用已有的 plot,限定与指定 plot 类型
|
|
107
|
-
*/
|
|
108
|
-
readonly plots?: IPlot[];
|
|
109
|
-
/**
|
|
110
|
-
* @title tooltip 配置
|
|
111
|
-
* @description Mix tooltip 组件配置,统一顶层配置
|
|
112
|
-
* TODO 字段映射
|
|
113
|
-
*/
|
|
114
|
-
readonly tooltip?: Tooltip;
|
|
115
|
-
/**
|
|
116
|
-
* @title legend 配置
|
|
117
|
-
* @description Mix 图例配置,统一顶层配置
|
|
118
|
-
*/
|
|
119
|
-
readonly legend?: false | Record<string, Legend>;
|
|
120
|
-
/**
|
|
121
|
-
* @title slider 配置
|
|
122
|
-
* @description Mix 缩略轴配置,统一顶层配置
|
|
123
|
-
*/
|
|
124
|
-
readonly slider?: Slider;
|
|
125
|
-
}
|
package/esm/plots/mix/types.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/plots/mix/types.ts"],"names":[],"mappings":"","sourcesContent":["import { Types } from '@antv/g2';\nimport { Geometry } from '../../adaptor/geometries/base';\nimport { Data, Meta, Options, Region, Tooltip } from '../../types';\nimport { Animation } from '../../types/animation';\nimport { Annotation } from '../../types/annotation';\nimport { Axis } from '../../types/axis';\nimport { Interaction } from '../../types/interaction';\nimport { Legend } from '../../types/legend';\nimport { Slider } from '../../types/slider';\nimport { IPlotTypes } from './utils';\n\n/**\n * @title geometry 映射信息\n */\nexport type IGeometry = Geometry & {\n adjust?: Types.AdjustOption;\n};\n/**\n * @title 子 view 的配置\n * @description 暂时不开嵌套 view 的情况\n */\nexport type IView = {\n /**\n * @title view 的布局范围\n * @default \"占满全部\"\n */\n readonly region?: Region;\n /**\n * @title view 中的数据\n */\n readonly data: Data;\n /**\n * @title view 中对应的 meta 字段配置\n */\n readonly meta?: Record<string, Meta>;\n /**\n * @title 坐标系的配置\n * @description 每一个 view 具有相同的坐标系\n */\n readonly coordinate?: Types.CoordinateOption;\n /**\n * @title 图形 geometry 及映射配置\n */\n readonly geometries: IGeometry[];\n /**\n * @title x,y 轴\n */\n readonly axes?: false | Record<string, Axis>;\n /**\n * @title interactions\n */\n readonly interactions?: Interaction[];\n /**\n * @title annotation\n */\n readonly annotations?: Annotation[];\n /**\n * @title annotation\n */\n readonly animation?: Animation;\n /**\n * @title tooltip\n */\n readonly tooltip?: Tooltip;\n};\n\n/**\n * @title 子 plot 的配置\n */\nexport type IPlot = IPlotTypes & {\n /**\n * @title 数据\n * @description 设置画布具体的数据. 默认基础顶层 data\n */\n readonly data?: Record<string, any>[];\n /**\n * @title plot view 的布局范围\n * @default \"占满全部\"\n */\n readonly region?: Region;\n /**\n * @title 是否为顶层\n * @description 设置为 true 时,几何图形挂在顶层 chart 对象上,而不是子 view 下。此时 region 设置无效,data 继承顶层 data 配置。\n * @default false\n */\n readonly top?: boolean;\n};\n\n/**\n * @title 类型定义\n */\nexport interface MixOptions\n extends Omit<Options, 'data' | 'legend' | 'xAxis' | 'yAxis' | 'legend' | 'tooltip' | 'slider' | 'scrollbar'> {\n /**\n * @title 顶层数据配置\n */\n readonly data?: Options['data'];\n /**\n * @title 是否同步子 view 的配置\n * @description 目前仅仅支持 true / false,后续需要增加 function 的方式进行自定义 view 之前的布局同步\n */\n readonly syncViewPadding?: boolean;\n /**\n * @title 每一个图层的配置\n * @description 每个图层包括有自己的:数据、图形、图形映射\n */\n readonly views?: IView[];\n /**\n * @title 限定与指定 plot 类型\n * @description 支持使用已有的 plot,限定与指定 plot 类型\n */\n readonly plots?: IPlot[];\n /**\n * @title tooltip 配置\n * @description Mix tooltip 组件配置,统一顶层配置\n * TODO 字段映射\n */\n readonly tooltip?: Tooltip;\n /**\n * @title legend 配置\n * @description Mix 图例配置,统一顶层配置\n */\n readonly legend?: false | Record<string, Legend>;\n /**\n * @title slider 配置\n * @description Mix 缩略轴配置,统一顶层配置\n */\n readonly slider?: Slider;\n}\n"]}
|