@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,79 +0,0 @@
|
|
|
1
|
-
import { Options, ShapeAttr, SizeAttr, StyleAttr } from '../../types';
|
|
2
|
-
import { ColumnOptions } from '../column/types';
|
|
3
|
-
import { LineOptions } from '../line/types';
|
|
4
|
-
export declare enum AxisType {
|
|
5
|
-
Left = "Left",
|
|
6
|
-
Right = "Right"
|
|
7
|
-
}
|
|
8
|
-
export declare enum DualAxesGeometry {
|
|
9
|
-
Line = "line",
|
|
10
|
-
Column = "column"
|
|
11
|
-
}
|
|
12
|
-
export interface PointConfig {
|
|
13
|
-
readonly shape?: ShapeAttr;
|
|
14
|
-
readonly size?: SizeAttr;
|
|
15
|
-
readonly style?: StyleAttr;
|
|
16
|
-
}
|
|
17
|
-
type CommonGeometryOption = {
|
|
18
|
-
/**
|
|
19
|
-
* @title 图形类型
|
|
20
|
-
*/
|
|
21
|
-
readonly geometry?: string;
|
|
22
|
-
/**
|
|
23
|
-
* @title 数据标签的配置
|
|
24
|
-
*/
|
|
25
|
-
readonly label?: Options['label'];
|
|
26
|
-
/**
|
|
27
|
-
* @title 图例legend的配置项
|
|
28
|
-
*/
|
|
29
|
-
readonly legend?: Options['legend'];
|
|
30
|
-
/**
|
|
31
|
-
* @title 颜色色板
|
|
32
|
-
*/
|
|
33
|
-
readonly color?: Options['color'];
|
|
34
|
-
/**
|
|
35
|
-
* @title 是否分组
|
|
36
|
-
* @default false
|
|
37
|
-
*/
|
|
38
|
-
readonly isGroup?: boolean;
|
|
39
|
-
/**
|
|
40
|
-
* @title 分组字段
|
|
41
|
-
* @description 优先级高于 seriesField
|
|
42
|
-
*/
|
|
43
|
-
readonly groupField?: string;
|
|
44
|
-
};
|
|
45
|
-
export type GeometryLineOption = Pick<LineOptions, 'seriesField' | 'smooth' | 'connectNulls' | 'lineStyle' | 'point' | 'isStack' | 'stepType'> & CommonGeometryOption;
|
|
46
|
-
export type GeometryColumnOption = Pick<ColumnOptions, 'seriesField' | 'isGroup' | 'isStack' | 'isRange' | 'isPercent' | 'columnWidthRatio' | 'marginRatio' | 'columnStyle' | 'pattern'> & CommonGeometryOption;
|
|
47
|
-
export type GeometryOption = GeometryColumnOption | GeometryLineOption;
|
|
48
|
-
export type DualAxesOptions = Omit<Options, 'data' | 'yAxis' | 'color' | 'annotations'> & {
|
|
49
|
-
/**
|
|
50
|
-
* @title 数据
|
|
51
|
-
* @description 具体的数据,左右两边的数据
|
|
52
|
-
*/
|
|
53
|
-
readonly data: Array<Record<string, any>[]>;
|
|
54
|
-
/**
|
|
55
|
-
* @title 双轴图的 x 字段
|
|
56
|
-
* @description x 字段名称需要保持一致
|
|
57
|
-
*/
|
|
58
|
-
readonly xField: string;
|
|
59
|
-
/**
|
|
60
|
-
* @title 双轴图左右 y 字段
|
|
61
|
-
* @description 需要不一致
|
|
62
|
-
*/
|
|
63
|
-
readonly yField: string[];
|
|
64
|
-
/**
|
|
65
|
-
* @title 左右两边的 yAxis 配置
|
|
66
|
-
* @description 使用 object 的方式,key 为 y 字段名,或者数组分别表示左右
|
|
67
|
-
*/
|
|
68
|
-
readonly yAxis?: Options['yAxis'][] | Record<string, Options['yAxis']>;
|
|
69
|
-
/**
|
|
70
|
-
* @title 左右两边的图形配置
|
|
71
|
-
*/
|
|
72
|
-
readonly geometryOptions?: GeometryOption[];
|
|
73
|
-
/**
|
|
74
|
-
* @title 左右两边的 annotation 配置
|
|
75
|
-
* @description 同时支持数组和object 两种形式,以防出现 field 相同无法设置的情况
|
|
76
|
-
*/
|
|
77
|
-
readonly annotations?: Options['annotations'][] | Record<string, Options['annotations']>;
|
|
78
|
-
};
|
|
79
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export var AxisType;
|
|
2
|
-
(function (AxisType) {
|
|
3
|
-
AxisType["Left"] = "Left";
|
|
4
|
-
AxisType["Right"] = "Right";
|
|
5
|
-
})(AxisType || (AxisType = {}));
|
|
6
|
-
export var DualAxesGeometry;
|
|
7
|
-
(function (DualAxesGeometry) {
|
|
8
|
-
DualAxesGeometry["Line"] = "line";
|
|
9
|
-
DualAxesGeometry["Column"] = "column";
|
|
10
|
-
})(DualAxesGeometry || (DualAxesGeometry = {}));
|
|
11
|
-
//# sourceMappingURL=types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/plots/dual-axes/types.ts"],"names":[],"mappings":"AAIA,MAAM,CAAN,IAAY,QAGX;AAHD,WAAY,QAAQ;IAClB,yBAAa,CAAA;IACb,2BAAe,CAAA;AACjB,CAAC,EAHW,QAAQ,KAAR,QAAQ,QAGnB;AAED,MAAM,CAAN,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,iCAAa,CAAA;IACb,qCAAiB,CAAA;AACnB,CAAC,EAHW,gBAAgB,KAAhB,gBAAgB,QAG3B","sourcesContent":["import { Options, ShapeAttr, SizeAttr, StyleAttr } from '../../types';\nimport { ColumnOptions } from '../column/types';\nimport { LineOptions } from '../line/types';\n\nexport enum AxisType {\n Left = 'Left',\n Right = 'Right',\n}\n\nexport enum DualAxesGeometry {\n Line = 'line',\n Column = 'column',\n}\n\nexport interface PointConfig {\n readonly shape?: ShapeAttr;\n readonly size?: SizeAttr;\n readonly style?: StyleAttr;\n}\n\ntype CommonGeometryOption = {\n /**\n * @title 图形类型\n */\n readonly geometry?: string;\n /**\n * @title 数据标签的配置\n */\n readonly label?: Options['label'];\n /**\n * @title 图例legend的配置项\n */\n readonly legend?: Options['legend'];\n /**\n * @title 颜色色板\n */\n readonly color?: Options['color'];\n /**\n * @title 是否分组\n * @default false\n */\n readonly isGroup?: boolean;\n /**\n * @title 分组字段\n * @description 优先级高于 seriesField\n */\n readonly groupField?: string;\n};\n\n// 折线设置接口, 直接用 LineOption 吧\nexport type GeometryLineOption = Pick<\n LineOptions,\n 'seriesField' | 'smooth' | 'connectNulls' | 'lineStyle' | 'point' | 'isStack' | 'stepType'\n> &\n CommonGeometryOption;\n\n// 柱设置接口\nexport type GeometryColumnOption = Pick<\n ColumnOptions,\n | 'seriesField'\n | 'isGroup'\n | 'isStack'\n | 'isRange'\n | 'isPercent'\n | 'columnWidthRatio'\n | 'marginRatio'\n | 'columnStyle'\n | 'pattern'\n> &\n CommonGeometryOption;\n\nexport type GeometryOption = GeometryColumnOption | GeometryLineOption;\n\nexport type DualAxesOptions = Omit<Options, 'data' | 'yAxis' | 'color' | 'annotations'> & {\n /**\n * @title 数据\n * @description 具体的数据,左右两边的数据\n */\n readonly data: Array<Record<string, any>[]>;\n /**\n * @title 双轴图的 x 字段\n * @description x 字段名称需要保持一致\n */\n readonly xField: string;\n /**\n * @title 双轴图左右 y 字段\n * @description 需要不一致\n */\n readonly yField: string[];\n /**\n * @title 左右两边的 yAxis 配置\n * @description 使用 object 的方式,key 为 y 字段名,或者数组分别表示左右\n */\n readonly yAxis?: Options['yAxis'][] | Record<string, Options['yAxis']>;\n /**\n * @title 左右两边的图形配置\n */\n readonly geometryOptions?: GeometryOption[];\n /**\n * @title 左右两边的 annotation 配置\n * @description 同时支持数组和object 两种形式,以防出现 field 相同无法设置的情况\n */\n readonly annotations?: Options['annotations'][] | Record<string, Options['annotations']>;\n};\n"]}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Params } from '../../../core/adaptor';
|
|
2
|
-
import { GeometryOption } from '../types';
|
|
3
|
-
/**
|
|
4
|
-
* 绘制单个图形
|
|
5
|
-
* @param params
|
|
6
|
-
*/
|
|
7
|
-
export declare function drawSingleGeometry<O extends {
|
|
8
|
-
xField: string;
|
|
9
|
-
yField: string;
|
|
10
|
-
geometryOption: GeometryOption;
|
|
11
|
-
}>(params: Params<O>): Params<O>;
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
2
|
-
import { each } from '@antv/util';
|
|
3
|
-
import { line, point } from '../../../adaptor/geometries';
|
|
4
|
-
import { deepAssign, pick } from '../../../utils';
|
|
5
|
-
import { adaptor as columnAdaptor } from '../../column/adaptor';
|
|
6
|
-
import { isColumn, isLine } from './option';
|
|
7
|
-
/**
|
|
8
|
-
* 绘制单个图形
|
|
9
|
-
* @param params
|
|
10
|
-
*/
|
|
11
|
-
export function drawSingleGeometry(params) {
|
|
12
|
-
var options = params.options, chart = params.chart;
|
|
13
|
-
var geometryOption = options.geometryOption;
|
|
14
|
-
var isStack = geometryOption.isStack, color = geometryOption.color, seriesField = geometryOption.seriesField, groupField = geometryOption.groupField, isGroup = geometryOption.isGroup;
|
|
15
|
-
var FIELD_KEY = ['xField', 'yField'];
|
|
16
|
-
if (isLine(geometryOption)) {
|
|
17
|
-
// 绘制线
|
|
18
|
-
line(deepAssign({}, params, {
|
|
19
|
-
options: __assign(__assign(__assign({}, pick(options, FIELD_KEY)), geometryOption), { line: {
|
|
20
|
-
color: geometryOption.color,
|
|
21
|
-
style: geometryOption.lineStyle,
|
|
22
|
-
} }),
|
|
23
|
-
}));
|
|
24
|
-
// 绘制点
|
|
25
|
-
point(deepAssign({}, params, {
|
|
26
|
-
options: __assign(__assign(__assign({}, pick(options, FIELD_KEY)), geometryOption), { point: geometryOption.point && __assign({ color: color, shape: 'circle' }, geometryOption.point) }),
|
|
27
|
-
}));
|
|
28
|
-
// adjust
|
|
29
|
-
var adjust_1 = [];
|
|
30
|
-
if (isGroup) {
|
|
31
|
-
adjust_1.push({
|
|
32
|
-
type: 'dodge',
|
|
33
|
-
dodgeBy: groupField || seriesField,
|
|
34
|
-
customOffset: 0,
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
if (isStack) {
|
|
38
|
-
adjust_1.push({
|
|
39
|
-
type: 'stack',
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
if (adjust_1.length) {
|
|
43
|
-
each(chart.geometries, function (g) {
|
|
44
|
-
g.adjust(adjust_1);
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
if (isColumn(geometryOption)) {
|
|
49
|
-
columnAdaptor(deepAssign({}, params, {
|
|
50
|
-
options: __assign(__assign(__assign({}, pick(options, FIELD_KEY)), geometryOption), { widthRatio: geometryOption.columnWidthRatio, interval: __assign(__assign({}, pick(geometryOption, ['color'])), { style: geometryOption.columnStyle }) }),
|
|
51
|
-
}));
|
|
52
|
-
}
|
|
53
|
-
return params;
|
|
54
|
-
}
|
|
55
|
-
//# sourceMappingURL=geometry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"geometry.js","sourceRoot":"","sources":["../../../../src/plots/dual-axes/util/geometry.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAClC,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAE1D,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAEhE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAE5C;;;GAGG;AACH,MAAM,UAAU,kBAAkB,CAChC,MAAiB;IAET,IAAA,OAAO,GAAY,MAAM,QAAlB,EAAE,KAAK,GAAK,MAAM,MAAX,CAAY;IAC1B,IAAA,cAAc,GAAK,OAAO,eAAZ,CAAa;IAC3B,IAAA,OAAO,GAA8C,cAAc,QAA5D,EAAE,KAAK,GAAuC,cAAc,MAArD,EAAE,WAAW,GAA0B,cAAc,YAAxC,EAAE,UAAU,GAAc,cAAc,WAA5B,EAAE,OAAO,GAAK,cAAc,QAAnB,CAAoB;IAE5E,IAAM,SAAS,GAAG,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;IACvC,IAAI,MAAM,CAAC,cAAc,CAAC,EAAE;QAC1B,MAAM;QACN,IAAI,CACF,UAAU,CAAC,EAAE,EAAE,MAAM,EAAE;YACrB,OAAO,iCACF,IAAI,CAAC,OAAO,EAAE,SAAS,CAAC,GACxB,cAAc,KACjB,IAAI,EAAE;oBACJ,KAAK,EAAE,cAAc,CAAC,KAAK;oBAC3B,KAAK,EAAE,cAAc,CAAC,SAAS;iBAChC,GACF;SACF,CAAC,CACH,CAAC;QACF,MAAM;QACN,KAAK,CACH,UAAU,CAAC,EAAE,EAAE,MAAM,EAAE;YACrB,OAAO,iCACF,IAAI,CAAC,OAAO,EAAE,SAAS,CAAC,GACxB,cAAc,KACjB,KAAK,EAAE,cAAc,CAAC,KAAK,eACzB,KAAK,OAAA,EACL,KAAK,EAAE,QAAQ,IACZ,cAAc,CAAC,KAAK,CACxB,GACF;SACF,CAAC,CACH,CAAC;QACF,SAAS;QACT,IAAM,QAAM,GAAG,EAAE,CAAC;QAClB,IAAI,OAAO,EAAE;YACX,QAAM,CAAC,IAAI,CAAC;gBACV,IAAI,EAAE,OAAO;gBACb,OAAO,EAAE,UAAU,IAAI,WAAW;gBAClC,YAAY,EAAE,CAAC;aAChB,CAAC,CAAC;SACJ;QACD,IAAI,OAAO,EAAE;YACX,QAAM,CAAC,IAAI,CAAC;gBACV,IAAI,EAAE,OAAO;aACd,CAAC,CAAC;SACJ;QACD,IAAI,QAAM,CAAC,MAAM,EAAE;YACjB,IAAI,CAAC,KAAK,CAAC,UAAU,EAAE,UAAC,CAAW;gBACjC,CAAC,CAAC,MAAM,CAAC,QAAM,CAAC,CAAC;YACnB,CAAC,CAAC,CAAC;SACJ;KACF;IAED,IAAI,QAAQ,CAAC,cAAc,CAAC,EAAE;QAC5B,aAAa,CACX,UAAU,CAAC,EAAE,EAAE,MAAM,EAAE;YACrB,OAAO,iCACF,IAAI,CAAC,OAAO,EAAE,SAAS,CAAC,GACxB,cAAc,KACjB,UAAU,EAAE,cAAc,CAAC,gBAAgB,EAC3C,QAAQ,wBACH,IAAI,CAAC,cAAc,EAAE,CAAC,OAAO,CAAC,CAAC,KAClC,KAAK,EAAE,cAAc,CAAC,WAAW,MAEpC;SACF,CAAC,CACH,CAAC;KACH;IAED,OAAO,MAAM,CAAC;AAChB,CAAC","sourcesContent":["import { Geometry } from '@antv/g2';\nimport { each } from '@antv/util';\nimport { line, point } from '../../../adaptor/geometries';\nimport { Params } from '../../../core/adaptor';\nimport { deepAssign, pick } from '../../../utils';\nimport { adaptor as columnAdaptor } from '../../column/adaptor';\nimport { GeometryOption } from '../types';\nimport { isColumn, isLine } from './option';\n\n/**\n * 绘制单个图形\n * @param params\n */\nexport function drawSingleGeometry<O extends { xField: string; yField: string; geometryOption: GeometryOption }>(\n params: Params<O>\n): Params<O> {\n const { options, chart } = params;\n const { geometryOption } = options;\n const { isStack, color, seriesField, groupField, isGroup } = geometryOption;\n\n const FIELD_KEY = ['xField', 'yField'];\n if (isLine(geometryOption)) {\n // 绘制线\n line(\n deepAssign({}, params, {\n options: {\n ...pick(options, FIELD_KEY),\n ...geometryOption,\n line: {\n color: geometryOption.color,\n style: geometryOption.lineStyle,\n },\n },\n })\n );\n // 绘制点\n point(\n deepAssign({}, params, {\n options: {\n ...pick(options, FIELD_KEY),\n ...geometryOption,\n point: geometryOption.point && {\n color,\n shape: 'circle',\n ...geometryOption.point,\n },\n },\n })\n );\n // adjust\n const adjust = [];\n if (isGroup) {\n adjust.push({\n type: 'dodge',\n dodgeBy: groupField || seriesField,\n customOffset: 0,\n });\n }\n if (isStack) {\n adjust.push({\n type: 'stack',\n });\n }\n if (adjust.length) {\n each(chart.geometries, (g: Geometry) => {\n g.adjust(adjust);\n });\n }\n }\n\n if (isColumn(geometryOption)) {\n columnAdaptor(\n deepAssign({}, params, {\n options: {\n ...pick(options, FIELD_KEY),\n ...geometryOption,\n widthRatio: geometryOption.columnWidthRatio,\n interval: {\n ...pick(geometryOption, ['color']),\n style: geometryOption.columnStyle,\n },\n },\n })\n );\n }\n\n return params;\n}\n"]}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { View } from '@antv/g2';
|
|
2
|
-
import { Legend } from '../../../types/legend';
|
|
3
|
-
import { GeometryOption } from '../types';
|
|
4
|
-
/**
|
|
5
|
-
* 获取 view 的 legendItem,供存在不含有 seriesField 的图形使用
|
|
6
|
-
* @param params
|
|
7
|
-
*/
|
|
8
|
-
export declare function getViewLegendItems(params: {
|
|
9
|
-
view: View;
|
|
10
|
-
yField: string;
|
|
11
|
-
geometryOption: GeometryOption;
|
|
12
|
-
legend: Legend;
|
|
13
|
-
}): any[];
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { Util } from '@antv/g2';
|
|
2
|
-
import { get, isEmpty, isFunction, reduce } from '@antv/util';
|
|
3
|
-
import { deepAssign, findGeometry } from '../../../utils';
|
|
4
|
-
import { isLine } from './option';
|
|
5
|
-
/**
|
|
6
|
-
* 获取 view 的 legendItem,供存在不含有 seriesField 的图形使用
|
|
7
|
-
* @param params
|
|
8
|
-
*/
|
|
9
|
-
export function getViewLegendItems(params) {
|
|
10
|
-
var view = params.view, geometryOption = params.geometryOption, yField = params.yField, legend = params.legend;
|
|
11
|
-
var userMarker = get(legend, 'marker');
|
|
12
|
-
var geometry = findGeometry(view, isLine(geometryOption) ? 'line' : 'interval');
|
|
13
|
-
if (!geometryOption.seriesField) {
|
|
14
|
-
var legendItemName = get(view, "options.scales.".concat(yField, ".alias")) || yField;
|
|
15
|
-
// 返回 g2 设置的图例
|
|
16
|
-
var colorAttribute = geometry.getAttribute('color');
|
|
17
|
-
var color = view.getTheme().defaultColor;
|
|
18
|
-
if (colorAttribute) {
|
|
19
|
-
color = Util.getMappingValue(colorAttribute, legendItemName, get(colorAttribute, ['values', 0], color));
|
|
20
|
-
}
|
|
21
|
-
var marker = (isFunction(userMarker)
|
|
22
|
-
? userMarker
|
|
23
|
-
: !isEmpty(userMarker) &&
|
|
24
|
-
deepAssign({}, {
|
|
25
|
-
style: {
|
|
26
|
-
stroke: color,
|
|
27
|
-
fill: color,
|
|
28
|
-
},
|
|
29
|
-
}, userMarker)) ||
|
|
30
|
-
(isLine(geometryOption)
|
|
31
|
-
? {
|
|
32
|
-
symbol: function (x, y, r) {
|
|
33
|
-
return [
|
|
34
|
-
['M', x - r, y],
|
|
35
|
-
['L', x + r, y],
|
|
36
|
-
];
|
|
37
|
-
},
|
|
38
|
-
style: {
|
|
39
|
-
lineWidth: 2,
|
|
40
|
-
r: 6,
|
|
41
|
-
stroke: color,
|
|
42
|
-
},
|
|
43
|
-
}
|
|
44
|
-
: {
|
|
45
|
-
symbol: 'square',
|
|
46
|
-
style: {
|
|
47
|
-
fill: color,
|
|
48
|
-
},
|
|
49
|
-
});
|
|
50
|
-
return [
|
|
51
|
-
{
|
|
52
|
-
value: yField,
|
|
53
|
-
name: legendItemName,
|
|
54
|
-
marker: marker,
|
|
55
|
-
isGeometry: true,
|
|
56
|
-
viewId: view.id,
|
|
57
|
-
},
|
|
58
|
-
];
|
|
59
|
-
}
|
|
60
|
-
var attributes = geometry.getGroupAttributes();
|
|
61
|
-
return reduce(attributes, function (items, attr) {
|
|
62
|
-
var attrItems = Util.getLegendItems(view, geometry, attr, view.getTheme(), userMarker);
|
|
63
|
-
return items.concat(attrItems);
|
|
64
|
-
}, []);
|
|
65
|
-
}
|
|
66
|
-
//# sourceMappingURL=legend.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"legend.js","sourceRoot":"","sources":["../../../../src/plots/dual-axes/util/legend.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAQ,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAE9D,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE1D,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC;;;GAGG;AACH,MAAM,UAAU,kBAAkB,CAAC,MAKlC;IACS,IAAA,IAAI,GAAqC,MAAM,KAA3C,EAAE,cAAc,GAAqB,MAAM,eAA3B,EAAE,MAAM,GAAa,MAAM,OAAnB,EAAE,MAAM,GAAK,MAAM,OAAX,CAAY;IACxD,IAAM,UAAU,GAAG,GAAG,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;IAEzC,IAAM,QAAQ,GAAG,YAAY,CAAC,IAAI,EAAE,MAAM,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC;IAClF,IAAI,CAAC,cAAc,CAAC,WAAW,EAAE;QAC/B,IAAM,cAAc,GAAG,GAAG,CAAC,IAAI,EAAE,yBAAkB,MAAM,WAAQ,CAAC,IAAI,MAAM,CAAC;QAC7E,cAAc;QACd,IAAM,cAAc,GAAG,QAAQ,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QACtD,IAAI,KAAK,GAAG,IAAI,CAAC,QAAQ,EAAE,CAAC,YAAY,CAAC;QACzC,IAAI,cAAc,EAAE;YAClB,KAAK,GAAG,IAAI,CAAC,eAAe,CAAC,cAAc,EAAE,cAAc,EAAE,GAAG,CAAC,cAAc,EAAE,CAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC;SACzG;QAED,IAAM,MAAM,GACV,CAAC,UAAU,CAAC,UAAU,CAAC;YACrB,CAAC,CAAC,UAAU;YACZ,CAAC,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC;gBACpB,UAAU,CACR,EAAE,EACF;oBACE,KAAK,EAAE;wBACL,MAAM,EAAE,KAAK;wBACb,IAAI,EAAE,KAAK;qBACZ;iBACF,EACD,UAAU,CACX,CAAC;YACN,CAAC,MAAM,CAAC,cAAc,CAAC;gBACrB,CAAC,CAAC;oBACE,MAAM,EAAE,UAAC,CAAS,EAAE,CAAS,EAAE,CAAS;wBACtC,OAAO;4BACL,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;4BACf,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;yBAChB,CAAC;oBACJ,CAAC;oBACD,KAAK,EAAE;wBACL,SAAS,EAAE,CAAC;wBACZ,CAAC,EAAE,CAAC;wBACJ,MAAM,EAAE,KAAK;qBACd;iBACF;gBACH,CAAC,CAAC;oBACE,MAAM,EAAE,QAAQ;oBAChB,KAAK,EAAE;wBACL,IAAI,EAAE,KAAK;qBACZ;iBACF,CAAC,CAAC;QACT,OAAO;YACL;gBACE,KAAK,EAAE,MAAM;gBACb,IAAI,EAAE,cAAc;gBACpB,MAAM,QAAA;gBACN,UAAU,EAAE,IAAI;gBAChB,MAAM,EAAE,IAAI,CAAC,EAAE;aAChB;SACF,CAAC;KACH;IAED,IAAM,UAAU,GAAG,QAAQ,CAAC,kBAAkB,EAAE,CAAC;IACjD,OAAO,MAAM,CACX,UAAU,EACV,UAAC,KAAK,EAAE,IAAI;QACV,IAAM,SAAS,GAAG,IAAI,CAAC,cAAc,CAAC,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,CAAC,QAAQ,EAAE,EAAE,UAAU,CAAC,CAAC;QACzF,OAAO,KAAK,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;IACjC,CAAC,EACD,EAAE,CACH,CAAC;AACJ,CAAC","sourcesContent":["import { Util, View } from '@antv/g2';\nimport { get, isEmpty, isFunction, reduce } from '@antv/util';\nimport { Legend } from '../../../types/legend';\nimport { deepAssign, findGeometry } from '../../../utils';\nimport { GeometryOption } from '../types';\nimport { isLine } from './option';\n\n/**\n * 获取 view 的 legendItem,供存在不含有 seriesField 的图形使用\n * @param params\n */\nexport function getViewLegendItems(params: {\n view: View;\n yField: string;\n geometryOption: GeometryOption;\n legend: Legend;\n}) {\n const { view, geometryOption, yField, legend } = params;\n const userMarker = get(legend, 'marker');\n\n const geometry = findGeometry(view, isLine(geometryOption) ? 'line' : 'interval');\n if (!geometryOption.seriesField) {\n const legendItemName = get(view, `options.scales.${yField}.alias`) || yField;\n // 返回 g2 设置的图例\n const colorAttribute = geometry.getAttribute('color');\n let color = view.getTheme().defaultColor;\n if (colorAttribute) {\n color = Util.getMappingValue(colorAttribute, legendItemName, get(colorAttribute, ['values', 0], color));\n }\n\n const marker =\n (isFunction(userMarker)\n ? userMarker\n : !isEmpty(userMarker) &&\n deepAssign(\n {},\n {\n style: {\n stroke: color,\n fill: color,\n },\n },\n userMarker\n )) ||\n (isLine(geometryOption)\n ? {\n symbol: (x: number, y: number, r: number) => {\n return [\n ['M', x - r, y],\n ['L', x + r, y],\n ];\n },\n style: {\n lineWidth: 2,\n r: 6,\n stroke: color,\n },\n }\n : {\n symbol: 'square',\n style: {\n fill: color,\n },\n });\n return [\n {\n value: yField,\n name: legendItemName,\n marker,\n isGeometry: true,\n viewId: view.id,\n },\n ];\n }\n\n const attributes = geometry.getGroupAttributes();\n return reduce(\n attributes,\n (items, attr) => {\n const attrItems = Util.getLegendItems(view, geometry, attr, view.getTheme(), userMarker);\n return items.concat(attrItems);\n },\n []\n );\n}\n"]}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { Axis } from '../../../types/axis';
|
|
2
|
-
import { AxisType, DualAxesOptions, GeometryColumnOption, GeometryLineOption, GeometryOption } from '../types';
|
|
3
|
-
/**
|
|
4
|
-
* 根据 GeometryOption 判断 geometry 是否为 line
|
|
5
|
-
*/
|
|
6
|
-
export declare function isLine(geometryOption: GeometryOption): geometryOption is GeometryLineOption;
|
|
7
|
-
/**
|
|
8
|
-
* 根据 GeometryOption 判断 geometry 是否为 Column
|
|
9
|
-
*/
|
|
10
|
-
export declare function isColumn(geometryOption: GeometryOption): geometryOption is GeometryColumnOption;
|
|
11
|
-
/**
|
|
12
|
-
* 获取 GeometryOption
|
|
13
|
-
* @param geometryOption
|
|
14
|
-
* @param axis
|
|
15
|
-
*/
|
|
16
|
-
export declare function getGeometryOption(xField: string, yField: string, geometryOption: GeometryOption): GeometryOption;
|
|
17
|
-
/**
|
|
18
|
-
* 兼容一些属性 为 arr 和 obj 的两种情况, 如 yAxis,annotations
|
|
19
|
-
* 为了防止左右 yField 相同,导致变成 object 之后被覆盖,所以都转变成数组的形式
|
|
20
|
-
* @param yField
|
|
21
|
-
* @param transformAttribute
|
|
22
|
-
*/
|
|
23
|
-
export declare function transformObjectToArray(yField: DualAxesOptions['yField'], transformAttribute: Record<string, any> | any[]): any[];
|
|
24
|
-
/**
|
|
25
|
-
* 获取默认值
|
|
26
|
-
* @param yAxis
|
|
27
|
-
* @param axisType
|
|
28
|
-
*/
|
|
29
|
-
export declare function getYAxisWithDefault(yAxis: Axis, axisType: AxisType): Axis;
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
2
|
-
import { get, isArray } from '@antv/util';
|
|
3
|
-
import { deepAssign } from '../../../utils';
|
|
4
|
-
import { DEFAULT_LEFT_YAXIS_CONFIG, DEFAULT_RIGHT_YAXIS_CONFIG } from '../constant';
|
|
5
|
-
import { AxisType, DualAxesGeometry, } from '../types';
|
|
6
|
-
/**
|
|
7
|
-
* 根据 GeometryOption 判断 geometry 是否为 line
|
|
8
|
-
*/
|
|
9
|
-
export function isLine(geometryOption) {
|
|
10
|
-
return get(geometryOption, 'geometry') === DualAxesGeometry.Line;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* 根据 GeometryOption 判断 geometry 是否为 Column
|
|
14
|
-
*/
|
|
15
|
-
export function isColumn(geometryOption) {
|
|
16
|
-
return get(geometryOption, 'geometry') === DualAxesGeometry.Column;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* 获取 GeometryOption
|
|
20
|
-
* @param geometryOption
|
|
21
|
-
* @param axis
|
|
22
|
-
*/
|
|
23
|
-
export function getGeometryOption(xField, yField, geometryOption) {
|
|
24
|
-
// 空默认为线
|
|
25
|
-
return isColumn(geometryOption)
|
|
26
|
-
? deepAssign({}, {
|
|
27
|
-
geometry: DualAxesGeometry.Column,
|
|
28
|
-
label: geometryOption.label && geometryOption.isRange
|
|
29
|
-
? {
|
|
30
|
-
content: function (item) {
|
|
31
|
-
var _a;
|
|
32
|
-
return (_a = item[yField]) === null || _a === void 0 ? void 0 : _a.join('-');
|
|
33
|
-
},
|
|
34
|
-
}
|
|
35
|
-
: undefined,
|
|
36
|
-
}, geometryOption)
|
|
37
|
-
: __assign({ geometry: DualAxesGeometry.Line }, geometryOption);
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* 兼容一些属性 为 arr 和 obj 的两种情况, 如 yAxis,annotations
|
|
41
|
-
* 为了防止左右 yField 相同,导致变成 object 之后被覆盖,所以都转变成数组的形式
|
|
42
|
-
* @param yField
|
|
43
|
-
* @param transformAttribute
|
|
44
|
-
*/
|
|
45
|
-
export function transformObjectToArray(yField, transformAttribute) {
|
|
46
|
-
var y1 = yField[0], y2 = yField[1];
|
|
47
|
-
if (isArray(transformAttribute)) {
|
|
48
|
-
// 将数组补齐为两个
|
|
49
|
-
var a1_1 = transformAttribute[0], a2_1 = transformAttribute[1];
|
|
50
|
-
return [a1_1, a2_1];
|
|
51
|
-
}
|
|
52
|
-
var a1 = get(transformAttribute, y1);
|
|
53
|
-
var a2 = get(transformAttribute, y2);
|
|
54
|
-
return [a1, a2];
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* 获取默认值
|
|
58
|
-
* @param yAxis
|
|
59
|
-
* @param axisType
|
|
60
|
-
*/
|
|
61
|
-
export function getYAxisWithDefault(yAxis, axisType) {
|
|
62
|
-
if (axisType === AxisType.Left) {
|
|
63
|
-
return yAxis === false ? false : deepAssign({}, DEFAULT_LEFT_YAXIS_CONFIG, yAxis);
|
|
64
|
-
}
|
|
65
|
-
else if (axisType === AxisType.Right) {
|
|
66
|
-
return yAxis === false ? false : deepAssign({}, DEFAULT_RIGHT_YAXIS_CONFIG, yAxis);
|
|
67
|
-
}
|
|
68
|
-
return yAxis;
|
|
69
|
-
}
|
|
70
|
-
//# sourceMappingURL=option.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"option.js","sourceRoot":"","sources":["../../../../src/plots/dual-axes/util/option.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAE1C,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AACpF,OAAO,EACL,QAAQ,EACR,gBAAgB,GAKjB,MAAM,UAAU,CAAC;AAElB;;GAEG;AACH,MAAM,UAAU,MAAM,CAAC,cAA8B;IACnD,OAAO,GAAG,CAAC,cAAc,EAAE,UAAU,CAAC,KAAK,gBAAgB,CAAC,IAAI,CAAC;AACnE,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,QAAQ,CAAC,cAA8B;IACrD,OAAO,GAAG,CAAC,cAAc,EAAE,UAAU,CAAC,KAAK,gBAAgB,CAAC,MAAM,CAAC;AACrE,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,iBAAiB,CAAC,MAAc,EAAE,MAAc,EAAE,cAA8B;IAC9F,QAAQ;IACR,OAAO,QAAQ,CAAC,cAAc,CAAC;QAC7B,CAAC,CAAC,UAAU,CACR,EAAE,EACF;YACE,QAAQ,EAAE,gBAAgB,CAAC,MAAM;YACjC,KAAK,EACH,cAAc,CAAC,KAAK,IAAI,cAAc,CAAC,OAAO;gBAC5C,CAAC,CAAC;oBACE,OAAO,EAAE,UAAC,IAAY;;wBACpB,OAAO,MAAA,IAAI,CAAC,MAAM,CAAC,0CAAE,IAAI,CAAC,GAAG,CAAC,CAAC;oBACjC,CAAC;iBACF;gBACH,CAAC,CAAC,SAAS;SAChB,EACD,cAAc,CACf;QACH,CAAC,YACG,QAAQ,EAAE,gBAAgB,CAAC,IAAI,IAC5B,cAAc,CAClB,CAAC;AACR,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,sBAAsB,CACpC,MAAiC,EACjC,kBAA+C;IAExC,IAAA,EAAE,GAAQ,MAAM,GAAd,EAAE,EAAE,GAAI,MAAM,GAAV,CAAW;IAExB,IAAI,OAAO,CAAC,kBAAkB,CAAC,EAAE;QAC/B,WAAW;QACJ,IAAA,IAAE,GAAQ,kBAAkB,GAA1B,EAAE,IAAE,GAAI,kBAAkB,GAAtB,CAAuB;QACpC,OAAO,CAAC,IAAE,EAAE,IAAE,CAAC,CAAC;KACjB;IACD,IAAM,EAAE,GAAG,GAAG,CAAC,kBAAkB,EAAE,EAAE,CAAC,CAAC;IACvC,IAAM,EAAE,GAAG,GAAG,CAAC,kBAAkB,EAAE,EAAE,CAAC,CAAC;IACvC,OAAO,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAClB,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,mBAAmB,CAAC,KAAW,EAAE,QAAkB;IACjE,IAAI,QAAQ,KAAK,QAAQ,CAAC,IAAI,EAAE;QAC9B,OAAO,KAAK,KAAK,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,UAAU,CAAC,EAAE,EAAE,yBAAyB,EAAE,KAAK,CAAC,CAAC;KACnF;SAAM,IAAI,QAAQ,KAAK,QAAQ,CAAC,KAAK,EAAE;QACtC,OAAO,KAAK,KAAK,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,UAAU,CAAC,EAAE,EAAE,0BAA0B,EAAE,KAAK,CAAC,CAAC;KACpF;IACD,OAAO,KAAK,CAAC;AACf,CAAC","sourcesContent":["import { get, isArray } from '@antv/util';\nimport { Axis } from '../../../types/axis';\nimport { deepAssign } from '../../../utils';\nimport { DEFAULT_LEFT_YAXIS_CONFIG, DEFAULT_RIGHT_YAXIS_CONFIG } from '../constant';\nimport {\n AxisType,\n DualAxesGeometry,\n DualAxesOptions,\n GeometryColumnOption,\n GeometryLineOption,\n GeometryOption,\n} from '../types';\n\n/**\n * 根据 GeometryOption 判断 geometry 是否为 line\n */\nexport function isLine(geometryOption: GeometryOption): geometryOption is GeometryLineOption {\n return get(geometryOption, 'geometry') === DualAxesGeometry.Line;\n}\n\n/**\n * 根据 GeometryOption 判断 geometry 是否为 Column\n */\nexport function isColumn(geometryOption: GeometryOption): geometryOption is GeometryColumnOption {\n return get(geometryOption, 'geometry') === DualAxesGeometry.Column;\n}\n\n/**\n * 获取 GeometryOption\n * @param geometryOption\n * @param axis\n */\nexport function getGeometryOption(xField: string, yField: string, geometryOption: GeometryOption): GeometryOption {\n // 空默认为线\n return isColumn(geometryOption)\n ? deepAssign(\n {},\n {\n geometry: DualAxesGeometry.Column,\n label:\n geometryOption.label && geometryOption.isRange\n ? {\n content: (item: object) => {\n return item[yField]?.join('-');\n },\n }\n : undefined,\n },\n geometryOption\n )\n : {\n geometry: DualAxesGeometry.Line,\n ...geometryOption,\n };\n}\n\n/**\n * 兼容一些属性 为 arr 和 obj 的两种情况, 如 yAxis,annotations\n * 为了防止左右 yField 相同,导致变成 object 之后被覆盖,所以都转变成数组的形式\n * @param yField\n * @param transformAttribute\n */\nexport function transformObjectToArray(\n yField: DualAxesOptions['yField'],\n transformAttribute: Record<string, any> | any[]\n): any[] {\n const [y1, y2] = yField;\n\n if (isArray(transformAttribute)) {\n // 将数组补齐为两个\n const [a1, a2] = transformAttribute;\n return [a1, a2];\n }\n const a1 = get(transformAttribute, y1);\n const a2 = get(transformAttribute, y2);\n return [a1, a2];\n}\n\n/**\n * 获取默认值\n * @param yAxis\n * @param axisType\n */\nexport function getYAxisWithDefault(yAxis: Axis, axisType: AxisType): Axis {\n if (axisType === AxisType.Left) {\n return yAxis === false ? false : deepAssign({}, DEFAULT_LEFT_YAXIS_CONFIG, yAxis);\n } else if (axisType === AxisType.Right) {\n return yAxis === false ? false : deepAssign({}, DEFAULT_RIGHT_YAXIS_CONFIG, yAxis);\n }\n return yAxis;\n}\n"]}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { View } from '@antv/g2';
|
|
2
|
-
/**
|
|
3
|
-
* 右侧 View 进行 slider 过滤
|
|
4
|
-
* 由于双轴图是多 View , 需要监听左侧 Slider 的 change 事件来同步右侧 View
|
|
5
|
-
* @param { View } view 右侧视图
|
|
6
|
-
* @param { number[] } sliderValue 滑块当前值
|
|
7
|
-
* @returns void
|
|
8
|
-
*/
|
|
9
|
-
export declare const doSliderFilter: (view: View, sliderValue: [number, number]) => void;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { size, valuesOfKey } from '@antv/util';
|
|
2
|
-
import { isBetween } from '../../../utils';
|
|
3
|
-
/**
|
|
4
|
-
* 右侧 View 进行 slider 过滤
|
|
5
|
-
* 由于双轴图是多 View , 需要监听左侧 Slider 的 change 事件来同步右侧 View
|
|
6
|
-
* @param { View } view 右侧视图
|
|
7
|
-
* @param { number[] } sliderValue 滑块当前值
|
|
8
|
-
* @returns void
|
|
9
|
-
*/
|
|
10
|
-
export var doSliderFilter = function (view, sliderValue) {
|
|
11
|
-
var min = sliderValue[0], max = sliderValue[1];
|
|
12
|
-
var data = view.getOptions().data;
|
|
13
|
-
var xScale = view.getXScale();
|
|
14
|
-
var dataSize = size(data);
|
|
15
|
-
if (!xScale || !dataSize) {
|
|
16
|
-
return;
|
|
17
|
-
}
|
|
18
|
-
var isHorizontal = true;
|
|
19
|
-
var values = valuesOfKey(data, xScale.field);
|
|
20
|
-
var xValues = isHorizontal ? values : values.reverse();
|
|
21
|
-
var xTickCount = size(xValues);
|
|
22
|
-
var minIndex = Math.floor(min * (xTickCount - 1));
|
|
23
|
-
var maxIndex = Math.floor(max * (xTickCount - 1));
|
|
24
|
-
// 增加 x 轴的过滤器
|
|
25
|
-
view.filter(xScale.field, function (value) {
|
|
26
|
-
var idx = xValues.indexOf(value);
|
|
27
|
-
return idx > -1 ? isBetween(idx, minIndex, maxIndex) : true;
|
|
28
|
-
});
|
|
29
|
-
view.getRootView().render(true);
|
|
30
|
-
};
|
|
31
|
-
//# sourceMappingURL=render-sider.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"render-sider.js","sourceRoot":"","sources":["../../../../src/plots/dual-axes/util/render-sider.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C;;;;;;GAMG;AACH,MAAM,CAAC,IAAM,cAAc,GAAG,UAAC,IAAU,EAAE,WAA6B;IAC/D,IAAA,GAAG,GAAS,WAAW,GAApB,EAAE,GAAG,GAAI,WAAW,GAAf,CAAgB;IAC/B,IAAM,IAAI,GAAG,IAAI,CAAC,UAAU,EAAE,CAAC,IAAI,CAAC;IACpC,IAAM,MAAM,GAAG,IAAI,CAAC,SAAS,EAAE,CAAC;IAChC,IAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC;IAC5B,IAAI,CAAC,MAAM,IAAI,CAAC,QAAQ,EAAE;QACxB,OAAO;KACR;IACD,IAAM,YAAY,GAAG,IAAI,CAAC;IAC1B,IAAM,MAAM,GAAG,WAAW,CAAC,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC;IAC/C,IAAM,OAAO,GAAG,YAAY,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC;IACzD,IAAM,UAAU,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC;IACjC,IAAM,QAAQ,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,GAAG,CAAC,UAAU,GAAG,CAAC,CAAC,CAAC,CAAC;IACpD,IAAM,QAAQ,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,GAAG,CAAC,UAAU,GAAG,CAAC,CAAC,CAAC,CAAC;IAEpD,aAAa;IACb,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,UAAC,KAAU;QACnC,IAAM,GAAG,GAAW,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QAC3C,OAAO,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,GAAG,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IAC9D,CAAC,CAAC,CAAC;IACH,IAAI,CAAC,WAAW,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AAClC,CAAC,CAAC","sourcesContent":["import { View } from '@antv/g2';\nimport { size, valuesOfKey } from '@antv/util';\nimport { isBetween } from '../../../utils';\n\n/**\n * 右侧 View 进行 slider 过滤\n * 由于双轴图是多 View , 需要监听左侧 Slider 的 change 事件来同步右侧 View\n * @param { View } view 右侧视图\n * @param { number[] } sliderValue 滑块当前值\n * @returns void\n */\nexport const doSliderFilter = (view: View, sliderValue: [number, number]) => {\n const [min, max] = sliderValue;\n const data = view.getOptions().data;\n const xScale = view.getXScale();\n const dataSize = size(data);\n if (!xScale || !dataSize) {\n return;\n }\n const isHorizontal = true;\n const values = valuesOfKey(data, xScale.field);\n const xValues = isHorizontal ? values : values.reverse();\n const xTickCount = size(xValues);\n const minIndex = Math.floor(min * (xTickCount - 1));\n const maxIndex = Math.floor(max * (xTickCount - 1));\n\n // 增加 x 轴的过滤器\n view.filter(xScale.field, (value: any) => {\n const idx: number = xValues.indexOf(value);\n return idx > -1 ? isBetween(idx, minIndex, maxIndex) : true;\n });\n view.getRootView().render(true);\n};\n"]}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Params } from '../../core/adaptor';
|
|
2
|
-
import { FacetOptions } from './types';
|
|
3
|
-
/**
|
|
4
|
-
* 分面图适配器
|
|
5
|
-
* @param chart
|
|
6
|
-
* @param options
|
|
7
|
-
*/
|
|
8
|
-
export declare function adaptor(params: Params<FacetOptions>): Params<FacetOptions<keyof import("@antv/g2/lib/interface").FacetCfgMap>>;
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
2
|
-
import { each, omit } from '@antv/util';
|
|
3
|
-
import { theme } from '../../adaptor/common';
|
|
4
|
-
import { AXIS_META_CONFIG_KEYS } from '../../constant';
|
|
5
|
-
import { deepAssign, flow, pick } from '../../utils';
|
|
6
|
-
import { execPlotAdaptor } from '../mix/utils';
|
|
7
|
-
import { execViewAdaptor } from './utils';
|
|
8
|
-
function facetAdaptor(params) {
|
|
9
|
-
var chart = params.chart, options = params.options;
|
|
10
|
-
var facetType = options.type, data = options.data, fields = options.fields, eachView = options.eachView;
|
|
11
|
-
var restFacetCfg = omit(options, [
|
|
12
|
-
'type',
|
|
13
|
-
'data',
|
|
14
|
-
'fields',
|
|
15
|
-
'eachView',
|
|
16
|
-
'axes',
|
|
17
|
-
'meta',
|
|
18
|
-
'tooltip',
|
|
19
|
-
'coordinate',
|
|
20
|
-
'theme',
|
|
21
|
-
'legend',
|
|
22
|
-
'interactions',
|
|
23
|
-
'annotations',
|
|
24
|
-
]);
|
|
25
|
-
// 1. data
|
|
26
|
-
chart.data(data);
|
|
27
|
-
// 2. facet
|
|
28
|
-
chart.facet(facetType, __assign(__assign({}, restFacetCfg), { fields: fields, eachView: function (viewOfG2, facet) {
|
|
29
|
-
var viewOptions = eachView(viewOfG2, facet);
|
|
30
|
-
if (viewOptions.geometries) {
|
|
31
|
-
execViewAdaptor(viewOfG2, viewOptions);
|
|
32
|
-
}
|
|
33
|
-
else {
|
|
34
|
-
var plot = viewOptions;
|
|
35
|
-
var plotOptions = plot.options;
|
|
36
|
-
// @ts-ignore 仪表盘没 tooltip
|
|
37
|
-
if (plotOptions.tooltip) {
|
|
38
|
-
// 配置 tooltip 交互
|
|
39
|
-
viewOfG2.interaction('tooltip');
|
|
40
|
-
}
|
|
41
|
-
execPlotAdaptor(plot.type, viewOfG2, plotOptions);
|
|
42
|
-
}
|
|
43
|
-
} }));
|
|
44
|
-
return params;
|
|
45
|
-
}
|
|
46
|
-
function component(params) {
|
|
47
|
-
var chart = params.chart, options = params.options;
|
|
48
|
-
var axes = options.axes, meta = options.meta, tooltip = options.tooltip, coordinate = options.coordinate, theme = options.theme, legend = options.legend, interactions = options.interactions, annotations = options.annotations;
|
|
49
|
-
// 3. meta 配置
|
|
50
|
-
var scales = {};
|
|
51
|
-
if (axes) {
|
|
52
|
-
each(axes, function (axis, field) {
|
|
53
|
-
scales[field] = pick(axis, AXIS_META_CONFIG_KEYS);
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
scales = deepAssign({}, meta, scales);
|
|
57
|
-
chart.scale(scales);
|
|
58
|
-
// 4. coordinate 配置
|
|
59
|
-
chart.coordinate(coordinate);
|
|
60
|
-
// 5. axis 轴配置 (默认不展示)
|
|
61
|
-
if (!axes) {
|
|
62
|
-
chart.axis(false);
|
|
63
|
-
}
|
|
64
|
-
else {
|
|
65
|
-
each(axes, function (axis, field) {
|
|
66
|
-
chart.axis(field, axis);
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
// 6. tooltip 配置
|
|
70
|
-
if (tooltip) {
|
|
71
|
-
chart.interaction('tooltip');
|
|
72
|
-
chart.tooltip(tooltip);
|
|
73
|
-
}
|
|
74
|
-
else if (tooltip === false) {
|
|
75
|
-
chart.removeInteraction('tooltip');
|
|
76
|
-
}
|
|
77
|
-
// 7. legend 配置(默认展示)
|
|
78
|
-
chart.legend(legend);
|
|
79
|
-
// theme 配置
|
|
80
|
-
if (theme) {
|
|
81
|
-
chart.theme(theme);
|
|
82
|
-
}
|
|
83
|
-
// 8. interactions
|
|
84
|
-
each(interactions, function (interaction) {
|
|
85
|
-
if (interaction.enable === false) {
|
|
86
|
-
chart.removeInteraction(interaction.type);
|
|
87
|
-
}
|
|
88
|
-
else {
|
|
89
|
-
chart.interaction(interaction.type, interaction.cfg);
|
|
90
|
-
}
|
|
91
|
-
});
|
|
92
|
-
// 9. annotations
|
|
93
|
-
each(annotations, function (annotation) {
|
|
94
|
-
chart.annotation()[annotation.type](__assign({}, annotation));
|
|
95
|
-
});
|
|
96
|
-
return params;
|
|
97
|
-
}
|
|
98
|
-
/**
|
|
99
|
-
* 分面图适配器
|
|
100
|
-
* @param chart
|
|
101
|
-
* @param options
|
|
102
|
-
*/
|
|
103
|
-
export function adaptor(params) {
|
|
104
|
-
// flow 的方式处理所有的配置到 G2 API
|
|
105
|
-
return flow(theme, facetAdaptor, component)(params);
|
|
106
|
-
}
|
|
107
|
-
//# sourceMappingURL=adaptor.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"adaptor.js","sourceRoot":"","sources":["../../../src/plots/facet/adaptor.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC7C,OAAO,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAGvD,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,SAAS,YAAY,CAAC,MAA4B;IACxC,IAAA,KAAK,GAAc,MAAM,MAApB,EAAE,OAAO,GAAK,MAAM,QAAX,CAAY;IAC1B,IAAM,SAAS,GAA6B,OAAO,KAApC,EAAE,IAAI,GAAuB,OAAO,KAA9B,EAAE,MAAM,GAAe,OAAO,OAAtB,EAAE,QAAQ,GAAK,OAAO,SAAZ,CAAa;IAE5D,IAAM,YAAY,GAAG,IAAI,CAAC,OAAc,EAAE;QACxC,MAAM;QACN,MAAM;QACN,QAAQ;QACR,UAAU;QACV,MAAM;QACN,MAAM;QACN,SAAS;QACT,YAAY;QACZ,OAAO;QACP,QAAQ;QACR,cAAc;QACd,aAAa;KACd,CAAC,CAAC;IAEH,UAAU;IACV,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAEjB,WAAW;IACX,KAAK,CAAC,KAAK,CAAC,SAAS,wBAChB,YAAY,KACf,MAAM,QAAA,EACN,QAAQ,EAAE,UAAC,QAAQ,EAAE,KAAK;YACxB,IAAM,WAAW,GAAG,QAAQ,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC;YAC9C,IAAK,WAAqB,CAAC,UAAU,EAAE;gBACrC,eAAe,CAAC,QAAQ,EAAE,WAAoB,CAAC,CAAC;aACjD;iBAAM;gBACL,IAAM,IAAI,GAAG,WAAoB,CAAC;gBAClC,IAAM,WAAW,GAAG,IAAI,CAAC,OAAO,CAAC;gBACjC,0BAA0B;gBAC1B,IAAI,WAAW,CAAC,OAAO,EAAE;oBACvB,gBAAgB;oBAChB,QAAQ,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC;iBACjC;gBACD,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,EAAE,WAAW,CAAC,CAAC;aACnD;QACH,CAAC,IACD,CAAC;IAEH,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,SAAS,SAAS,CAAC,MAA4B;IACrC,IAAA,KAAK,GAAc,MAAM,MAApB,EAAE,OAAO,GAAK,MAAM,QAAX,CAAY;IAC1B,IAAA,IAAI,GAA0E,OAAO,KAAjF,EAAE,IAAI,GAAoE,OAAO,KAA3E,EAAE,OAAO,GAA2D,OAAO,QAAlE,EAAE,UAAU,GAA+C,OAAO,WAAtD,EAAE,KAAK,GAAwC,OAAO,MAA/C,EAAE,MAAM,GAAgC,OAAO,OAAvC,EAAE,YAAY,GAAkB,OAAO,aAAzB,EAAE,WAAW,GAAK,OAAO,YAAZ,CAAa;IAE9F,aAAa;IACb,IAAI,MAAM,GAAwB,EAAE,CAAC;IACrC,IAAI,IAAI,EAAE;QACR,IAAI,CAAC,IAAI,EAAE,UAAC,IAAU,EAAE,KAAa;YACnC,MAAM,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,IAAI,EAAE,qBAAqB,CAAC,CAAC;QACpD,CAAC,CAAC,CAAC;KACJ;IAED,MAAM,GAAG,UAAU,CAAC,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;IACtC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAEpB,mBAAmB;IACnB,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;IAE7B,sBAAsB;IACtB,IAAI,CAAC,IAAI,EAAE;QACT,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;KACnB;SAAM;QACL,IAAI,CAAC,IAAI,EAAE,UAAC,IAAU,EAAE,KAAa;YACnC,KAAK,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;QAC1B,CAAC,CAAC,CAAC;KACJ;IAED,gBAAgB;IAChB,IAAI,OAAO,EAAE;QACX,KAAK,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC;QAC7B,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;KACxB;SAAM,IAAI,OAAO,KAAK,KAAK,EAAE;QAC5B,KAAK,CAAC,iBAAiB,CAAC,SAAS,CAAC,CAAC;KACpC;IAED,qBAAqB;IACrB,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAErB,WAAW;IACX,IAAI,KAAK,EAAE;QACT,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;KACpB;IAED,kBAAkB;IAClB,IAAI,CAAC,YAAY,EAAE,UAAC,WAAwB;QAC1C,IAAI,WAAW,CAAC,MAAM,KAAK,KAAK,EAAE;YAChC,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;SAC3C;aAAM;YACL,KAAK,CAAC,WAAW,CAAC,WAAW,CAAC,IAAI,EAAE,WAAW,CAAC,GAAG,CAAC,CAAC;SACtD;IACH,CAAC,CAAC,CAAC;IAEH,iBAAiB;IACjB,IAAI,CAAC,WAAW,EAAE,UAAC,UAAU;QAC3B,KAAK,CAAC,UAAU,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,cAC9B,UAAU,EACb,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,OAAO,MAAM,CAAC;AAChB,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,OAAO,CAAC,MAA4B;IAClD,0BAA0B;IAC1B,OAAO,IAAI,CAAC,KAAK,EAAE,YAAY,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC;AACtD,CAAC","sourcesContent":["import { each, omit } from '@antv/util';\nimport { theme } from '../../adaptor/common';\nimport { AXIS_META_CONFIG_KEYS } from '../../constant';\nimport { Params } from '../../core/adaptor';\nimport { Axis, Interaction } from '../../types';\nimport { deepAssign, flow, pick } from '../../utils';\nimport { execPlotAdaptor } from '../mix/utils';\nimport { FacetOptions, IPlot, IView } from './types';\nimport { execViewAdaptor } from './utils';\n\nfunction facetAdaptor(params: Params<FacetOptions>): Params<FacetOptions> {\n const { chart, options } = params;\n const { type: facetType, data, fields, eachView } = options;\n\n const restFacetCfg = omit(options as any, [\n 'type',\n 'data',\n 'fields',\n 'eachView',\n 'axes',\n 'meta',\n 'tooltip',\n 'coordinate',\n 'theme',\n 'legend',\n 'interactions',\n 'annotations',\n ]);\n\n // 1. data\n chart.data(data);\n\n // 2. facet\n chart.facet(facetType, {\n ...restFacetCfg,\n fields,\n eachView: (viewOfG2, facet) => {\n const viewOptions = eachView(viewOfG2, facet);\n if ((viewOptions as IView).geometries) {\n execViewAdaptor(viewOfG2, viewOptions as IView);\n } else {\n const plot = viewOptions as IPlot;\n const plotOptions = plot.options;\n // @ts-ignore 仪表盘没 tooltip\n if (plotOptions.tooltip) {\n // 配置 tooltip 交互\n viewOfG2.interaction('tooltip');\n }\n execPlotAdaptor(plot.type, viewOfG2, plotOptions);\n }\n },\n });\n\n return params;\n}\n\nfunction component(params: Params<FacetOptions>): Params<FacetOptions> {\n const { chart, options } = params;\n const { axes, meta, tooltip, coordinate, theme, legend, interactions, annotations } = options;\n\n // 3. meta 配置\n let scales: Record<string, any> = {};\n if (axes) {\n each(axes, (axis: Axis, field: string) => {\n scales[field] = pick(axis, AXIS_META_CONFIG_KEYS);\n });\n }\n\n scales = deepAssign({}, meta, scales);\n chart.scale(scales);\n\n // 4. coordinate 配置\n chart.coordinate(coordinate);\n\n // 5. axis 轴配置 (默认不展示)\n if (!axes) {\n chart.axis(false);\n } else {\n each(axes, (axis: Axis, field: string) => {\n chart.axis(field, axis);\n });\n }\n\n // 6. tooltip 配置\n if (tooltip) {\n chart.interaction('tooltip');\n chart.tooltip(tooltip);\n } else if (tooltip === false) {\n chart.removeInteraction('tooltip');\n }\n\n // 7. legend 配置(默认展示)\n chart.legend(legend);\n\n // theme 配置\n if (theme) {\n chart.theme(theme);\n }\n\n // 8. interactions\n each(interactions, (interaction: Interaction) => {\n if (interaction.enable === false) {\n chart.removeInteraction(interaction.type);\n } else {\n chart.interaction(interaction.type, interaction.cfg);\n }\n });\n\n // 9. annotations\n each(annotations, (annotation) => {\n chart.annotation()[annotation.type]({\n ...annotation,\n });\n });\n\n return params;\n}\n\n/**\n * 分面图适配器\n * @param chart\n * @param options\n */\nexport function adaptor(params: Params<FacetOptions>) {\n // flow 的方式处理所有的配置到 G2 API\n return flow(theme, facetAdaptor, component)(params);\n}\n"]}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 分面图 默认配置项
|
|
3
|
-
*/
|
|
4
|
-
export declare const DEFAULT_OPTIONS: {
|
|
5
|
-
title: {
|
|
6
|
-
style: {
|
|
7
|
-
fontSize: number;
|
|
8
|
-
fill: string;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
rowTitle: {
|
|
12
|
-
style: {
|
|
13
|
-
fontSize: number;
|
|
14
|
-
fill: string;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
columnTitle: {
|
|
18
|
-
style: {
|
|
19
|
-
fontSize: number;
|
|
20
|
-
fill: string;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 分面图 默认配置项
|
|
3
|
-
*/
|
|
4
|
-
export var DEFAULT_OPTIONS = {
|
|
5
|
-
title: {
|
|
6
|
-
style: {
|
|
7
|
-
fontSize: 12,
|
|
8
|
-
fill: 'rgba(0,0,0,0.65)',
|
|
9
|
-
},
|
|
10
|
-
},
|
|
11
|
-
rowTitle: {
|
|
12
|
-
style: {
|
|
13
|
-
fontSize: 12,
|
|
14
|
-
fill: 'rgba(0,0,0,0.65)',
|
|
15
|
-
},
|
|
16
|
-
},
|
|
17
|
-
columnTitle: {
|
|
18
|
-
style: {
|
|
19
|
-
fontSize: 12,
|
|
20
|
-
fill: 'rgba(0,0,0,0.65)',
|
|
21
|
-
},
|
|
22
|
-
},
|
|
23
|
-
};
|
|
24
|
-
//# sourceMappingURL=constant.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constant.js","sourceRoot":"","sources":["../../../src/plots/facet/constant.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAC,IAAM,eAAe,GAAG;IAC7B,KAAK,EAAE;QACL,KAAK,EAAE;YACL,QAAQ,EAAE,EAAE;YACZ,IAAI,EAAE,kBAAkB;SACzB;KACF;IACD,QAAQ,EAAE;QACR,KAAK,EAAE;YACL,QAAQ,EAAE,EAAE;YACZ,IAAI,EAAE,kBAAkB;SACzB;KACF;IACD,WAAW,EAAE;QACX,KAAK,EAAE;YACL,QAAQ,EAAE,EAAE;YACZ,IAAI,EAAE,kBAAkB;SACzB;KACF;CACF,CAAC","sourcesContent":["/**\n * 分面图 默认配置项\n */\nexport const DEFAULT_OPTIONS = {\n title: {\n style: {\n fontSize: 12,\n fill: 'rgba(0,0,0,0.65)',\n },\n },\n rowTitle: {\n style: {\n fontSize: 12,\n fill: 'rgba(0,0,0,0.65)',\n },\n },\n columnTitle: {\n style: {\n fontSize: 12,\n fill: 'rgba(0,0,0,0.65)',\n },\n },\n};\n"]}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Adaptor } from '../../core/adaptor';
|
|
2
|
-
import { Plot } from '../../core/plot';
|
|
3
|
-
import { FacetOptions } from './types';
|
|
4
|
-
export type { FacetOptions };
|
|
5
|
-
export declare class Facet extends Plot<FacetOptions> {
|
|
6
|
-
/**
|
|
7
|
-
* 获取 分面图 默认配置项
|
|
8
|
-
* 供外部使用
|
|
9
|
-
*/
|
|
10
|
-
static getDefaultOptions(): Partial<FacetOptions>;
|
|
11
|
-
/** 图表类型 */
|
|
12
|
-
type: string;
|
|
13
|
-
/**
|
|
14
|
-
* 获取 分面图 默认配置
|
|
15
|
-
*/
|
|
16
|
-
protected getDefaultOptions(): Partial<FacetOptions<keyof import("@antv/g2/lib/interface").FacetCfgMap>>;
|
|
17
|
-
/**
|
|
18
|
-
* 获取 分面图 的适配器
|
|
19
|
-
*/
|
|
20
|
-
protected getSchemaAdaptor(): Adaptor<FacetOptions>;
|
|
21
|
-
}
|