@antv/g2 4.1.42 → 4.1.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/package.json +3 -4
- package/src/chart/controller/annotation.ts +4 -0
- package/src/core.ts +1 -1
- package/dist/g2.min.js +0 -44
- package/dist/g2.min.js.map +0 -1
- package/esm/animate/animation/fade.d.ts +0 -21
- package/esm/animate/animation/fade.js +0 -42
- package/esm/animate/animation/fade.js.map +0 -1
- package/esm/animate/animation/grow-in.d.ts +0 -30
- package/esm/animate/animation/grow-in.js +0 -38
- package/esm/animate/animation/grow-in.js.map +0 -1
- package/esm/animate/animation/index.d.ts +0 -16
- package/esm/animate/animation/index.js +0 -17
- package/esm/animate/animation/index.js.map +0 -1
- package/esm/animate/animation/path-in.d.ts +0 -12
- package/esm/animate/animation/path-in.js +0 -21
- package/esm/animate/animation/path-in.js.map +0 -1
- package/esm/animate/animation/position-update.d.ts +0 -11
- package/esm/animate/animation/position-update.js +0 -24
- package/esm/animate/animation/position-update.js.map +0 -1
- package/esm/animate/animation/scale-in.d.ts +0 -19
- package/esm/animate/animation/scale-in.js +0 -60
- package/esm/animate/animation/scale-in.js.map +0 -1
- package/esm/animate/animation/sector-path-update.d.ts +0 -11
- package/esm/animate/animation/sector-path-update.js +0 -131
- package/esm/animate/animation/sector-path-update.js.map +0 -1
- package/esm/animate/animation/util.d.ts +0 -19
- package/esm/animate/animation/util.js +0 -88
- package/esm/animate/animation/util.js.map +0 -1
- package/esm/animate/animation/wave-in.d.ts +0 -13
- package/esm/animate/animation/wave-in.js +0 -26
- package/esm/animate/animation/wave-in.js.map +0 -1
- package/esm/animate/animation/zoom.d.ts +0 -21
- package/esm/animate/animation/zoom.js +0 -66
- package/esm/animate/animation/zoom.js.map +0 -1
- package/esm/animate/index.d.ts +0 -48
- package/esm/animate/index.js +0 -249
- package/esm/animate/index.js.map +0 -1
- package/esm/animate/interface.d.ts +0 -12
- package/esm/animate/interface.js +0 -2
- package/esm/animate/interface.js.map +0 -1
- package/esm/api.d.ts +0 -2
- package/esm/api.js +0 -3
- package/esm/api.js.map +0 -1
- package/esm/base.d.ts +0 -33
- package/esm/base.js +0 -55
- package/esm/base.js.map +0 -1
- package/esm/chart/chart.d.ts +0 -61
- package/esm/chart/chart.js +0 -157
- package/esm/chart/chart.js.map +0 -1
- package/esm/chart/controller/annotation.d.ts +0 -162
- package/esm/chart/controller/annotation.js +0 -577
- package/esm/chart/controller/annotation.js.map +0 -1
- package/esm/chart/controller/axis.d.ts +0 -93
- package/esm/chart/controller/axis.js +0 -578
- package/esm/chart/controller/axis.js.map +0 -1
- package/esm/chart/controller/base.d.ts +0 -64
- package/esm/chart/controller/base.js +0 -62
- package/esm/chart/controller/base.js.map +0 -1
- package/esm/chart/controller/coordinate.d.ts +0 -74
- package/esm/chart/controller/coordinate.js +0 -145
- package/esm/chart/controller/coordinate.js.map +0 -1
- package/esm/chart/controller/gesture.d.ts +0 -37
- package/esm/chart/controller/gesture.js +0 -258
- package/esm/chart/controller/gesture.js.map +0 -1
- package/esm/chart/controller/index.d.ts +0 -25
- package/esm/chart/controller/index.js +0 -34
- package/esm/chart/controller/index.js.map +0 -1
- package/esm/chart/controller/legend.d.ts +0 -106
- package/esm/chart/controller/legend.js +0 -484
- package/esm/chart/controller/legend.js.map +0 -1
- package/esm/chart/controller/scrollbar.d.ts +0 -64
- package/esm/chart/controller/scrollbar.js +0 -316
- package/esm/chart/controller/scrollbar.js.map +0 -1
- package/esm/chart/controller/slider.d.ts +0 -88
- package/esm/chart/controller/slider.js +0 -296
- package/esm/chart/controller/slider.js.map +0 -1
- package/esm/chart/controller/tooltip.d.ts +0 -68
- package/esm/chart/controller/tooltip.js +0 -644
- package/esm/chart/controller/tooltip.js.map +0 -1
- package/esm/chart/event.d.ts +0 -47
- package/esm/chart/event.js +0 -91
- package/esm/chart/event.js.map +0 -1
- package/esm/chart/index.d.ts +0 -4
- package/esm/chart/index.js +0 -5
- package/esm/chart/index.js.map +0 -1
- package/esm/chart/layout/auto.d.ts +0 -8
- package/esm/chart/layout/auto.js +0 -64
- package/esm/chart/layout/auto.js.map +0 -1
- package/esm/chart/layout/constraint/bounds.d.ts +0 -32
- package/esm/chart/layout/constraint/bounds.js +0 -30
- package/esm/chart/layout/constraint/bounds.js.map +0 -1
- package/esm/chart/layout/constraint/constraint.d.ts +0 -31
- package/esm/chart/layout/constraint/constraint.js +0 -81
- package/esm/chart/layout/constraint/constraint.js.map +0 -1
- package/esm/chart/layout/constraint/gauss.d.ts +0 -11
- package/esm/chart/layout/constraint/gauss.js +0 -63
- package/esm/chart/layout/constraint/gauss.js.map +0 -1
- package/esm/chart/layout/constraint/index.d.ts +0 -5
- package/esm/chart/layout/constraint/index.js +0 -30
- package/esm/chart/layout/constraint/index.js.map +0 -1
- package/esm/chart/layout/constraint/solver.d.ts +0 -40
- package/esm/chart/layout/constraint/solver.js +0 -77
- package/esm/chart/layout/constraint/solver.js.map +0 -1
- package/esm/chart/layout/constraint/types.d.ts +0 -21
- package/esm/chart/layout/constraint/types.js +0 -13
- package/esm/chart/layout/constraint/types.js.map +0 -1
- package/esm/chart/layout/constraint/variable.d.ts +0 -24
- package/esm/chart/layout/constraint/variable.js +0 -28
- package/esm/chart/layout/constraint/variable.js.map +0 -1
- package/esm/chart/layout/index.d.ts +0 -15
- package/esm/chart/layout/index.js +0 -26
- package/esm/chart/layout/index.js.map +0 -1
- package/esm/chart/layout/padding-cal.d.ts +0 -53
- package/esm/chart/layout/padding-cal.js +0 -108
- package/esm/chart/layout/padding-cal.js.map +0 -1
- package/esm/chart/util/scale-pool.d.ts +0 -57
- package/esm/chart/util/scale-pool.js +0 -212
- package/esm/chart/util/scale-pool.js.map +0 -1
- package/esm/chart/util/sync-view-padding.d.ts +0 -9
- package/esm/chart/util/sync-view-padding.js +0 -14
- package/esm/chart/util/sync-view-padding.js.map +0 -1
- package/esm/chart/view.d.ts +0 -747
- package/esm/chart/view.js +0 -1633
- package/esm/chart/view.js.map +0 -1
- package/esm/component/labels.d.ts +0 -47
- package/esm/component/labels.js +0 -274
- package/esm/component/labels.js.map +0 -1
- package/esm/component/update-label.d.ts +0 -21
- package/esm/component/update-label.js +0 -57
- package/esm/component/update-label.js.map +0 -1
- package/esm/constant.d.ts +0 -122
- package/esm/constant.js +0 -134
- package/esm/constant.js.map +0 -1
- package/esm/core.d.ts +0 -46
- package/esm/core.js +0 -60
- package/esm/core.js.map +0 -1
- package/esm/dependents.d.ts +0 -21
- package/esm/dependents.js +0 -33
- package/esm/dependents.js.map +0 -1
- package/esm/engine/index.d.ts +0 -13
- package/esm/engine/index.js +0 -22
- package/esm/engine/index.js.map +0 -1
- package/esm/facet/circle.d.ts +0 -36
- package/esm/facet/circle.js +0 -119
- package/esm/facet/circle.js.map +0 -1
- package/esm/facet/facet.d.ts +0 -165
- package/esm/facet/facet.js +0 -291
- package/esm/facet/facet.js.map +0 -1
- package/esm/facet/index.d.ts +0 -13
- package/esm/facet/index.js +0 -22
- package/esm/facet/index.js.map +0 -1
- package/esm/facet/list.d.ts +0 -46
- package/esm/facet/list.js +0 -134
- package/esm/facet/list.js.map +0 -1
- package/esm/facet/matrix.d.ts +0 -34
- package/esm/facet/matrix.js +0 -119
- package/esm/facet/matrix.js.map +0 -1
- package/esm/facet/mirror.d.ts +0 -31
- package/esm/facet/mirror.js +0 -144
- package/esm/facet/mirror.js.map +0 -1
- package/esm/facet/rect.d.ts +0 -35
- package/esm/facet/rect.js +0 -141
- package/esm/facet/rect.js.map +0 -1
- package/esm/facet/tree.d.ts +0 -40
- package/esm/facet/tree.js +0 -288
- package/esm/facet/tree.js.map +0 -1
- package/esm/geometry/area.d.ts +0 -46
- package/esm/geometry/area.js +0 -62
- package/esm/geometry/area.js.map +0 -1
- package/esm/geometry/base.d.ts +0 -793
- package/esm/geometry/base.js +0 -1487
- package/esm/geometry/base.js.map +0 -1
- package/esm/geometry/edge.d.ts +0 -15
- package/esm/geometry/edge.js +0 -24
- package/esm/geometry/edge.js.map +0 -1
- package/esm/geometry/element/index.d.ts +0 -127
- package/esm/geometry/element/index.js +0 -436
- package/esm/geometry/element/index.js.map +0 -1
- package/esm/geometry/heatmap.d.ts +0 -31
- package/esm/geometry/heatmap.js +0 -190
- package/esm/geometry/heatmap.js.map +0 -1
- package/esm/geometry/interval.d.ts +0 -41
- package/esm/geometry/interval.js +0 -98
- package/esm/geometry/interval.js.map +0 -1
- package/esm/geometry/label/base.d.ts +0 -76
- package/esm/geometry/label/base.js +0 -404
- package/esm/geometry/label/base.js.map +0 -1
- package/esm/geometry/label/index.d.ts +0 -38
- package/esm/geometry/label/index.js +0 -35
- package/esm/geometry/label/index.js.map +0 -1
- package/esm/geometry/label/interface.d.ts +0 -50
- package/esm/geometry/label/interface.js +0 -2
- package/esm/geometry/label/interface.js.map +0 -1
- package/esm/geometry/label/interval.d.ts +0 -27
- package/esm/geometry/label/interval.js +0 -146
- package/esm/geometry/label/interval.js.map +0 -1
- package/esm/geometry/label/layout/adjust-color.d.ts +0 -3
- package/esm/geometry/label/layout/adjust-color.js +0 -36
- package/esm/geometry/label/layout/adjust-color.js.map +0 -1
- package/esm/geometry/label/layout/hide-overlap.d.ts +0 -8
- package/esm/geometry/label/layout/hide-overlap.js +0 -29
- package/esm/geometry/label/layout/hide-overlap.js.map +0 -1
- package/esm/geometry/label/layout/interval/adjust-position.d.ts +0 -9
- package/esm/geometry/label/layout/interval/adjust-position.js +0 -61
- package/esm/geometry/label/layout/interval/adjust-position.js.map +0 -1
- package/esm/geometry/label/layout/interval/hide-overlap.d.ts +0 -9
- package/esm/geometry/label/layout/interval/hide-overlap.js +0 -78
- package/esm/geometry/label/layout/interval/hide-overlap.js.map +0 -1
- package/esm/geometry/label/layout/limit-in-canvas.d.ts +0 -9
- package/esm/geometry/label/layout/limit-in-canvas.js +0 -44
- package/esm/geometry/label/layout/limit-in-canvas.js.map +0 -1
- package/esm/geometry/label/layout/limit-in-plot.d.ts +0 -18
- package/esm/geometry/label/layout/limit-in-plot.js +0 -75
- package/esm/geometry/label/layout/limit-in-plot.js.map +0 -1
- package/esm/geometry/label/layout/limit-in-shape.d.ts +0 -7
- package/esm/geometry/label/layout/limit-in-shape.js +0 -18
- package/esm/geometry/label/layout/limit-in-shape.js.map +0 -1
- package/esm/geometry/label/layout/overlap.d.ts +0 -15
- package/esm/geometry/label/layout/overlap.js +0 -223
- package/esm/geometry/label/layout/overlap.js.map +0 -1
- package/esm/geometry/label/layout/path/adjust-position.d.ts +0 -17
- package/esm/geometry/label/layout/path/adjust-position.js +0 -94
- package/esm/geometry/label/layout/path/adjust-position.js.map +0 -1
- package/esm/geometry/label/layout/pie/distribute.d.ts +0 -3
- package/esm/geometry/label/layout/pie/distribute.js +0 -185
- package/esm/geometry/label/layout/pie/distribute.js.map +0 -1
- package/esm/geometry/label/layout/pie/outer.d.ts +0 -6
- package/esm/geometry/label/layout/pie/outer.js +0 -207
- package/esm/geometry/label/layout/pie/outer.js.map +0 -1
- package/esm/geometry/label/layout/pie/spider.d.ts +0 -7
- package/esm/geometry/label/layout/pie/spider.js +0 -181
- package/esm/geometry/label/layout/pie/spider.js.map +0 -1
- package/esm/geometry/label/layout/pie/util.d.ts +0 -10
- package/esm/geometry/label/layout/pie/util.js +0 -73
- package/esm/geometry/label/layout/pie/util.js.map +0 -1
- package/esm/geometry/label/layout/point/adjust-position.d.ts +0 -17
- package/esm/geometry/label/layout/point/adjust-position.js +0 -94
- package/esm/geometry/label/layout/point/adjust-position.js.map +0 -1
- package/esm/geometry/label/pie.d.ts +0 -22
- package/esm/geometry/label/pie.js +0 -95
- package/esm/geometry/label/pie.js.map +0 -1
- package/esm/geometry/label/polar.d.ts +0 -64
- package/esm/geometry/label/polar.js +0 -221
- package/esm/geometry/label/polar.js.map +0 -1
- package/esm/geometry/label/util/index.d.ts +0 -26
- package/esm/geometry/label/util/index.js +0 -61
- package/esm/geometry/label/util/index.js.map +0 -1
- package/esm/geometry/line.d.ts +0 -11
- package/esm/geometry/line.js +0 -21
- package/esm/geometry/line.js.map +0 -1
- package/esm/geometry/path.d.ts +0 -40
- package/esm/geometry/path.js +0 -122
- package/esm/geometry/path.js.map +0 -1
- package/esm/geometry/point.d.ts +0 -19
- package/esm/geometry/point.js +0 -30
- package/esm/geometry/point.js.map +0 -1
- package/esm/geometry/polygon.d.ts +0 -19
- package/esm/geometry/polygon.js +0 -62
- package/esm/geometry/polygon.js.map +0 -1
- package/esm/geometry/schema.d.ts +0 -18
- package/esm/geometry/schema.js +0 -48
- package/esm/geometry/schema.js.map +0 -1
- package/esm/geometry/shape/area/index.d.ts +0 -2
- package/esm/geometry/shape/area/index.js +0 -44
- package/esm/geometry/shape/area/index.js.map +0 -1
- package/esm/geometry/shape/area/line.d.ts +0 -1
- package/esm/geometry/shape/area/line.js +0 -31
- package/esm/geometry/shape/area/line.js.map +0 -1
- package/esm/geometry/shape/area/smooth-line.d.ts +0 -1
- package/esm/geometry/shape/area/smooth-line.js +0 -30
- package/esm/geometry/shape/area/smooth-line.js.map +0 -1
- package/esm/geometry/shape/area/smooth.d.ts +0 -1
- package/esm/geometry/shape/area/smooth.js +0 -31
- package/esm/geometry/shape/area/smooth.js.map +0 -1
- package/esm/geometry/shape/area/util.d.ts +0 -22
- package/esm/geometry/shape/area/util.js +0 -88
- package/esm/geometry/shape/area/util.js.map +0 -1
- package/esm/geometry/shape/base.d.ts +0 -22
- package/esm/geometry/shape/base.js +0 -162
- package/esm/geometry/shape/base.js.map +0 -1
- package/esm/geometry/shape/constant.d.ts +0 -4
- package/esm/geometry/shape/constant.js +0 -5
- package/esm/geometry/shape/constant.js.map +0 -1
- package/esm/geometry/shape/edge/arc.d.ts +0 -1
- package/esm/geometry/shape/edge/arc.js +0 -84
- package/esm/geometry/shape/edge/arc.js.map +0 -1
- package/esm/geometry/shape/edge/index.d.ts +0 -2
- package/esm/geometry/shape/edge/index.js +0 -31
- package/esm/geometry/shape/edge/index.js.map +0 -1
- package/esm/geometry/shape/edge/smooth.d.ts +0 -1
- package/esm/geometry/shape/edge/smooth.js +0 -30
- package/esm/geometry/shape/edge/smooth.js.map +0 -1
- package/esm/geometry/shape/edge/util.d.ts +0 -17
- package/esm/geometry/shape/edge/util.js +0 -32
- package/esm/geometry/shape/edge/util.js.map +0 -1
- package/esm/geometry/shape/edge/vhv.d.ts +0 -1
- package/esm/geometry/shape/edge/vhv.js +0 -42
- package/esm/geometry/shape/edge/vhv.js.map +0 -1
- package/esm/geometry/shape/interval/funnel.d.ts +0 -1
- package/esm/geometry/shape/interval/funnel.js +0 -31
- package/esm/geometry/shape/interval/funnel.js.map +0 -1
- package/esm/geometry/shape/interval/hollow-rect.d.ts +0 -1
- package/esm/geometry/shape/interval/hollow-rect.js +0 -51
- package/esm/geometry/shape/interval/hollow-rect.js.map +0 -1
- package/esm/geometry/shape/interval/index.d.ts +0 -3
- package/esm/geometry/shape/interval/index.js +0 -63
- package/esm/geometry/shape/interval/index.js.map +0 -1
- package/esm/geometry/shape/interval/line.d.ts +0 -1
- package/esm/geometry/shape/interval/line.js +0 -54
- package/esm/geometry/shape/interval/line.js.map +0 -1
- package/esm/geometry/shape/interval/pyramid.d.ts +0 -1
- package/esm/geometry/shape/interval/pyramid.js +0 -31
- package/esm/geometry/shape/interval/pyramid.js.map +0 -1
- package/esm/geometry/shape/interval/tick.d.ts +0 -1
- package/esm/geometry/shape/interval/tick.js +0 -77
- package/esm/geometry/shape/interval/tick.js.map +0 -1
- package/esm/geometry/shape/interval/util.d.ts +0 -55
- package/esm/geometry/shape/interval/util.js +0 -311
- package/esm/geometry/shape/interval/util.js.map +0 -1
- package/esm/geometry/shape/line/index.d.ts +0 -8
- package/esm/geometry/shape/line/index.js +0 -105
- package/esm/geometry/shape/line/index.js.map +0 -1
- package/esm/geometry/shape/line/step.d.ts +0 -1
- package/esm/geometry/shape/line/step.js +0 -84
- package/esm/geometry/shape/line/step.js.map +0 -1
- package/esm/geometry/shape/line/util.d.ts +0 -16
- package/esm/geometry/shape/line/util.js +0 -83
- package/esm/geometry/shape/line/util.js.map +0 -1
- package/esm/geometry/shape/point/hollow.d.ts +0 -1
- package/esm/geometry/shape/point/hollow.js +0 -24
- package/esm/geometry/shape/point/hollow.js.map +0 -1
- package/esm/geometry/shape/point/image.d.ts +0 -1
- package/esm/geometry/shape/point/image.js +0 -48
- package/esm/geometry/shape/point/image.js.map +0 -1
- package/esm/geometry/shape/point/index.d.ts +0 -2
- package/esm/geometry/shape/point/index.js +0 -32
- package/esm/geometry/shape/point/index.js.map +0 -1
- package/esm/geometry/shape/point/solid.d.ts +0 -1
- package/esm/geometry/shape/point/solid.js +0 -23
- package/esm/geometry/shape/point/solid.js.map +0 -1
- package/esm/geometry/shape/point/util.d.ts +0 -15
- package/esm/geometry/shape/point/util.js +0 -39
- package/esm/geometry/shape/point/util.js.map +0 -1
- package/esm/geometry/shape/polygon/index.d.ts +0 -2
- package/esm/geometry/shape/polygon/index.js +0 -65
- package/esm/geometry/shape/polygon/index.js.map +0 -1
- package/esm/geometry/shape/polygon/square.d.ts +0 -1
- package/esm/geometry/shape/polygon/square.js +0 -44
- package/esm/geometry/shape/polygon/square.js.map +0 -1
- package/esm/geometry/shape/schema/box.d.ts +0 -1
- package/esm/geometry/shape/schema/box.js +0 -142
- package/esm/geometry/shape/schema/box.js.map +0 -1
- package/esm/geometry/shape/schema/candle.d.ts +0 -1
- package/esm/geometry/shape/schema/candle.js +0 -80
- package/esm/geometry/shape/schema/candle.js.map +0 -1
- package/esm/geometry/shape/schema/index.d.ts +0 -2
- package/esm/geometry/shape/schema/index.js +0 -6
- package/esm/geometry/shape/schema/index.js.map +0 -1
- package/esm/geometry/shape/util/get-path-points.d.ts +0 -38
- package/esm/geometry/shape/util/get-path-points.js +0 -131
- package/esm/geometry/shape/util/get-path-points.js.map +0 -1
- package/esm/geometry/shape/util/get-style.d.ts +0 -18
- package/esm/geometry/shape/util/get-style.js +0 -47
- package/esm/geometry/shape/util/get-style.js.map +0 -1
- package/esm/geometry/shape/util/path.d.ts +0 -32
- package/esm/geometry/shape/util/path.js +0 -311
- package/esm/geometry/shape/util/path.js.map +0 -1
- package/esm/geometry/shape/util/split-points.d.ts +0 -13
- package/esm/geometry/shape/util/split-points.js +0 -24
- package/esm/geometry/shape/util/split-points.js.map +0 -1
- package/esm/geometry/shape/violin/hollow.d.ts +0 -1
- package/esm/geometry/shape/violin/hollow.js +0 -51
- package/esm/geometry/shape/violin/hollow.js.map +0 -1
- package/esm/geometry/shape/violin/index.d.ts +0 -2
- package/esm/geometry/shape/violin/index.js +0 -60
- package/esm/geometry/shape/violin/index.js.map +0 -1
- package/esm/geometry/shape/violin/smooth.d.ts +0 -1
- package/esm/geometry/shape/violin/smooth.js +0 -28
- package/esm/geometry/shape/violin/smooth.js.map +0 -1
- package/esm/geometry/util/diff.d.ts +0 -11
- package/esm/geometry/util/diff.js +0 -30
- package/esm/geometry/util/diff.js.map +0 -1
- package/esm/geometry/util/get-shape-type.d.ts +0 -8
- package/esm/geometry/util/get-shape-type.js +0 -16
- package/esm/geometry/util/get-shape-type.js.map +0 -1
- package/esm/geometry/util/group-data.d.ts +0 -3
- package/esm/geometry/util/group-data.js +0 -31
- package/esm/geometry/util/group-data.js.map +0 -1
- package/esm/geometry/util/is-model-change.d.ts +0 -9
- package/esm/geometry/util/is-model-change.js +0 -14
- package/esm/geometry/util/is-model-change.js.map +0 -1
- package/esm/geometry/util/parse-fields.d.ts +0 -2
- package/esm/geometry/util/parse-fields.js +0 -9
- package/esm/geometry/util/parse-fields.js.map +0 -1
- package/esm/geometry/util/shape-size.d.ts +0 -2
- package/esm/geometry/util/shape-size.js +0 -124
- package/esm/geometry/util/shape-size.js.map +0 -1
- package/esm/geometry/violin.d.ts +0 -25
- package/esm/geometry/violin.js +0 -67
- package/esm/geometry/violin.js.map +0 -1
- package/esm/index.d.ts +0 -107
- package/esm/index.js +0 -581
- package/esm/index.js.map +0 -1
- package/esm/interaction/action/active-region.d.ts +0 -33
- package/esm/interaction/action/active-region.js +0 -198
- package/esm/interaction/action/active-region.js.map +0 -1
- package/esm/interaction/action/base.d.ts +0 -29
- package/esm/interaction/action/base.js +0 -36
- package/esm/interaction/action/base.js.map +0 -1
- package/esm/interaction/action/callback.d.ts +0 -17
- package/esm/interaction/action/callback.js +0 -27
- package/esm/interaction/action/callback.js.map +0 -1
- package/esm/interaction/action/component/list-active.d.ts +0 -14
- package/esm/interaction/action/component/list-active.js +0 -24
- package/esm/interaction/action/component/list-active.js.map +0 -1
- package/esm/interaction/action/component/list-checked.d.ts +0 -30
- package/esm/interaction/action/component/list-checked.js +0 -82
- package/esm/interaction/action/component/list-checked.js.map +0 -1
- package/esm/interaction/action/component/list-focus.d.ts +0 -5
- package/esm/interaction/action/component/list-focus.js +0 -55
- package/esm/interaction/action/component/list-focus.js.map +0 -1
- package/esm/interaction/action/component/list-highlight-util.d.ts +0 -7
- package/esm/interaction/action/component/list-highlight-util.js +0 -20
- package/esm/interaction/action/component/list-highlight-util.js.map +0 -1
- package/esm/interaction/action/component/list-highlight.d.ts +0 -20
- package/esm/interaction/action/component/list-highlight.js +0 -97
- package/esm/interaction/action/component/list-highlight.js.map +0 -1
- package/esm/interaction/action/component/list-radio.d.ts +0 -24
- package/esm/interaction/action/component/list-radio.js +0 -116
- package/esm/interaction/action/component/list-radio.js.map +0 -1
- package/esm/interaction/action/component/list-selected.d.ts +0 -10
- package/esm/interaction/action/component/list-selected.js +0 -20
- package/esm/interaction/action/component/list-selected.js.map +0 -1
- package/esm/interaction/action/component/list-state.d.ts +0 -46
- package/esm/interaction/action/component/list-state.js +0 -167
- package/esm/interaction/action/component/list-state.js.map +0 -1
- package/esm/interaction/action/component/list-unchecked.d.ts +0 -13
- package/esm/interaction/action/component/list-unchecked.js +0 -23
- package/esm/interaction/action/component/list-unchecked.js.map +0 -1
- package/esm/interaction/action/component/tooltip/ellipsis-text.d.ts +0 -25
- package/esm/interaction/action/component/tooltip/ellipsis-text.js +0 -93
- package/esm/interaction/action/component/tooltip/ellipsis-text.js.map +0 -1
- package/esm/interaction/action/component/tooltip/geometry.d.ts +0 -24
- package/esm/interaction/action/component/tooltip/geometry.js +0 -71
- package/esm/interaction/action/component/tooltip/geometry.js.map +0 -1
- package/esm/interaction/action/component/tooltip/sibling.d.ts +0 -21
- package/esm/interaction/action/component/tooltip/sibling.js +0 -39
- package/esm/interaction/action/component/tooltip/sibling.js.map +0 -1
- package/esm/interaction/action/cursor.d.ts +0 -69
- package/esm/interaction/action/cursor.js +0 -113
- package/esm/interaction/action/cursor.js.map +0 -1
- package/esm/interaction/action/data/filter.d.ts +0 -13
- package/esm/interaction/action/data/filter.js +0 -66
- package/esm/interaction/action/data/filter.js.map +0 -1
- package/esm/interaction/action/data/range-filter.d.ts +0 -56
- package/esm/interaction/action/data/range-filter.js +0 -163
- package/esm/interaction/action/data/range-filter.js.map +0 -1
- package/esm/interaction/action/data/sibling-filter.d.ts +0 -22
- package/esm/interaction/action/data/sibling-filter.js +0 -39
- package/esm/interaction/action/data/sibling-filter.js.map +0 -1
- package/esm/interaction/action/element/active.d.ts +0 -14
- package/esm/interaction/action/element/active.js +0 -24
- package/esm/interaction/action/element/active.js.map +0 -1
- package/esm/interaction/action/element/filter.d.ts +0 -20
- package/esm/interaction/action/element/filter.js +0 -89
- package/esm/interaction/action/element/filter.js.map +0 -1
- package/esm/interaction/action/element/highlight-by-color.d.ts +0 -10
- package/esm/interaction/action/element/highlight-by-color.js +0 -30
- package/esm/interaction/action/element/highlight-by-color.js.map +0 -1
- package/esm/interaction/action/element/highlight-by-x.d.ts +0 -15
- package/esm/interaction/action/element/highlight-by-x.js +0 -51
- package/esm/interaction/action/element/highlight-by-x.js.map +0 -1
- package/esm/interaction/action/element/highlight-util.d.ts +0 -18
- package/esm/interaction/action/element/highlight-util.js +0 -45
- package/esm/interaction/action/element/highlight-util.js.map +0 -1
- package/esm/interaction/action/element/highlight.d.ts +0 -21
- package/esm/interaction/action/element/highlight.js +0 -93
- package/esm/interaction/action/element/highlight.js.map +0 -1
- package/esm/interaction/action/element/link-by-color.d.ts +0 -51
- package/esm/interaction/action/element/link-by-color.js +0 -156
- package/esm/interaction/action/element/link-by-color.js.map +0 -1
- package/esm/interaction/action/element/range-active.d.ts +0 -13
- package/esm/interaction/action/element/range-active.js +0 -23
- package/esm/interaction/action/element/range-active.js.map +0 -1
- package/esm/interaction/action/element/range-highlight.d.ts +0 -27
- package/esm/interaction/action/element/range-highlight.js +0 -54
- package/esm/interaction/action/element/range-highlight.js.map +0 -1
- package/esm/interaction/action/element/range-selected.d.ts +0 -13
- package/esm/interaction/action/element/range-selected.js +0 -23
- package/esm/interaction/action/element/range-selected.js.map +0 -1
- package/esm/interaction/action/element/range-state.d.ts +0 -38
- package/esm/interaction/action/element/range-state.js +0 -164
- package/esm/interaction/action/element/range-state.js.map +0 -1
- package/esm/interaction/action/element/selected.d.ts +0 -14
- package/esm/interaction/action/element/selected.js +0 -24
- package/esm/interaction/action/element/selected.js.map +0 -1
- package/esm/interaction/action/element/sibling-filter.d.ts +0 -19
- package/esm/interaction/action/element/sibling-filter.js +0 -93
- package/esm/interaction/action/element/sibling-filter.js.map +0 -1
- package/esm/interaction/action/element/single-active.d.ts +0 -13
- package/esm/interaction/action/element/single-active.js +0 -23
- package/esm/interaction/action/element/single-active.js.map +0 -1
- package/esm/interaction/action/element/single-highlight.d.ts +0 -16
- package/esm/interaction/action/element/single-highlight.js +0 -35
- package/esm/interaction/action/element/single-highlight.js.map +0 -1
- package/esm/interaction/action/element/single-selected.d.ts +0 -13
- package/esm/interaction/action/element/single-selected.js +0 -23
- package/esm/interaction/action/element/single-selected.js.map +0 -1
- package/esm/interaction/action/element/single-state.d.ts +0 -18
- package/esm/interaction/action/element/single-state.js +0 -53
- package/esm/interaction/action/element/single-state.js.map +0 -1
- package/esm/interaction/action/element/state-base.d.ts +0 -39
- package/esm/interaction/action/element/state-base.js +0 -59
- package/esm/interaction/action/element/state-base.js.map +0 -1
- package/esm/interaction/action/element/state.d.ts +0 -28
- package/esm/interaction/action/element/state.js +0 -99
- package/esm/interaction/action/element/state.js.map +0 -1
- package/esm/interaction/action/index.d.ts +0 -2
- package/esm/interaction/action/index.js +0 -3
- package/esm/interaction/action/index.js.map +0 -1
- package/esm/interaction/action/mask/base.d.ts +0 -62
- package/esm/interaction/action/mask/base.js +0 -169
- package/esm/interaction/action/mask/base.js.map +0 -1
- package/esm/interaction/action/mask/circle.d.ts +0 -14
- package/esm/interaction/action/mask/circle.js +0 -37
- package/esm/interaction/action/mask/circle.js.map +0 -1
- package/esm/interaction/action/mask/dim-rect.d.ts +0 -11
- package/esm/interaction/action/mask/dim-rect.js +0 -62
- package/esm/interaction/action/mask/dim-rect.js.map +0 -1
- package/esm/interaction/action/mask/path.d.ts +0 -16
- package/esm/interaction/action/mask/path.js +0 -44
- package/esm/interaction/action/mask/path.js.map +0 -1
- package/esm/interaction/action/mask/rect.d.ts +0 -17
- package/esm/interaction/action/mask/rect.js +0 -39
- package/esm/interaction/action/mask/rect.js.map +0 -1
- package/esm/interaction/action/mask/smooth-path.d.ts +0 -9
- package/esm/interaction/action/mask/smooth-path.js +0 -21
- package/esm/interaction/action/mask/smooth-path.js.map +0 -1
- package/esm/interaction/action/register.d.ts +0 -36
- package/esm/interaction/action/register.js +0 -60
- package/esm/interaction/action/register.js.map +0 -1
- package/esm/interaction/action/util.d.ts +0 -140
- package/esm/interaction/action/util.js +0 -361
- package/esm/interaction/action/util.js.map +0 -1
- package/esm/interaction/action/view/button.d.ts +0 -25
- package/esm/interaction/action/view/button.js +0 -116
- package/esm/interaction/action/view/button.js.map +0 -1
- package/esm/interaction/action/view/drag.d.ts +0 -24
- package/esm/interaction/action/view/drag.js +0 -73
- package/esm/interaction/action/view/drag.js.map +0 -1
- package/esm/interaction/action/view/mousewheel-scroll.d.ts +0 -5
- package/esm/interaction/action/view/mousewheel-scroll.js +0 -35
- package/esm/interaction/action/view/mousewheel-scroll.js.map +0 -1
- package/esm/interaction/action/view/move.d.ts +0 -28
- package/esm/interaction/action/view/move.js +0 -80
- package/esm/interaction/action/view/move.js.map +0 -1
- package/esm/interaction/action/view/scale-transform.d.ts +0 -18
- package/esm/interaction/action/view/scale-transform.js +0 -51
- package/esm/interaction/action/view/scale-transform.js.map +0 -1
- package/esm/interaction/action/view/scale-translate.d.ts +0 -30
- package/esm/interaction/action/view/scale-translate.js +0 -112
- package/esm/interaction/action/view/scale-translate.js.map +0 -1
- package/esm/interaction/action/view/scale-zoom.d.ts +0 -20
- package/esm/interaction/action/view/scale-zoom.js +0 -83
- package/esm/interaction/action/view/scale-zoom.js.map +0 -1
- package/esm/interaction/context.d.ts +0 -65
- package/esm/interaction/context.js +0 -142
- package/esm/interaction/context.js.map +0 -1
- package/esm/interaction/grammar-interaction.d.ts +0 -158
- package/esm/interaction/grammar-interaction.js +0 -285
- package/esm/interaction/grammar-interaction.js.map +0 -1
- package/esm/interaction/index.d.ts +0 -25
- package/esm/interaction/index.js +0 -43
- package/esm/interaction/index.js.map +0 -1
- package/esm/interaction/interaction.d.ts +0 -29
- package/esm/interaction/interaction.js +0 -32
- package/esm/interaction/interaction.js.map +0 -1
- package/esm/interface.d.ts +0 -2264
- package/esm/interface.js +0 -2
- package/esm/interface.js.map +0 -1
- package/esm/theme/index.d.ts +0 -12
- package/esm/theme/index.js +0 -23
- package/esm/theme/index.js.map +0 -1
- package/esm/theme/style-sheet/dark.d.ts +0 -825
- package/esm/theme/style-sheet/dark.js +0 -496
- package/esm/theme/style-sheet/dark.js.map +0 -1
- package/esm/theme/style-sheet/light.d.ts +0 -817
- package/esm/theme/style-sheet/light.js +0 -492
- package/esm/theme/style-sheet/light.js.map +0 -1
- package/esm/theme/util/create-by-style-sheet.d.ts +0 -6
- package/esm/theme/util/create-by-style-sheet.js +0 -1422
- package/esm/theme/util/create-by-style-sheet.js.map +0 -1
- package/esm/theme/util/create-theme.d.ts +0 -6
- package/esm/theme/util/create-theme.js +0 -12
- package/esm/theme/util/create-theme.js.map +0 -1
- package/esm/theme/util/index.d.ts +0 -1
- package/esm/theme/util/index.js +0 -2
- package/esm/theme/util/index.js.map +0 -1
- package/esm/util/annotation.d.ts +0 -7
- package/esm/util/annotation.js +0 -39
- package/esm/util/annotation.js.map +0 -1
- package/esm/util/attr.d.ts +0 -10
- package/esm/util/attr.js +0 -25
- package/esm/util/attr.js.map +0 -1
- package/esm/util/axis.d.ts +0 -100
- package/esm/util/axis.js +0 -236
- package/esm/util/axis.js.map +0 -1
- package/esm/util/bbox.d.ts +0 -105
- package/esm/util/bbox.js +0 -282
- package/esm/util/bbox.js.map +0 -1
- package/esm/util/collision-detect.d.ts +0 -16
- package/esm/util/collision-detect.js +0 -127
- package/esm/util/collision-detect.js.map +0 -1
- package/esm/util/color.d.ts +0 -1
- package/esm/util/color.js +0 -18
- package/esm/util/color.js.map +0 -1
- package/esm/util/context.d.ts +0 -4
- package/esm/util/context.js +0 -11
- package/esm/util/context.js.map +0 -1
- package/esm/util/coordinate.d.ts +0 -86
- package/esm/util/coordinate.js +0 -147
- package/esm/util/coordinate.js.map +0 -1
- package/esm/util/direction.d.ts +0 -19
- package/esm/util/direction.js +0 -120
- package/esm/util/direction.js.map +0 -1
- package/esm/util/dom.d.ts +0 -19
- package/esm/util/dom.js +0 -61
- package/esm/util/dom.js.map +0 -1
- package/esm/util/event.d.ts +0 -8
- package/esm/util/event.js +0 -14
- package/esm/util/event.js.map +0 -1
- package/esm/util/facet.d.ts +0 -16
- package/esm/util/facet.js +0 -43
- package/esm/util/facet.js.map +0 -1
- package/esm/util/graphics.d.ts +0 -58
- package/esm/util/graphics.js +0 -203
- package/esm/util/graphics.js.map +0 -1
- package/esm/util/grid.d.ts +0 -36
- package/esm/util/grid.js +0 -118
- package/esm/util/grid.js.map +0 -1
- package/esm/util/helper.d.ts +0 -34
- package/esm/util/helper.js +0 -72
- package/esm/util/helper.js.map +0 -1
- package/esm/util/legend.d.ts +0 -45
- package/esm/util/legend.js +0 -145
- package/esm/util/legend.js.map +0 -1
- package/esm/util/marker.d.ts +0 -10
- package/esm/util/marker.js +0 -58
- package/esm/util/marker.js.map +0 -1
- package/esm/util/padding.d.ts +0 -14
- package/esm/util/padding.js +0 -40
- package/esm/util/padding.js.map +0 -1
- package/esm/util/scale.d.ts +0 -42
- package/esm/util/scale.js +0 -128
- package/esm/util/scale.js.map +0 -1
- package/esm/util/stat.d.ts +0 -10
- package/esm/util/stat.js +0 -36
- package/esm/util/stat.js.map +0 -1
- package/esm/util/text.d.ts +0 -23
- package/esm/util/text.js +0 -84
- package/esm/util/text.js.map +0 -1
- package/esm/util/tooltip.d.ts +0 -26
- package/esm/util/tooltip.js +0 -419
- package/esm/util/tooltip.js.map +0 -1
- package/esm/util/transform.d.ts +0 -33
- package/esm/util/transform.js +0 -61
- package/esm/util/transform.js.map +0 -1
- package/esm/util/types.d.ts +0 -6
- package/esm/util/types.js +0 -2
- package/esm/util/types.js.map +0 -1
- package/lib/animate/animation/fade.d.ts +0 -21
- package/lib/animate/animation/fade.js +0 -47
- package/lib/animate/animation/fade.js.map +0 -1
- package/lib/animate/animation/grow-in.d.ts +0 -30
- package/lib/animate/animation/grow-in.js +0 -44
- package/lib/animate/animation/grow-in.js.map +0 -1
- package/lib/animate/animation/index.d.ts +0 -16
- package/lib/animate/animation/index.js +0 -22
- package/lib/animate/animation/index.js.map +0 -1
- package/lib/animate/animation/path-in.d.ts +0 -12
- package/lib/animate/animation/path-in.js +0 -25
- package/lib/animate/animation/path-in.js.map +0 -1
- package/lib/animate/animation/position-update.d.ts +0 -11
- package/lib/animate/animation/position-update.js +0 -28
- package/lib/animate/animation/position-update.js.map +0 -1
- package/lib/animate/animation/scale-in.d.ts +0 -19
- package/lib/animate/animation/scale-in.js +0 -65
- package/lib/animate/animation/scale-in.js.map +0 -1
- package/lib/animate/animation/sector-path-update.d.ts +0 -11
- package/lib/animate/animation/sector-path-update.js +0 -135
- package/lib/animate/animation/sector-path-update.js.map +0 -1
- package/lib/animate/animation/util.d.ts +0 -19
- package/lib/animate/animation/util.js +0 -93
- package/lib/animate/animation/util.js.map +0 -1
- package/lib/animate/animation/wave-in.d.ts +0 -13
- package/lib/animate/animation/wave-in.js +0 -30
- package/lib/animate/animation/wave-in.js.map +0 -1
- package/lib/animate/animation/zoom.d.ts +0 -21
- package/lib/animate/animation/zoom.js +0 -71
- package/lib/animate/animation/zoom.js.map +0 -1
- package/lib/animate/index.d.ts +0 -48
- package/lib/animate/index.js +0 -255
- package/lib/animate/index.js.map +0 -1
- package/lib/animate/interface.d.ts +0 -12
- package/lib/animate/interface.js +0 -3
- package/lib/animate/interface.js.map +0 -1
- package/lib/api.d.ts +0 -2
- package/lib/api.js +0 -7
- package/lib/api.js.map +0 -1
- package/lib/base.d.ts +0 -33
- package/lib/base.js +0 -57
- package/lib/base.js.map +0 -1
- package/lib/chart/chart.d.ts +0 -61
- package/lib/chart/chart.js +0 -159
- package/lib/chart/chart.js.map +0 -1
- package/lib/chart/controller/annotation.d.ts +0 -162
- package/lib/chart/controller/annotation.js +0 -579
- package/lib/chart/controller/annotation.js.map +0 -1
- package/lib/chart/controller/axis.d.ts +0 -93
- package/lib/chart/controller/axis.js +0 -580
- package/lib/chart/controller/axis.js.map +0 -1
- package/lib/chart/controller/base.d.ts +0 -64
- package/lib/chart/controller/base.js +0 -65
- package/lib/chart/controller/base.js.map +0 -1
- package/lib/chart/controller/coordinate.d.ts +0 -74
- package/lib/chart/controller/coordinate.js +0 -147
- package/lib/chart/controller/coordinate.js.map +0 -1
- package/lib/chart/controller/gesture.d.ts +0 -37
- package/lib/chart/controller/gesture.js +0 -260
- package/lib/chart/controller/gesture.js.map +0 -1
- package/lib/chart/controller/index.d.ts +0 -25
- package/lib/chart/controller/index.js +0 -41
- package/lib/chart/controller/index.js.map +0 -1
- package/lib/chart/controller/legend.d.ts +0 -106
- package/lib/chart/controller/legend.js +0 -486
- package/lib/chart/controller/legend.js.map +0 -1
- package/lib/chart/controller/scrollbar.d.ts +0 -64
- package/lib/chart/controller/scrollbar.js +0 -318
- package/lib/chart/controller/scrollbar.js.map +0 -1
- package/lib/chart/controller/slider.d.ts +0 -88
- package/lib/chart/controller/slider.js +0 -298
- package/lib/chart/controller/slider.js.map +0 -1
- package/lib/chart/controller/tooltip.d.ts +0 -68
- package/lib/chart/controller/tooltip.js +0 -646
- package/lib/chart/controller/tooltip.js.map +0 -1
- package/lib/chart/event.d.ts +0 -47
- package/lib/chart/event.js +0 -93
- package/lib/chart/event.js.map +0 -1
- package/lib/chart/index.d.ts +0 -4
- package/lib/chart/index.js +0 -16
- package/lib/chart/index.js.map +0 -1
- package/lib/chart/layout/auto.d.ts +0 -8
- package/lib/chart/layout/auto.js +0 -68
- package/lib/chart/layout/auto.js.map +0 -1
- package/lib/chart/layout/constraint/bounds.d.ts +0 -32
- package/lib/chart/layout/constraint/bounds.js +0 -33
- package/lib/chart/layout/constraint/bounds.js.map +0 -1
- package/lib/chart/layout/constraint/constraint.d.ts +0 -31
- package/lib/chart/layout/constraint/constraint.js +0 -84
- package/lib/chart/layout/constraint/constraint.js.map +0 -1
- package/lib/chart/layout/constraint/gauss.d.ts +0 -11
- package/lib/chart/layout/constraint/gauss.js +0 -68
- package/lib/chart/layout/constraint/gauss.js.map +0 -1
- package/lib/chart/layout/constraint/index.d.ts +0 -5
- package/lib/chart/layout/constraint/index.js +0 -38
- package/lib/chart/layout/constraint/index.js.map +0 -1
- package/lib/chart/layout/constraint/solver.d.ts +0 -40
- package/lib/chart/layout/constraint/solver.js +0 -80
- package/lib/chart/layout/constraint/solver.js.map +0 -1
- package/lib/chart/layout/constraint/types.d.ts +0 -21
- package/lib/chart/layout/constraint/types.js +0 -16
- package/lib/chart/layout/constraint/types.js.map +0 -1
- package/lib/chart/layout/constraint/variable.d.ts +0 -24
- package/lib/chart/layout/constraint/variable.js +0 -31
- package/lib/chart/layout/constraint/variable.js.map +0 -1
- package/lib/chart/layout/index.d.ts +0 -15
- package/lib/chart/layout/index.js +0 -29
- package/lib/chart/layout/index.js.map +0 -1
- package/lib/chart/layout/padding-cal.d.ts +0 -53
- package/lib/chart/layout/padding-cal.js +0 -111
- package/lib/chart/layout/padding-cal.js.map +0 -1
- package/lib/chart/util/scale-pool.d.ts +0 -57
- package/lib/chart/util/scale-pool.js +0 -215
- package/lib/chart/util/scale-pool.js.map +0 -1
- package/lib/chart/util/sync-view-padding.d.ts +0 -9
- package/lib/chart/util/sync-view-padding.js +0 -18
- package/lib/chart/util/sync-view-padding.js.map +0 -1
- package/lib/chart/view.d.ts +0 -747
- package/lib/chart/view.js +0 -1637
- package/lib/chart/view.js.map +0 -1
- package/lib/component/labels.d.ts +0 -47
- package/lib/component/labels.js +0 -276
- package/lib/component/labels.js.map +0 -1
- package/lib/component/update-label.d.ts +0 -21
- package/lib/component/update-label.js +0 -61
- package/lib/component/update-label.js.map +0 -1
- package/lib/constant.d.ts +0 -122
- package/lib/constant.js +0 -137
- package/lib/constant.js.map +0 -1
- package/lib/core.d.ts +0 -46
- package/lib/core.js +0 -101
- package/lib/core.js.map +0 -1
- package/lib/dependents.d.ts +0 -21
- package/lib/dependents.js +0 -55
- package/lib/dependents.js.map +0 -1
- package/lib/engine/index.d.ts +0 -13
- package/lib/engine/index.js +0 -27
- package/lib/engine/index.js.map +0 -1
- package/lib/facet/circle.d.ts +0 -36
- package/lib/facet/circle.js +0 -121
- package/lib/facet/circle.js.map +0 -1
- package/lib/facet/facet.d.ts +0 -165
- package/lib/facet/facet.js +0 -294
- package/lib/facet/facet.js.map +0 -1
- package/lib/facet/index.d.ts +0 -13
- package/lib/facet/index.js +0 -28
- package/lib/facet/index.js.map +0 -1
- package/lib/facet/list.d.ts +0 -46
- package/lib/facet/list.js +0 -136
- package/lib/facet/list.js.map +0 -1
- package/lib/facet/matrix.d.ts +0 -34
- package/lib/facet/matrix.js +0 -121
- package/lib/facet/matrix.js.map +0 -1
- package/lib/facet/mirror.d.ts +0 -31
- package/lib/facet/mirror.js +0 -146
- package/lib/facet/mirror.js.map +0 -1
- package/lib/facet/rect.d.ts +0 -35
- package/lib/facet/rect.js +0 -143
- package/lib/facet/rect.js.map +0 -1
- package/lib/facet/tree.d.ts +0 -40
- package/lib/facet/tree.js +0 -290
- package/lib/facet/tree.js.map +0 -1
- package/lib/geometry/area.d.ts +0 -46
- package/lib/geometry/area.js +0 -64
- package/lib/geometry/area.js.map +0 -1
- package/lib/geometry/base.d.ts +0 -793
- package/lib/geometry/base.js +0 -1489
- package/lib/geometry/base.js.map +0 -1
- package/lib/geometry/edge.d.ts +0 -15
- package/lib/geometry/edge.js +0 -26
- package/lib/geometry/edge.js.map +0 -1
- package/lib/geometry/element/index.d.ts +0 -127
- package/lib/geometry/element/index.js +0 -438
- package/lib/geometry/element/index.js.map +0 -1
- package/lib/geometry/heatmap.d.ts +0 -31
- package/lib/geometry/heatmap.js +0 -192
- package/lib/geometry/heatmap.js.map +0 -1
- package/lib/geometry/interval.d.ts +0 -41
- package/lib/geometry/interval.js +0 -100
- package/lib/geometry/interval.js.map +0 -1
- package/lib/geometry/label/base.d.ts +0 -76
- package/lib/geometry/label/base.js +0 -406
- package/lib/geometry/label/base.js.map +0 -1
- package/lib/geometry/label/index.d.ts +0 -38
- package/lib/geometry/label/index.js +0 -42
- package/lib/geometry/label/index.js.map +0 -1
- package/lib/geometry/label/interface.d.ts +0 -50
- package/lib/geometry/label/interface.js +0 -3
- package/lib/geometry/label/interface.js.map +0 -1
- package/lib/geometry/label/interval.d.ts +0 -27
- package/lib/geometry/label/interval.js +0 -148
- package/lib/geometry/label/interval.js.map +0 -1
- package/lib/geometry/label/layout/adjust-color.d.ts +0 -3
- package/lib/geometry/label/layout/adjust-color.js +0 -40
- package/lib/geometry/label/layout/adjust-color.js.map +0 -1
- package/lib/geometry/label/layout/hide-overlap.d.ts +0 -8
- package/lib/geometry/label/layout/hide-overlap.js +0 -33
- package/lib/geometry/label/layout/hide-overlap.js.map +0 -1
- package/lib/geometry/label/layout/interval/adjust-position.d.ts +0 -9
- package/lib/geometry/label/layout/interval/adjust-position.js +0 -65
- package/lib/geometry/label/layout/interval/adjust-position.js.map +0 -1
- package/lib/geometry/label/layout/interval/hide-overlap.d.ts +0 -9
- package/lib/geometry/label/layout/interval/hide-overlap.js +0 -82
- package/lib/geometry/label/layout/interval/hide-overlap.js.map +0 -1
- package/lib/geometry/label/layout/limit-in-canvas.d.ts +0 -9
- package/lib/geometry/label/layout/limit-in-canvas.js +0 -48
- package/lib/geometry/label/layout/limit-in-canvas.js.map +0 -1
- package/lib/geometry/label/layout/limit-in-plot.d.ts +0 -18
- package/lib/geometry/label/layout/limit-in-plot.js +0 -79
- package/lib/geometry/label/layout/limit-in-plot.js.map +0 -1
- package/lib/geometry/label/layout/limit-in-shape.d.ts +0 -7
- package/lib/geometry/label/layout/limit-in-shape.js +0 -22
- package/lib/geometry/label/layout/limit-in-shape.js.map +0 -1
- package/lib/geometry/label/layout/overlap.d.ts +0 -15
- package/lib/geometry/label/layout/overlap.js +0 -228
- package/lib/geometry/label/layout/overlap.js.map +0 -1
- package/lib/geometry/label/layout/path/adjust-position.d.ts +0 -17
- package/lib/geometry/label/layout/path/adjust-position.js +0 -98
- package/lib/geometry/label/layout/path/adjust-position.js.map +0 -1
- package/lib/geometry/label/layout/pie/distribute.d.ts +0 -3
- package/lib/geometry/label/layout/pie/distribute.js +0 -189
- package/lib/geometry/label/layout/pie/distribute.js.map +0 -1
- package/lib/geometry/label/layout/pie/outer.d.ts +0 -6
- package/lib/geometry/label/layout/pie/outer.js +0 -211
- package/lib/geometry/label/layout/pie/outer.js.map +0 -1
- package/lib/geometry/label/layout/pie/spider.d.ts +0 -7
- package/lib/geometry/label/layout/pie/spider.js +0 -185
- package/lib/geometry/label/layout/pie/spider.js.map +0 -1
- package/lib/geometry/label/layout/pie/util.d.ts +0 -10
- package/lib/geometry/label/layout/pie/util.js +0 -77
- package/lib/geometry/label/layout/pie/util.js.map +0 -1
- package/lib/geometry/label/layout/point/adjust-position.d.ts +0 -17
- package/lib/geometry/label/layout/point/adjust-position.js +0 -98
- package/lib/geometry/label/layout/point/adjust-position.js.map +0 -1
- package/lib/geometry/label/pie.d.ts +0 -22
- package/lib/geometry/label/pie.js +0 -97
- package/lib/geometry/label/pie.js.map +0 -1
- package/lib/geometry/label/polar.d.ts +0 -64
- package/lib/geometry/label/polar.js +0 -223
- package/lib/geometry/label/polar.js.map +0 -1
- package/lib/geometry/label/util/index.d.ts +0 -26
- package/lib/geometry/label/util/index.js +0 -68
- package/lib/geometry/label/util/index.js.map +0 -1
- package/lib/geometry/line.d.ts +0 -11
- package/lib/geometry/line.js +0 -23
- package/lib/geometry/line.js.map +0 -1
- package/lib/geometry/path.d.ts +0 -40
- package/lib/geometry/path.js +0 -124
- package/lib/geometry/path.js.map +0 -1
- package/lib/geometry/point.d.ts +0 -19
- package/lib/geometry/point.js +0 -32
- package/lib/geometry/point.js.map +0 -1
- package/lib/geometry/polygon.d.ts +0 -19
- package/lib/geometry/polygon.js +0 -64
- package/lib/geometry/polygon.js.map +0 -1
- package/lib/geometry/schema.d.ts +0 -18
- package/lib/geometry/schema.js +0 -50
- package/lib/geometry/schema.js.map +0 -1
- package/lib/geometry/shape/area/index.d.ts +0 -2
- package/lib/geometry/shape/area/index.js +0 -46
- package/lib/geometry/shape/area/index.js.map +0 -1
- package/lib/geometry/shape/area/line.d.ts +0 -1
- package/lib/geometry/shape/area/line.js +0 -33
- package/lib/geometry/shape/area/line.js.map +0 -1
- package/lib/geometry/shape/area/smooth-line.d.ts +0 -1
- package/lib/geometry/shape/area/smooth-line.js +0 -32
- package/lib/geometry/shape/area/smooth-line.js.map +0 -1
- package/lib/geometry/shape/area/smooth.d.ts +0 -1
- package/lib/geometry/shape/area/smooth.js +0 -33
- package/lib/geometry/shape/area/smooth.js.map +0 -1
- package/lib/geometry/shape/area/util.d.ts +0 -22
- package/lib/geometry/shape/area/util.js +0 -93
- package/lib/geometry/shape/area/util.js.map +0 -1
- package/lib/geometry/shape/base.d.ts +0 -22
- package/lib/geometry/shape/base.js +0 -168
- package/lib/geometry/shape/base.js.map +0 -1
- package/lib/geometry/shape/constant.d.ts +0 -4
- package/lib/geometry/shape/constant.js +0 -8
- package/lib/geometry/shape/constant.js.map +0 -1
- package/lib/geometry/shape/edge/arc.d.ts +0 -1
- package/lib/geometry/shape/edge/arc.js +0 -86
- package/lib/geometry/shape/edge/arc.js.map +0 -1
- package/lib/geometry/shape/edge/index.d.ts +0 -2
- package/lib/geometry/shape/edge/index.js +0 -33
- package/lib/geometry/shape/edge/index.js.map +0 -1
- package/lib/geometry/shape/edge/smooth.d.ts +0 -1
- package/lib/geometry/shape/edge/smooth.js +0 -32
- package/lib/geometry/shape/edge/smooth.js.map +0 -1
- package/lib/geometry/shape/edge/util.d.ts +0 -17
- package/lib/geometry/shape/edge/util.js +0 -37
- package/lib/geometry/shape/edge/util.js.map +0 -1
- package/lib/geometry/shape/edge/vhv.d.ts +0 -1
- package/lib/geometry/shape/edge/vhv.js +0 -44
- package/lib/geometry/shape/edge/vhv.js.map +0 -1
- package/lib/geometry/shape/interval/funnel.d.ts +0 -1
- package/lib/geometry/shape/interval/funnel.js +0 -33
- package/lib/geometry/shape/interval/funnel.js.map +0 -1
- package/lib/geometry/shape/interval/hollow-rect.d.ts +0 -1
- package/lib/geometry/shape/interval/hollow-rect.js +0 -53
- package/lib/geometry/shape/interval/hollow-rect.js.map +0 -1
- package/lib/geometry/shape/interval/index.d.ts +0 -3
- package/lib/geometry/shape/interval/index.js +0 -65
- package/lib/geometry/shape/interval/index.js.map +0 -1
- package/lib/geometry/shape/interval/line.d.ts +0 -1
- package/lib/geometry/shape/interval/line.js +0 -56
- package/lib/geometry/shape/interval/line.js.map +0 -1
- package/lib/geometry/shape/interval/pyramid.d.ts +0 -1
- package/lib/geometry/shape/interval/pyramid.js +0 -33
- package/lib/geometry/shape/interval/pyramid.js.map +0 -1
- package/lib/geometry/shape/interval/tick.d.ts +0 -1
- package/lib/geometry/shape/interval/tick.js +0 -79
- package/lib/geometry/shape/interval/tick.js.map +0 -1
- package/lib/geometry/shape/interval/util.d.ts +0 -55
- package/lib/geometry/shape/interval/util.js +0 -321
- package/lib/geometry/shape/interval/util.js.map +0 -1
- package/lib/geometry/shape/line/index.d.ts +0 -8
- package/lib/geometry/shape/line/index.js +0 -109
- package/lib/geometry/shape/line/index.js.map +0 -1
- package/lib/geometry/shape/line/step.d.ts +0 -1
- package/lib/geometry/shape/line/step.js +0 -86
- package/lib/geometry/shape/line/step.js.map +0 -1
- package/lib/geometry/shape/line/util.d.ts +0 -16
- package/lib/geometry/shape/line/util.js +0 -87
- package/lib/geometry/shape/line/util.js.map +0 -1
- package/lib/geometry/shape/point/hollow.d.ts +0 -1
- package/lib/geometry/shape/point/hollow.js +0 -26
- package/lib/geometry/shape/point/hollow.js.map +0 -1
- package/lib/geometry/shape/point/image.d.ts +0 -1
- package/lib/geometry/shape/point/image.js +0 -50
- package/lib/geometry/shape/point/image.js.map +0 -1
- package/lib/geometry/shape/point/index.d.ts +0 -2
- package/lib/geometry/shape/point/index.js +0 -34
- package/lib/geometry/shape/point/index.js.map +0 -1
- package/lib/geometry/shape/point/solid.d.ts +0 -1
- package/lib/geometry/shape/point/solid.js +0 -25
- package/lib/geometry/shape/point/solid.js.map +0 -1
- package/lib/geometry/shape/point/util.d.ts +0 -15
- package/lib/geometry/shape/point/util.js +0 -43
- package/lib/geometry/shape/point/util.js.map +0 -1
- package/lib/geometry/shape/polygon/index.d.ts +0 -2
- package/lib/geometry/shape/polygon/index.js +0 -67
- package/lib/geometry/shape/polygon/index.js.map +0 -1
- package/lib/geometry/shape/polygon/square.d.ts +0 -1
- package/lib/geometry/shape/polygon/square.js +0 -46
- package/lib/geometry/shape/polygon/square.js.map +0 -1
- package/lib/geometry/shape/schema/box.d.ts +0 -1
- package/lib/geometry/shape/schema/box.js +0 -144
- package/lib/geometry/shape/schema/box.js.map +0 -1
- package/lib/geometry/shape/schema/candle.d.ts +0 -1
- package/lib/geometry/shape/schema/candle.js +0 -82
- package/lib/geometry/shape/schema/candle.js.map +0 -1
- package/lib/geometry/shape/schema/index.d.ts +0 -2
- package/lib/geometry/shape/schema/index.js +0 -8
- package/lib/geometry/shape/schema/index.js.map +0 -1
- package/lib/geometry/shape/util/get-path-points.d.ts +0 -38
- package/lib/geometry/shape/util/get-path-points.js +0 -137
- package/lib/geometry/shape/util/get-path-points.js.map +0 -1
- package/lib/geometry/shape/util/get-style.d.ts +0 -18
- package/lib/geometry/shape/util/get-style.js +0 -52
- package/lib/geometry/shape/util/get-style.js.map +0 -1
- package/lib/geometry/shape/util/path.d.ts +0 -32
- package/lib/geometry/shape/util/path.js +0 -320
- package/lib/geometry/shape/util/path.js.map +0 -1
- package/lib/geometry/shape/util/split-points.d.ts +0 -13
- package/lib/geometry/shape/util/split-points.js +0 -28
- package/lib/geometry/shape/util/split-points.js.map +0 -1
- package/lib/geometry/shape/violin/hollow.d.ts +0 -1
- package/lib/geometry/shape/violin/hollow.js +0 -53
- package/lib/geometry/shape/violin/hollow.js.map +0 -1
- package/lib/geometry/shape/violin/index.d.ts +0 -2
- package/lib/geometry/shape/violin/index.js +0 -62
- package/lib/geometry/shape/violin/index.js.map +0 -1
- package/lib/geometry/shape/violin/smooth.d.ts +0 -1
- package/lib/geometry/shape/violin/smooth.js +0 -30
- package/lib/geometry/shape/violin/smooth.js.map +0 -1
- package/lib/geometry/util/diff.d.ts +0 -11
- package/lib/geometry/util/diff.js +0 -34
- package/lib/geometry/util/diff.js.map +0 -1
- package/lib/geometry/util/get-shape-type.d.ts +0 -8
- package/lib/geometry/util/get-shape-type.js +0 -20
- package/lib/geometry/util/get-shape-type.js.map +0 -1
- package/lib/geometry/util/group-data.d.ts +0 -3
- package/lib/geometry/util/group-data.js +0 -35
- package/lib/geometry/util/group-data.js.map +0 -1
- package/lib/geometry/util/is-model-change.d.ts +0 -9
- package/lib/geometry/util/is-model-change.js +0 -18
- package/lib/geometry/util/is-model-change.js.map +0 -1
- package/lib/geometry/util/parse-fields.d.ts +0 -2
- package/lib/geometry/util/parse-fields.js +0 -13
- package/lib/geometry/util/parse-fields.js.map +0 -1
- package/lib/geometry/util/shape-size.d.ts +0 -2
- package/lib/geometry/util/shape-size.js +0 -128
- package/lib/geometry/util/shape-size.js.map +0 -1
- package/lib/geometry/violin.d.ts +0 -25
- package/lib/geometry/violin.js +0 -69
- package/lib/geometry/violin.js.map +0 -1
- package/lib/index.d.ts +0 -107
- package/lib/index.js +0 -586
- package/lib/index.js.map +0 -1
- package/lib/interaction/action/active-region.d.ts +0 -33
- package/lib/interaction/action/active-region.js +0 -202
- package/lib/interaction/action/active-region.js.map +0 -1
- package/lib/interaction/action/base.d.ts +0 -29
- package/lib/interaction/action/base.js +0 -38
- package/lib/interaction/action/base.js.map +0 -1
- package/lib/interaction/action/callback.d.ts +0 -17
- package/lib/interaction/action/callback.js +0 -29
- package/lib/interaction/action/callback.js.map +0 -1
- package/lib/interaction/action/component/list-active.d.ts +0 -14
- package/lib/interaction/action/component/list-active.js +0 -26
- package/lib/interaction/action/component/list-active.js.map +0 -1
- package/lib/interaction/action/component/list-checked.d.ts +0 -30
- package/lib/interaction/action/component/list-checked.js +0 -84
- package/lib/interaction/action/component/list-checked.js.map +0 -1
- package/lib/interaction/action/component/list-focus.d.ts +0 -5
- package/lib/interaction/action/component/list-focus.js +0 -57
- package/lib/interaction/action/component/list-focus.js.map +0 -1
- package/lib/interaction/action/component/list-highlight-util.d.ts +0 -7
- package/lib/interaction/action/component/list-highlight-util.js +0 -24
- package/lib/interaction/action/component/list-highlight-util.js.map +0 -1
- package/lib/interaction/action/component/list-highlight.d.ts +0 -20
- package/lib/interaction/action/component/list-highlight.js +0 -99
- package/lib/interaction/action/component/list-highlight.js.map +0 -1
- package/lib/interaction/action/component/list-radio.d.ts +0 -24
- package/lib/interaction/action/component/list-radio.js +0 -118
- package/lib/interaction/action/component/list-radio.js.map +0 -1
- package/lib/interaction/action/component/list-selected.d.ts +0 -10
- package/lib/interaction/action/component/list-selected.js +0 -22
- package/lib/interaction/action/component/list-selected.js.map +0 -1
- package/lib/interaction/action/component/list-state.d.ts +0 -46
- package/lib/interaction/action/component/list-state.js +0 -169
- package/lib/interaction/action/component/list-state.js.map +0 -1
- package/lib/interaction/action/component/list-unchecked.d.ts +0 -13
- package/lib/interaction/action/component/list-unchecked.js +0 -25
- package/lib/interaction/action/component/list-unchecked.js.map +0 -1
- package/lib/interaction/action/component/tooltip/ellipsis-text.d.ts +0 -25
- package/lib/interaction/action/component/tooltip/ellipsis-text.js +0 -95
- package/lib/interaction/action/component/tooltip/ellipsis-text.js.map +0 -1
- package/lib/interaction/action/component/tooltip/geometry.d.ts +0 -24
- package/lib/interaction/action/component/tooltip/geometry.js +0 -73
- package/lib/interaction/action/component/tooltip/geometry.js.map +0 -1
- package/lib/interaction/action/component/tooltip/sibling.d.ts +0 -21
- package/lib/interaction/action/component/tooltip/sibling.js +0 -41
- package/lib/interaction/action/component/tooltip/sibling.js.map +0 -1
- package/lib/interaction/action/cursor.d.ts +0 -69
- package/lib/interaction/action/cursor.js +0 -115
- package/lib/interaction/action/cursor.js.map +0 -1
- package/lib/interaction/action/data/filter.d.ts +0 -13
- package/lib/interaction/action/data/filter.js +0 -68
- package/lib/interaction/action/data/filter.js.map +0 -1
- package/lib/interaction/action/data/range-filter.d.ts +0 -56
- package/lib/interaction/action/data/range-filter.js +0 -166
- package/lib/interaction/action/data/range-filter.js.map +0 -1
- package/lib/interaction/action/data/sibling-filter.d.ts +0 -22
- package/lib/interaction/action/data/sibling-filter.js +0 -41
- package/lib/interaction/action/data/sibling-filter.js.map +0 -1
- package/lib/interaction/action/element/active.d.ts +0 -14
- package/lib/interaction/action/element/active.js +0 -26
- package/lib/interaction/action/element/active.js.map +0 -1
- package/lib/interaction/action/element/filter.d.ts +0 -20
- package/lib/interaction/action/element/filter.js +0 -91
- package/lib/interaction/action/element/filter.js.map +0 -1
- package/lib/interaction/action/element/highlight-by-color.d.ts +0 -10
- package/lib/interaction/action/element/highlight-by-color.js +0 -32
- package/lib/interaction/action/element/highlight-by-color.js.map +0 -1
- package/lib/interaction/action/element/highlight-by-x.d.ts +0 -15
- package/lib/interaction/action/element/highlight-by-x.js +0 -53
- package/lib/interaction/action/element/highlight-by-x.js.map +0 -1
- package/lib/interaction/action/element/highlight-util.d.ts +0 -18
- package/lib/interaction/action/element/highlight-util.js +0 -50
- package/lib/interaction/action/element/highlight-util.js.map +0 -1
- package/lib/interaction/action/element/highlight.d.ts +0 -21
- package/lib/interaction/action/element/highlight.js +0 -96
- package/lib/interaction/action/element/highlight.js.map +0 -1
- package/lib/interaction/action/element/link-by-color.d.ts +0 -51
- package/lib/interaction/action/element/link-by-color.js +0 -158
- package/lib/interaction/action/element/link-by-color.js.map +0 -1
- package/lib/interaction/action/element/range-active.d.ts +0 -13
- package/lib/interaction/action/element/range-active.js +0 -25
- package/lib/interaction/action/element/range-active.js.map +0 -1
- package/lib/interaction/action/element/range-highlight.d.ts +0 -27
- package/lib/interaction/action/element/range-highlight.js +0 -57
- package/lib/interaction/action/element/range-highlight.js.map +0 -1
- package/lib/interaction/action/element/range-selected.d.ts +0 -13
- package/lib/interaction/action/element/range-selected.js +0 -25
- package/lib/interaction/action/element/range-selected.js.map +0 -1
- package/lib/interaction/action/element/range-state.d.ts +0 -38
- package/lib/interaction/action/element/range-state.js +0 -166
- package/lib/interaction/action/element/range-state.js.map +0 -1
- package/lib/interaction/action/element/selected.d.ts +0 -14
- package/lib/interaction/action/element/selected.js +0 -26
- package/lib/interaction/action/element/selected.js.map +0 -1
- package/lib/interaction/action/element/sibling-filter.d.ts +0 -19
- package/lib/interaction/action/element/sibling-filter.js +0 -95
- package/lib/interaction/action/element/sibling-filter.js.map +0 -1
- package/lib/interaction/action/element/single-active.d.ts +0 -13
- package/lib/interaction/action/element/single-active.js +0 -25
- package/lib/interaction/action/element/single-active.js.map +0 -1
- package/lib/interaction/action/element/single-highlight.d.ts +0 -16
- package/lib/interaction/action/element/single-highlight.js +0 -37
- package/lib/interaction/action/element/single-highlight.js.map +0 -1
- package/lib/interaction/action/element/single-selected.d.ts +0 -13
- package/lib/interaction/action/element/single-selected.js +0 -25
- package/lib/interaction/action/element/single-selected.js.map +0 -1
- package/lib/interaction/action/element/single-state.d.ts +0 -18
- package/lib/interaction/action/element/single-state.js +0 -55
- package/lib/interaction/action/element/single-state.js.map +0 -1
- package/lib/interaction/action/element/state-base.d.ts +0 -39
- package/lib/interaction/action/element/state-base.js +0 -61
- package/lib/interaction/action/element/state-base.js.map +0 -1
- package/lib/interaction/action/element/state.d.ts +0 -28
- package/lib/interaction/action/element/state.js +0 -101
- package/lib/interaction/action/element/state.js.map +0 -1
- package/lib/interaction/action/index.d.ts +0 -2
- package/lib/interaction/action/index.js +0 -13
- package/lib/interaction/action/index.js.map +0 -1
- package/lib/interaction/action/mask/base.d.ts +0 -62
- package/lib/interaction/action/mask/base.js +0 -171
- package/lib/interaction/action/mask/base.js.map +0 -1
- package/lib/interaction/action/mask/circle.d.ts +0 -14
- package/lib/interaction/action/mask/circle.js +0 -39
- package/lib/interaction/action/mask/circle.js.map +0 -1
- package/lib/interaction/action/mask/dim-rect.d.ts +0 -11
- package/lib/interaction/action/mask/dim-rect.js +0 -64
- package/lib/interaction/action/mask/dim-rect.js.map +0 -1
- package/lib/interaction/action/mask/path.d.ts +0 -16
- package/lib/interaction/action/mask/path.js +0 -46
- package/lib/interaction/action/mask/path.js.map +0 -1
- package/lib/interaction/action/mask/rect.d.ts +0 -17
- package/lib/interaction/action/mask/rect.js +0 -41
- package/lib/interaction/action/mask/rect.js.map +0 -1
- package/lib/interaction/action/mask/smooth-path.d.ts +0 -9
- package/lib/interaction/action/mask/smooth-path.js +0 -23
- package/lib/interaction/action/mask/smooth-path.js.map +0 -1
- package/lib/interaction/action/register.d.ts +0 -36
- package/lib/interaction/action/register.js +0 -69
- package/lib/interaction/action/register.js.map +0 -1
- package/lib/interaction/action/util.d.ts +0 -140
- package/lib/interaction/action/util.js +0 -387
- package/lib/interaction/action/util.js.map +0 -1
- package/lib/interaction/action/view/button.d.ts +0 -25
- package/lib/interaction/action/view/button.js +0 -118
- package/lib/interaction/action/view/button.js.map +0 -1
- package/lib/interaction/action/view/drag.d.ts +0 -24
- package/lib/interaction/action/view/drag.js +0 -75
- package/lib/interaction/action/view/drag.js.map +0 -1
- package/lib/interaction/action/view/mousewheel-scroll.d.ts +0 -5
- package/lib/interaction/action/view/mousewheel-scroll.js +0 -37
- package/lib/interaction/action/view/mousewheel-scroll.js.map +0 -1
- package/lib/interaction/action/view/move.d.ts +0 -28
- package/lib/interaction/action/view/move.js +0 -82
- package/lib/interaction/action/view/move.js.map +0 -1
- package/lib/interaction/action/view/scale-transform.d.ts +0 -18
- package/lib/interaction/action/view/scale-transform.js +0 -53
- package/lib/interaction/action/view/scale-transform.js.map +0 -1
- package/lib/interaction/action/view/scale-translate.d.ts +0 -30
- package/lib/interaction/action/view/scale-translate.js +0 -114
- package/lib/interaction/action/view/scale-translate.js.map +0 -1
- package/lib/interaction/action/view/scale-zoom.d.ts +0 -20
- package/lib/interaction/action/view/scale-zoom.js +0 -85
- package/lib/interaction/action/view/scale-zoom.js.map +0 -1
- package/lib/interaction/context.d.ts +0 -65
- package/lib/interaction/context.js +0 -144
- package/lib/interaction/context.js.map +0 -1
- package/lib/interaction/grammar-interaction.d.ts +0 -158
- package/lib/interaction/grammar-interaction.js +0 -289
- package/lib/interaction/grammar-interaction.js.map +0 -1
- package/lib/interaction/index.d.ts +0 -25
- package/lib/interaction/index.js +0 -54
- package/lib/interaction/index.js.map +0 -1
- package/lib/interaction/interaction.d.ts +0 -29
- package/lib/interaction/interaction.js +0 -34
- package/lib/interaction/interaction.js.map +0 -1
- package/lib/interface.d.ts +0 -2264
- package/lib/interface.js +0 -3
- package/lib/interface.js.map +0 -1
- package/lib/theme/index.d.ts +0 -12
- package/lib/theme/index.js +0 -28
- package/lib/theme/index.js.map +0 -1
- package/lib/theme/style-sheet/dark.d.ts +0 -825
- package/lib/theme/style-sheet/dark.js +0 -500
- package/lib/theme/style-sheet/dark.js.map +0 -1
- package/lib/theme/style-sheet/light.d.ts +0 -817
- package/lib/theme/style-sheet/light.js +0 -496
- package/lib/theme/style-sheet/light.js.map +0 -1
- package/lib/theme/util/create-by-style-sheet.d.ts +0 -6
- package/lib/theme/util/create-by-style-sheet.js +0 -1426
- package/lib/theme/util/create-by-style-sheet.js.map +0 -1
- package/lib/theme/util/create-theme.d.ts +0 -6
- package/lib/theme/util/create-theme.js +0 -16
- package/lib/theme/util/create-theme.js.map +0 -1
- package/lib/theme/util/index.d.ts +0 -1
- package/lib/theme/util/index.js +0 -6
- package/lib/theme/util/index.js.map +0 -1
- package/lib/util/annotation.d.ts +0 -7
- package/lib/util/annotation.js +0 -43
- package/lib/util/annotation.js.map +0 -1
- package/lib/util/attr.d.ts +0 -10
- package/lib/util/attr.js +0 -29
- package/lib/util/attr.js.map +0 -1
- package/lib/util/axis.d.ts +0 -100
- package/lib/util/axis.js +0 -251
- package/lib/util/axis.js.map +0 -1
- package/lib/util/bbox.d.ts +0 -105
- package/lib/util/bbox.js +0 -287
- package/lib/util/bbox.js.map +0 -1
- package/lib/util/collision-detect.d.ts +0 -16
- package/lib/util/collision-detect.js +0 -132
- package/lib/util/collision-detect.js.map +0 -1
- package/lib/util/color.d.ts +0 -1
- package/lib/util/color.js +0 -23
- package/lib/util/color.js.map +0 -1
- package/lib/util/context.d.ts +0 -4
- package/lib/util/context.js +0 -15
- package/lib/util/context.js.map +0 -1
- package/lib/util/coordinate.d.ts +0 -86
- package/lib/util/coordinate.js +0 -157
- package/lib/util/coordinate.js.map +0 -1
- package/lib/util/direction.d.ts +0 -19
- package/lib/util/direction.js +0 -125
- package/lib/util/direction.js.map +0 -1
- package/lib/util/dom.d.ts +0 -19
- package/lib/util/dom.js +0 -68
- package/lib/util/dom.js.map +0 -1
- package/lib/util/event.d.ts +0 -8
- package/lib/util/event.js +0 -18
- package/lib/util/event.js.map +0 -1
- package/lib/util/facet.d.ts +0 -16
- package/lib/util/facet.js +0 -48
- package/lib/util/facet.js.map +0 -1
- package/lib/util/graphics.d.ts +0 -58
- package/lib/util/graphics.js +0 -212
- package/lib/util/graphics.js.map +0 -1
- package/lib/util/grid.d.ts +0 -36
- package/lib/util/grid.js +0 -125
- package/lib/util/grid.js.map +0 -1
- package/lib/util/helper.d.ts +0 -34
- package/lib/util/helper.js +0 -79
- package/lib/util/helper.js.map +0 -1
- package/lib/util/legend.d.ts +0 -45
- package/lib/util/legend.js +0 -152
- package/lib/util/legend.js.map +0 -1
- package/lib/util/marker.d.ts +0 -10
- package/lib/util/marker.js +0 -61
- package/lib/util/marker.js.map +0 -1
- package/lib/util/padding.d.ts +0 -14
- package/lib/util/padding.js +0 -45
- package/lib/util/padding.js.map +0 -1
- package/lib/util/scale.d.ts +0 -42
- package/lib/util/scale.js +0 -137
- package/lib/util/scale.js.map +0 -1
- package/lib/util/stat.d.ts +0 -10
- package/lib/util/stat.js +0 -41
- package/lib/util/stat.js.map +0 -1
- package/lib/util/text.d.ts +0 -23
- package/lib/util/text.js +0 -88
- package/lib/util/text.js.map +0 -1
- package/lib/util/tooltip.d.ts +0 -26
- package/lib/util/tooltip.js +0 -426
- package/lib/util/tooltip.js.map +0 -1
- package/lib/util/transform.d.ts +0 -33
- package/lib/util/transform.js +0 -69
- package/lib/util/transform.js.map +0 -1
- package/lib/util/types.d.ts +0 -6
- package/lib/util/types.js +0 -3
- package/lib/util/types.js.map +0 -1
package/esm/geometry/base.d.ts
DELETED
|
@@ -1,793 +0,0 @@
|
|
|
1
|
-
import { Adjust } from '@antv/adjust';
|
|
2
|
-
import { Attribute } from '@antv/attr';
|
|
3
|
-
import Base from '../base';
|
|
4
|
-
import { BBox, Coordinate, IGroup, IShape, Scale } from '../dependents';
|
|
5
|
-
import { AdjustOption, AnimateOption, AttributeOption, ColorAttrCallback, Data, Datum, GeometryLabelCfg, GeometryTooltipOption, LabelCallback, LabelOption, LooseObject, MappingDatum, ScaleOption, ShapeAttrCallback, ShapeFactory, ShapeInfo, ShapeMarkerCfg, ShapeMarkerAttrs, ShapePoint, SizeAttrCallback, StateOption, StyleCallback, StyleOption, TooltipCallback, CustomOption } from '../interface';
|
|
6
|
-
import Element from './element';
|
|
7
|
-
/** geometry.init() 传入参数 */
|
|
8
|
-
export interface InitCfg {
|
|
9
|
-
/** 坐标系 */
|
|
10
|
-
coordinate?: Coordinate;
|
|
11
|
-
/** 数据 */
|
|
12
|
-
data?: Data;
|
|
13
|
-
/** 主题对象 */
|
|
14
|
-
theme?: LooseObject;
|
|
15
|
-
/** 列定义 */
|
|
16
|
-
scaleDefs?: Record<string, ScaleOption>;
|
|
17
|
-
/** 因为数据使用的引用,所以需要有一个标识位标识数据是否发生了更新 */
|
|
18
|
-
isDataChanged?: boolean;
|
|
19
|
-
isCoordinateChanged?: boolean;
|
|
20
|
-
}
|
|
21
|
-
/** Geometry 构造函数参数 */
|
|
22
|
-
export interface GeometryCfg {
|
|
23
|
-
/** Geometry shape 的容器。 */
|
|
24
|
-
container: IGroup;
|
|
25
|
-
/** 绘制的坐标系对象。 */
|
|
26
|
-
coordinate?: Coordinate;
|
|
27
|
-
/** 绘制数据。 */
|
|
28
|
-
data?: Data;
|
|
29
|
-
/** 需要的 scales。 */
|
|
30
|
-
scales?: Record<string, Scale>;
|
|
31
|
-
/** 列定义 */
|
|
32
|
-
scaleDefs?: Record<string, ScaleOption>;
|
|
33
|
-
/** Geometry labels 的容器 */
|
|
34
|
-
labelsContainer?: IGroup;
|
|
35
|
-
/** 是否对数据进行排序 */
|
|
36
|
-
sortable?: boolean;
|
|
37
|
-
/** elements 的 zIndex 默认按顺序提升,通过 zIndexReversed 可以反序,从而数据越前,层级越高 */
|
|
38
|
-
zIndexReversed?: boolean;
|
|
39
|
-
/** 是否需要对 zIndex 进行 sort。因为耗时长,由具体场景自行决定 */
|
|
40
|
-
sortZIndex?: boolean;
|
|
41
|
-
/** 是否可见 */
|
|
42
|
-
visible?: boolean;
|
|
43
|
-
/** 主题配置 */
|
|
44
|
-
theme?: LooseObject;
|
|
45
|
-
/** 组间距 */
|
|
46
|
-
intervalPadding?: number;
|
|
47
|
-
/** 组内间距 */
|
|
48
|
-
dodgePadding?: number;
|
|
49
|
-
/** 柱状图最大宽度 */
|
|
50
|
-
maxColumnWidth?: number;
|
|
51
|
-
/** 柱状图最小宽度 */
|
|
52
|
-
minColumnWidth?: number;
|
|
53
|
-
/** 默认宽度占比,interval类型和schema类型通用 */
|
|
54
|
-
columnWidthRatio?: number;
|
|
55
|
-
/** 玫瑰图占比 */
|
|
56
|
-
roseWidthRatio?: number;
|
|
57
|
-
/** 多层饼图/环图占比 */
|
|
58
|
-
multiplePieWidthRatio?: number;
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* Geometry 几何标记基类,主要负责数据到图形属性的映射以及绘制逻辑。
|
|
62
|
-
*/
|
|
63
|
-
export default class Geometry<S extends ShapePoint = ShapePoint> extends Base {
|
|
64
|
-
/** Geometry 几何标记类型。 */
|
|
65
|
-
readonly type: string;
|
|
66
|
-
/** ShapeFactory 对应的类型。 */
|
|
67
|
-
readonly shapeType: string;
|
|
68
|
-
/** Coordinate 坐标系实例。 */
|
|
69
|
-
coordinate: Coordinate;
|
|
70
|
-
/** 用户绘制数据。 */
|
|
71
|
-
data: Data;
|
|
72
|
-
/** 图形绘制容器。 */
|
|
73
|
-
readonly container: IGroup;
|
|
74
|
-
/** label 绘制容器。 */
|
|
75
|
-
readonly labelsContainer: IGroup;
|
|
76
|
-
/** 是否对数据进行排序,默认为 false。 */
|
|
77
|
-
sortable: boolean;
|
|
78
|
-
/** 当前 Geometry 实例主题。 */
|
|
79
|
-
theme: LooseObject;
|
|
80
|
-
/** 存储 geometry 需要的 scales,需要外部传入。 */
|
|
81
|
-
scales: Record<string, Scale>;
|
|
82
|
-
/** scale 定义,需要外部传入。 */
|
|
83
|
-
scaleDefs: Record<string, ScaleOption>;
|
|
84
|
-
/** 画布区域,用于 label 布局。 */
|
|
85
|
-
canvasRegion: BBox;
|
|
86
|
-
/** Attribute map */
|
|
87
|
-
attributes: Record<string, Attribute>;
|
|
88
|
-
/** Element map */
|
|
89
|
-
elements: Element[];
|
|
90
|
-
/**
|
|
91
|
-
* 存储处理后的数据,
|
|
92
|
-
* + init() 及 updateData() 逻辑后, 结构为 Data[];
|
|
93
|
-
* + paint() 逻辑后,结构为 MappingDatum[][]。
|
|
94
|
-
*/
|
|
95
|
-
dataArray: MappingDatum[][];
|
|
96
|
-
/** 存储 tooltip 配置信息。 */
|
|
97
|
-
tooltipOption: GeometryTooltipOption | boolean;
|
|
98
|
-
/** 存储 label 配置信息。 */
|
|
99
|
-
labelOption: LabelOption | false;
|
|
100
|
-
/** 状态量相关的配置项 */
|
|
101
|
-
stateOption: StateOption;
|
|
102
|
-
/** 使用 key-value 结构存储 Element,key 为每个 Element 实例对应的唯一 ID */
|
|
103
|
-
elementsMap: Record<string, Element>;
|
|
104
|
-
/** animate 配置项 */
|
|
105
|
-
animateOption: AnimateOption | boolean;
|
|
106
|
-
/** 图形属性映射配置 */
|
|
107
|
-
protected attributeOption: Record<string, AttributeOption>;
|
|
108
|
-
/** adjust 配置项 */
|
|
109
|
-
protected adjustOption: AdjustOption[];
|
|
110
|
-
/** style 配置项 */
|
|
111
|
-
protected styleOption: StyleOption;
|
|
112
|
-
/** custom 自定义的配置项 */
|
|
113
|
-
protected customOption: CustomOption;
|
|
114
|
-
/** 每个 Geometry 对应的 Shape 工厂实例,用于创建各个 Shape */
|
|
115
|
-
protected shapeFactory: ShapeFactory;
|
|
116
|
-
/** 存储上一次渲染时的 element 映射表,用于更新逻辑 */
|
|
117
|
-
protected lastElementsMap: Record<string, Element>;
|
|
118
|
-
/** 是否生成多个点来绘制图形。 */
|
|
119
|
-
protected generatePoints: boolean;
|
|
120
|
-
/** 存储发生图形属性映射前的数据 */
|
|
121
|
-
protected beforeMappingData: Data[];
|
|
122
|
-
/** 存储每个 shape 的默认 size,用于 Interval、Schema 几何标记 */
|
|
123
|
-
protected defaultSize: number;
|
|
124
|
-
private userTheme;
|
|
125
|
-
private adjusts;
|
|
126
|
-
private lastAttributeOption;
|
|
127
|
-
private idFields;
|
|
128
|
-
private geometryLabel;
|
|
129
|
-
/** 组间距 */
|
|
130
|
-
protected intervalPadding: number;
|
|
131
|
-
/** 组内间距 */
|
|
132
|
-
protected dodgePadding: number;
|
|
133
|
-
/** 柱状图最大宽度 */
|
|
134
|
-
protected maxColumnWidth: number;
|
|
135
|
-
/** 柱状图最小宽度 */
|
|
136
|
-
protected minColumnWidth: number;
|
|
137
|
-
/** 一般柱状图宽度占比 */
|
|
138
|
-
protected columnWidthRatio: number;
|
|
139
|
-
/** 玫瑰图占比 */
|
|
140
|
-
protected roseWidthRatio: number;
|
|
141
|
-
/** 多层饼图/环图占比 */
|
|
142
|
-
protected multiplePieWidthRatio: number;
|
|
143
|
-
/** elements 的 zIndex 默认按顺序提升,通过 zIndexReversed 可以反序,从而数据越前,层级越高 */
|
|
144
|
-
zIndexReversed?: boolean;
|
|
145
|
-
/** 是否需要对 zIndex 进行 sort。因为耗时长,由具体场景自行决定 */
|
|
146
|
-
sortZIndex?: boolean;
|
|
147
|
-
/** 虚拟 Group,用于图形更新 */
|
|
148
|
-
private offscreenGroup;
|
|
149
|
-
private groupScales;
|
|
150
|
-
private hasSorted;
|
|
151
|
-
protected isCoordinateChanged: boolean;
|
|
152
|
-
/**
|
|
153
|
-
* 创建 Geometry 实例。
|
|
154
|
-
* @param cfg
|
|
155
|
-
*/
|
|
156
|
-
constructor(cfg: GeometryCfg);
|
|
157
|
-
/**
|
|
158
|
-
* 配置 position 通道映射规则。
|
|
159
|
-
*
|
|
160
|
-
* @example
|
|
161
|
-
* ```typescript
|
|
162
|
-
* // 数据结构: [{ x: 'A', y: 10, color: 'red' }]
|
|
163
|
-
* geometry.position('x*y');
|
|
164
|
-
* geometry.position([ 'x', 'y' ]);
|
|
165
|
-
* geometry.position({
|
|
166
|
-
* fields: [ 'x', 'y' ],
|
|
167
|
-
* });
|
|
168
|
-
* ```
|
|
169
|
-
*
|
|
170
|
-
* @param cfg 映射规则
|
|
171
|
-
* @returns
|
|
172
|
-
*/
|
|
173
|
-
position(cfg: string | string[] | AttributeOption): Geometry;
|
|
174
|
-
/**
|
|
175
|
-
* 配置 color 通道映射规则。
|
|
176
|
-
*
|
|
177
|
-
* @example
|
|
178
|
-
* ```typescript
|
|
179
|
-
* // data: [{ x: 'A', y: 10, color: 'red' }, { x: 'B', y: 30, color: 'yellow' }]
|
|
180
|
-
* geometry.color({
|
|
181
|
-
* fields: [ 'x' ],
|
|
182
|
-
* values: [ '#1890ff', '#5AD8A6' ],
|
|
183
|
-
* });
|
|
184
|
-
* ```
|
|
185
|
-
*
|
|
186
|
-
* @param field 映射规则
|
|
187
|
-
* @returns
|
|
188
|
-
*/
|
|
189
|
-
color(field: AttributeOption): Geometry;
|
|
190
|
-
/**
|
|
191
|
-
* @example
|
|
192
|
-
* ```typescript
|
|
193
|
-
* // data: [{ x: 'A', y: 10, color: 'red' }, { x: 'B', y: 30, color: 'yellow' }]
|
|
194
|
-
*
|
|
195
|
-
* // 使用 '#1890ff' 颜色渲染图形
|
|
196
|
-
* geometry.color('#1890ff');
|
|
197
|
-
*
|
|
198
|
-
* // 根据 x 字段的数据值进行颜色的映射,这时候 G2 会在内部调用默认的回调函数,读取默认提供的颜色进行数据值到颜色值的映射。
|
|
199
|
-
* geometry.color('x');
|
|
200
|
-
*
|
|
201
|
-
* // 将 'x' 字段的数据值映射至指定的颜色值 colors(可以是字符串也可以是数组),此时用于通常映射分类数据
|
|
202
|
-
* geometry.color('x', [ '#1890ff', '#5AD8A6' ]);
|
|
203
|
-
*
|
|
204
|
-
* // 使用回调函数进行颜色值的自定义;可以使用多个字段使用、*号连接
|
|
205
|
-
* geometry.color('x', (xVal) => {
|
|
206
|
-
* if (xVal === 'a') {
|
|
207
|
-
* return 'red';
|
|
208
|
-
* }
|
|
209
|
-
* return 'blue';
|
|
210
|
-
* });
|
|
211
|
-
*
|
|
212
|
-
* // 指定颜色的渐变路径,用于映射连续的数据
|
|
213
|
-
* geometry.color('x', '#BAE7FF-#1890FF-#0050B3');
|
|
214
|
-
* ```
|
|
215
|
-
*
|
|
216
|
-
* @param field 参与颜色映射的数据字段,多个字段使用 '*' 连接符进行连接。
|
|
217
|
-
* @param cfg Optional, color 映射规则。
|
|
218
|
-
* @returns
|
|
219
|
-
*/
|
|
220
|
-
color(field: string, cfg?: string | string[] | ColorAttrCallback): Geometry;
|
|
221
|
-
/**
|
|
222
|
-
* 配置 shape 通道映射规则。
|
|
223
|
-
*
|
|
224
|
-
* @example
|
|
225
|
-
*
|
|
226
|
-
* ```typescript
|
|
227
|
-
* // data: [{ x: 'A', y: 10, color: 'red' }, { x: 'B', y: 30, color: 'yellow' }]
|
|
228
|
-
* geometry.shape({
|
|
229
|
-
* fields: [ 'x' ],
|
|
230
|
-
* });
|
|
231
|
-
* ```
|
|
232
|
-
*
|
|
233
|
-
* @param field 映射规则配置。
|
|
234
|
-
* @returns
|
|
235
|
-
*/
|
|
236
|
-
shape(field: AttributeOption): Geometry;
|
|
237
|
-
/**
|
|
238
|
-
*
|
|
239
|
-
* @example
|
|
240
|
-
* ```typescript
|
|
241
|
-
* // data: [{ x: 'A', y: 10, color: 'red' }, { x: 'B', y: 30, color: 'yellow' }]
|
|
242
|
-
*
|
|
243
|
-
* // 指定常量,将所有数据值映射到固定的 shape
|
|
244
|
-
* geometry.shape('circle');
|
|
245
|
-
*
|
|
246
|
-
* // 将指定的字段映射到内置的 shapes 数组中
|
|
247
|
-
* geometry.shape('x');
|
|
248
|
-
*
|
|
249
|
-
* // 将指定的字段映射到指定的 shapes 数组中
|
|
250
|
-
* geometry.shape('x', [ 'circle', 'diamond', 'square' ]);
|
|
251
|
-
*
|
|
252
|
-
* // 使用回调函数获取 shape,用于个性化的 shape 定制,可以根据单个或者多个字段确定
|
|
253
|
-
* geometry.shape('x', (xVal) => {
|
|
254
|
-
* if (xVal === 'a') {
|
|
255
|
-
* return 'circle';
|
|
256
|
-
* }
|
|
257
|
-
* return 'diamond';
|
|
258
|
-
* });
|
|
259
|
-
* ```
|
|
260
|
-
*
|
|
261
|
-
* @param field 参与 shape 映射的数据字段,多个字段使用 '*' 连接符进行连接。
|
|
262
|
-
* @param cfg Optional, shape 映射规则。
|
|
263
|
-
* @returns
|
|
264
|
-
*/
|
|
265
|
-
shape(field: string, cfg?: string[] | ShapeAttrCallback): Geometry;
|
|
266
|
-
/**
|
|
267
|
-
* 配置 size 通道映射规则。
|
|
268
|
-
*
|
|
269
|
-
* @example
|
|
270
|
-
* ```typescript
|
|
271
|
-
* // data: [{ x: 'A', y: 10, color: 'red' }, { x: 'B', y: 30, color: 'yellow' }]
|
|
272
|
-
* geometry.size({
|
|
273
|
-
* values: [ 10 ],
|
|
274
|
-
* })
|
|
275
|
-
* ```
|
|
276
|
-
*
|
|
277
|
-
* @param field 映射规则。
|
|
278
|
-
* @returns
|
|
279
|
-
*/
|
|
280
|
-
size(field: AttributeOption): Geometry;
|
|
281
|
-
/**
|
|
282
|
-
*
|
|
283
|
-
* @example
|
|
284
|
-
* ```typescript
|
|
285
|
-
* // data: [{ x: 'A', y: 10, color: 'red' }, { x: 'B', y: 30, color: 'yellow' }]
|
|
286
|
-
*
|
|
287
|
-
* // 直接指定像素大小
|
|
288
|
-
* geometry.size(10);
|
|
289
|
-
*
|
|
290
|
-
* // 指定映射到 size 的字段,使用内置的默认大小范围为 [1, 10]
|
|
291
|
-
* geometry.size('x');
|
|
292
|
-
*
|
|
293
|
-
* // 指定映射到 size 字段外,还提供了 size 的最大值和最小值范围
|
|
294
|
-
* geometry.size('x', [ 5, 30 ]);
|
|
295
|
-
*
|
|
296
|
-
* // 使用回调函数映射 size,用于个性化的 size 定制,可以使用多个字段进行映射
|
|
297
|
-
* geometry.size('x', (xVal) => {
|
|
298
|
-
* if (xVal === 'a') {
|
|
299
|
-
* return 10;
|
|
300
|
-
* }
|
|
301
|
-
* return 5;
|
|
302
|
-
* });
|
|
303
|
-
* ```
|
|
304
|
-
*
|
|
305
|
-
* @param field 参与 size 映射的数据字段,多个字段使用 '*' 连接符进行连接。
|
|
306
|
-
* @param cfg Optional, size 映射规则
|
|
307
|
-
* @returns
|
|
308
|
-
*/
|
|
309
|
-
size(field: number | string, cfg?: [number, number] | SizeAttrCallback): Geometry;
|
|
310
|
-
/**
|
|
311
|
-
* 设置数据调整方式。G2 目前内置了四种类型:
|
|
312
|
-
* 1. dodge
|
|
313
|
-
* 2. stack
|
|
314
|
-
* 3. symmetric
|
|
315
|
-
* 4. jitter
|
|
316
|
-
*
|
|
317
|
-
*
|
|
318
|
-
* **Tip**
|
|
319
|
-
* + 对于 'dodge' 类型,可以额外进行如下属性的配置:
|
|
320
|
-
* ```typescript
|
|
321
|
-
* geometry.adjust('dodge', {
|
|
322
|
-
* marginRatio: 0, // 取 0 到 1 范围的值(相对于每个柱子宽度),用于控制一个分组中柱子之间的间距
|
|
323
|
-
* dodgeBy: 'x', // 该属性只对 'dodge' 类型生效,声明以哪个数据字段为分组依据
|
|
324
|
-
* });
|
|
325
|
-
* ```
|
|
326
|
-
*
|
|
327
|
-
* + 对于 'stack' 类型,可以额外进行如下属性的配置:
|
|
328
|
-
* ```typescript
|
|
329
|
-
* geometry.adjust('stack', {
|
|
330
|
-
* reverseOrder: false, // 用于控制是否对数据进行反序操作
|
|
331
|
-
* });
|
|
332
|
-
* ```
|
|
333
|
-
*
|
|
334
|
-
* @example
|
|
335
|
-
* ```typescript
|
|
336
|
-
* geometry.adjust('stack');
|
|
337
|
-
*
|
|
338
|
-
* geometry.adjust({
|
|
339
|
-
* type: 'stack',
|
|
340
|
-
* reverseOrder: false,
|
|
341
|
-
* });
|
|
342
|
-
*
|
|
343
|
-
* // 组合使用 adjust
|
|
344
|
-
* geometry.adjust([ 'stack', 'dodge' ]);
|
|
345
|
-
*
|
|
346
|
-
* geometry.adjust([
|
|
347
|
-
* { type: 'stack' },
|
|
348
|
-
* { type: 'dodge', dodgeBy: 'x' },
|
|
349
|
-
* ]);
|
|
350
|
-
* ```
|
|
351
|
-
*
|
|
352
|
-
* @param adjustCfg 数据调整配置
|
|
353
|
-
* @returns
|
|
354
|
-
*/
|
|
355
|
-
adjust(adjustCfg: string | string[] | AdjustOption | AdjustOption[]): Geometry;
|
|
356
|
-
/**
|
|
357
|
-
* 图形样式配置。
|
|
358
|
-
*
|
|
359
|
-
* @example
|
|
360
|
-
* ```typescript
|
|
361
|
-
* // 配置图形样式
|
|
362
|
-
* style({
|
|
363
|
-
* lineWidth: 2,
|
|
364
|
-
* stroke: '#1890ff',
|
|
365
|
-
* });
|
|
366
|
-
*
|
|
367
|
-
* // 根据具体的数据进行详细配置
|
|
368
|
-
* style({
|
|
369
|
-
* fields: [ 'x', 'y' ], // 数据字段
|
|
370
|
-
* callback: (xVal, yVal) => {
|
|
371
|
-
* const style = { lineWidth: 2, stroke: '#1890ff' };
|
|
372
|
-
* if (xVal === 'a') {
|
|
373
|
-
* style.lineDash = [ 2, 2 ];
|
|
374
|
-
* }
|
|
375
|
-
* return style;
|
|
376
|
-
* },
|
|
377
|
-
* });
|
|
378
|
-
* ```
|
|
379
|
-
*
|
|
380
|
-
* @param field 配置样式属性或者样式规则。
|
|
381
|
-
* @returns
|
|
382
|
-
*/
|
|
383
|
-
style(field: StyleOption | LooseObject): Geometry;
|
|
384
|
-
/**
|
|
385
|
-
* @example
|
|
386
|
-
* ```typescript
|
|
387
|
-
* style('x*y', (xVal, yVal) => {
|
|
388
|
-
* const style = { lineWidth: 2, stroke: '#1890ff' };
|
|
389
|
-
* if (xVal === 'a') {
|
|
390
|
-
* style.lineDash = [ 2, 2 ];
|
|
391
|
-
* }
|
|
392
|
-
* return style;
|
|
393
|
-
* });
|
|
394
|
-
* ```
|
|
395
|
-
*
|
|
396
|
-
* @param field 数据字段或者样式配置规则。
|
|
397
|
-
* @param styleFunc Optional, 样式配置回调函数。
|
|
398
|
-
* @returns
|
|
399
|
-
*/
|
|
400
|
-
style(field: string, styleFunc: StyleCallback): Geometry;
|
|
401
|
-
/**
|
|
402
|
-
* 配置 Geometry 显示的 tooltip 内容。
|
|
403
|
-
*
|
|
404
|
-
* `tooltip(false)` 代表关闭 tooltip。
|
|
405
|
-
* `tooltip(true)` 代表开启 tooltip。
|
|
406
|
-
*
|
|
407
|
-
* Geometry 默认允许 tooltip 展示,我们可以使用以下方法对 tooltip 的展示内容进行配置:
|
|
408
|
-
*
|
|
409
|
-
* @example
|
|
410
|
-
* ```typescript
|
|
411
|
-
* // data: [{x: 'a', y: 10}]
|
|
412
|
-
* tooltip({
|
|
413
|
-
* fields: [ 'x' ],
|
|
414
|
-
* });
|
|
415
|
-
* ```
|
|
416
|
-
* 
|
|
417
|
-
*
|
|
418
|
-
* ```typescript
|
|
419
|
-
* tooltip({
|
|
420
|
-
* fields: [ 'x', 'y' ],
|
|
421
|
-
* });
|
|
422
|
-
* ```
|
|
423
|
-
* 
|
|
424
|
-
*
|
|
425
|
-
* tooltip() 方法同样支持数据映射及回调用法:
|
|
426
|
-
*
|
|
427
|
-
* @example
|
|
428
|
-
* ```typescript
|
|
429
|
-
* chart.tooltip({
|
|
430
|
-
* itemTpl: '<li>{x}: {y}</li>',
|
|
431
|
-
* });
|
|
432
|
-
*
|
|
433
|
-
* chart.line()
|
|
434
|
-
* .position('x*y')
|
|
435
|
-
* .tooltip({
|
|
436
|
-
* fields: [ 'x', 'y' ],
|
|
437
|
-
* callback: (x, y) => {
|
|
438
|
-
* return {
|
|
439
|
-
* x,
|
|
440
|
-
* y,
|
|
441
|
-
* };
|
|
442
|
-
* },
|
|
443
|
-
* });
|
|
444
|
-
* ```
|
|
445
|
-
*
|
|
446
|
-
* 其返回的值必须为对象,该值中的属性同 chart.tooltip() 的 itemTpl 模板相对应,返回的变量可用于 itemTpl 的字符串模板。
|
|
447
|
-
*
|
|
448
|
-
* @param field tooltip 配置信息。
|
|
449
|
-
* @returns
|
|
450
|
-
*/
|
|
451
|
-
tooltip(field: GeometryTooltipOption | boolean): Geometry;
|
|
452
|
-
/**
|
|
453
|
-
* @example
|
|
454
|
-
* ```typescript
|
|
455
|
-
* // data: [{x: 'a', y: 10}]
|
|
456
|
-
*
|
|
457
|
-
* // 等同于 tooltip({ fields: [ 'x' ] })
|
|
458
|
-
* tooltip('x');
|
|
459
|
-
*
|
|
460
|
-
* // 等同于 tooltip({ fields: [ 'x', 'y' ] })
|
|
461
|
-
* tooltip('x*y');
|
|
462
|
-
*
|
|
463
|
-
* // 等同于 tooltip({ fields: [ 'x', 'y' ], callback: (x, y) => { x, y } })
|
|
464
|
-
* tooltip('x*y', (x, y) => {
|
|
465
|
-
* return {
|
|
466
|
-
* x,
|
|
467
|
-
* y,
|
|
468
|
-
* };
|
|
469
|
-
* });
|
|
470
|
-
* ```
|
|
471
|
-
*
|
|
472
|
-
* @param field 参与映射的字段。
|
|
473
|
-
* @param cfg Optional, 回调函数
|
|
474
|
-
* @returns
|
|
475
|
-
*/
|
|
476
|
-
tooltip(field: string, cfg?: TooltipCallback): Geometry;
|
|
477
|
-
/**
|
|
478
|
-
* Geometry 动画配置。
|
|
479
|
-
*
|
|
480
|
-
* + `animate(false)` 关闭动画
|
|
481
|
-
* + `animate(true)` 开启动画,默认开启。
|
|
482
|
-
*
|
|
483
|
-
* 我们将动画分为四个场景:
|
|
484
|
-
* 1. appear: 图表第一次加载时的入场动画;
|
|
485
|
-
* 2. enter: 图表绘制完成,发生更新后,产生的新图形的进场动画;
|
|
486
|
-
* 3. update: 图表绘制完成,数据发生变更后,有状态变更的图形的更新动画;
|
|
487
|
-
* 4. leave: 图表绘制完成,数据发生变更后,被销毁图形的销毁动画。
|
|
488
|
-
*
|
|
489
|
-
* @example
|
|
490
|
-
* ```typescript
|
|
491
|
-
* animate({
|
|
492
|
-
* enter: {
|
|
493
|
-
* duration: 1000, // enter 动画执行时间
|
|
494
|
-
* },
|
|
495
|
-
* leave: false, // 关闭 leave 销毁动画
|
|
496
|
-
* });
|
|
497
|
-
* ```
|
|
498
|
-
*
|
|
499
|
-
* @param cfg 动画配置
|
|
500
|
-
* @returns
|
|
501
|
-
*/
|
|
502
|
-
animate(cfg: AnimateOption | boolean): Geometry;
|
|
503
|
-
/**
|
|
504
|
-
* Geometry label 配置。
|
|
505
|
-
*
|
|
506
|
-
* @example
|
|
507
|
-
* ```ts
|
|
508
|
-
* // data: [ {x: 1, y: 2, z: 'a'}, {x: 2, y: 2, z: 'b'} ]
|
|
509
|
-
* // 在每个图形上显示 z 字段对应的数值
|
|
510
|
-
* label({
|
|
511
|
-
* fields: [ 'z' ]
|
|
512
|
-
* });
|
|
513
|
-
*
|
|
514
|
-
* label(false); // 不展示 label
|
|
515
|
-
*
|
|
516
|
-
* // 在每个图形上显示 x 字段对应的数值,同时配置文本颜色为红色
|
|
517
|
-
* label('x', {
|
|
518
|
-
* style: {
|
|
519
|
-
* fill: 'red',
|
|
520
|
-
* },
|
|
521
|
-
* })
|
|
522
|
-
*
|
|
523
|
-
* // 以 type 类型的 label 渲染每个图形上显示 x 字段对应的数值,同时格式化文本内容
|
|
524
|
-
* label('x', (xValue) => {
|
|
525
|
-
* return {
|
|
526
|
-
* content: xValue + '%',
|
|
527
|
-
* };
|
|
528
|
-
* }, {
|
|
529
|
-
* type: 'base' // 声明 label 类型
|
|
530
|
-
* })
|
|
531
|
-
* ```
|
|
532
|
-
*
|
|
533
|
-
* @param field
|
|
534
|
-
* @returns label
|
|
535
|
-
*/
|
|
536
|
-
label(field: LabelOption | false | string): Geometry;
|
|
537
|
-
label(field: string, secondParam: GeometryLabelCfg | LabelCallback): Geometry;
|
|
538
|
-
label(field: string, secondParam: LabelCallback, thirdParam: GeometryLabelCfg): Geometry;
|
|
539
|
-
/**
|
|
540
|
-
* 设置状态对应的样式。
|
|
541
|
-
*
|
|
542
|
-
* @example
|
|
543
|
-
* ```ts
|
|
544
|
-
* chart.interval().state({
|
|
545
|
-
* selected: {
|
|
546
|
-
* animate: { duration: 100, easing: 'easeLinear' },
|
|
547
|
-
* style: {
|
|
548
|
-
* lineWidth: 2,
|
|
549
|
-
* stroke: '#000',
|
|
550
|
-
* },
|
|
551
|
-
* },
|
|
552
|
-
* });
|
|
553
|
-
* ```
|
|
554
|
-
*
|
|
555
|
-
* 如果图形 shape 是由多个 shape 组成,即为一个 G.Group 对象,那么针对 group 中的每个 shape,我们需要使用下列方式进行状态样式设置:
|
|
556
|
-
* 如果我们为 group 中的每个 shape 设置了 'name' 属性(shape.set('name', 'xx')),则以 'name' 作为 key,否则默认以索引值(即 shape 的 添加顺序)为 key。
|
|
557
|
-
*
|
|
558
|
-
* ```ts
|
|
559
|
-
* chart.interval().shape('groupShape').state({
|
|
560
|
-
* selected: {
|
|
561
|
-
* style: {
|
|
562
|
-
* 0: { lineWidth: 2 },
|
|
563
|
-
* 1: { fillOpacity: 1 },
|
|
564
|
-
* }
|
|
565
|
-
* }
|
|
566
|
-
* });
|
|
567
|
-
* ```
|
|
568
|
-
*
|
|
569
|
-
* @param cfg 状态样式
|
|
570
|
-
*/
|
|
571
|
-
state(cfg: StateOption): this;
|
|
572
|
-
/**
|
|
573
|
-
* 用于向 shape 中传入自定义的数据。目前可能仅仅可能用于在自定义 shape 的时候,像自定义 shape 中传入自定义的数据,方便实现自定义 shape 的配置能力。
|
|
574
|
-
*
|
|
575
|
-
* @example
|
|
576
|
-
* ```ts
|
|
577
|
-
* chart.interval().customInfo({ yourData: 'hello, g2!' });
|
|
578
|
-
* ```
|
|
579
|
-
*
|
|
580
|
-
* 然后在自定义 shape 的时候,可以拿到这个信息。
|
|
581
|
-
*
|
|
582
|
-
* ```ts
|
|
583
|
-
* registerShape('interval', 'your-shape', {
|
|
584
|
-
* draw(shapeInfo, container) {
|
|
585
|
-
* const { customInfo } = shapeInfo;
|
|
586
|
-
* console.log(customInfo); // will log { yourData: 'hello, g2!' }.
|
|
587
|
-
* }
|
|
588
|
-
* });
|
|
589
|
-
* ```
|
|
590
|
-
*
|
|
591
|
-
* @param cfg
|
|
592
|
-
*/
|
|
593
|
-
customInfo(cfg: any): this;
|
|
594
|
-
/**
|
|
595
|
-
* 初始化 Geomtry 实例:
|
|
596
|
-
* 创建 [[Attribute]] and [[Scale]] 实例,进行数据处理,包括分组、数值化以及数据调整。
|
|
597
|
-
*/
|
|
598
|
-
init(cfg?: InitCfg): void;
|
|
599
|
-
/**
|
|
600
|
-
* Geometry 更新。
|
|
601
|
-
* @param [cfg] 更新的配置
|
|
602
|
-
*/
|
|
603
|
-
update(cfg?: InitCfg): void;
|
|
604
|
-
/**
|
|
605
|
-
* 将原始数据映射至图形空间,同时创建图形对象。
|
|
606
|
-
*/
|
|
607
|
-
paint(isUpdate?: boolean): void;
|
|
608
|
-
/**
|
|
609
|
-
* 清空当前 Geometry,配置项仍保留,但是内部创建的对象全部清空。
|
|
610
|
-
* @override
|
|
611
|
-
*/
|
|
612
|
-
clear(): void;
|
|
613
|
-
/**
|
|
614
|
-
* 销毁 Geometry 实例。
|
|
615
|
-
*/
|
|
616
|
-
destroy(): void;
|
|
617
|
-
/**
|
|
618
|
-
* 获取决定分组的图形属性对应的 scale 实例。
|
|
619
|
-
* @returns
|
|
620
|
-
*/
|
|
621
|
-
getGroupScales(): Scale[];
|
|
622
|
-
/**
|
|
623
|
-
* 根据名字获取图形属性实例。
|
|
624
|
-
*/
|
|
625
|
-
getAttribute(name: string): Attribute;
|
|
626
|
-
/** 获取 x 轴对应的 scale 实例。 */
|
|
627
|
-
getXScale(): Scale;
|
|
628
|
-
/** 获取 y 轴对应的 scale 实例。 */
|
|
629
|
-
getYScale(): Scale;
|
|
630
|
-
/**
|
|
631
|
-
* 获取决定分组的图形属性实例。
|
|
632
|
-
*/
|
|
633
|
-
getGroupAttributes(): Attribute[];
|
|
634
|
-
/** 获取图形属性默认的映射值。 */
|
|
635
|
-
getDefaultValue(attrName: string): any;
|
|
636
|
-
/**
|
|
637
|
-
* 获取该数据发生图形映射后对应的 Attribute 图形空间数据。
|
|
638
|
-
* @param attr Attribute 图形属性实例。
|
|
639
|
-
* @param obj 需要进行映射的原始数据。
|
|
640
|
-
* @returns
|
|
641
|
-
*/
|
|
642
|
-
getAttributeValues(attr: Attribute, obj: Datum): any[];
|
|
643
|
-
/**
|
|
644
|
-
* 获取对应的 adjust 实例
|
|
645
|
-
* @param adjustType
|
|
646
|
-
* @returns
|
|
647
|
-
*/
|
|
648
|
-
getAdjust(adjustType: string): Adjust;
|
|
649
|
-
/**
|
|
650
|
-
* 获得 coordinate 实例
|
|
651
|
-
* @returns
|
|
652
|
-
*/
|
|
653
|
-
getCoordinate(): Coordinate;
|
|
654
|
-
getData(): Data;
|
|
655
|
-
/**
|
|
656
|
-
* 获取 shape 对应的 marker 样式。
|
|
657
|
-
* @param shapeName shape 具体名字
|
|
658
|
-
* @param cfg marker 信息
|
|
659
|
-
* @returns
|
|
660
|
-
*/
|
|
661
|
-
getShapeMarker(shapeName: string, cfg: ShapeMarkerCfg): ShapeMarkerAttrs;
|
|
662
|
-
/**
|
|
663
|
-
* 根据一定的规则查找 Geometry 的 Elements。
|
|
664
|
-
*
|
|
665
|
-
* ```typescript
|
|
666
|
-
* getElementsBy((element) => {
|
|
667
|
-
* const data = element.getData();
|
|
668
|
-
*
|
|
669
|
-
* return data.a === 'a';
|
|
670
|
-
* });
|
|
671
|
-
* ```
|
|
672
|
-
*
|
|
673
|
-
* @param condition 定义查找规则的回调函数。
|
|
674
|
-
* @returns
|
|
675
|
-
*/
|
|
676
|
-
getElementsBy(condition: (element: Element) => boolean): Element[];
|
|
677
|
-
/**
|
|
678
|
-
* 获取 Geometry 的所有 Elements。
|
|
679
|
-
*
|
|
680
|
-
* ```typescript
|
|
681
|
-
* getElements();
|
|
682
|
-
* ```
|
|
683
|
-
*/
|
|
684
|
-
getElements(): Element[];
|
|
685
|
-
/**
|
|
686
|
-
* 获取数据对应的唯一 id。
|
|
687
|
-
* @param data Element 对应的绘制数据
|
|
688
|
-
* @returns
|
|
689
|
-
*/
|
|
690
|
-
getElementId(data: MappingDatum | MappingDatum[]): any;
|
|
691
|
-
/**
|
|
692
|
-
* 获取所有需要创建 scale 的字段名称。
|
|
693
|
-
*/
|
|
694
|
-
getScaleFields(): string[];
|
|
695
|
-
/**
|
|
696
|
-
* 显示或者隐藏 geometry。
|
|
697
|
-
* @param visible
|
|
698
|
-
*/
|
|
699
|
-
changeVisible(visible: boolean): void;
|
|
700
|
-
/**
|
|
701
|
-
* 获得所有的字段
|
|
702
|
-
*/
|
|
703
|
-
getFields(): any[];
|
|
704
|
-
/**
|
|
705
|
-
* 获取当前配置中的所有分组 & 分类的字段。
|
|
706
|
-
* @return fields string[]
|
|
707
|
-
*/
|
|
708
|
-
getGroupFields(): string[];
|
|
709
|
-
/**
|
|
710
|
-
* 获得图形的 x y 字段。
|
|
711
|
-
*/
|
|
712
|
-
getXYFields(): string[];
|
|
713
|
-
/**
|
|
714
|
-
* x 字段
|
|
715
|
-
* @returns
|
|
716
|
-
*/
|
|
717
|
-
getXField(): string;
|
|
718
|
-
/**
|
|
719
|
-
* y 字段
|
|
720
|
-
* @returns
|
|
721
|
-
*/
|
|
722
|
-
getYField(): string;
|
|
723
|
-
/**
|
|
724
|
-
* 获取该 Geometry 下所有生成的 shapes。
|
|
725
|
-
* @returns shapes
|
|
726
|
-
*/
|
|
727
|
-
getShapes(): (IShape | IGroup)[];
|
|
728
|
-
/**
|
|
729
|
-
* 获取虚拟 Group。
|
|
730
|
-
* @returns
|
|
731
|
-
*/
|
|
732
|
-
getOffscreenGroup(): IGroup;
|
|
733
|
-
sort(mappingArray: Data[]): void;
|
|
734
|
-
/**
|
|
735
|
-
* 调整度量范围。主要针对发生层叠以及一些特殊需求的 Geometry,比如 Interval 下的柱状图 Y 轴默认从 0 开始。
|
|
736
|
-
*/
|
|
737
|
-
protected adjustScale(): void;
|
|
738
|
-
/**
|
|
739
|
-
* 获取当前 Geometry 对应的 Shape 工厂实例。
|
|
740
|
-
*/
|
|
741
|
-
protected getShapeFactory(): ShapeFactory;
|
|
742
|
-
/**
|
|
743
|
-
* 获取每个 Shape 对应的关键点数据。
|
|
744
|
-
* @param obj 经过分组 -> 数字化 -> adjust 调整后的数据记录
|
|
745
|
-
* @returns
|
|
746
|
-
*/
|
|
747
|
-
protected createShapePointsCfg(obj: Datum): S;
|
|
748
|
-
/**
|
|
749
|
-
* 创建 Element 实例。
|
|
750
|
-
* @param mappingDatum Element 对应的绘制数据
|
|
751
|
-
* @param [isUpdate] 是否处于更新阶段
|
|
752
|
-
* @returns element 返回创建的 Element 实例
|
|
753
|
-
*/
|
|
754
|
-
protected createElement(mappingDatum: MappingDatum, index: number, isUpdate?: boolean): Element;
|
|
755
|
-
/**
|
|
756
|
-
* 获取每条数据对应的图形绘制数据。
|
|
757
|
-
* @param mappingDatum 映射后的数据
|
|
758
|
-
* @returns draw cfg
|
|
759
|
-
*/
|
|
760
|
-
protected getDrawCfg(mappingDatum: MappingDatum): ShapeInfo;
|
|
761
|
-
protected updateElements(mappingDataArray: MappingDatum[][], isUpdate?: boolean): void;
|
|
762
|
-
/**
|
|
763
|
-
* 获取渲染的 label 类型。
|
|
764
|
-
*/
|
|
765
|
-
protected getLabelType(): string;
|
|
766
|
-
/**
|
|
767
|
-
* 获取 Y 轴上的最小值。
|
|
768
|
-
*/
|
|
769
|
-
protected getYMinValue(): number;
|
|
770
|
-
protected createAttrOption(attrName: string, field: AttributeOption | string | number, cfg?: any): void;
|
|
771
|
-
protected initAttributes(): void;
|
|
772
|
-
private processData;
|
|
773
|
-
private adjustData;
|
|
774
|
-
private groupData;
|
|
775
|
-
private updateStackRange;
|
|
776
|
-
private beforeMapping;
|
|
777
|
-
private generateShapePoints;
|
|
778
|
-
private normalizeValues;
|
|
779
|
-
private mapping;
|
|
780
|
-
private convertPoint;
|
|
781
|
-
private getStyleCfg;
|
|
782
|
-
private setCfg;
|
|
783
|
-
private renderLabels;
|
|
784
|
-
/**
|
|
785
|
-
* 是否需要进行群组入场动画
|
|
786
|
-
* 规则:
|
|
787
|
-
* 1. 如果发生更新,则不进行
|
|
788
|
-
* 2. 如果用户关闭 geometry 动画,则不进行
|
|
789
|
-
* 3. 如果用户关闭了 appear 动画,则不进行
|
|
790
|
-
* 4. 如果用户配置了 appear.animation,则不进行
|
|
791
|
-
*/
|
|
792
|
-
private canDoGroupAnimation;
|
|
793
|
-
}
|