@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
|
@@ -1,239 +0,0 @@
|
|
|
1
|
-
import { Types } from '@antv/g2';
|
|
2
|
-
import { get, isFunction, uniq } from '@antv/util';
|
|
3
|
-
import {
|
|
4
|
-
animation,
|
|
5
|
-
annotation,
|
|
6
|
-
interaction as baseInteraction,
|
|
7
|
-
legend,
|
|
8
|
-
pattern,
|
|
9
|
-
scale,
|
|
10
|
-
theme,
|
|
11
|
-
} from '../../adaptor/common';
|
|
12
|
-
import { polygon as polygonAdaptor } from '../../adaptor/geometries';
|
|
13
|
-
import { Params } from '../../core/adaptor';
|
|
14
|
-
import { Datum } from '../../types';
|
|
15
|
-
import { deepAssign, findGeometry, flow, transformLabel } from '../../utils';
|
|
16
|
-
import { getAdjustAppendPadding } from '../../utils/padding';
|
|
17
|
-
import { RAW_FIELDS, SUNBURST_ANCESTOR_FIELD, SUNBURST_PATH_FIELD, SUNBURST_Y_FIELD } from './constant';
|
|
18
|
-
import { SunburstOptions } from './types';
|
|
19
|
-
import { transformData } from './utils';
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* geometry 配置处理
|
|
23
|
-
* @param params
|
|
24
|
-
*/
|
|
25
|
-
function geometry(params: Params<SunburstOptions>): Params<SunburstOptions> {
|
|
26
|
-
const { chart, options } = params;
|
|
27
|
-
const { color, colorField = SUNBURST_ANCESTOR_FIELD, sunburstStyle, rawFields = [], shape } = options;
|
|
28
|
-
const data = transformData(options);
|
|
29
|
-
chart.data(data);
|
|
30
|
-
|
|
31
|
-
// 特殊处理下样式,如果没有设置 fillOpacity 的时候,默认根据层级进行填充透明度
|
|
32
|
-
let style;
|
|
33
|
-
if (sunburstStyle) {
|
|
34
|
-
style = (datum: Datum) => {
|
|
35
|
-
return deepAssign(
|
|
36
|
-
{},
|
|
37
|
-
{
|
|
38
|
-
fillOpacity: 0.85 ** datum.depth,
|
|
39
|
-
},
|
|
40
|
-
isFunction(sunburstStyle) ? sunburstStyle(datum) : sunburstStyle
|
|
41
|
-
);
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
// geometry
|
|
46
|
-
polygonAdaptor(
|
|
47
|
-
deepAssign({}, params, {
|
|
48
|
-
options: {
|
|
49
|
-
xField: 'x',
|
|
50
|
-
yField: 'y',
|
|
51
|
-
seriesField: colorField,
|
|
52
|
-
rawFields: uniq([...RAW_FIELDS, ...rawFields]),
|
|
53
|
-
polygon: {
|
|
54
|
-
color,
|
|
55
|
-
style,
|
|
56
|
-
shape,
|
|
57
|
-
},
|
|
58
|
-
},
|
|
59
|
-
})
|
|
60
|
-
);
|
|
61
|
-
|
|
62
|
-
return params;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* axis 配置
|
|
67
|
-
* @param params
|
|
68
|
-
*/
|
|
69
|
-
export function axis(params: Params<SunburstOptions>): Params<SunburstOptions> {
|
|
70
|
-
const { chart } = params;
|
|
71
|
-
chart.axis(false);
|
|
72
|
-
return params;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* 数据标签
|
|
77
|
-
* @param params
|
|
78
|
-
*/
|
|
79
|
-
function label(params: Params<SunburstOptions>): Params<SunburstOptions> {
|
|
80
|
-
const { chart, options } = params;
|
|
81
|
-
const { label } = options;
|
|
82
|
-
|
|
83
|
-
const geometry = findGeometry(chart, 'polygon');
|
|
84
|
-
|
|
85
|
-
// 默认不展示,undefined 也不展示
|
|
86
|
-
if (!label) {
|
|
87
|
-
geometry.label(false);
|
|
88
|
-
} else {
|
|
89
|
-
const { fields = ['name'], callback, ...cfg } = label;
|
|
90
|
-
geometry.label({
|
|
91
|
-
fields,
|
|
92
|
-
callback,
|
|
93
|
-
cfg: transformLabel(cfg),
|
|
94
|
-
});
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
return params;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
/**
|
|
101
|
-
* coord 配置
|
|
102
|
-
* @param params
|
|
103
|
-
*/
|
|
104
|
-
function coordinate(params: Params<SunburstOptions>): Params<SunburstOptions> {
|
|
105
|
-
const { chart, options } = params;
|
|
106
|
-
const { innerRadius, radius, reflect } = options;
|
|
107
|
-
|
|
108
|
-
const coord = chart.coordinate({
|
|
109
|
-
type: 'polar',
|
|
110
|
-
cfg: {
|
|
111
|
-
innerRadius,
|
|
112
|
-
radius,
|
|
113
|
-
},
|
|
114
|
-
});
|
|
115
|
-
if (reflect) {
|
|
116
|
-
coord.reflect(reflect);
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
return params;
|
|
120
|
-
}
|
|
121
|
-
/**
|
|
122
|
-
* meta 配置
|
|
123
|
-
* @param params
|
|
124
|
-
*/
|
|
125
|
-
export function meta(params: Params<SunburstOptions>): Params<SunburstOptions> {
|
|
126
|
-
const { options } = params;
|
|
127
|
-
const { hierarchyConfig, meta } = options;
|
|
128
|
-
|
|
129
|
-
return flow(
|
|
130
|
-
scale(
|
|
131
|
-
{},
|
|
132
|
-
{
|
|
133
|
-
[SUNBURST_Y_FIELD]: get(meta, get(hierarchyConfig, ['field'], 'value')),
|
|
134
|
-
}
|
|
135
|
-
)
|
|
136
|
-
)(params);
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
/**
|
|
140
|
-
* tooltip 配置
|
|
141
|
-
* @param params
|
|
142
|
-
*/
|
|
143
|
-
export function tooltip(params: Params<SunburstOptions>): Params<SunburstOptions> {
|
|
144
|
-
const { chart, options } = params;
|
|
145
|
-
const { tooltip } = options;
|
|
146
|
-
|
|
147
|
-
if (tooltip === false) {
|
|
148
|
-
chart.tooltip(false);
|
|
149
|
-
} else {
|
|
150
|
-
let tooltipOptions = tooltip;
|
|
151
|
-
// 设置了 fields,就不进行 customItems 了; 设置 formatter 时,需要搭配 fields
|
|
152
|
-
if (!get(tooltip, 'fields')) {
|
|
153
|
-
tooltipOptions = deepAssign(
|
|
154
|
-
{},
|
|
155
|
-
{
|
|
156
|
-
customItems: (items: Types.TooltipItem[]) =>
|
|
157
|
-
items.map((item) => {
|
|
158
|
-
const scales = get(chart.getOptions(), 'scales');
|
|
159
|
-
const pathFormatter = get(scales, [SUNBURST_PATH_FIELD, 'formatter'], (v) => v);
|
|
160
|
-
const valueFormatter = get(scales, [SUNBURST_Y_FIELD, 'formatter'], (v) => v);
|
|
161
|
-
return {
|
|
162
|
-
...item,
|
|
163
|
-
name: pathFormatter(item.data[SUNBURST_PATH_FIELD]),
|
|
164
|
-
value: valueFormatter(item.data.value),
|
|
165
|
-
};
|
|
166
|
-
}),
|
|
167
|
-
},
|
|
168
|
-
tooltipOptions
|
|
169
|
-
);
|
|
170
|
-
}
|
|
171
|
-
chart.tooltip(tooltipOptions);
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
return params;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
function adaptorInteraction(options: SunburstOptions): SunburstOptions {
|
|
178
|
-
const { drilldown, interactions = [] } = options;
|
|
179
|
-
|
|
180
|
-
if (drilldown?.enabled) {
|
|
181
|
-
return deepAssign({}, options, {
|
|
182
|
-
interactions: [
|
|
183
|
-
...interactions,
|
|
184
|
-
{
|
|
185
|
-
type: 'drill-down',
|
|
186
|
-
cfg: { drillDownConfig: drilldown, transformData },
|
|
187
|
-
},
|
|
188
|
-
],
|
|
189
|
-
});
|
|
190
|
-
}
|
|
191
|
-
return options;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
/**
|
|
195
|
-
* 交互配置
|
|
196
|
-
* @param params
|
|
197
|
-
* @returns
|
|
198
|
-
*/
|
|
199
|
-
function interaction(params: Params<SunburstOptions>): Params<SunburstOptions> {
|
|
200
|
-
const { chart, options } = params;
|
|
201
|
-
|
|
202
|
-
const { drilldown } = options;
|
|
203
|
-
|
|
204
|
-
baseInteraction({
|
|
205
|
-
chart,
|
|
206
|
-
options: adaptorInteraction(options),
|
|
207
|
-
});
|
|
208
|
-
|
|
209
|
-
// 适应下钻交互面包屑
|
|
210
|
-
if (drilldown?.enabled) {
|
|
211
|
-
// 为面包屑留出 25px 的空间
|
|
212
|
-
chart.appendPadding = getAdjustAppendPadding(chart.appendPadding, get(drilldown, ['breadCrumb', 'position']));
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
return params;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
/**
|
|
219
|
-
* 旭日图适配器
|
|
220
|
-
* @param chart
|
|
221
|
-
* @param options
|
|
222
|
-
*/
|
|
223
|
-
export function adaptor(params: Params<SunburstOptions>) {
|
|
224
|
-
// flow 的方式处理所有的配置到 G2 API
|
|
225
|
-
return flow(
|
|
226
|
-
theme,
|
|
227
|
-
pattern('sunburstStyle'),
|
|
228
|
-
geometry,
|
|
229
|
-
axis,
|
|
230
|
-
meta,
|
|
231
|
-
legend,
|
|
232
|
-
coordinate,
|
|
233
|
-
tooltip,
|
|
234
|
-
label,
|
|
235
|
-
interaction,
|
|
236
|
-
animation,
|
|
237
|
-
annotation()
|
|
238
|
-
)(params);
|
|
239
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { Plot } from '../../core/plot';
|
|
2
|
-
import { deepAssign } from '../../utils';
|
|
3
|
-
import { CHILD_NODE_COUNT, NODE_ANCESTORS_FIELD, NODE_INDEX_FIELD } from '../../utils/hierarchy/util';
|
|
4
|
-
import { SunburstOptions } from './types';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* 祖先节点,非 root 根节点
|
|
8
|
-
*/
|
|
9
|
-
export const SUNBURST_ANCESTOR_FIELD = 'ancestor-node';
|
|
10
|
-
export const SUNBURST_Y_FIELD = 'value';
|
|
11
|
-
export const SUNBURST_PATH_FIELD = 'path';
|
|
12
|
-
|
|
13
|
-
/** 默认的源字段 */
|
|
14
|
-
export const RAW_FIELDS = [
|
|
15
|
-
SUNBURST_PATH_FIELD,
|
|
16
|
-
NODE_INDEX_FIELD,
|
|
17
|
-
NODE_ANCESTORS_FIELD,
|
|
18
|
-
CHILD_NODE_COUNT,
|
|
19
|
-
'name',
|
|
20
|
-
'depth',
|
|
21
|
-
'height',
|
|
22
|
-
];
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* 旭日图 默认配置项
|
|
26
|
-
*/
|
|
27
|
-
export const DEFAULT_OPTIONS: Partial<SunburstOptions> = deepAssign({}, Plot.getDefaultOptions(), {
|
|
28
|
-
innerRadius: 0,
|
|
29
|
-
radius: 0.85,
|
|
30
|
-
|
|
31
|
-
// 分层配置
|
|
32
|
-
hierarchyConfig: {
|
|
33
|
-
// 数值字段,默认是 value(可配置)
|
|
34
|
-
field: 'value',
|
|
35
|
-
},
|
|
36
|
-
|
|
37
|
-
// 组件
|
|
38
|
-
tooltip: {
|
|
39
|
-
shared: true,
|
|
40
|
-
showMarkers: false,
|
|
41
|
-
offset: 20,
|
|
42
|
-
showTitle: false,
|
|
43
|
-
},
|
|
44
|
-
legend: false,
|
|
45
|
-
|
|
46
|
-
// 样式设置
|
|
47
|
-
sunburstStyle: {
|
|
48
|
-
lineWidth: 0.5,
|
|
49
|
-
stroke: '#FFF',
|
|
50
|
-
},
|
|
51
|
-
|
|
52
|
-
// 默认开启交互
|
|
53
|
-
drilldown: { enabled: true },
|
|
54
|
-
});
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { Adaptor } from '../../core/adaptor';
|
|
2
|
-
import { Plot } from '../../core/plot';
|
|
3
|
-
import { NODE_ANCESTORS_FIELD } from '../../utils/hierarchy/util';
|
|
4
|
-
import { adaptor } from './adaptor';
|
|
5
|
-
import { DEFAULT_OPTIONS, SUNBURST_ANCESTOR_FIELD, SUNBURST_PATH_FIELD } from './constant';
|
|
6
|
-
import './interactions';
|
|
7
|
-
import { SunburstOptions } from './types';
|
|
8
|
-
|
|
9
|
-
export type { SunburstOptions };
|
|
10
|
-
|
|
11
|
-
export class Sunburst extends Plot<SunburstOptions> {
|
|
12
|
-
/**
|
|
13
|
-
* 获取 旭日图 默认配置项
|
|
14
|
-
* 供外部使用
|
|
15
|
-
*/
|
|
16
|
-
static getDefaultOptions(): Partial<SunburstOptions> {
|
|
17
|
-
return DEFAULT_OPTIONS;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
/** 旭日图 节点的祖先节点 */
|
|
21
|
-
static SUNBURST_ANCESTOR_FIELD = SUNBURST_ANCESTOR_FIELD;
|
|
22
|
-
/** 旭日图 节点的路径 */
|
|
23
|
-
static SUNBURST_PATH_FIELD = SUNBURST_PATH_FIELD;
|
|
24
|
-
/** 节点的祖先节点 */
|
|
25
|
-
static NODE_ANCESTORS_FIELD = NODE_ANCESTORS_FIELD;
|
|
26
|
-
|
|
27
|
-
/** 图表类型 */
|
|
28
|
-
public type: string = 'sunburst';
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* 获取 旭日图 默认配置
|
|
32
|
-
*/
|
|
33
|
-
protected getDefaultOptions() {
|
|
34
|
-
return Sunburst.getDefaultOptions();
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* 获取旭日图的适配器
|
|
39
|
-
*/
|
|
40
|
-
protected getSchemaAdaptor(): Adaptor<SunburstOptions> {
|
|
41
|
-
return adaptor;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { GeometryOptions } from '../../adaptor/geometries';
|
|
2
|
-
import { ColorAttr, Options, StyleAttr } from '../../types';
|
|
3
|
-
import { DrillDownCfg } from '../../types/drill-down';
|
|
4
|
-
import { HierarchyOption } from '../../utils/hierarchy/types';
|
|
5
|
-
|
|
6
|
-
export interface SunburstOptions
|
|
7
|
-
extends Omit<Options, 'data' | 'slider' | 'scrollbar' | 'xAxis' | 'yAxis'>,
|
|
8
|
-
Pick<GeometryOptions, 'customInfo'> {
|
|
9
|
-
/**
|
|
10
|
-
* @title 旭日图数据
|
|
11
|
-
*/
|
|
12
|
-
readonly data: any;
|
|
13
|
-
/**
|
|
14
|
-
* @title 径向类型
|
|
15
|
-
* @description 径向类型'x' | 'y'
|
|
16
|
-
*/
|
|
17
|
-
readonly reflect?: 'x' | 'y';
|
|
18
|
-
|
|
19
|
-
// 样式
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* @title 内径
|
|
23
|
-
*/
|
|
24
|
-
readonly innerRadius?: number;
|
|
25
|
-
/**
|
|
26
|
-
* @title 半经
|
|
27
|
-
*/
|
|
28
|
-
readonly radius?: number;
|
|
29
|
-
/**
|
|
30
|
-
* @title 颜色映射
|
|
31
|
-
*/
|
|
32
|
-
readonly colorField?: string;
|
|
33
|
-
/**
|
|
34
|
-
* @title 颜色
|
|
35
|
-
*/
|
|
36
|
-
readonly color?: ColorAttr;
|
|
37
|
-
/**
|
|
38
|
-
* @title 旭日图形样式
|
|
39
|
-
*/
|
|
40
|
-
readonly sunburstStyle?: StyleAttr;
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* @title 层级布局
|
|
44
|
-
*/
|
|
45
|
-
readonly hierarchyConfig?: Omit<HierarchyOption, 'as' | 'type'> & {
|
|
46
|
-
/** default: 'value', required data to be like: { name: 'xx', [field]: 12, children: [] } */
|
|
47
|
-
readonly field?: string;
|
|
48
|
-
/**
|
|
49
|
-
* @title 是否忽略父节点的权重
|
|
50
|
-
* @description 其父节点的权重不由子节点权重总和决定
|
|
51
|
-
* @default false
|
|
52
|
-
*/
|
|
53
|
-
readonly ignoreParentValue?: boolean;
|
|
54
|
-
/**
|
|
55
|
-
* @title 展示的层级深度
|
|
56
|
-
* @description 取值 > 0 默认空, 代表全部展示
|
|
57
|
-
*/
|
|
58
|
-
readonly activeDepth?: number;
|
|
59
|
-
};
|
|
60
|
-
|
|
61
|
-
// 其他
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* @title 额外的原始字段
|
|
65
|
-
*/
|
|
66
|
-
readonly rawFields?: string[];
|
|
67
|
-
/**
|
|
68
|
-
* @title 下钻交互
|
|
69
|
-
*/
|
|
70
|
-
readonly drilldown?: DrillDownCfg;
|
|
71
|
-
/**
|
|
72
|
-
* @title 自定义旭日图形状
|
|
73
|
-
* @description polygon 图形元素展示形状
|
|
74
|
-
*/
|
|
75
|
-
readonly shape?: string;
|
|
76
|
-
}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { omit } from '@antv/util';
|
|
2
|
-
import { HIERARCHY_DATA_TRANSFORM_PARAMS } from '../../interactions/actions/drill-down';
|
|
3
|
-
import { pick } from '../../utils';
|
|
4
|
-
import { partition } from '../../utils/hierarchy/partition';
|
|
5
|
-
import { treemap } from '../../utils/hierarchy/treemap';
|
|
6
|
-
import { SUNBURST_ANCESTOR_FIELD, SUNBURST_PATH_FIELD } from './constant';
|
|
7
|
-
import { SunburstOptions } from './types';
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* sunburst 处理数据
|
|
11
|
-
* @param options
|
|
12
|
-
*/
|
|
13
|
-
export function transformData(options: Pick<SunburstOptions, 'data' | 'colorField' | 'rawFields' | 'hierarchyConfig'>) {
|
|
14
|
-
const { data, colorField, rawFields, hierarchyConfig = {} } = options;
|
|
15
|
-
const { activeDepth } = hierarchyConfig;
|
|
16
|
-
const transform = {
|
|
17
|
-
partition: partition,
|
|
18
|
-
treemap: treemap,
|
|
19
|
-
};
|
|
20
|
-
// @ts-ignore 兼容旧版本,支持 seriesField 来作为 hierarchyConfig.field
|
|
21
|
-
const seriesField = options.seriesField;
|
|
22
|
-
// @ts-ignore 兼容旧版本,支持矩阵树图形状的旭日图
|
|
23
|
-
const type = options.type || 'partition';
|
|
24
|
-
|
|
25
|
-
const nodes = transform[type](data, {
|
|
26
|
-
field: seriesField || 'value',
|
|
27
|
-
...omit(hierarchyConfig, ['activeDepth']),
|
|
28
|
-
// @ts-ignore
|
|
29
|
-
type: `hierarchy.${type}`,
|
|
30
|
-
as: ['x', 'y'],
|
|
31
|
-
});
|
|
32
|
-
|
|
33
|
-
const result = [];
|
|
34
|
-
|
|
35
|
-
nodes.forEach((node) => {
|
|
36
|
-
if (node.depth === 0) {
|
|
37
|
-
return null;
|
|
38
|
-
}
|
|
39
|
-
if (activeDepth > 0 && node.depth > activeDepth) {
|
|
40
|
-
return null;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
let path = node.data.name;
|
|
44
|
-
let ancestorNode = { ...node };
|
|
45
|
-
while (ancestorNode.depth > 1) {
|
|
46
|
-
path = `${ancestorNode.parent.data?.name} / ${path}`;
|
|
47
|
-
ancestorNode = ancestorNode.parent;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
const nodeInfo = {
|
|
51
|
-
...pick(node.data, [...(rawFields || []), hierarchyConfig.field]),
|
|
52
|
-
[SUNBURST_PATH_FIELD]: path,
|
|
53
|
-
[SUNBURST_ANCESTOR_FIELD]: ancestorNode.data.name,
|
|
54
|
-
...node,
|
|
55
|
-
};
|
|
56
|
-
// note: 兼容旧版本
|
|
57
|
-
if (seriesField) {
|
|
58
|
-
nodeInfo[seriesField] = node.data[seriesField] || node.parent?.data?.[seriesField];
|
|
59
|
-
}
|
|
60
|
-
if (colorField) {
|
|
61
|
-
nodeInfo[colorField] = node.data[colorField] || node.parent?.data?.[colorField];
|
|
62
|
-
}
|
|
63
|
-
nodeInfo.ext = hierarchyConfig;
|
|
64
|
-
nodeInfo[HIERARCHY_DATA_TRANSFORM_PARAMS] = { hierarchyConfig, colorField, rawFields };
|
|
65
|
-
result.push(nodeInfo);
|
|
66
|
-
});
|
|
67
|
-
|
|
68
|
-
return result;
|
|
69
|
-
}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { animation, annotation, pattern, scale, theme, tooltip } from '../../adaptor/common';
|
|
2
|
-
import { area, line, point } from '../../adaptor/geometries';
|
|
3
|
-
import { Params } from '../../core/adaptor';
|
|
4
|
-
import { deepAssign, flow } from '../../utils';
|
|
5
|
-
import { adjustYMetaByZero } from '../../utils/data';
|
|
6
|
-
import { X_FIELD, Y_FIELD } from '../tiny-line/constants';
|
|
7
|
-
import { getTinyData } from '../tiny-line/utils';
|
|
8
|
-
import { TinyAreaOptions } from './types';
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* 字段
|
|
12
|
-
* @param params
|
|
13
|
-
*/
|
|
14
|
-
function geometry(params: Params<TinyAreaOptions>): Params<TinyAreaOptions> {
|
|
15
|
-
const { chart, options } = params;
|
|
16
|
-
const { data, color, areaStyle, point: pointOptions, line: lineOptions } = options;
|
|
17
|
-
const pointState = pointOptions?.state;
|
|
18
|
-
|
|
19
|
-
const seriesData = getTinyData(data);
|
|
20
|
-
|
|
21
|
-
chart.data(seriesData);
|
|
22
|
-
|
|
23
|
-
const primary = deepAssign({}, params, {
|
|
24
|
-
options: {
|
|
25
|
-
xField: X_FIELD,
|
|
26
|
-
yField: Y_FIELD,
|
|
27
|
-
area: { color, style: areaStyle },
|
|
28
|
-
line: lineOptions,
|
|
29
|
-
point: pointOptions,
|
|
30
|
-
},
|
|
31
|
-
});
|
|
32
|
-
const second = deepAssign({}, primary, { options: { tooltip: false } });
|
|
33
|
-
const pointParams = deepAssign({}, primary, { options: { tooltip: false, state: pointState } });
|
|
34
|
-
|
|
35
|
-
// area geometry 处理
|
|
36
|
-
area(primary);
|
|
37
|
-
line(second);
|
|
38
|
-
point(pointParams);
|
|
39
|
-
|
|
40
|
-
chart.axis(false);
|
|
41
|
-
chart.legend(false);
|
|
42
|
-
|
|
43
|
-
return params;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* meta 配置
|
|
48
|
-
* @param params
|
|
49
|
-
*/
|
|
50
|
-
export function meta(params: Params<TinyAreaOptions>): Params<TinyAreaOptions> {
|
|
51
|
-
const { options } = params;
|
|
52
|
-
const { xAxis, yAxis, data } = options;
|
|
53
|
-
const seriesData = getTinyData(data);
|
|
54
|
-
|
|
55
|
-
return flow(
|
|
56
|
-
scale(
|
|
57
|
-
{
|
|
58
|
-
[X_FIELD]: xAxis,
|
|
59
|
-
[Y_FIELD]: yAxis,
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
[X_FIELD]: {
|
|
63
|
-
type: 'cat',
|
|
64
|
-
},
|
|
65
|
-
[Y_FIELD]: adjustYMetaByZero(seriesData, Y_FIELD),
|
|
66
|
-
}
|
|
67
|
-
)
|
|
68
|
-
)(params);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* 迷你面积图适配器
|
|
73
|
-
* @param chart
|
|
74
|
-
* @param options
|
|
75
|
-
*/
|
|
76
|
-
export function adaptor(params: Params<TinyAreaOptions>) {
|
|
77
|
-
return flow(pattern('areaStyle'), geometry, meta, tooltip, theme, animation, annotation())(params);
|
|
78
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { DEFAULT_TOOLTIP_OPTIONS } from '../tiny-line/constants';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* 默认配置项
|
|
5
|
-
*/
|
|
6
|
-
export const DEFAULT_OPTIONS = {
|
|
7
|
-
appendPadding: 2,
|
|
8
|
-
tooltip: {
|
|
9
|
-
...DEFAULT_TOOLTIP_OPTIONS,
|
|
10
|
-
},
|
|
11
|
-
// 默认样式
|
|
12
|
-
color: 'l(90) 0:#E5EDFE 1:#ffffff',
|
|
13
|
-
areaStyle: {
|
|
14
|
-
fillOpacity: 0.6,
|
|
15
|
-
},
|
|
16
|
-
line: {
|
|
17
|
-
size: 1,
|
|
18
|
-
color: '#5B8FF9',
|
|
19
|
-
},
|
|
20
|
-
animation: {},
|
|
21
|
-
};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { Adaptor } from '../../core/adaptor';
|
|
2
|
-
import { Plot } from '../../core/plot';
|
|
3
|
-
import { getTinyData } from '../tiny-line/utils';
|
|
4
|
-
import { adaptor, meta } from './adaptor';
|
|
5
|
-
import { DEFAULT_OPTIONS } from './constants';
|
|
6
|
-
import { TinyAreaOptions } from './types';
|
|
7
|
-
|
|
8
|
-
export type { TinyAreaOptions };
|
|
9
|
-
|
|
10
|
-
export class TinyArea extends Plot<TinyAreaOptions> {
|
|
11
|
-
/**
|
|
12
|
-
* 获取默认配置项
|
|
13
|
-
* 供外部使用
|
|
14
|
-
*/
|
|
15
|
-
static getDefaultOptions(): Partial<TinyAreaOptions> {
|
|
16
|
-
return DEFAULT_OPTIONS;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
/** 图表类型 */
|
|
20
|
-
public type: string = 'tiny-area';
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* @override
|
|
24
|
-
* @param data
|
|
25
|
-
*/
|
|
26
|
-
public changeData(data: TinyAreaOptions['data']) {
|
|
27
|
-
this.updateOption({ data });
|
|
28
|
-
const { chart, options } = this;
|
|
29
|
-
meta({ chart, options });
|
|
30
|
-
chart.changeData(getTinyData(data));
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
protected getDefaultOptions() {
|
|
34
|
-
return TinyArea.getDefaultOptions();
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* 获取 迷你面积图 的适配器
|
|
39
|
-
*/
|
|
40
|
-
protected getSchemaAdaptor(): Adaptor<TinyAreaOptions> {
|
|
41
|
-
return adaptor;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { MappingOptions } from '../../adaptor/geometries/base';
|
|
2
|
-
import { PointGeometryOptions } from '../../adaptor/geometries/point';
|
|
3
|
-
import { Options, StyleAttr } from '../../types';
|
|
4
|
-
|
|
5
|
-
/** mini 图类型定义需要 omit 很多的 G2 Options 配置 */
|
|
6
|
-
export interface TinyAreaOptions extends Omit<Options, 'data' | 'legend' | 'label'> {
|
|
7
|
-
/**
|
|
8
|
-
* @title 具体的数据
|
|
9
|
-
*/
|
|
10
|
-
readonly data: number[];
|
|
11
|
-
/**
|
|
12
|
-
* @title 是否平滑
|
|
13
|
-
* @default false
|
|
14
|
-
*/
|
|
15
|
-
readonly smooth?: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* @title 面积折线图形样式
|
|
18
|
-
*/
|
|
19
|
-
readonly areaStyle?: StyleAttr;
|
|
20
|
-
/**
|
|
21
|
-
* @title 面积折线图形样式
|
|
22
|
-
*/
|
|
23
|
-
readonly line?: MappingOptions;
|
|
24
|
-
/**
|
|
25
|
-
* @title 面积点图形样式
|
|
26
|
-
*/
|
|
27
|
-
readonly point?: MappingOptions & Pick<PointGeometryOptions, 'state'>;
|
|
28
|
-
}
|