@visactor/vchart 1.8.9 → 1.8.10
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/build/es5/index.js +1 -1
- package/build/index.js +515 -566
- package/build/index.min.js +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/cjs/animation/utils.js +6 -1
- package/cjs/animation/utils.js.map +1 -1
- package/cjs/chart/area/area.js +3 -4
- package/cjs/chart/area/area.js.map +1 -1
- package/cjs/chart/bar/3d/bar-3d.js +3 -3
- package/cjs/chart/bar/3d/bar-3d.js.map +1 -1
- package/cjs/chart/bar/bar.js +3 -4
- package/cjs/chart/bar/bar.js.map +1 -1
- package/cjs/chart/base/base-chart.js +4 -4
- package/cjs/chart/base/base-chart.js.map +1 -1
- package/cjs/chart/box-plot/box-plot-transformer.js +3 -3
- package/cjs/chart/box-plot/box-plot-transformer.js.map +1 -1
- package/cjs/chart/box-plot/box-plot.js +4 -5
- package/cjs/chart/box-plot/box-plot.js.map +1 -1
- package/cjs/chart/circle-packing/circle-packing.js +3 -3
- package/cjs/chart/circle-packing/circle-packing.js.map +1 -1
- package/cjs/chart/common/common.js +4 -4
- package/cjs/chart/common/common.js.map +1 -1
- package/cjs/chart/correlation/correlation.js +4 -4
- package/cjs/chart/correlation/correlation.js.map +1 -1
- package/cjs/chart/funnel/3d/funnel-3d.js +4 -5
- package/cjs/chart/funnel/3d/funnel-3d.js.map +1 -1
- package/cjs/chart/funnel/funnel.js +4 -5
- package/cjs/chart/funnel/funnel.js.map +1 -1
- package/cjs/chart/gauge/gauge.js +3 -3
- package/cjs/chart/gauge/gauge.js.map +1 -1
- package/cjs/chart/heatmap/heatmap.js +4 -5
- package/cjs/chart/heatmap/heatmap.js.map +1 -1
- package/cjs/chart/histogram/3d/histogram-3d.js +3 -3
- package/cjs/chart/histogram/3d/histogram-3d.js.map +1 -1
- package/cjs/chart/histogram/histogram.js +4 -5
- package/cjs/chart/histogram/histogram.js.map +1 -1
- package/cjs/chart/interface/type.d.ts +1 -1
- package/cjs/chart/interface/type.js.map +1 -1
- package/cjs/chart/line/line.js +3 -4
- package/cjs/chart/line/line.js.map +1 -1
- package/cjs/chart/map/map.js +3 -3
- package/cjs/chart/map/map.js.map +1 -1
- package/cjs/chart/pie/3d/pie-3d.js +3 -3
- package/cjs/chart/pie/3d/pie-3d.js.map +1 -1
- package/cjs/chart/pie/pie.js +3 -3
- package/cjs/chart/pie/pie.js.map +1 -1
- package/cjs/chart/polar/polar-transformer.js +2 -2
- package/cjs/chart/polar/polar-transformer.js.map +1 -1
- package/cjs/chart/progress/circular/circular.js +3 -3
- package/cjs/chart/progress/circular/circular.js.map +1 -1
- package/cjs/chart/progress/linear/linear.js +3 -3
- package/cjs/chart/progress/linear/linear.js.map +1 -1
- package/cjs/chart/radar/radar.js +3 -4
- package/cjs/chart/radar/radar.js.map +1 -1
- package/cjs/chart/range-area/range-area-transformer.js +2 -2
- package/cjs/chart/range-area/range-area-transformer.js.map +1 -1
- package/cjs/chart/range-area/range-area.js +4 -5
- package/cjs/chart/range-area/range-area.js.map +1 -1
- package/cjs/chart/range-column/3d/range-column-3d-transformer.js +2 -2
- package/cjs/chart/range-column/3d/range-column-3d-transformer.js.map +1 -1
- package/cjs/chart/range-column/3d/range-column-3d.js +4 -4
- package/cjs/chart/range-column/3d/range-column-3d.js.map +1 -1
- package/cjs/chart/range-column/range-column-transformer.js +2 -2
- package/cjs/chart/range-column/range-column-transformer.js.map +1 -1
- package/cjs/chart/range-column/range-column.js +4 -4
- package/cjs/chart/range-column/range-column.js.map +1 -1
- package/cjs/chart/rose/rose.js +3 -4
- package/cjs/chart/rose/rose.js.map +1 -1
- package/cjs/chart/sankey/sankey.js +4 -5
- package/cjs/chart/sankey/sankey.js.map +1 -1
- package/cjs/chart/scatter/scatter.js +4 -6
- package/cjs/chart/scatter/scatter.js.map +1 -1
- package/cjs/chart/sequence/sequence-transformer.js +3 -3
- package/cjs/chart/sequence/sequence-transformer.js.map +1 -1
- package/cjs/chart/sequence/sequence.js +4 -4
- package/cjs/chart/sequence/sequence.js.map +1 -1
- package/cjs/chart/sunburst/sunburst.js +4 -5
- package/cjs/chart/sunburst/sunburst.js.map +1 -1
- package/cjs/chart/treemap/treemap.js +4 -5
- package/cjs/chart/treemap/treemap.js.map +1 -1
- package/cjs/chart/util.js +2 -2
- package/cjs/chart/util.js.map +1 -1
- package/cjs/chart/waterfall/waterfall.js +4 -5
- package/cjs/chart/waterfall/waterfall.js.map +1 -1
- package/cjs/chart/word-cloud/3d/word-cloud-3d.js +3 -3
- package/cjs/chart/word-cloud/3d/word-cloud-3d.js.map +1 -1
- package/cjs/chart/word-cloud/base/base.js +2 -2
- package/cjs/chart/word-cloud/base/base.js.map +1 -1
- package/cjs/chart/word-cloud/word-cloud.js +4 -5
- package/cjs/chart/word-cloud/word-cloud.js.map +1 -1
- package/cjs/compile/grammar-item.js +2 -1
- package/cjs/compile/mark/interface.d.ts +0 -9
- package/cjs/compile/mark/interface.js +3 -10
- package/cjs/compile/mark/interface.js.map +1 -1
- package/cjs/component/axis/cartesian/axis.d.ts +8 -1
- package/cjs/component/axis/cartesian/axis.js +36 -14
- package/cjs/component/axis/cartesian/axis.js.map +1 -1
- package/cjs/component/axis/cartesian/interface/spec.d.ts +19 -3
- package/cjs/component/axis/cartesian/interface/spec.js.map +1 -1
- package/cjs/component/axis/cartesian/util/common.js +3 -3
- package/cjs/component/axis/cartesian/util/common.js.map +1 -1
- package/cjs/component/axis/mixin/band-axis-mixin.js +1 -0
- package/cjs/component/axis/mixin/band-axis-mixin.js.map +1 -1
- package/cjs/component/axis/mixin/linear-axis-mixin.js +3 -3
- package/cjs/component/axis/mixin/linear-axis-mixin.js.map +1 -1
- package/cjs/component/axis/polar/axis.js +19 -11
- package/cjs/component/axis/polar/axis.js.map +1 -1
- package/cjs/component/crosshair/cartesian.js +8 -8
- package/cjs/component/crosshair/cartesian.js.map +1 -1
- package/cjs/component/crosshair/config.d.ts +1 -1
- package/cjs/component/crosshair/config.js.map +1 -1
- package/cjs/component/crosshair/polar.js +9 -9
- package/cjs/component/crosshair/polar.js.map +1 -1
- package/cjs/component/data-zoom/constant.d.ts +1 -1
- package/cjs/component/data-zoom/constant.js.map +1 -1
- package/cjs/component/data-zoom/data-filter-base-component.js +8 -8
- package/cjs/component/data-zoom/data-filter-base-component.js.map +1 -1
- package/cjs/component/data-zoom/data-zoom/data-zoom.js +3 -3
- package/cjs/component/data-zoom/data-zoom/data-zoom.js.map +1 -1
- package/cjs/component/data-zoom/scroll-bar/scroll-bar.js +3 -3
- package/cjs/component/data-zoom/scroll-bar/scroll-bar.js.map +1 -1
- package/cjs/component/data-zoom/util.js +2 -3
- package/cjs/component/data-zoom/util.js.map +1 -1
- package/cjs/component/label/label.js +4 -4
- package/cjs/component/label/label.js.map +1 -1
- package/cjs/component/label/total-label.js +4 -4
- package/cjs/component/label/total-label.js.map +1 -1
- package/cjs/component/label/util.js +4 -4
- package/cjs/component/label/util.js.map +1 -1
- package/cjs/component/legend/util.d.ts +1 -1
- package/cjs/component/marker/base-marker.d.ts +5 -1
- package/cjs/component/marker/base-marker.js.map +1 -1
- package/cjs/component/marker/mark-area/mark-area.js +7 -3
- package/cjs/component/marker/mark-area/mark-area.js.map +1 -1
- package/cjs/component/marker/mark-line/mark-line.js +6 -2
- package/cjs/component/marker/mark-line/mark-line.js.map +1 -1
- package/cjs/component/marker/mark-point/mark-point.js +6 -2
- package/cjs/component/marker/mark-point/mark-point.js.map +1 -1
- package/cjs/component/marker/utils.js +2 -2
- package/cjs/component/marker/utils.js.map +1 -1
- package/cjs/component/tooltip/handler/base.js +15 -15
- package/cjs/component/tooltip/handler/base.js.map +1 -1
- package/cjs/component/tooltip/handler/dom/model/shape-model.js +15 -10
- package/cjs/component/tooltip/handler/dom/model/shape-model.js.map +1 -1
- package/cjs/component/tooltip/handler/utils/position.js +14 -14
- package/cjs/component/tooltip/handler/utils/position.js.map +1 -1
- package/cjs/component/util.js +1 -2
- package/cjs/core/factory.js +2 -3
- package/cjs/core/factory.js.map +1 -1
- package/cjs/core/index.d.ts +1 -1
- package/cjs/core/index.js +1 -1
- package/cjs/core/index.js.map +1 -1
- package/cjs/data/transforms/marker-filter.d.ts +5 -0
- package/cjs/data/transforms/marker-filter.js +17 -0
- package/cjs/data/transforms/marker-filter.js.map +1 -0
- package/cjs/event/event-dispatcher.js +2 -1
- package/cjs/event/events/dimension/util/cartesian.js +2 -2
- package/cjs/event/events/dimension/util/cartesian.js.map +1 -1
- package/cjs/event/index.js +1 -2
- package/cjs/interaction/drill/drillable.d.ts +1 -1
- package/cjs/interaction/drill/drillable.js +2 -2
- package/cjs/interaction/drill/drillable.js.map +1 -1
- package/cjs/interaction/zoom/zoomable.d.ts +1 -1
- package/cjs/interaction/zoom/zoomable.js +10 -10
- package/cjs/interaction/zoom/zoomable.js.map +1 -1
- package/cjs/layout/interface.d.ts +0 -1
- package/cjs/layout/interface.js.map +1 -1
- package/cjs/mark/arc-3d.js +2 -2
- package/cjs/mark/arc-3d.js.map +1 -1
- package/cjs/mark/arc.js +2 -2
- package/cjs/mark/arc.js.map +1 -1
- package/cjs/mark/area.js +2 -2
- package/cjs/mark/area.js.map +1 -1
- package/cjs/mark/box-plot.js +2 -2
- package/cjs/mark/box-plot.js.map +1 -1
- package/cjs/mark/cell.js +2 -2
- package/cjs/mark/cell.js.map +1 -1
- package/cjs/mark/component.js +2 -2
- package/cjs/mark/component.js.map +1 -1
- package/cjs/mark/group.js +2 -2
- package/cjs/mark/group.js.map +1 -1
- package/cjs/mark/image.js +2 -2
- package/cjs/mark/image.js.map +1 -1
- package/cjs/mark/interface/type.d.ts +1 -1
- package/cjs/mark/interface/type.js.map +1 -1
- package/cjs/mark/label.js +2 -2
- package/cjs/mark/label.js.map +1 -1
- package/cjs/mark/line.js +2 -2
- package/cjs/mark/line.js.map +1 -1
- package/cjs/mark/link-path.js +2 -2
- package/cjs/mark/link-path.js.map +1 -1
- package/cjs/mark/path.js +2 -2
- package/cjs/mark/path.js.map +1 -1
- package/cjs/mark/polygon/polygon.js +2 -2
- package/cjs/mark/polygon/polygon.js.map +1 -1
- package/cjs/mark/polygon/pyramid-3d.js +2 -2
- package/cjs/mark/polygon/pyramid-3d.js.map +1 -1
- package/cjs/mark/progress-arc.js +2 -3
- package/cjs/mark/progress-arc.js.map +1 -1
- package/cjs/mark/rect-3d.js +2 -2
- package/cjs/mark/rect-3d.js.map +1 -1
- package/cjs/mark/rect.js +2 -2
- package/cjs/mark/rect.js.map +1 -1
- package/cjs/mark/ripple.js +2 -2
- package/cjs/mark/ripple.js.map +1 -1
- package/cjs/mark/rule.js +2 -2
- package/cjs/mark/rule.js.map +1 -1
- package/cjs/mark/symbol.js +3 -3
- package/cjs/mark/symbol.js.map +1 -1
- package/cjs/mark/text.js +2 -2
- package/cjs/mark/text.js.map +1 -1
- package/cjs/mark/utils/common.js +3 -7
- package/cjs/mark/utils/common.js.map +1 -1
- package/cjs/region/region.js +6 -6
- package/cjs/region/region.js.map +1 -1
- package/cjs/series/area/animation.js +3 -3
- package/cjs/series/area/animation.js.map +1 -1
- package/cjs/series/area/area-transformer.js +3 -3
- package/cjs/series/area/area-transformer.js.map +1 -1
- package/cjs/series/area/area.js +6 -6
- package/cjs/series/area/area.js.map +1 -1
- package/cjs/series/area/constant.js +4 -4
- package/cjs/series/area/constant.js.map +1 -1
- package/cjs/series/bar/animation.js +3 -3
- package/cjs/series/bar/animation.js.map +1 -1
- package/cjs/series/bar/bar-3d.js +4 -4
- package/cjs/series/bar/bar-3d.js.map +1 -1
- package/cjs/series/bar/bar-transformer.js +2 -2
- package/cjs/series/bar/bar-transformer.js.map +1 -1
- package/cjs/series/bar/bar.js +15 -15
- package/cjs/series/bar/bar.js.map +1 -1
- package/cjs/series/bar/constant.js +10 -10
- package/cjs/series/bar/constant.js.map +1 -1
- package/cjs/series/base/base-series.js +9 -5
- package/cjs/series/base/base-series.js.map +1 -1
- package/cjs/series/base/constant.js +4 -4
- package/cjs/series/base/constant.js.map +1 -1
- package/cjs/series/box-plot/box-plot.js +7 -7
- package/cjs/series/box-plot/box-plot.js.map +1 -1
- package/cjs/series/box-plot/constant.js +7 -7
- package/cjs/series/box-plot/constant.js.map +1 -1
- package/cjs/series/cartesian/cartesian.js +9 -10
- package/cjs/series/cartesian/cartesian.js.map +1 -1
- package/cjs/series/circle-packing/circle-packing.js +3 -3
- package/cjs/series/circle-packing/circle-packing.js.map +1 -1
- package/cjs/series/circle-packing/constant.js +4 -4
- package/cjs/series/circle-packing/constant.js.map +1 -1
- package/cjs/series/correlation/constant.js +13 -13
- package/cjs/series/correlation/constant.js.map +1 -1
- package/cjs/series/correlation/correlation-transformer.js +2 -2
- package/cjs/series/correlation/correlation-transformer.js.map +1 -1
- package/cjs/series/correlation/correlation.js +1 -1
- package/cjs/series/correlation/correlation.js.map +1 -1
- package/cjs/series/dot/constant.js +22 -22
- package/cjs/series/dot/constant.js.map +1 -1
- package/cjs/series/dot/dot.js +4 -4
- package/cjs/series/dot/dot.js.map +1 -1
- package/cjs/series/funnel/3d/funnel-3d-transformer.js +2 -2
- package/cjs/series/funnel/3d/funnel-3d-transformer.js.map +1 -1
- package/cjs/series/funnel/3d/funnel-3d.js +5 -5
- package/cjs/series/funnel/3d/funnel-3d.js.map +1 -1
- package/cjs/series/funnel/constant.js +31 -31
- package/cjs/series/funnel/constant.js.map +1 -1
- package/cjs/series/funnel/funnel-transformer.js +2 -2
- package/cjs/series/funnel/funnel-transformer.js.map +1 -1
- package/cjs/series/funnel/funnel.js +7 -7
- package/cjs/series/funnel/funnel.js.map +1 -1
- package/cjs/series/funnel/tooltip-helper.js +4 -4
- package/cjs/series/funnel/tooltip-helper.js.map +1 -1
- package/cjs/series/gauge/constant.js +16 -16
- package/cjs/series/gauge/constant.js.map +1 -1
- package/cjs/series/gauge/gauge-pointer.js +6 -6
- package/cjs/series/gauge/gauge-pointer.js.map +1 -1
- package/cjs/series/gauge/gauge-transformer.js +2 -2
- package/cjs/series/gauge/gauge-transformer.js.map +1 -1
- package/cjs/series/gauge/gauge.js +1 -1
- package/cjs/series/gauge/gauge.js.map +1 -1
- package/cjs/series/heatmap/constant.js +7 -7
- package/cjs/series/heatmap/constant.js.map +1 -1
- package/cjs/series/heatmap/heatmap-transformer.js +2 -2
- package/cjs/series/heatmap/heatmap-transformer.js.map +1 -1
- package/cjs/series/heatmap/heatmap.js +1 -1
- package/cjs/series/heatmap/heatmap.js.map +1 -1
- package/cjs/series/interface/type.d.ts +1 -2
- package/cjs/series/interface/type.js +2 -4
- package/cjs/series/interface/type.js.map +1 -1
- package/cjs/series/line/animation.js +3 -3
- package/cjs/series/line/animation.js.map +1 -1
- package/cjs/series/line/line.js +2 -2
- package/cjs/series/line/line.js.map +1 -1
- package/cjs/series/link/constant.js +10 -10
- package/cjs/series/link/constant.js.map +1 -1
- package/cjs/series/link/link.js +2 -2
- package/cjs/series/link/link.js.map +1 -1
- package/cjs/series/map/constant.js +4 -4
- package/cjs/series/map/constant.js.map +1 -1
- package/cjs/series/map/map-transformer.js +2 -2
- package/cjs/series/map/map-transformer.js.map +1 -1
- package/cjs/series/map/map.js +1 -1
- package/cjs/series/map/map.js.map +1 -1
- package/cjs/series/mixin/constant.js +7 -11
- package/cjs/series/mixin/constant.js.map +1 -1
- package/cjs/series/mixin/line-mixin-transformer.js +3 -3
- package/cjs/series/mixin/line-mixin-transformer.js.map +1 -1
- package/cjs/series/mixin/line-mixin.js +6 -6
- package/cjs/series/mixin/line-mixin.js.map +1 -1
- package/cjs/series/pie/3d/pie-3d-transformer.js +2 -2
- package/cjs/series/pie/3d/pie-3d-transformer.js.map +1 -1
- package/cjs/series/pie/3d/pie-3d.js +4 -4
- package/cjs/series/pie/3d/pie-3d.js.map +1 -1
- package/cjs/series/pie/constant.js +13 -13
- package/cjs/series/pie/constant.js.map +1 -1
- package/cjs/series/pie/pie-transformer.js +2 -2
- package/cjs/series/pie/pie-transformer.js.map +1 -1
- package/cjs/series/pie/pie.js +7 -7
- package/cjs/series/pie/pie.js.map +1 -1
- package/cjs/series/polar/progress-like/constant.js +4 -4
- package/cjs/series/polar/progress-like/constant.js.map +1 -1
- package/cjs/series/progress/circular/circular.js +2 -2
- package/cjs/series/progress/circular/circular.js.map +1 -1
- package/cjs/series/progress/circular/constant.js +7 -7
- package/cjs/series/progress/circular/constant.js.map +1 -1
- package/cjs/series/progress/linear/animation.js +3 -3
- package/cjs/series/progress/linear/animation.js.map +1 -1
- package/cjs/series/progress/linear/constant.js +10 -10
- package/cjs/series/progress/linear/constant.js.map +1 -1
- package/cjs/series/progress/linear/linear.js +2 -2
- package/cjs/series/progress/linear/linear.js.map +1 -1
- package/cjs/series/radar/constant.js +4 -4
- package/cjs/series/radar/constant.js.map +1 -1
- package/cjs/series/radar/radar.js +1 -1
- package/cjs/series/radar/radar.js.map +1 -1
- package/cjs/series/range-area/range-area.js +3 -3
- package/cjs/series/range-area/range-area.js.map +1 -1
- package/cjs/series/range-area/tooltip-helper.js +2 -2
- package/cjs/series/range-area/tooltip-helper.js.map +1 -1
- package/cjs/series/range-column/3d/range-column-3d-transformer.js +2 -2
- package/cjs/series/range-column/3d/range-column-3d-transformer.js.map +1 -1
- package/cjs/series/range-column/3d/range-column-3d.js +4 -4
- package/cjs/series/range-column/3d/range-column-3d.js.map +1 -1
- package/cjs/series/range-column/constant.js +13 -13
- package/cjs/series/range-column/constant.js.map +1 -1
- package/cjs/series/range-column/interface.d.ts +2 -2
- package/cjs/series/range-column/interface.js.map +1 -1
- package/cjs/series/range-column/range-column-transformer.js +2 -2
- package/cjs/series/range-column/range-column-transformer.js.map +1 -1
- package/cjs/series/range-column/range-column.js +11 -11
- package/cjs/series/range-column/range-column.js.map +1 -1
- package/cjs/series/range-column/tooltip-helper.js +2 -2
- package/cjs/series/range-column/tooltip-helper.js.map +1 -1
- package/cjs/series/rose/constant.js +4 -4
- package/cjs/series/rose/constant.js.map +1 -1
- package/cjs/series/rose/rose-transformer.js +2 -2
- package/cjs/series/rose/rose-transformer.js.map +1 -1
- package/cjs/series/rose/rose.js +1 -1
- package/cjs/series/rose/rose.js.map +1 -1
- package/cjs/series/sankey/animation.js +5 -5
- package/cjs/series/sankey/animation.js.map +1 -1
- package/cjs/series/sankey/constant.js +7 -7
- package/cjs/series/sankey/constant.js.map +1 -1
- package/cjs/series/sankey/sankey.js +3 -3
- package/cjs/series/sankey/sankey.js.map +1 -1
- package/cjs/series/scatter/constant.js +4 -4
- package/cjs/series/scatter/constant.js.map +1 -1
- package/cjs/series/scatter/scatter-transformer.js +2 -2
- package/cjs/series/scatter/scatter-transformer.js.map +1 -1
- package/cjs/series/scatter/scatter.js +1 -1
- package/cjs/series/scatter/scatter.js.map +1 -1
- package/cjs/series/sunburst/constant.js +4 -4
- package/cjs/series/sunburst/constant.js.map +1 -1
- package/cjs/series/sunburst/sunburst.js +3 -3
- package/cjs/series/sunburst/sunburst.js.map +1 -1
- package/cjs/series/treemap/constant.js +10 -10
- package/cjs/series/treemap/constant.js.map +1 -1
- package/cjs/series/treemap/treemap-transform.js +3 -3
- package/cjs/series/treemap/treemap-transform.js.map +1 -1
- package/cjs/series/treemap/treemap.js +7 -7
- package/cjs/series/treemap/treemap.js.map +1 -1
- package/cjs/series/util/label-mark.js +5 -5
- package/cjs/series/util/label-mark.js.map +1 -1
- package/cjs/series/waterfall/constant.js +7 -7
- package/cjs/series/waterfall/constant.js.map +1 -1
- package/cjs/series/waterfall/waterfall-transformer.js +2 -2
- package/cjs/series/waterfall/waterfall-transformer.js.map +1 -1
- package/cjs/series/waterfall/waterfall.js +6 -6
- package/cjs/series/waterfall/waterfall.js.map +1 -1
- package/cjs/series/word-cloud/base.js +2 -2
- package/cjs/series/word-cloud/base.js.map +1 -1
- package/cjs/series/word-cloud/constant.js +7 -7
- package/cjs/series/word-cloud/constant.js.map +1 -1
- package/cjs/series/word-cloud/interface.d.ts +2 -11
- package/cjs/series/word-cloud/interface.js +1 -8
- package/cjs/series/word-cloud/interface.js.map +1 -1
- package/cjs/series/word-cloud/word-cloud-3d.js +2 -2
- package/cjs/series/word-cloud/word-cloud-3d.js.map +1 -1
- package/cjs/theme/builtin/common/series/rangeColumn.js +3 -7
- package/cjs/theme/builtin/common/series/rangeColumn.js.map +1 -1
- package/cjs/typings/shape.d.ts +0 -21
- package/cjs/typings/shape.js +1 -12
- package/cjs/typings/shape.js.map +1 -1
- package/cjs/typings/space.d.ts +1 -1
- package/cjs/typings/space.js.map +1 -1
- package/cjs/typings/tooltip/position.d.ts +2 -2
- package/cjs/typings/tooltip/position.js.map +1 -1
- package/esm/animation/utils.js +6 -1
- package/esm/animation/utils.js.map +1 -1
- package/esm/chart/area/area.js +3 -5
- package/esm/chart/area/area.js.map +1 -1
- package/esm/chart/bar/3d/bar-3d.js +3 -5
- package/esm/chart/bar/3d/bar-3d.js.map +1 -1
- package/esm/chart/bar/bar.js +2 -4
- package/esm/chart/bar/bar.js.map +1 -1
- package/esm/chart/base/base-chart.js +1 -3
- package/esm/chart/base/base-chart.js.map +1 -1
- package/esm/chart/box-plot/box-plot-transformer.js +2 -4
- package/esm/chart/box-plot/box-plot-transformer.js.map +1 -1
- package/esm/chart/box-plot/box-plot.js +2 -4
- package/esm/chart/box-plot/box-plot.js.map +1 -1
- package/esm/chart/circle-packing/circle-packing.js +2 -4
- package/esm/chart/circle-packing/circle-packing.js.map +1 -1
- package/esm/chart/common/common.js +2 -4
- package/esm/chart/common/common.js.map +1 -1
- package/esm/chart/correlation/correlation.js +2 -4
- package/esm/chart/correlation/correlation.js.map +1 -1
- package/esm/chart/funnel/3d/funnel-3d.js +2 -4
- package/esm/chart/funnel/3d/funnel-3d.js.map +1 -1
- package/esm/chart/funnel/funnel.js +3 -5
- package/esm/chart/funnel/funnel.js.map +1 -1
- package/esm/chart/gauge/gauge.js +2 -4
- package/esm/chart/gauge/gauge.js.map +1 -1
- package/esm/chart/heatmap/heatmap.js +2 -4
- package/esm/chart/heatmap/heatmap.js.map +1 -1
- package/esm/chart/histogram/3d/histogram-3d.js +2 -4
- package/esm/chart/histogram/3d/histogram-3d.js.map +1 -1
- package/esm/chart/histogram/histogram.js +2 -4
- package/esm/chart/histogram/histogram.js.map +1 -1
- package/esm/chart/interface/type.d.ts +1 -1
- package/esm/chart/interface/type.js.map +1 -1
- package/esm/chart/line/line.js +3 -5
- package/esm/chart/line/line.js.map +1 -1
- package/esm/chart/map/map.js +2 -4
- package/esm/chart/map/map.js.map +1 -1
- package/esm/chart/pie/3d/pie-3d.js +3 -5
- package/esm/chart/pie/3d/pie-3d.js.map +1 -1
- package/esm/chart/pie/pie.js +2 -4
- package/esm/chart/pie/pie.js.map +1 -1
- package/esm/chart/polar/polar-transformer.js +1 -3
- package/esm/chart/polar/polar-transformer.js.map +1 -1
- package/esm/chart/progress/circular/circular.js +2 -4
- package/esm/chart/progress/circular/circular.js.map +1 -1
- package/esm/chart/progress/linear/linear.js +2 -5
- package/esm/chart/progress/linear/linear.js.map +1 -1
- package/esm/chart/radar/radar.js +3 -5
- package/esm/chart/radar/radar.js.map +1 -1
- package/esm/chart/range-area/range-area-transformer.js +1 -3
- package/esm/chart/range-area/range-area-transformer.js.map +1 -1
- package/esm/chart/range-area/range-area.js +2 -4
- package/esm/chart/range-area/range-area.js.map +1 -1
- package/esm/chart/range-column/3d/range-column-3d-transformer.js +1 -3
- package/esm/chart/range-column/3d/range-column-3d-transformer.js.map +1 -1
- package/esm/chart/range-column/3d/range-column-3d.js +2 -4
- package/esm/chart/range-column/3d/range-column-3d.js.map +1 -1
- package/esm/chart/range-column/range-column-transformer.js +1 -3
- package/esm/chart/range-column/range-column-transformer.js.map +1 -1
- package/esm/chart/range-column/range-column.js +2 -4
- package/esm/chart/range-column/range-column.js.map +1 -1
- package/esm/chart/rose/rose.js +3 -5
- package/esm/chart/rose/rose.js.map +1 -1
- package/esm/chart/sankey/sankey.js +3 -5
- package/esm/chart/sankey/sankey.js.map +1 -1
- package/esm/chart/scatter/scatter.js +2 -4
- package/esm/chart/scatter/scatter.js.map +1 -1
- package/esm/chart/sequence/sequence-transformer.js +2 -4
- package/esm/chart/sequence/sequence-transformer.js.map +1 -1
- package/esm/chart/sequence/sequence.js +2 -5
- package/esm/chart/sequence/sequence.js.map +1 -1
- package/esm/chart/sunburst/sunburst.js +2 -4
- package/esm/chart/sunburst/sunburst.js.map +1 -1
- package/esm/chart/treemap/treemap.js +2 -4
- package/esm/chart/treemap/treemap.js.map +1 -1
- package/esm/chart/util.js +1 -3
- package/esm/chart/util.js.map +1 -1
- package/esm/chart/waterfall/waterfall.js +2 -4
- package/esm/chart/waterfall/waterfall.js.map +1 -1
- package/esm/chart/word-cloud/3d/word-cloud-3d.js +2 -4
- package/esm/chart/word-cloud/3d/word-cloud-3d.js.map +1 -1
- package/esm/chart/word-cloud/base/base.js +1 -3
- package/esm/chart/word-cloud/base/base.js.map +1 -1
- package/esm/chart/word-cloud/word-cloud.js +2 -4
- package/esm/chart/word-cloud/word-cloud.js.map +1 -1
- package/esm/compile/grammar-item.js +2 -1
- package/esm/compile/mark/interface.d.ts +0 -9
- package/esm/compile/mark/interface.js +0 -9
- package/esm/compile/mark/interface.js.map +1 -1
- package/esm/component/axis/cartesian/axis.d.ts +8 -1
- package/esm/component/axis/cartesian/axis.js +34 -15
- package/esm/component/axis/cartesian/axis.js.map +1 -1
- package/esm/component/axis/cartesian/interface/spec.d.ts +19 -3
- package/esm/component/axis/cartesian/interface/spec.js.map +1 -1
- package/esm/component/axis/cartesian/util/common.js +1 -3
- package/esm/component/axis/cartesian/util/common.js.map +1 -1
- package/esm/component/axis/mixin/band-axis-mixin.js +1 -0
- package/esm/component/axis/mixin/band-axis-mixin.js.map +1 -1
- package/esm/component/axis/mixin/linear-axis-mixin.js +3 -3
- package/esm/component/axis/mixin/linear-axis-mixin.js.map +1 -1
- package/esm/component/axis/polar/axis.js +19 -10
- package/esm/component/axis/polar/axis.js.map +1 -1
- package/esm/component/crosshair/cartesian.js +7 -9
- package/esm/component/crosshair/cartesian.js.map +1 -1
- package/esm/component/crosshair/config.d.ts +1 -1
- package/esm/component/crosshair/config.js.map +1 -1
- package/esm/component/crosshair/polar.js +7 -9
- package/esm/component/crosshair/polar.js.map +1 -1
- package/esm/component/data-zoom/constant.d.ts +1 -1
- package/esm/component/data-zoom/constant.js.map +1 -1
- package/esm/component/data-zoom/data-filter-base-component.js +5 -9
- package/esm/component/data-zoom/data-filter-base-component.js.map +1 -1
- package/esm/component/data-zoom/data-zoom/data-zoom.js +2 -4
- package/esm/component/data-zoom/data-zoom/data-zoom.js.map +1 -1
- package/esm/component/data-zoom/scroll-bar/scroll-bar.js +2 -4
- package/esm/component/data-zoom/scroll-bar/scroll-bar.js.map +1 -1
- package/esm/component/data-zoom/util.js +1 -4
- package/esm/component/data-zoom/util.js.map +1 -1
- package/esm/component/label/label.js +3 -5
- package/esm/component/label/label.js.map +1 -1
- package/esm/component/label/total-label.js +3 -5
- package/esm/component/label/total-label.js.map +1 -1
- package/esm/component/label/util.js +3 -5
- package/esm/component/label/util.js.map +1 -1
- package/esm/component/legend/util.d.ts +1 -1
- package/esm/component/marker/base-marker.d.ts +5 -1
- package/esm/component/marker/base-marker.js.map +1 -1
- package/esm/component/marker/mark-area/mark-area.js +8 -2
- package/esm/component/marker/mark-area/mark-area.js.map +1 -1
- package/esm/component/marker/mark-line/mark-line.js +7 -1
- package/esm/component/marker/mark-line/mark-line.js.map +1 -1
- package/esm/component/marker/mark-point/mark-point.js +7 -1
- package/esm/component/marker/mark-point/mark-point.js.map +1 -1
- package/esm/component/marker/utils.js +2 -2
- package/esm/component/marker/utils.js.map +1 -1
- package/esm/component/tooltip/handler/base.js +1 -3
- package/esm/component/tooltip/handler/base.js.map +1 -1
- package/esm/component/tooltip/handler/dom/model/shape-model.js +12 -8
- package/esm/component/tooltip/handler/dom/model/shape-model.js.map +1 -1
- package/esm/component/tooltip/handler/utils/position.js +13 -15
- package/esm/component/tooltip/handler/utils/position.js.map +1 -1
- package/esm/component/util.js +1 -2
- package/esm/core/factory.js +1 -4
- package/esm/core/factory.js.map +1 -1
- package/esm/core/index.d.ts +1 -1
- package/esm/core/index.js +1 -1
- package/esm/core/index.js.map +1 -1
- package/esm/data/transforms/marker-filter.d.ts +5 -0
- package/esm/data/transforms/marker-filter.js +11 -0
- package/esm/data/transforms/marker-filter.js.map +1 -0
- package/esm/event/event-dispatcher.js +2 -1
- package/esm/event/events/dimension/util/cartesian.js +1 -3
- package/esm/event/events/dimension/util/cartesian.js.map +1 -1
- package/esm/event/index.js +1 -2
- package/esm/interaction/drill/drillable.d.ts +1 -1
- package/esm/interaction/drill/drillable.js +2 -2
- package/esm/interaction/drill/drillable.js.map +1 -1
- package/esm/interaction/zoom/zoomable.d.ts +1 -1
- package/esm/interaction/zoom/zoomable.js +10 -10
- package/esm/interaction/zoom/zoomable.js.map +1 -1
- package/esm/layout/interface.d.ts +0 -1
- package/esm/layout/interface.js.map +1 -1
- package/esm/mark/arc-3d.js +1 -3
- package/esm/mark/arc-3d.js.map +1 -1
- package/esm/mark/arc.js +1 -3
- package/esm/mark/arc.js.map +1 -1
- package/esm/mark/area.js +1 -3
- package/esm/mark/area.js.map +1 -1
- package/esm/mark/box-plot.js +1 -3
- package/esm/mark/box-plot.js.map +1 -1
- package/esm/mark/cell.js +1 -3
- package/esm/mark/cell.js.map +1 -1
- package/esm/mark/component.js +1 -3
- package/esm/mark/component.js.map +1 -1
- package/esm/mark/group.js +1 -3
- package/esm/mark/group.js.map +1 -1
- package/esm/mark/image.js +1 -3
- package/esm/mark/image.js.map +1 -1
- package/esm/mark/interface/type.d.ts +1 -1
- package/esm/mark/interface/type.js.map +1 -1
- package/esm/mark/label.js +1 -3
- package/esm/mark/label.js.map +1 -1
- package/esm/mark/line.js +1 -3
- package/esm/mark/line.js.map +1 -1
- package/esm/mark/link-path.js +1 -3
- package/esm/mark/link-path.js.map +1 -1
- package/esm/mark/path.js +1 -3
- package/esm/mark/path.js.map +1 -1
- package/esm/mark/polygon/polygon.js +1 -3
- package/esm/mark/polygon/polygon.js.map +1 -1
- package/esm/mark/polygon/pyramid-3d.js +1 -3
- package/esm/mark/polygon/pyramid-3d.js.map +1 -1
- package/esm/mark/progress-arc.js +1 -3
- package/esm/mark/progress-arc.js.map +1 -1
- package/esm/mark/rect-3d.js +1 -3
- package/esm/mark/rect-3d.js.map +1 -1
- package/esm/mark/rect.js +1 -3
- package/esm/mark/rect.js.map +1 -1
- package/esm/mark/ripple.js +1 -3
- package/esm/mark/ripple.js.map +1 -1
- package/esm/mark/rule.js +1 -3
- package/esm/mark/rule.js.map +1 -1
- package/esm/mark/symbol.js +2 -6
- package/esm/mark/symbol.js.map +1 -1
- package/esm/mark/text.js +1 -3
- package/esm/mark/text.js.map +1 -1
- package/esm/mark/utils/common.js +1 -3
- package/esm/mark/utils/common.js.map +1 -1
- package/esm/region/region.js +5 -9
- package/esm/region/region.js.map +1 -1
- package/esm/series/area/animation.js +2 -4
- package/esm/series/area/animation.js.map +1 -1
- package/esm/series/area/area-transformer.js +2 -4
- package/esm/series/area/area-transformer.js.map +1 -1
- package/esm/series/area/area.js +6 -8
- package/esm/series/area/area.js.map +1 -1
- package/esm/series/area/constant.js +3 -7
- package/esm/series/area/constant.js.map +1 -1
- package/esm/series/bar/animation.js +2 -4
- package/esm/series/bar/animation.js.map +1 -1
- package/esm/series/bar/bar-3d.js +3 -5
- package/esm/series/bar/bar-3d.js.map +1 -1
- package/esm/series/bar/bar-transformer.js +1 -3
- package/esm/series/bar/bar-transformer.js.map +1 -1
- package/esm/series/bar/bar.js +9 -13
- package/esm/series/bar/bar.js.map +1 -1
- package/esm/series/bar/constant.js +9 -13
- package/esm/series/bar/constant.js.map +1 -1
- package/esm/series/base/base-series.js +7 -6
- package/esm/series/base/base-series.js.map +1 -1
- package/esm/series/base/constant.js +3 -7
- package/esm/series/base/constant.js.map +1 -1
- package/esm/series/box-plot/box-plot.js +7 -9
- package/esm/series/box-plot/box-plot.js.map +1 -1
- package/esm/series/box-plot/constant.js +6 -10
- package/esm/series/box-plot/constant.js.map +1 -1
- package/esm/series/cartesian/cartesian.js +8 -11
- package/esm/series/cartesian/cartesian.js.map +1 -1
- package/esm/series/circle-packing/circle-packing.js +2 -4
- package/esm/series/circle-packing/circle-packing.js.map +1 -1
- package/esm/series/circle-packing/constant.js +3 -7
- package/esm/series/circle-packing/constant.js.map +1 -1
- package/esm/series/correlation/constant.js +12 -16
- package/esm/series/correlation/constant.js.map +1 -1
- package/esm/series/correlation/correlation-transformer.js +1 -3
- package/esm/series/correlation/correlation-transformer.js.map +1 -1
- package/esm/series/correlation/correlation.js +2 -2
- package/esm/series/correlation/correlation.js.map +1 -1
- package/esm/series/dot/constant.js +21 -25
- package/esm/series/dot/constant.js.map +1 -1
- package/esm/series/dot/dot.js +1 -3
- package/esm/series/dot/dot.js.map +1 -1
- package/esm/series/funnel/3d/funnel-3d-transformer.js +1 -3
- package/esm/series/funnel/3d/funnel-3d-transformer.js.map +1 -1
- package/esm/series/funnel/3d/funnel-3d.js +4 -6
- package/esm/series/funnel/3d/funnel-3d.js.map +1 -1
- package/esm/series/funnel/constant.js +30 -34
- package/esm/series/funnel/constant.js.map +1 -1
- package/esm/series/funnel/funnel-transformer.js +1 -3
- package/esm/series/funnel/funnel-transformer.js.map +1 -1
- package/esm/series/funnel/funnel.js +7 -11
- package/esm/series/funnel/funnel.js.map +1 -1
- package/esm/series/funnel/tooltip-helper.js +3 -5
- package/esm/series/funnel/tooltip-helper.js.map +1 -1
- package/esm/series/gauge/constant.js +15 -19
- package/esm/series/gauge/constant.js.map +1 -1
- package/esm/series/gauge/gauge-pointer.js +4 -6
- package/esm/series/gauge/gauge-pointer.js.map +1 -1
- package/esm/series/gauge/gauge-transformer.js +1 -3
- package/esm/series/gauge/gauge-transformer.js.map +1 -1
- package/esm/series/gauge/gauge.js +2 -2
- package/esm/series/gauge/gauge.js.map +1 -1
- package/esm/series/heatmap/constant.js +6 -10
- package/esm/series/heatmap/constant.js.map +1 -1
- package/esm/series/heatmap/heatmap-transformer.js +1 -3
- package/esm/series/heatmap/heatmap-transformer.js.map +1 -1
- package/esm/series/heatmap/heatmap.js +2 -2
- package/esm/series/heatmap/heatmap.js.map +1 -1
- package/esm/series/interface/type.d.ts +1 -2
- package/esm/series/interface/type.js +0 -2
- package/esm/series/interface/type.js.map +1 -1
- package/esm/series/line/animation.js +2 -4
- package/esm/series/line/animation.js.map +1 -1
- package/esm/series/line/line.js +3 -3
- package/esm/series/line/line.js.map +1 -1
- package/esm/series/link/constant.js +9 -13
- package/esm/series/link/constant.js.map +1 -1
- package/esm/series/link/link.js +1 -3
- package/esm/series/link/link.js.map +1 -1
- package/esm/series/map/constant.js +3 -7
- package/esm/series/map/constant.js.map +1 -1
- package/esm/series/map/map-transformer.js +1 -3
- package/esm/series/map/map-transformer.js.map +1 -1
- package/esm/series/map/map.js +2 -2
- package/esm/series/map/map.js.map +1 -1
- package/esm/series/mixin/constant.js +6 -10
- package/esm/series/mixin/constant.js.map +1 -1
- package/esm/series/mixin/line-mixin-transformer.js +2 -4
- package/esm/series/mixin/line-mixin-transformer.js.map +1 -1
- package/esm/series/mixin/line-mixin.js +5 -9
- package/esm/series/mixin/line-mixin.js.map +1 -1
- package/esm/series/pie/3d/pie-3d-transformer.js +1 -3
- package/esm/series/pie/3d/pie-3d-transformer.js.map +1 -1
- package/esm/series/pie/3d/pie-3d.js +3 -5
- package/esm/series/pie/3d/pie-3d.js.map +1 -1
- package/esm/series/pie/constant.js +12 -16
- package/esm/series/pie/constant.js.map +1 -1
- package/esm/series/pie/pie-transformer.js +1 -3
- package/esm/series/pie/pie-transformer.js.map +1 -1
- package/esm/series/pie/pie.js +4 -6
- package/esm/series/pie/pie.js.map +1 -1
- package/esm/series/polar/progress-like/constant.js +3 -7
- package/esm/series/polar/progress-like/constant.js.map +1 -1
- package/esm/series/progress/circular/circular.js +3 -3
- package/esm/series/progress/circular/circular.js.map +1 -1
- package/esm/series/progress/circular/constant.js +6 -10
- package/esm/series/progress/circular/constant.js.map +1 -1
- package/esm/series/progress/linear/animation.js +2 -4
- package/esm/series/progress/linear/animation.js.map +1 -1
- package/esm/series/progress/linear/constant.js +9 -13
- package/esm/series/progress/linear/constant.js.map +1 -1
- package/esm/series/progress/linear/linear.js +3 -3
- package/esm/series/progress/linear/linear.js.map +1 -1
- package/esm/series/radar/constant.js +3 -7
- package/esm/series/radar/constant.js.map +1 -1
- package/esm/series/radar/radar.js +2 -2
- package/esm/series/radar/radar.js.map +1 -1
- package/esm/series/range-area/range-area.js +2 -4
- package/esm/series/range-area/range-area.js.map +1 -1
- package/esm/series/range-area/tooltip-helper.js +1 -3
- package/esm/series/range-area/tooltip-helper.js.map +1 -1
- package/esm/series/range-column/3d/range-column-3d-transformer.js +1 -5
- package/esm/series/range-column/3d/range-column-3d-transformer.js.map +1 -1
- package/esm/series/range-column/3d/range-column-3d.js +1 -3
- package/esm/series/range-column/3d/range-column-3d.js.map +1 -1
- package/esm/series/range-column/constant.js +12 -16
- package/esm/series/range-column/constant.js.map +1 -1
- package/esm/series/range-column/interface.d.ts +2 -2
- package/esm/series/range-column/interface.js.map +1 -1
- package/esm/series/range-column/range-column-transformer.js +1 -5
- package/esm/series/range-column/range-column-transformer.js.map +1 -1
- package/esm/series/range-column/range-column.js +9 -15
- package/esm/series/range-column/range-column.js.map +1 -1
- package/esm/series/range-column/tooltip-helper.js +1 -3
- package/esm/series/range-column/tooltip-helper.js.map +1 -1
- package/esm/series/rose/constant.js +3 -7
- package/esm/series/rose/constant.js.map +1 -1
- package/esm/series/rose/rose-transformer.js +1 -3
- package/esm/series/rose/rose-transformer.js.map +1 -1
- package/esm/series/rose/rose.js +2 -2
- package/esm/series/rose/rose.js.map +1 -1
- package/esm/series/sankey/animation.js +4 -6
- package/esm/series/sankey/animation.js.map +1 -1
- package/esm/series/sankey/constant.js +6 -10
- package/esm/series/sankey/constant.js.map +1 -1
- package/esm/series/sankey/sankey.js +4 -4
- package/esm/series/sankey/sankey.js.map +1 -1
- package/esm/series/scatter/constant.js +3 -7
- package/esm/series/scatter/constant.js.map +1 -1
- package/esm/series/scatter/scatter-transformer.js +1 -3
- package/esm/series/scatter/scatter-transformer.js.map +1 -1
- package/esm/series/scatter/scatter.js +2 -2
- package/esm/series/scatter/scatter.js.map +1 -1
- package/esm/series/sunburst/constant.js +3 -7
- package/esm/series/sunburst/constant.js.map +1 -1
- package/esm/series/sunburst/sunburst.js +2 -4
- package/esm/series/sunburst/sunburst.js.map +1 -1
- package/esm/series/treemap/constant.js +9 -13
- package/esm/series/treemap/constant.js.map +1 -1
- package/esm/series/treemap/treemap-transform.js +2 -4
- package/esm/series/treemap/treemap-transform.js.map +1 -1
- package/esm/series/treemap/treemap.js +4 -6
- package/esm/series/treemap/treemap.js.map +1 -1
- package/esm/series/util/label-mark.js +4 -6
- package/esm/series/util/label-mark.js.map +1 -1
- package/esm/series/waterfall/constant.js +6 -10
- package/esm/series/waterfall/constant.js.map +1 -1
- package/esm/series/waterfall/waterfall-transformer.js +1 -3
- package/esm/series/waterfall/waterfall-transformer.js.map +1 -1
- package/esm/series/waterfall/waterfall.js +6 -8
- package/esm/series/waterfall/waterfall.js.map +1 -1
- package/esm/series/word-cloud/base.js +1 -3
- package/esm/series/word-cloud/base.js.map +1 -1
- package/esm/series/word-cloud/constant.js +6 -10
- package/esm/series/word-cloud/constant.js.map +1 -1
- package/esm/series/word-cloud/interface.d.ts +2 -11
- package/esm/series/word-cloud/interface.js +1 -8
- package/esm/series/word-cloud/interface.js.map +1 -1
- package/esm/series/word-cloud/word-cloud-3d.js +3 -4
- package/esm/series/word-cloud/word-cloud-3d.js.map +1 -1
- package/esm/theme/builtin/common/series/rangeColumn.js +2 -4
- package/esm/theme/builtin/common/series/rangeColumn.js.map +1 -1
- package/esm/typings/shape.d.ts +0 -21
- package/esm/typings/shape.js +1 -14
- package/esm/typings/shape.js.map +1 -1
- package/esm/typings/space.d.ts +1 -1
- package/esm/typings/space.js.map +1 -1
- package/esm/typings/tooltip/position.d.ts +2 -2
- package/esm/typings/tooltip/position.js.map +1 -1
- package/package.json +5 -4
package/build/index.js
CHANGED
|
@@ -7682,10 +7682,10 @@
|
|
|
7682
7682
|
!function (AnimateStepType) {
|
|
7683
7683
|
AnimateStepType.wait = "wait", AnimateStepType.from = "from", AnimateStepType.to = "to", AnimateStepType.customAnimate = "customAnimate";
|
|
7684
7684
|
}(AnimateStepType || (AnimateStepType = {}));
|
|
7685
|
-
var Direction$
|
|
7685
|
+
var Direction$1;
|
|
7686
7686
|
!function (Direction) {
|
|
7687
7687
|
Direction[Direction.ROW = 1] = "ROW", Direction[Direction.COLUMN = 2] = "COLUMN";
|
|
7688
|
-
}(Direction$
|
|
7688
|
+
}(Direction$1 || (Direction$1 = {}));
|
|
7689
7689
|
var CurveTypeEnum;
|
|
7690
7690
|
!function (CurveTypeEnum) {
|
|
7691
7691
|
CurveTypeEnum[CurveTypeEnum.CubicBezierCurve = 0] = "CubicBezierCurve", CurveTypeEnum[CurveTypeEnum.QuadraticBezierCurve = 1] = "QuadraticBezierCurve", CurveTypeEnum[CurveTypeEnum.ArcCurve = 2] = "ArcCurve", CurveTypeEnum[CurveTypeEnum.LineCurve = 3] = "LineCurve", CurveTypeEnum[CurveTypeEnum.EllipseCurve = 4] = "EllipseCurve", CurveTypeEnum[CurveTypeEnum.MoveCurve = 5] = "MoveCurve";
|
|
@@ -7855,7 +7855,7 @@
|
|
|
7855
7855
|
return this._validPoint() ? cubicLength(this.p0, this.p1, this.p2, this.p3) : 60;
|
|
7856
7856
|
}
|
|
7857
7857
|
calcProjLength(direction) {
|
|
7858
|
-
return direction === Direction$
|
|
7858
|
+
return direction === Direction$1.ROW ? abs$1(this.p0.x - this.p3.x) : direction === Direction$1.COLUMN ? abs$1(this.p0.y - this.p3.y) : 0;
|
|
7859
7859
|
}
|
|
7860
7860
|
getAngleAt(t) {
|
|
7861
7861
|
const minT = max$1(t - .01, 0),
|
|
@@ -7892,7 +7892,7 @@
|
|
|
7892
7892
|
return this._validPoint() ? PointService.distancePP(this.p0, this.p1) : 60;
|
|
7893
7893
|
}
|
|
7894
7894
|
calcProjLength(direction) {
|
|
7895
|
-
return direction === Direction$
|
|
7895
|
+
return direction === Direction$1.ROW ? abs$1(this.p0.x - this.p1.x) : direction === Direction$1.COLUMN ? abs$1(this.p0.y - this.p1.y) : 0;
|
|
7896
7896
|
}
|
|
7897
7897
|
}
|
|
7898
7898
|
|
|
@@ -7949,14 +7949,14 @@
|
|
|
7949
7949
|
}
|
|
7950
7950
|
getLength(direction) {
|
|
7951
7951
|
var _a, _b;
|
|
7952
|
-
if (direction === Direction$
|
|
7952
|
+
if (direction === Direction$1.COLUMN) {
|
|
7953
7953
|
if (!this.curves.length) return 0;
|
|
7954
7954
|
const sc = this.curves[0],
|
|
7955
7955
|
ec = this.curves[this.curves.length - 1],
|
|
7956
7956
|
endP = null !== (_a = ec.p3) && void 0 !== _a ? _a : ec.p1;
|
|
7957
7957
|
return abs$1(sc.p0.y - endP.y);
|
|
7958
7958
|
}
|
|
7959
|
-
if (direction === Direction$
|
|
7959
|
+
if (direction === Direction$1.ROW) {
|
|
7960
7960
|
if (!this.curves.length) return 0;
|
|
7961
7961
|
const sc = this.curves[0],
|
|
7962
7962
|
ec = this.curves[this.curves.length - 1],
|
|
@@ -7986,7 +7986,7 @@
|
|
|
7986
7986
|
for (let i = 0, n = points.length; i <= n; i++) i >= n === defined0 && ((defined0 = !defined0) ? path.lineStart() : path.lineEnd()), defined0 && path.point(points[i]);
|
|
7987
7987
|
}
|
|
7988
7988
|
function genSegContext(curveType, direction, points) {
|
|
7989
|
-
const curveDirection = null != direction ? direction : abs$1(points[points.length - 1].x - points[0].x) > abs$1(points[points.length - 1].y - points[0].y) ? Direction$
|
|
7989
|
+
const curveDirection = null != direction ? direction : abs$1(points[points.length - 1].x - points[0].x) > abs$1(points[points.length - 1].y - points[0].y) ? Direction$1.ROW : Direction$1.COLUMN;
|
|
7990
7990
|
return "monotoneY" === curveType ? new ReflectSegContext(curveType, curveDirection) : new SegContext(curveType, curveDirection);
|
|
7991
7991
|
}
|
|
7992
7992
|
|
|
@@ -8248,7 +8248,7 @@
|
|
|
8248
8248
|
startPoint: startPoint
|
|
8249
8249
|
} = params;
|
|
8250
8250
|
if (points.length < 2 - Number(!!startPoint)) return null;
|
|
8251
|
-
const segContext = new SegContext("step", null != direction ? direction : abs$1(points[points.length - 1].x - points[0].x) > abs$1(points[points.length - 1].y - points[0].y) ? Direction$
|
|
8251
|
+
const segContext = new SegContext("step", null != direction ? direction : abs$1(points[points.length - 1].x - points[0].x) > abs$1(points[points.length - 1].y - points[0].y) ? Direction$1.ROW : Direction$1.COLUMN);
|
|
8252
8252
|
return genStepTypeSegments(new Step$1(segContext, t, startPoint), points), segContext;
|
|
8253
8253
|
}
|
|
8254
8254
|
function genStepTypeSegments(path, points) {
|
|
@@ -8366,7 +8366,7 @@
|
|
|
8366
8366
|
} = line.attribute;
|
|
8367
8367
|
if (!points) return;
|
|
8368
8368
|
const cache = calcLineCache$1(points, curveType);
|
|
8369
|
-
"x" === clipRangeByDimension ? this.direction = Direction$
|
|
8369
|
+
"x" === clipRangeByDimension ? this.direction = Direction$1.ROW : "y" === clipRangeByDimension ? this.direction = Direction$1.COLUMN : "auto" === clipRangeByDimension && (this.direction = cache.direction), this.curves = cache.curves;
|
|
8370
8370
|
}
|
|
8371
8371
|
fromCustomPath2D(path, x, y, sX, sY) {
|
|
8372
8372
|
return this.clear(), this._runCommandList(path.commandList, x, y, sX, sY), this._updateBounds(), this;
|
|
@@ -8528,13 +8528,13 @@
|
|
|
8528
8528
|
this.commandList = [], this._boundsContext = null, this._ctx = null;
|
|
8529
8529
|
}
|
|
8530
8530
|
getLength() {
|
|
8531
|
-
if (this.direction === Direction$
|
|
8531
|
+
if (this.direction === Direction$1.COLUMN) {
|
|
8532
8532
|
if (!this.curves.length) return 0;
|
|
8533
8533
|
const sc = this.curves[0],
|
|
8534
8534
|
ec = this.curves[this.curves.length - 1];
|
|
8535
8535
|
return abs$1(sc.p0.y - ec.p1.y);
|
|
8536
8536
|
}
|
|
8537
|
-
if (this.direction === Direction$
|
|
8537
|
+
if (this.direction === Direction$1.ROW) {
|
|
8538
8538
|
if (!this.curves.length) return 0;
|
|
8539
8539
|
const sc = this.curves[0],
|
|
8540
8540
|
ec = this.curves[this.curves.length - 1];
|
|
@@ -11788,10 +11788,10 @@
|
|
|
11788
11788
|
!1 !== this.valid && (out.text = end ? this.toNumber : (this.fromNumber + (this.toNumber - this.fromNumber) * ratio).toFixed(this.decimalLength));
|
|
11789
11789
|
}
|
|
11790
11790
|
}
|
|
11791
|
-
var Direction
|
|
11791
|
+
var Direction;
|
|
11792
11792
|
!function (Direction) {
|
|
11793
11793
|
Direction[Direction.LEFT_TO_RIGHT = 0] = "LEFT_TO_RIGHT", Direction[Direction.RIGHT_TO_LEFT = 1] = "RIGHT_TO_LEFT", Direction[Direction.TOP_TO_BOTTOM = 2] = "TOP_TO_BOTTOM", Direction[Direction.BOTTOM_TO_TOP = 3] = "BOTTOM_TO_TOP", Direction[Direction.STROKE = 4] = "STROKE";
|
|
11794
|
-
}(Direction
|
|
11794
|
+
}(Direction || (Direction = {}));
|
|
11795
11795
|
class TagPointsUpdate extends ACustomAnimate {
|
|
11796
11796
|
constructor(from, to, duration, easing, params) {
|
|
11797
11797
|
super(from, to, duration, easing, params), this.newPointAnimateType = "appear" === (null == params ? void 0 : params.newPointAnimateType) ? "appear" : "grow";
|
|
@@ -19685,7 +19685,7 @@
|
|
|
19685
19685
|
}
|
|
19686
19686
|
if (percent <= 0) return;
|
|
19687
19687
|
let direction;
|
|
19688
|
-
"x" === clipRangeByDimension ? direction = Direction$
|
|
19688
|
+
"x" === clipRangeByDimension ? direction = Direction$1.ROW : "y" === clipRangeByDimension ? direction = Direction$1.COLUMN : "auto" === clipRangeByDimension && (direction = segPath.direction);
|
|
19689
19689
|
const totalDrawLength = percent * segPath.tryUpdateLength(direction);
|
|
19690
19690
|
let drawedLengthUntilLast = 0,
|
|
19691
19691
|
defined0 = !0,
|
|
@@ -19972,8 +19972,8 @@
|
|
|
19972
19972
|
endP = null !== (_a = topCurves[topCurves.length - 1].p3) && void 0 !== _a ? _a : topCurves[topCurves.length - 1].p1,
|
|
19973
19973
|
xTotalLength = abs$1(endP.x - topCurves[0].p0.x),
|
|
19974
19974
|
yTotalLength = abs$1(endP.y - topCurves[0].p0.y);
|
|
19975
|
-
direction = null != direction ? direction : xTotalLength > yTotalLength ? Direction$
|
|
19976
|
-
const totalDrawLength = percent * (direction === Direction$
|
|
19975
|
+
direction = null != direction ? direction : xTotalLength > yTotalLength ? Direction$1.ROW : Direction$1.COLUMN, Number.isFinite(xTotalLength) || (direction = Direction$1.COLUMN), Number.isFinite(yTotalLength) || (direction = Direction$1.ROW);
|
|
19976
|
+
const totalDrawLength = percent * (direction === Direction$1.ROW ? xTotalLength : yTotalLength);
|
|
19977
19977
|
let drawedLengthUntilLast = 0,
|
|
19978
19978
|
lastDefined = !0;
|
|
19979
19979
|
const topList = [],
|
|
@@ -20263,12 +20263,12 @@
|
|
|
20263
20263
|
} = area.attribute;
|
|
20264
20264
|
let endP,
|
|
20265
20265
|
startP,
|
|
20266
|
-
direction = Direction$
|
|
20266
|
+
direction = Direction$1.ROW;
|
|
20267
20267
|
if (segments) {
|
|
20268
20268
|
const endSeg = segments[segments.length - 1];
|
|
20269
20269
|
startP = segments[0].points[0], endP = endSeg.points[endSeg.points.length - 1];
|
|
20270
20270
|
} else startP = points[0], endP = points[points.length - 1];
|
|
20271
|
-
direction = abs$1(endP.x - startP.x) > abs$1(endP.y - startP.y) ? Direction$
|
|
20271
|
+
direction = abs$1(endP.x - startP.x) > abs$1(endP.y - startP.y) ? Direction$1.ROW : Direction$1.COLUMN, drawAreaSegments(context.camera ? context : context.nativeContext, cache, clipRange, {
|
|
20272
20272
|
offsetX: offsetX,
|
|
20273
20273
|
offsetY: offsetY,
|
|
20274
20274
|
offsetZ: offsetZ,
|
|
@@ -20290,7 +20290,7 @@
|
|
|
20290
20290
|
const {
|
|
20291
20291
|
stroke = defaultAttribute && defaultAttribute[1] && defaultAttribute[1].stroke
|
|
20292
20292
|
} = attribute;
|
|
20293
|
-
isArray$1(stroke) && (stroke[0] || stroke[2]) && !1 === stroke[1] && (context.beginPath(), drawSegments(context.camera ? context : context.nativeContext, stroke[0] ? cache.top : cache.bottom, clipRange, direction === Direction$
|
|
20293
|
+
isArray$1(stroke) && (stroke[0] || stroke[2]) && !1 === stroke[1] && (context.beginPath(), drawSegments(context.camera ? context : context.nativeContext, stroke[0] ? cache.top : cache.bottom, clipRange, direction === Direction$1.ROW ? "x" : "y", {
|
|
20294
20294
|
offsetX: offsetX,
|
|
20295
20295
|
offsetY: offsetY,
|
|
20296
20296
|
offsetZ: offsetZ,
|
|
@@ -26286,32 +26286,6 @@
|
|
|
26286
26286
|
SeriesMarkNameEnum["lineLabel"] = "lineLabel";
|
|
26287
26287
|
SeriesMarkNameEnum["areaLabel"] = "areaLabel";
|
|
26288
26288
|
})(exports.SeriesMarkNameEnum || (exports.SeriesMarkNameEnum = {}));
|
|
26289
|
-
const seriesMarkNameSet = new Set(Object.values(exports.SeriesMarkNameEnum));
|
|
26290
|
-
|
|
26291
|
-
var MarkTypeEnum;
|
|
26292
|
-
(function (MarkTypeEnum) {
|
|
26293
|
-
MarkTypeEnum["group"] = "group";
|
|
26294
|
-
MarkTypeEnum["symbol"] = "symbol";
|
|
26295
|
-
MarkTypeEnum["rule"] = "rule";
|
|
26296
|
-
MarkTypeEnum["line"] = "line";
|
|
26297
|
-
MarkTypeEnum["text"] = "text";
|
|
26298
|
-
MarkTypeEnum["rect"] = "rect";
|
|
26299
|
-
MarkTypeEnum["rect3d"] = "rect3d";
|
|
26300
|
-
MarkTypeEnum["image"] = "image";
|
|
26301
|
-
MarkTypeEnum["path"] = "path";
|
|
26302
|
-
MarkTypeEnum["area"] = "area";
|
|
26303
|
-
MarkTypeEnum["arc"] = "arc";
|
|
26304
|
-
MarkTypeEnum["arc3d"] = "arc3d";
|
|
26305
|
-
MarkTypeEnum["polygon"] = "polygon";
|
|
26306
|
-
MarkTypeEnum["pyramid3d"] = "pyramid3d";
|
|
26307
|
-
MarkTypeEnum["boxPlot"] = "boxPlot";
|
|
26308
|
-
MarkTypeEnum["linkPath"] = "linkPath";
|
|
26309
|
-
MarkTypeEnum["progressArc"] = "progressArc";
|
|
26310
|
-
MarkTypeEnum["cell"] = "cell";
|
|
26311
|
-
MarkTypeEnum["ripple"] = "ripple";
|
|
26312
|
-
MarkTypeEnum["component"] = "component";
|
|
26313
|
-
MarkTypeEnum["label"] = "label";
|
|
26314
|
-
})(MarkTypeEnum || (MarkTypeEnum = {}));
|
|
26315
26289
|
|
|
26316
26290
|
const PREFIX = '__VCHART';
|
|
26317
26291
|
const DEFAULT_CHART_WIDTH = 500;
|
|
@@ -48434,72 +48408,72 @@
|
|
|
48434
48408
|
};
|
|
48435
48409
|
|
|
48436
48410
|
const baseSeriesMark = {
|
|
48437
|
-
[
|
|
48411
|
+
["label"]: { name: "label", type: "text" }
|
|
48438
48412
|
};
|
|
48439
48413
|
const RECT_X = `${PREFIX}_rect_x`;
|
|
48440
48414
|
const RECT_X1 = `${PREFIX}_rect_x1`;
|
|
48441
48415
|
const RECT_Y = `${PREFIX}_rect_y`;
|
|
48442
48416
|
const RECT_Y1 = `${PREFIX}_rect_y1`;
|
|
48443
48417
|
|
|
48444
|
-
const barSeriesMark = Object.assign(Object.assign({}, baseSeriesMark), { [
|
|
48445
|
-
const bar3dSeriesMark = Object.assign(Object.assign({}, baseSeriesMark), { [
|
|
48418
|
+
const barSeriesMark = Object.assign(Object.assign({}, baseSeriesMark), { ["bar"]: { name: "bar", type: "rect" }, ["barBackground"]: { name: "barBackground", type: "rect" } });
|
|
48419
|
+
const bar3dSeriesMark = Object.assign(Object.assign({}, baseSeriesMark), { ["bar3d"]: { name: "bar3d", type: "rect3d" } });
|
|
48446
48420
|
|
|
48447
48421
|
const lineLikeSeriesMark = {
|
|
48448
|
-
[
|
|
48449
|
-
[
|
|
48422
|
+
["point"]: { name: "point", type: "symbol" },
|
|
48423
|
+
["line"]: { name: "line", type: "line" }
|
|
48450
48424
|
};
|
|
48451
48425
|
|
|
48452
48426
|
const lineSeriesMark = Object.assign(Object.assign({}, baseSeriesMark), lineLikeSeriesMark);
|
|
48453
48427
|
|
|
48454
|
-
const scatterSeriesMark = Object.assign(Object.assign({}, baseSeriesMark), { [
|
|
48428
|
+
const scatterSeriesMark = Object.assign(Object.assign({}, baseSeriesMark), { ["point"]: { name: "point", type: "symbol" } });
|
|
48455
48429
|
|
|
48456
|
-
const areaSeriesMark = Object.assign(Object.assign(Object.assign({}, baseSeriesMark), lineLikeSeriesMark), { [
|
|
48430
|
+
const areaSeriesMark = Object.assign(Object.assign(Object.assign({}, baseSeriesMark), lineLikeSeriesMark), { ["area"]: { name: "area", type: "area" } });
|
|
48457
48431
|
|
|
48458
|
-
const radarSeriesMark = Object.assign(Object.assign(Object.assign({}, baseSeriesMark), lineLikeSeriesMark), { [
|
|
48432
|
+
const radarSeriesMark = Object.assign(Object.assign(Object.assign({}, baseSeriesMark), lineLikeSeriesMark), { ["area"]: { name: "area", type: "area" } });
|
|
48459
48433
|
|
|
48460
|
-
const pieSeriesMark = Object.assign(Object.assign({}, baseSeriesMark), { [
|
|
48461
|
-
const pie3dSeriesMark = Object.assign(Object.assign({}, baseSeriesMark), { [
|
|
48434
|
+
const pieSeriesMark = Object.assign(Object.assign({}, baseSeriesMark), { ["pie"]: { name: "pie", type: "arc" }, ["labelLine"]: { name: "labelLine", type: "path" } });
|
|
48435
|
+
const pie3dSeriesMark = Object.assign(Object.assign({}, baseSeriesMark), { ["pie3d"]: { name: "pie3d", type: "arc3d" }, ["labelLine"]: { name: "labelLine", type: "path" } });
|
|
48462
48436
|
|
|
48463
|
-
const roseSeriesMark = Object.assign(Object.assign({}, baseSeriesMark), { [
|
|
48437
|
+
const roseSeriesMark = Object.assign(Object.assign({}, baseSeriesMark), { ["rose"]: { name: "rose", type: "arc" } });
|
|
48464
48438
|
|
|
48465
|
-
const mapSeriesMark = Object.assign(Object.assign({}, baseSeriesMark), { [
|
|
48439
|
+
const mapSeriesMark = Object.assign(Object.assign({}, baseSeriesMark), { ["area"]: { name: "area", type: "path" } });
|
|
48466
48440
|
|
|
48467
|
-
const progressLikeSeriesMark = Object.assign(Object.assign({}, baseSeriesMark), { [
|
|
48441
|
+
const progressLikeSeriesMark = Object.assign(Object.assign({}, baseSeriesMark), { ["group"]: { name: "group", type: "group" } });
|
|
48468
48442
|
|
|
48469
|
-
const circularProgressSeriesMark = Object.assign(Object.assign({}, progressLikeSeriesMark), { [
|
|
48443
|
+
const circularProgressSeriesMark = Object.assign(Object.assign({}, progressLikeSeriesMark), { ["track"]: { name: "track", type: "progressArc" }, ["progress"]: { name: "progress", type: "progressArc" } });
|
|
48470
48444
|
|
|
48471
|
-
const linkSeriesMark = Object.assign(Object.assign({}, baseSeriesMark), { [
|
|
48445
|
+
const linkSeriesMark = Object.assign(Object.assign({}, baseSeriesMark), { ["group"]: { name: "group", type: "group" }, ["link"]: { name: "link", type: "rule" }, ["arrow"]: { name: "arrow", type: "symbol" } });
|
|
48472
48446
|
|
|
48473
|
-
const dotSeriesMark = Object.assign(Object.assign({}, baseSeriesMark), { [
|
|
48447
|
+
const dotSeriesMark = Object.assign(Object.assign({}, baseSeriesMark), { ["group"]: { name: "group", type: "group" }, ["grid"]: { name: "grid", type: "rule" }, ["gridBackground"]: { name: "gridBackground", type: "rect" }, ["dot"]: { name: "dot", type: "symbol" }, ["title"]: { name: "title", type: "text" }, ["subTitle"]: { name: "subTitle", type: "text" }, ["symbol"]: { name: "symbol", type: "symbol" } });
|
|
48474
48448
|
|
|
48475
|
-
const wordCloudSeriesMark = Object.assign(Object.assign({}, baseSeriesMark), { [
|
|
48449
|
+
const wordCloudSeriesMark = Object.assign(Object.assign({}, baseSeriesMark), { ["word"]: { name: "word", type: "text" }, ["fillingWord"]: { name: "fillingWord", type: "text" } });
|
|
48476
48450
|
|
|
48477
|
-
const funnelSeriesMark = Object.assign(Object.assign({}, baseSeriesMark), { [
|
|
48478
|
-
const funnel3dSeriesMark = Object.assign(Object.assign({}, baseSeriesMark), { [
|
|
48451
|
+
const funnelSeriesMark = Object.assign(Object.assign({}, baseSeriesMark), { ["funnel"]: { name: "funnel", type: "polygon" }, ["transform"]: { name: "transform", type: "polygon" }, ["transformLabel"]: { name: "transformLabel", type: "text" }, ["outerLabel"]: { name: "outerLabel", type: "text" }, ["outerLabelLine"]: { name: "outerLabelLine", type: "rule" } });
|
|
48452
|
+
const funnel3dSeriesMark = Object.assign(Object.assign({}, baseSeriesMark), { ["funnel3d"]: { name: "funnel3d", type: "pyramid3d" }, ["transform3d"]: { name: "transform3d", type: "pyramid3d" }, ["transformLabel"]: { name: "transformLabel", type: "text" }, ["outerLabel"]: { name: "outerLabel", type: "text" }, ["outerLabelLine"]: { name: "outerLabelLine", type: "rule" } });
|
|
48479
48453
|
|
|
48480
|
-
const linearProgressSeriesMark = Object.assign(Object.assign({}, baseSeriesMark), { [
|
|
48454
|
+
const linearProgressSeriesMark = Object.assign(Object.assign({}, baseSeriesMark), { ["track"]: { name: "track", type: "rect" }, ["progress"]: { name: "progress", type: "rect" }, ["group"]: { name: "group", type: "group" } });
|
|
48481
48455
|
|
|
48482
|
-
const waterfallSeriesMark = Object.assign(Object.assign({}, barSeriesMark), { [
|
|
48456
|
+
const waterfallSeriesMark = Object.assign(Object.assign({}, barSeriesMark), { ["leaderLine"]: { name: "leaderLine", type: "rule" }, ["stackLabel"]: { name: "stackLabel", type: "text" } });
|
|
48483
48457
|
|
|
48484
|
-
const boxPlotSeriesMark = Object.assign(Object.assign({}, baseSeriesMark), { [
|
|
48458
|
+
const boxPlotSeriesMark = Object.assign(Object.assign({}, baseSeriesMark), { ["boxPlot"]: { name: "boxPlot", type: "boxPlot" }, ["outlier"]: { name: "outlier", type: "symbol" } });
|
|
48485
48459
|
|
|
48486
|
-
const treemapSeriesMark = Object.assign(Object.assign({}, baseSeriesMark), { [
|
|
48460
|
+
const treemapSeriesMark = Object.assign(Object.assign({}, baseSeriesMark), { ["nonLeaf"]: { name: "nonLeaf", type: "rect" }, ["leaf"]: { name: "leaf", type: "rect" }, ["nonLeafLabel"]: { name: "nonLeafLabel", type: "text" } });
|
|
48487
48461
|
|
|
48488
|
-
const sankeySeriesMark = Object.assign(Object.assign({}, baseSeriesMark), { [
|
|
48462
|
+
const sankeySeriesMark = Object.assign(Object.assign({}, baseSeriesMark), { ["node"]: { name: "node", type: "rect" }, ["link"]: { name: "link", type: "linkPath" } });
|
|
48489
48463
|
|
|
48490
|
-
const gaugeSeriesMark = Object.assign(Object.assign({}, progressLikeSeriesMark), { [
|
|
48491
|
-
const gaugePointerSeriesMark = Object.assign(Object.assign({}, baseSeriesMark), { [
|
|
48464
|
+
const gaugeSeriesMark = Object.assign(Object.assign({}, progressLikeSeriesMark), { ["segment"]: { name: "segment", type: "progressArc" }, ["track"]: { name: "track", type: "progressArc" } });
|
|
48465
|
+
const gaugePointerSeriesMark = Object.assign(Object.assign({}, baseSeriesMark), { ["pin"]: { name: "pin", type: "path" }, ["pinBackground"]: { name: "pinBackground", type: "path" }, ["pointer"]: { name: "pointer", type: ["path", "rect"] } });
|
|
48492
48466
|
|
|
48493
|
-
const sunburstSeriesMark = Object.assign(Object.assign({}, baseSeriesMark), { [
|
|
48467
|
+
const sunburstSeriesMark = Object.assign(Object.assign({}, baseSeriesMark), { ["sunburst"]: { name: "sunburst", type: "arc" } });
|
|
48494
48468
|
|
|
48495
|
-
const rangeColumnSeriesMark = Object.assign(Object.assign({}, barSeriesMark), { [
|
|
48496
|
-
const rangeColumn3dSeriesMark = Object.assign(Object.assign({}, bar3dSeriesMark), { [
|
|
48469
|
+
const rangeColumnSeriesMark = Object.assign(Object.assign({}, barSeriesMark), { ["minLabel"]: { name: "minLabel", type: "text" }, ["maxLabel"]: { name: "maxLabel", type: "text" } });
|
|
48470
|
+
const rangeColumn3dSeriesMark = Object.assign(Object.assign({}, bar3dSeriesMark), { ["minLabel"]: { name: "minLabel", type: "text" }, ["maxLabel"]: { name: "maxLabel", type: "text" } });
|
|
48497
48471
|
|
|
48498
|
-
const circlePackingSeriesMark = Object.assign(Object.assign({}, baseSeriesMark), { [
|
|
48472
|
+
const circlePackingSeriesMark = Object.assign(Object.assign({}, baseSeriesMark), { ["circlePacking"]: { name: "circlePacking", type: "arc" } });
|
|
48499
48473
|
|
|
48500
|
-
const heatmapSeriesMark = Object.assign(Object.assign({}, baseSeriesMark), { [
|
|
48474
|
+
const heatmapSeriesMark = Object.assign(Object.assign({}, baseSeriesMark), { ["cell"]: { name: "cell", type: "cell" }, ["cellBackground"]: { name: "cellBackground", type: "cell" } });
|
|
48501
48475
|
|
|
48502
|
-
const correlationSeriesMark = Object.assign(Object.assign({}, baseSeriesMark), { [
|
|
48476
|
+
const correlationSeriesMark = Object.assign(Object.assign({}, baseSeriesMark), { ["nodePoint"]: { name: "nodePoint", type: "symbol" }, ["ripplePoint"]: { name: "ripplePoint", type: "ripple" }, ["centerPoint"]: { name: "centerPoint", type: "symbol" }, ["centerLabel"]: { name: "centerLabel", type: "text" } });
|
|
48503
48477
|
|
|
48504
48478
|
const rangeAreaSeriesMark = Object.assign({}, areaSeriesMark);
|
|
48505
48479
|
|
|
@@ -49521,20 +49495,6 @@
|
|
|
49521
49495
|
}
|
|
49522
49496
|
};
|
|
49523
49497
|
|
|
49524
|
-
var PositionEnum;
|
|
49525
|
-
(function (PositionEnum) {
|
|
49526
|
-
PositionEnum["middle"] = "middle";
|
|
49527
|
-
PositionEnum["start"] = "start";
|
|
49528
|
-
PositionEnum["end"] = "end";
|
|
49529
|
-
PositionEnum["bothEnd"] = "bothEnd";
|
|
49530
|
-
})(PositionEnum || (PositionEnum = {}));
|
|
49531
|
-
var minMaxPositionEnum;
|
|
49532
|
-
(function (minMaxPositionEnum) {
|
|
49533
|
-
minMaxPositionEnum["middle"] = "middle";
|
|
49534
|
-
minMaxPositionEnum["start"] = "start";
|
|
49535
|
-
minMaxPositionEnum["end"] = "end";
|
|
49536
|
-
})(minMaxPositionEnum || (minMaxPositionEnum = {}));
|
|
49537
|
-
|
|
49538
49498
|
const rangeColumn = {
|
|
49539
49499
|
label: {
|
|
49540
49500
|
visible: false,
|
|
@@ -49544,10 +49504,10 @@
|
|
|
49544
49504
|
fill: { type: 'palette', key: 'axisMarkerFontColor' }
|
|
49545
49505
|
},
|
|
49546
49506
|
minLabel: {
|
|
49547
|
-
position:
|
|
49507
|
+
position: "end"
|
|
49548
49508
|
},
|
|
49549
49509
|
maxLabel: {
|
|
49550
|
-
position:
|
|
49510
|
+
position: "start"
|
|
49551
49511
|
}
|
|
49552
49512
|
}
|
|
49553
49513
|
};
|
|
@@ -51488,7 +51448,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
51488
51448
|
}
|
|
51489
51449
|
const MarkConstructor = Factory._marks[markType];
|
|
51490
51450
|
const markInstance = new MarkConstructor(name, options);
|
|
51491
|
-
if (markInstance.type ===
|
|
51451
|
+
if (markInstance.type === "group") {
|
|
51492
51452
|
markInstance.setInteractive(false);
|
|
51493
51453
|
}
|
|
51494
51454
|
return markInstance;
|
|
@@ -51766,12 +51726,6 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
51766
51726
|
return targetAxisInfo;
|
|
51767
51727
|
};
|
|
51768
51728
|
|
|
51769
|
-
var Direction;
|
|
51770
|
-
(function (Direction) {
|
|
51771
|
-
Direction["vertical"] = "vertical";
|
|
51772
|
-
Direction["horizontal"] = "horizontal";
|
|
51773
|
-
})(Direction || (Direction = {}));
|
|
51774
|
-
|
|
51775
51729
|
function isXAxis(orient) {
|
|
51776
51730
|
return orient === 'bottom' || orient === 'top';
|
|
51777
51731
|
}
|
|
@@ -51791,7 +51745,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
51791
51745
|
return isValidOrient(spec.orient) || (whiteList && whiteList.includes(spec.orient)) ? spec.orient : 'left';
|
|
51792
51746
|
}
|
|
51793
51747
|
function getDirectionByOrient(orient) {
|
|
51794
|
-
return orient === 'top' || orient === 'bottom' ?
|
|
51748
|
+
return orient === 'top' || orient === 'bottom' ? "horizontal" : "vertical";
|
|
51795
51749
|
}
|
|
51796
51750
|
function transformInverse(spec, isHorizontal) {
|
|
51797
51751
|
let inverse = spec.inverse;
|
|
@@ -51849,7 +51803,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
51849
51803
|
}
|
|
51850
51804
|
});
|
|
51851
51805
|
};
|
|
51852
|
-
if (chart.getSpec().direction ===
|
|
51806
|
+
if (chart.getSpec().direction === "horizontal") {
|
|
51853
51807
|
addAxisDimensionInfo('y', bandAxisSet.size > 0);
|
|
51854
51808
|
if (targetAxisInfo.length === 0) {
|
|
51855
51809
|
addAxisDimensionInfo('x', bandAxisSet.size > 0);
|
|
@@ -53104,59 +53058,10 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
53104
53058
|
});
|
|
53105
53059
|
}
|
|
53106
53060
|
|
|
53107
|
-
const DEFAULT_SMOOTH_INTERPOLATE = 'monotone';
|
|
53108
|
-
const DEFAULT_LINEAR_INTERPOLATE = 'linear';
|
|
53109
|
-
|
|
53110
|
-
var ShapeTypeEnum;
|
|
53111
|
-
(function (ShapeTypeEnum) {
|
|
53112
|
-
ShapeTypeEnum["circle"] = "circle";
|
|
53113
|
-
ShapeTypeEnum["triangle"] = "triangle";
|
|
53114
|
-
ShapeTypeEnum["triangleUp"] = "triangleUp";
|
|
53115
|
-
ShapeTypeEnum["triangleLeft"] = "triangleLeft";
|
|
53116
|
-
ShapeTypeEnum["triangleRight"] = "triangleRight";
|
|
53117
|
-
ShapeTypeEnum["triangleDown"] = "triangleDown";
|
|
53118
|
-
ShapeTypeEnum["thinTriangle"] = "thinTriangle";
|
|
53119
|
-
ShapeTypeEnum["rect"] = "rect";
|
|
53120
|
-
ShapeTypeEnum["diamond"] = "diamond";
|
|
53121
|
-
ShapeTypeEnum["square"] = "square";
|
|
53122
|
-
ShapeTypeEnum["arrowLeft"] = "arrowLeft";
|
|
53123
|
-
ShapeTypeEnum["arrow2Left"] = "arrow2Left";
|
|
53124
|
-
ShapeTypeEnum["arrowRight"] = "arrowRight";
|
|
53125
|
-
ShapeTypeEnum["arrow2Right"] = "arrow2Right";
|
|
53126
|
-
ShapeTypeEnum["cross"] = "cross";
|
|
53127
|
-
ShapeTypeEnum["wedge"] = "wedge";
|
|
53128
|
-
ShapeTypeEnum["star"] = "star";
|
|
53129
|
-
ShapeTypeEnum["wye"] = "wye";
|
|
53130
|
-
})(ShapeTypeEnum || (ShapeTypeEnum = {}));
|
|
53131
|
-
|
|
53132
|
-
const DEFAULT_CLOSE_STROKE_JOIN = 'bevel';
|
|
53133
|
-
|
|
53134
|
-
var TooltipFixedPosition;
|
|
53135
|
-
(function (TooltipFixedPosition) {
|
|
53136
|
-
TooltipFixedPosition["top"] = "top";
|
|
53137
|
-
TooltipFixedPosition["bottom"] = "bottom";
|
|
53138
|
-
TooltipFixedPosition["left"] = "left";
|
|
53139
|
-
TooltipFixedPosition["right"] = "right";
|
|
53140
|
-
TooltipFixedPosition["tl"] = "tl";
|
|
53141
|
-
TooltipFixedPosition["lt"] = "lt";
|
|
53142
|
-
TooltipFixedPosition["tr"] = "tr";
|
|
53143
|
-
TooltipFixedPosition["rt"] = "rt";
|
|
53144
|
-
TooltipFixedPosition["bl"] = "bl";
|
|
53145
|
-
TooltipFixedPosition["lb"] = "lb";
|
|
53146
|
-
TooltipFixedPosition["br"] = "br";
|
|
53147
|
-
TooltipFixedPosition["rb"] = "rb";
|
|
53148
|
-
TooltipFixedPosition["inside"] = "inside";
|
|
53149
|
-
})(TooltipFixedPosition || (TooltipFixedPosition = {}));
|
|
53150
|
-
var TooltipPositionMode;
|
|
53151
|
-
(function (TooltipPositionMode) {
|
|
53152
|
-
TooltipPositionMode["pointer"] = "pointer";
|
|
53153
|
-
TooltipPositionMode["mark"] = "mark";
|
|
53154
|
-
})(TooltipPositionMode || (TooltipPositionMode = {}));
|
|
53155
|
-
|
|
53156
53061
|
function setDefaultCrosshairForCartesianChart(spec) {
|
|
53157
53062
|
spec.crosshair = array(spec.crosshair || {}).map(crosshairCfg => {
|
|
53158
53063
|
return mergeSpec({
|
|
53159
|
-
[spec.direction ===
|
|
53064
|
+
[spec.direction === "horizontal" ? 'yField' : 'xField']: {
|
|
53160
53065
|
visible: true,
|
|
53161
53066
|
line: {
|
|
53162
53067
|
visible: true,
|
|
@@ -53249,16 +53154,6 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
53249
53154
|
STATE_VALUE_ENUM_REVERSE["STATE_DIMENSION_HOVER_REVERSE"] = "dimension_hover_reverse";
|
|
53250
53155
|
STATE_VALUE_ENUM_REVERSE["STATE_SELECTED_REVERSE"] = "selected_reverse";
|
|
53251
53156
|
})(STATE_VALUE_ENUM_REVERSE || (STATE_VALUE_ENUM_REVERSE = {}));
|
|
53252
|
-
var STATE_LEVEL;
|
|
53253
|
-
(function (STATE_LEVEL) {
|
|
53254
|
-
STATE_LEVEL[STATE_LEVEL["NORMAL"] = 0] = "NORMAL";
|
|
53255
|
-
STATE_LEVEL[STATE_LEVEL["DIMENSION_SELECTED"] = 1] = "DIMENSION_SELECTED";
|
|
53256
|
-
STATE_LEVEL[STATE_LEVEL["RELATIONAL_SELECTED"] = 2] = "RELATIONAL_SELECTED";
|
|
53257
|
-
STATE_LEVEL[STATE_LEVEL["SELECTED"] = 3] = "SELECTED";
|
|
53258
|
-
STATE_LEVEL[STATE_LEVEL["DIMENSION_HOVER"] = 4] = "DIMENSION_HOVER";
|
|
53259
|
-
STATE_LEVEL[STATE_LEVEL["RELATIONAL_HOVER"] = 5] = "RELATIONAL_HOVER";
|
|
53260
|
-
STATE_LEVEL[STATE_LEVEL["HOVER"] = 6] = "HOVER";
|
|
53261
|
-
})(STATE_LEVEL || (STATE_LEVEL = {}));
|
|
53262
53157
|
|
|
53263
53158
|
class MarkSet {
|
|
53264
53159
|
constructor() {
|
|
@@ -53880,12 +53775,6 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
53880
53775
|
}
|
|
53881
53776
|
}
|
|
53882
53777
|
|
|
53883
|
-
var IFilterMode;
|
|
53884
|
-
(function (IFilterMode) {
|
|
53885
|
-
IFilterMode["filter"] = "filter";
|
|
53886
|
-
IFilterMode["axis"] = "axis";
|
|
53887
|
-
})(IFilterMode || (IFilterMode = {}));
|
|
53888
|
-
|
|
53889
53778
|
class BaseModelSpecTransformer {
|
|
53890
53779
|
constructor(option) {
|
|
53891
53780
|
this._option = option;
|
|
@@ -54625,13 +54514,13 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
54625
54514
|
const chartSpec = this._option.getChart().getSpec();
|
|
54626
54515
|
const hasDataZoom = (_b = (_a = chartSpec.dataZoom) === null || _a === void 0 ? void 0 : _a.some) === null || _b === void 0 ? void 0 : _b.call(_a, (entry) => {
|
|
54627
54516
|
var _a;
|
|
54628
|
-
const filterMode = (_a = entry.filterMode) !== null && _a !== void 0 ? _a :
|
|
54629
|
-
return filterMode ===
|
|
54517
|
+
const filterMode = (_a = entry.filterMode) !== null && _a !== void 0 ? _a : "filter";
|
|
54518
|
+
return filterMode === "axis";
|
|
54630
54519
|
});
|
|
54631
54520
|
const hasScrollBar = (_d = (_c = chartSpec.scrollBar) === null || _c === void 0 ? void 0 : _c.some) === null || _d === void 0 ? void 0 : _d.call(_c, (entry) => {
|
|
54632
54521
|
var _a;
|
|
54633
|
-
const filterMode = (_a = entry.filterMode) !== null && _a !== void 0 ? _a :
|
|
54634
|
-
return filterMode ===
|
|
54522
|
+
const filterMode = (_a = entry.filterMode) !== null && _a !== void 0 ? _a : "axis";
|
|
54523
|
+
return filterMode === "axis";
|
|
54635
54524
|
});
|
|
54636
54525
|
return hasDataZoom || hasScrollBar ? true : this._layout.layoutClip;
|
|
54637
54526
|
}
|
|
@@ -54643,9 +54532,9 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
54643
54532
|
this._groupMark = this._createGroupMark('regionGroup', this.userId, this.layoutZIndex);
|
|
54644
54533
|
this._interactionMark = this._createGroupMark('regionInteractionGroup', this.userId + '_interaction', exports.LayoutZIndex.Interaction);
|
|
54645
54534
|
if (this._spec.style) {
|
|
54646
|
-
this._backgroundMark = this._createMark({ type:
|
|
54535
|
+
this._backgroundMark = this._createMark({ type: "rect", name: 'regionBackground' });
|
|
54647
54536
|
if (clip) {
|
|
54648
|
-
this._foregroundMark = this._createMark({ type:
|
|
54537
|
+
this._foregroundMark = this._createMark({ type: "rect", name: 'regionForeground' });
|
|
54649
54538
|
}
|
|
54650
54539
|
[this._backgroundMark, this._foregroundMark].forEach(mark => {
|
|
54651
54540
|
if (mark) {
|
|
@@ -54664,7 +54553,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
54664
54553
|
}
|
|
54665
54554
|
_createGroupMark(name, userId, zIndex) {
|
|
54666
54555
|
var _a, _b;
|
|
54667
|
-
const groupMark = this._createMark({ type:
|
|
54556
|
+
const groupMark = this._createMark({ type: "group", name });
|
|
54668
54557
|
groupMark.setUserId(userId);
|
|
54669
54558
|
groupMark.setZIndex(zIndex);
|
|
54670
54559
|
const clip = (_a = this._spec.clip) !== null && _a !== void 0 ? _a : this._getClipDefaultValue();
|
|
@@ -55492,7 +55381,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
55492
55381
|
}
|
|
55493
55382
|
Layout.type = 'base';
|
|
55494
55383
|
|
|
55495
|
-
const MultiDatumMark = [
|
|
55384
|
+
const MultiDatumMark = ["line", "area", 'trail'];
|
|
55496
55385
|
function isMultiDatumMark(type) {
|
|
55497
55386
|
return MultiDatumMark.includes(type);
|
|
55498
55387
|
}
|
|
@@ -56581,7 +56470,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
56581
56470
|
}
|
|
56582
56471
|
}
|
|
56583
56472
|
}
|
|
56584
|
-
GroupMark.type =
|
|
56473
|
+
GroupMark.type = "group";
|
|
56585
56474
|
const registerGroupMark = () => {
|
|
56586
56475
|
registerGroupGraphic();
|
|
56587
56476
|
Factory.registerMark(GroupMark.type, GroupMark);
|
|
@@ -56595,9 +56484,9 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
56595
56484
|
};
|
|
56596
56485
|
const Appear_Grow$6 = (params) => {
|
|
56597
56486
|
return {
|
|
56598
|
-
type: params.direction ===
|
|
56487
|
+
type: params.direction === "horizontal" ? 'growPointsXIn' : 'growPointsYIn',
|
|
56599
56488
|
options: {
|
|
56600
|
-
orient: params.direction ===
|
|
56489
|
+
orient: params.direction === "horizontal" ? 'positive' : 'negative'
|
|
56601
56490
|
}
|
|
56602
56491
|
};
|
|
56603
56492
|
};
|
|
@@ -58443,43 +58332,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
58443
58332
|
registerChartPlugin(MediaQuery);
|
|
58444
58333
|
};
|
|
58445
58334
|
|
|
58446
|
-
const version = "1.8.
|
|
58447
|
-
|
|
58448
|
-
var ChartTypeEnum;
|
|
58449
|
-
(function (ChartTypeEnum) {
|
|
58450
|
-
ChartTypeEnum["common"] = "common";
|
|
58451
|
-
ChartTypeEnum["area"] = "area";
|
|
58452
|
-
ChartTypeEnum["line"] = "line";
|
|
58453
|
-
ChartTypeEnum["bar"] = "bar";
|
|
58454
|
-
ChartTypeEnum["bar3d"] = "bar3d";
|
|
58455
|
-
ChartTypeEnum["histogram"] = "histogram";
|
|
58456
|
-
ChartTypeEnum["histogram3d"] = "histogram3d";
|
|
58457
|
-
ChartTypeEnum["rangeColumn"] = "rangeColumn";
|
|
58458
|
-
ChartTypeEnum["rangeColumn3d"] = "rangeColumn3d";
|
|
58459
|
-
ChartTypeEnum["rangeArea"] = "rangeArea";
|
|
58460
|
-
ChartTypeEnum["map"] = "map";
|
|
58461
|
-
ChartTypeEnum["pie"] = "pie";
|
|
58462
|
-
ChartTypeEnum["pie3d"] = "pie3d";
|
|
58463
|
-
ChartTypeEnum["radar"] = "radar";
|
|
58464
|
-
ChartTypeEnum["rose"] = "rose";
|
|
58465
|
-
ChartTypeEnum["scatter"] = "scatter";
|
|
58466
|
-
ChartTypeEnum["sequence"] = "sequence";
|
|
58467
|
-
ChartTypeEnum["circularProgress"] = "circularProgress";
|
|
58468
|
-
ChartTypeEnum["linearProgress"] = "linearProgress";
|
|
58469
|
-
ChartTypeEnum["wordCloud"] = "wordCloud";
|
|
58470
|
-
ChartTypeEnum["wordCloud3d"] = "wordCloud3d";
|
|
58471
|
-
ChartTypeEnum["funnel"] = "funnel";
|
|
58472
|
-
ChartTypeEnum["funnel3d"] = "funnel3d";
|
|
58473
|
-
ChartTypeEnum["waterfall"] = "waterfall";
|
|
58474
|
-
ChartTypeEnum["boxPlot"] = "boxPlot";
|
|
58475
|
-
ChartTypeEnum["gauge"] = "gauge";
|
|
58476
|
-
ChartTypeEnum["sankey"] = "sankey";
|
|
58477
|
-
ChartTypeEnum["treemap"] = "treemap";
|
|
58478
|
-
ChartTypeEnum["sunburst"] = "sunburst";
|
|
58479
|
-
ChartTypeEnum["circlePacking"] = "circlePacking";
|
|
58480
|
-
ChartTypeEnum["heatmap"] = "heatmap";
|
|
58481
|
-
ChartTypeEnum["correlation"] = "correlation";
|
|
58482
|
-
})(ChartTypeEnum || (ChartTypeEnum = {}));
|
|
58335
|
+
const version = "1.8.10";
|
|
58483
58336
|
|
|
58484
58337
|
const addVChartProperty = (data, op) => {
|
|
58485
58338
|
const context = op.beforeCall();
|
|
@@ -59121,7 +58974,17 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
59121
58974
|
}
|
|
59122
58975
|
let stateConfig;
|
|
59123
58976
|
if (isArray$1(userStateConfig)) {
|
|
59124
|
-
stateConfig = userStateConfig
|
|
58977
|
+
stateConfig = userStateConfig.map((userConfig, i) => {
|
|
58978
|
+
var _a;
|
|
58979
|
+
let singleConfig = userConfig;
|
|
58980
|
+
if (isChannelAnimation(singleConfig)) {
|
|
58981
|
+
delete singleConfig.type;
|
|
58982
|
+
}
|
|
58983
|
+
if (singleConfig.oneByOne) {
|
|
58984
|
+
singleConfig = produceOneByOne(singleConfig, (_a = params === null || params === void 0 ? void 0 : params.dataIndex) !== null && _a !== void 0 ? _a : defaultDataIndex, params === null || params === void 0 ? void 0 : params.dataCount);
|
|
58985
|
+
}
|
|
58986
|
+
return singleConfig;
|
|
58987
|
+
});
|
|
59125
58988
|
}
|
|
59126
58989
|
else {
|
|
59127
58990
|
stateConfig = defaultStateConfig.map((stateConfig, i) => {
|
|
@@ -59569,8 +59432,8 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
59569
59432
|
if (fieldInfo && fieldInfo.lockStatisticsByDomain && fieldInfo.domain) {
|
|
59570
59433
|
this._rawStatisticsCache[field] = {};
|
|
59571
59434
|
if (isNumeric) {
|
|
59572
|
-
this._rawStatisticsCache[field].min =
|
|
59573
|
-
this._rawStatisticsCache[field].max =
|
|
59435
|
+
this._rawStatisticsCache[field].min = minInArray(fieldInfo.domain);
|
|
59436
|
+
this._rawStatisticsCache[field].max = maxInArray(fieldInfo.domain);
|
|
59574
59437
|
}
|
|
59575
59438
|
else {
|
|
59576
59439
|
this._rawStatisticsCache[field].values = fieldInfo.domain;
|
|
@@ -59583,6 +59446,10 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
59583
59446
|
}
|
|
59584
59447
|
}
|
|
59585
59448
|
}
|
|
59449
|
+
if (isNumeric && (isNil$1(this._rawStatisticsCache[field].min) || isNil$1(this._rawStatisticsCache[field].max))) {
|
|
59450
|
+
this._rawStatisticsCache[field].min = minInArray(this._rawStatisticsCache[field].values);
|
|
59451
|
+
this._rawStatisticsCache[field].max = maxInArray(this._rawStatisticsCache[field].values);
|
|
59452
|
+
}
|
|
59586
59453
|
return this._rawStatisticsCache[field];
|
|
59587
59454
|
}
|
|
59588
59455
|
_statisticViewData() {
|
|
@@ -59751,7 +59618,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
59751
59618
|
}
|
|
59752
59619
|
initRootMark() {
|
|
59753
59620
|
var _a, _b;
|
|
59754
|
-
this._rootMark = this._createMark({ type:
|
|
59621
|
+
this._rootMark = this._createMark({ type: "group", name: `seriesGroup_${this.type}_${this.id}` }, {
|
|
59755
59622
|
parent: (_b = (_a = this._region).getGroupMark) === null || _b === void 0 ? void 0 : _b.call(_a),
|
|
59756
59623
|
dataView: false
|
|
59757
59624
|
});
|
|
@@ -60269,7 +60136,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
60269
60136
|
this._scaleConfig = {
|
|
60270
60137
|
bandPosition: this._bandPosition
|
|
60271
60138
|
};
|
|
60272
|
-
this._direction =
|
|
60139
|
+
this._direction = "vertical";
|
|
60273
60140
|
this._sortDataByAxis = false;
|
|
60274
60141
|
this._getInvalidDefined = (datum) => {
|
|
60275
60142
|
var _a, _b;
|
|
@@ -60420,13 +60287,13 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
60420
60287
|
return this.getGroupFields();
|
|
60421
60288
|
}
|
|
60422
60289
|
getStackValueField() {
|
|
60423
|
-
if (this.direction ===
|
|
60290
|
+
if (this.direction === "vertical") {
|
|
60424
60291
|
return array(this._spec.yField)[0];
|
|
60425
60292
|
}
|
|
60426
60293
|
return array(this._spec.xField)[0];
|
|
60427
60294
|
}
|
|
60428
60295
|
setValueFieldToStack() {
|
|
60429
|
-
if (this.direction ===
|
|
60296
|
+
if (this.direction === "vertical") {
|
|
60430
60297
|
this.setFieldY(STACK_FIELD_END);
|
|
60431
60298
|
this.setFieldY2(STACK_FIELD_START);
|
|
60432
60299
|
}
|
|
@@ -60436,7 +60303,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
60436
60303
|
}
|
|
60437
60304
|
}
|
|
60438
60305
|
setValueFieldToPercent() {
|
|
60439
|
-
if (this.direction ===
|
|
60306
|
+
if (this.direction === "vertical") {
|
|
60440
60307
|
this.setFieldY(STACK_FIELD_END_PERCENT);
|
|
60441
60308
|
this.setFieldY2(STACK_FIELD_START_PERCENT);
|
|
60442
60309
|
}
|
|
@@ -60446,7 +60313,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
60446
60313
|
}
|
|
60447
60314
|
}
|
|
60448
60315
|
setValueFieldToStackOffsetSilhouette() {
|
|
60449
|
-
if (this.direction ===
|
|
60316
|
+
if (this.direction === "vertical") {
|
|
60450
60317
|
this.setFieldY(STACK_FIELD_END_OffsetSilhouette);
|
|
60451
60318
|
this.setFieldY2(STACK_FIELD_START_OffsetSilhouette);
|
|
60452
60319
|
}
|
|
@@ -60648,13 +60515,13 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
60648
60515
|
this._buildScaleConfig();
|
|
60649
60516
|
}
|
|
60650
60517
|
getDimensionField() {
|
|
60651
|
-
if (this._direction ===
|
|
60518
|
+
if (this._direction === "vertical") {
|
|
60652
60519
|
return this._specXField;
|
|
60653
60520
|
}
|
|
60654
60521
|
return this._specYField;
|
|
60655
60522
|
}
|
|
60656
60523
|
getMeasureField() {
|
|
60657
|
-
if (this._direction ===
|
|
60524
|
+
if (this._direction === "vertical") {
|
|
60658
60525
|
return this._specYField;
|
|
60659
60526
|
}
|
|
60660
60527
|
return this._specXField;
|
|
@@ -60668,7 +60535,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
60668
60535
|
_sortDataInAxisDomain() {
|
|
60669
60536
|
var _a, _b, _c;
|
|
60670
60537
|
if ((_b = (_a = this.getViewData()) === null || _a === void 0 ? void 0 : _a.latestData) === null || _b === void 0 ? void 0 : _b.length) {
|
|
60671
|
-
sortDataInAxisHelper(this._direction ===
|
|
60538
|
+
sortDataInAxisHelper(this._direction === "horizontal" ? this._yAxisHelper : this._xAxisHelper, this._direction === "horizontal" ? this._fieldY[0] : this._fieldX[0], this.getViewData().latestData);
|
|
60672
60539
|
(_c = this._data) === null || _c === void 0 ? void 0 : _c.updateData(true);
|
|
60673
60540
|
}
|
|
60674
60541
|
}
|
|
@@ -60683,6 +60550,11 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
60683
60550
|
}
|
|
60684
60551
|
}
|
|
60685
60552
|
|
|
60553
|
+
const DEFAULT_SMOOTH_INTERPOLATE = 'monotone';
|
|
60554
|
+
const DEFAULT_LINEAR_INTERPOLATE = 'linear';
|
|
60555
|
+
|
|
60556
|
+
const DEFAULT_CLOSE_STROKE_JOIN = 'bevel';
|
|
60557
|
+
|
|
60686
60558
|
class LineLikeSeriesMixin {
|
|
60687
60559
|
addSamplingCompile() {
|
|
60688
60560
|
if (this._spec.sampling) {
|
|
@@ -60692,9 +60564,9 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
60692
60564
|
const fieldsX = this._fieldX;
|
|
60693
60565
|
samplingTrans.push({
|
|
60694
60566
|
type: 'sampling',
|
|
60695
|
-
size: this._direction ===
|
|
60567
|
+
size: this._direction === "vertical" ? width : height,
|
|
60696
60568
|
factor: this._spec.samplingFactor,
|
|
60697
|
-
yfield: this._direction ===
|
|
60569
|
+
yfield: this._direction === "vertical" ? fieldsY[0] : fieldsX[0],
|
|
60698
60570
|
groupBy: this._seriesField,
|
|
60699
60571
|
mode: this._spec.sampling
|
|
60700
60572
|
});
|
|
@@ -60707,7 +60579,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
60707
60579
|
const overlapTrans = [];
|
|
60708
60580
|
overlapTrans.push({
|
|
60709
60581
|
type: 'markoverlap',
|
|
60710
|
-
direction: this._direction ===
|
|
60582
|
+
direction: this._direction === "horizontal" && this.coordinate === 'cartesian' ? 2 : 1,
|
|
60711
60583
|
delta: this._spec.pointDis,
|
|
60712
60584
|
deltaMul: this._spec.pointDisMul,
|
|
60713
60585
|
groupBy: this._seriesField
|
|
@@ -60757,7 +60629,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
60757
60629
|
else {
|
|
60758
60630
|
const userCurveType = areaCurveType !== null && areaCurveType !== void 0 ? areaCurveType : (_b = (_a = this.getSpec().line) === null || _a === void 0 ? void 0 : _a.style) === null || _b === void 0 ? void 0 : _b.curveType;
|
|
60759
60631
|
const curveType = userCurveType === DEFAULT_SMOOTH_INTERPOLATE
|
|
60760
|
-
? direction ===
|
|
60632
|
+
? direction === "vertical"
|
|
60761
60633
|
? 'monotoneX'
|
|
60762
60634
|
: 'monotoneY'
|
|
60763
60635
|
: userCurveType;
|
|
@@ -60815,7 +60687,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
60815
60687
|
if (this._spec.activePoint === true) {
|
|
60816
60688
|
const activeData = new DataView(this._option.dataSet, { name: `${PREFIX}_series_${this.id}_active_point` });
|
|
60817
60689
|
activeData.parse([]);
|
|
60818
|
-
this._symbolActiveMark = this._createMark({ name: `active_point`, type:
|
|
60690
|
+
this._symbolActiveMark = this._createMark({ name: `active_point`, type: "symbol" }, {
|
|
60819
60691
|
morph: false,
|
|
60820
60692
|
groupKey: this._seriesField,
|
|
60821
60693
|
isSeriesMark: false,
|
|
@@ -61019,7 +60891,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
61019
60891
|
return ['fill', 'fillOpacity'];
|
|
61020
60892
|
}
|
|
61021
60893
|
}
|
|
61022
|
-
LineMark.type =
|
|
60894
|
+
LineMark.type = "line";
|
|
61023
60895
|
const registerLineMark = () => {
|
|
61024
60896
|
Factory.registerMark(LineMark.type, LineMark);
|
|
61025
60897
|
registerLineGraphic();
|
|
@@ -61028,7 +60900,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
61028
60900
|
|
|
61029
60901
|
class BaseSymbolMark extends BaseMark {
|
|
61030
60902
|
_getDefaultStyle() {
|
|
61031
|
-
const defaultStyle = Object.assign(Object.assign({}, super._getDefaultStyle()), { size: 1, symbolType:
|
|
60903
|
+
const defaultStyle = Object.assign(Object.assign({}, super._getDefaultStyle()), { size: 1, symbolType: 'circle', fill: undefined, lineWidth: 0 });
|
|
61032
60904
|
return defaultStyle;
|
|
61033
60905
|
}
|
|
61034
60906
|
}
|
|
@@ -61038,7 +60910,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
61038
60910
|
this.type = SymbolMark.type;
|
|
61039
60911
|
}
|
|
61040
60912
|
}
|
|
61041
|
-
SymbolMark.type =
|
|
60913
|
+
SymbolMark.type = "symbol";
|
|
61042
60914
|
const registerSymbolMark = () => {
|
|
61043
60915
|
Factory.registerMark(SymbolMark.type, SymbolMark);
|
|
61044
60916
|
registerSymbolGraphic();
|
|
@@ -61049,12 +60921,12 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
61049
60921
|
var _a, _b, _c;
|
|
61050
60922
|
const isPointVisible = ((_a = spec.point) === null || _a === void 0 ? void 0 : _a.visible) !== false && ((_c = (_b = spec.point) === null || _b === void 0 ? void 0 : _b.style) === null || _c === void 0 ? void 0 : _c.visible) !== false;
|
|
61051
60923
|
if (!isPointVisible) {
|
|
61052
|
-
this._addMarkLabelSpec(spec,
|
|
60924
|
+
this._addMarkLabelSpec(spec, "line");
|
|
61053
60925
|
}
|
|
61054
60926
|
else {
|
|
61055
|
-
this._addMarkLabelSpec(spec,
|
|
60927
|
+
this._addMarkLabelSpec(spec, "point");
|
|
61056
60928
|
}
|
|
61057
|
-
this._addMarkLabelSpec(spec,
|
|
60929
|
+
this._addMarkLabelSpec(spec, "line", 'lineLabel', 'initLineLabelMarkStyle', undefined, true);
|
|
61058
60930
|
}
|
|
61059
60931
|
}
|
|
61060
60932
|
|
|
@@ -61095,10 +60967,10 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
61095
60967
|
var _a, _b, _c, _d;
|
|
61096
60968
|
const lineAnimationParams = { direction: this.direction };
|
|
61097
60969
|
const appearPreset = (_b = (_a = this._spec) === null || _a === void 0 ? void 0 : _a.animationAppear) === null || _b === void 0 ? void 0 : _b.preset;
|
|
61098
|
-
this._lineMark.setAnimationConfig(animationConfig((_c = Factory.getAnimationInKey('line')) === null || _c === void 0 ? void 0 : _c(lineAnimationParams, appearPreset), userAnimationConfig(
|
|
60970
|
+
this._lineMark.setAnimationConfig(animationConfig((_c = Factory.getAnimationInKey('line')) === null || _c === void 0 ? void 0 : _c(lineAnimationParams, appearPreset), userAnimationConfig("line", this._spec, this._markAttributeContext)));
|
|
61099
60971
|
if (this._symbolMark) {
|
|
61100
60972
|
const animationParams = getGroupAnimationParams(this);
|
|
61101
|
-
this._symbolMark.setAnimationConfig(animationConfig((_d = Factory.getAnimationInKey('scaleInOut')) === null || _d === void 0 ? void 0 : _d(), userAnimationConfig(
|
|
60973
|
+
this._symbolMark.setAnimationConfig(animationConfig((_d = Factory.getAnimationInKey('scaleInOut')) === null || _d === void 0 ? void 0 : _d(), userAnimationConfig("point", this._spec, this._markAttributeContext), animationParams));
|
|
61102
60974
|
}
|
|
61103
60975
|
}
|
|
61104
60976
|
onLayoutEnd(ctx) {
|
|
@@ -61779,7 +61651,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
61779
61651
|
_createBackground() {
|
|
61780
61652
|
const backgroundStyle = convertBackgroundSpec(this._spec.background);
|
|
61781
61653
|
if (backgroundStyle) {
|
|
61782
|
-
this._backgroundMark = Factory.createMark(
|
|
61654
|
+
this._backgroundMark = Factory.createMark("group", 'chart-background', {
|
|
61783
61655
|
model: this,
|
|
61784
61656
|
map: this._option.map,
|
|
61785
61657
|
getCompiler: this.getCompiler,
|
|
@@ -62753,12 +62625,12 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
62753
62625
|
constructor() {
|
|
62754
62626
|
super(...arguments);
|
|
62755
62627
|
this.transformerConstructor = LineChartSpecTransformer;
|
|
62756
|
-
this.type =
|
|
62628
|
+
this.type = "line";
|
|
62757
62629
|
this.seriesType = exports.SeriesTypeEnum.line;
|
|
62758
62630
|
this._canStack = true;
|
|
62759
62631
|
}
|
|
62760
62632
|
}
|
|
62761
|
-
LineChart.type =
|
|
62633
|
+
LineChart.type = "line";
|
|
62762
62634
|
LineChart.seriesType = exports.SeriesTypeEnum.line;
|
|
62763
62635
|
LineChart.view = 'singleDefault';
|
|
62764
62636
|
LineChart.transformerConstructor = LineChartSpecTransformer;
|
|
@@ -62780,7 +62652,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
62780
62652
|
return [];
|
|
62781
62653
|
}
|
|
62782
62654
|
}
|
|
62783
|
-
AreaMark.type =
|
|
62655
|
+
AreaMark.type = "area";
|
|
62784
62656
|
const registerAreaMark = () => {
|
|
62785
62657
|
Factory.registerMark(AreaMark.type, AreaMark);
|
|
62786
62658
|
registerAreaGraphic();
|
|
@@ -62816,9 +62688,9 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
62816
62688
|
};
|
|
62817
62689
|
const Appear_Grow$5 = (params) => {
|
|
62818
62690
|
return {
|
|
62819
|
-
type: params.direction ===
|
|
62691
|
+
type: params.direction === "horizontal" ? 'growPointsXIn' : 'growPointsYIn',
|
|
62820
62692
|
options: {
|
|
62821
|
-
orient: params.direction ===
|
|
62693
|
+
orient: params.direction === "horizontal" ? 'positive' : 'negative'
|
|
62822
62694
|
}
|
|
62823
62695
|
};
|
|
62824
62696
|
};
|
|
@@ -62855,10 +62727,10 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
62855
62727
|
_transformLabelSpec(spec) {
|
|
62856
62728
|
var _a, _b, _c;
|
|
62857
62729
|
super._transformLabelSpec(spec);
|
|
62858
|
-
this._addMarkLabelSpec(spec,
|
|
62730
|
+
this._addMarkLabelSpec(spec, "area", 'areaLabel', 'initLineLabelMarkStyle', undefined, true);
|
|
62859
62731
|
const isPointVisible = ((_a = spec.point) === null || _a === void 0 ? void 0 : _a.visible) !== false && ((_c = (_b = spec.point) === null || _b === void 0 ? void 0 : _b.style) === null || _c === void 0 ? void 0 : _c.visible) !== false;
|
|
62860
62732
|
if (!isPointVisible) {
|
|
62861
|
-
this._addMarkLabelSpec(spec,
|
|
62733
|
+
this._addMarkLabelSpec(spec, "area");
|
|
62862
62734
|
}
|
|
62863
62735
|
}
|
|
62864
62736
|
_transformSpecAfterMergingTheme(spec, chartSpec, chartSpecInfo) {
|
|
@@ -62935,13 +62807,13 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
62935
62807
|
var _a, _b, _c, _d, _e;
|
|
62936
62808
|
const userCurveType = ((_c = (_b = (_a = this.getSpec().area) === null || _a === void 0 ? void 0 : _a.style) === null || _b === void 0 ? void 0 : _b.curveType) !== null && _c !== void 0 ? _c : (_e = (_d = this.getSpec().line) === null || _d === void 0 ? void 0 : _d.style) === null || _e === void 0 ? void 0 : _e.curveType);
|
|
62937
62809
|
const curveType = userCurveType === DEFAULT_SMOOTH_INTERPOLATE
|
|
62938
|
-
? this._direction ===
|
|
62810
|
+
? this._direction === "vertical"
|
|
62939
62811
|
? 'monotoneX'
|
|
62940
62812
|
: 'monotoneY'
|
|
62941
62813
|
: userCurveType;
|
|
62942
62814
|
const areaMark = this._areaMark;
|
|
62943
62815
|
if (areaMark) {
|
|
62944
|
-
if (this._direction ===
|
|
62816
|
+
if (this._direction === "vertical") {
|
|
62945
62817
|
this.setMarkStyle(this._areaMark, {
|
|
62946
62818
|
x: this.dataToPositionX.bind(this),
|
|
62947
62819
|
y1: (datum) => {
|
|
@@ -62994,14 +62866,14 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
62994
62866
|
const areaAnimationParams = { direction: this.direction };
|
|
62995
62867
|
const appearPreset = (_a = this._spec.animationAppear) === null || _a === void 0 ? void 0 : _a.preset;
|
|
62996
62868
|
if (this._lineMark) {
|
|
62997
|
-
this._lineMark.setAnimationConfig(animationConfig((_b = Factory.getAnimationInKey('line')) === null || _b === void 0 ? void 0 : _b(areaAnimationParams, appearPreset), userAnimationConfig(
|
|
62869
|
+
this._lineMark.setAnimationConfig(animationConfig((_b = Factory.getAnimationInKey('line')) === null || _b === void 0 ? void 0 : _b(areaAnimationParams, appearPreset), userAnimationConfig("line", this._spec, this._markAttributeContext)));
|
|
62998
62870
|
}
|
|
62999
62871
|
if (this._areaMark) {
|
|
63000
|
-
this._areaMark.setAnimationConfig(animationConfig((_c = Factory.getAnimationInKey('area')) === null || _c === void 0 ? void 0 : _c(areaAnimationParams, appearPreset), userAnimationConfig(
|
|
62872
|
+
this._areaMark.setAnimationConfig(animationConfig((_c = Factory.getAnimationInKey('area')) === null || _c === void 0 ? void 0 : _c(areaAnimationParams, appearPreset), userAnimationConfig("area", this._spec, this._markAttributeContext)));
|
|
63001
62873
|
}
|
|
63002
62874
|
if (this._symbolMark) {
|
|
63003
62875
|
const animationParams = getGroupAnimationParams(this);
|
|
63004
|
-
this._symbolMark.setAnimationConfig(animationConfig((_d = Factory.getAnimationInKey('scaleInOut')) === null || _d === void 0 ? void 0 : _d(), userAnimationConfig(
|
|
62876
|
+
this._symbolMark.setAnimationConfig(animationConfig((_d = Factory.getAnimationInKey('scaleInOut')) === null || _d === void 0 ? void 0 : _d(), userAnimationConfig("point", this._spec, this._markAttributeContext), animationParams));
|
|
63005
62877
|
}
|
|
63006
62878
|
}
|
|
63007
62879
|
initTooltip() {
|
|
@@ -63074,12 +62946,12 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
63074
62946
|
constructor() {
|
|
63075
62947
|
super(...arguments);
|
|
63076
62948
|
this.transformerConstructor = AreaChartSpecTransformer;
|
|
63077
|
-
this.type =
|
|
62949
|
+
this.type = "area";
|
|
63078
62950
|
this.seriesType = exports.SeriesTypeEnum.area;
|
|
63079
62951
|
this._canStack = true;
|
|
63080
62952
|
}
|
|
63081
62953
|
}
|
|
63082
|
-
AreaChart.type =
|
|
62954
|
+
AreaChart.type = "area";
|
|
63083
62955
|
AreaChart.seriesType = exports.SeriesTypeEnum.area;
|
|
63084
62956
|
AreaChart.view = 'singleDefault';
|
|
63085
62957
|
AreaChart.transformerConstructor = AreaChartSpecTransformer;
|
|
@@ -63106,13 +62978,13 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
63106
62978
|
}
|
|
63107
62979
|
const barGrowIn = (params, isOverall = true) => {
|
|
63108
62980
|
return {
|
|
63109
|
-
type: params.direction ===
|
|
62981
|
+
type: params.direction === "horizontal" ? 'growWidthIn' : 'growHeightIn',
|
|
63110
62982
|
options: barGrowOption(params, isOverall)
|
|
63111
62983
|
};
|
|
63112
62984
|
};
|
|
63113
62985
|
const barGrowOut = (params, isOverall = true) => {
|
|
63114
62986
|
return {
|
|
63115
|
-
type: params.direction ===
|
|
62987
|
+
type: params.direction === "horizontal" ? 'growWidthOut' : 'growHeightOut',
|
|
63116
62988
|
options: barGrowOption(params, isOverall)
|
|
63117
62989
|
};
|
|
63118
62990
|
};
|
|
@@ -63166,7 +63038,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
63166
63038
|
return defaultStyle;
|
|
63167
63039
|
}
|
|
63168
63040
|
}
|
|
63169
|
-
RectMark.type =
|
|
63041
|
+
RectMark.type = "rect";
|
|
63170
63042
|
const registerRectMark = () => {
|
|
63171
63043
|
Factory.registerMark(RectMark.type, RectMark);
|
|
63172
63044
|
registerRectGraphic();
|
|
@@ -63217,7 +63089,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
63217
63089
|
|
|
63218
63090
|
class BarSeriesSpecTransformer extends BaseSeriesSpecTransformer {
|
|
63219
63091
|
_transformLabelSpec(spec) {
|
|
63220
|
-
this._addMarkLabelSpec(spec,
|
|
63092
|
+
this._addMarkLabelSpec(spec, "bar");
|
|
63221
63093
|
}
|
|
63222
63094
|
}
|
|
63223
63095
|
|
|
@@ -63226,8 +63098,8 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
63226
63098
|
constructor() {
|
|
63227
63099
|
super(...arguments);
|
|
63228
63100
|
this.type = exports.SeriesTypeEnum.bar;
|
|
63229
|
-
this._barMarkName =
|
|
63230
|
-
this._barMarkType =
|
|
63101
|
+
this._barMarkName = "bar";
|
|
63102
|
+
this._barMarkType = "rect";
|
|
63231
63103
|
this.transformerConstructor = BarSeriesSpecTransformer;
|
|
63232
63104
|
this._supportStack = true;
|
|
63233
63105
|
this._bandPosition = 0;
|
|
@@ -63432,7 +63304,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
63432
63304
|
var _a, _b, _c, _d;
|
|
63433
63305
|
const xScale = (_b = (_a = this._xAxisHelper) === null || _a === void 0 ? void 0 : _a.getScale) === null || _b === void 0 ? void 0 : _b.call(_a, 0);
|
|
63434
63306
|
const yScale = (_d = (_c = this._yAxisHelper) === null || _c === void 0 ? void 0 : _c.getScale) === null || _d === void 0 ? void 0 : _d.call(_c, 0);
|
|
63435
|
-
if (this.direction ===
|
|
63307
|
+
if (this.direction === "horizontal") {
|
|
63436
63308
|
this.setMarkStyle(this._barMark, {
|
|
63437
63309
|
x: (datum) => {
|
|
63438
63310
|
if (this._shouldDoPreCalculate()) {
|
|
@@ -63489,7 +63361,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
63489
63361
|
}
|
|
63490
63362
|
const xScale = (_b = (_a = this._xAxisHelper) === null || _a === void 0 ? void 0 : _a.getScale) === null || _b === void 0 ? void 0 : _b.call(_a, 0);
|
|
63491
63363
|
const yScale = (_d = (_c = this._yAxisHelper) === null || _c === void 0 ? void 0 : _c.getScale) === null || _d === void 0 ? void 0 : _d.call(_c, 0);
|
|
63492
|
-
if (this.direction ===
|
|
63364
|
+
if (this.direction === "horizontal") {
|
|
63493
63365
|
this.setMarkStyle(this._barBackgroundMark, {
|
|
63494
63366
|
x: () => {
|
|
63495
63367
|
const range = xScale.range();
|
|
@@ -63528,7 +63400,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
63528
63400
|
var _a, _b, _c, _d;
|
|
63529
63401
|
const xScale = (_b = (_a = this._xAxisHelper) === null || _a === void 0 ? void 0 : _a.getScale) === null || _b === void 0 ? void 0 : _b.call(_a, 0);
|
|
63530
63402
|
const yScale = (_d = (_c = this._yAxisHelper) === null || _c === void 0 ? void 0 : _c.getScale) === null || _d === void 0 ? void 0 : _d.call(_c, 0);
|
|
63531
|
-
if (this.direction ===
|
|
63403
|
+
if (this.direction === "vertical") {
|
|
63532
63404
|
this.setMarkStyle(this._barMark, {
|
|
63533
63405
|
x: (datum) => valueInScaleRange(this.dataToPositionX(datum), xScale),
|
|
63534
63406
|
x1: (datum) => valueInScaleRange(this.dataToPositionX1(datum), xScale),
|
|
@@ -63615,7 +63487,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
63615
63487
|
let axisHelper;
|
|
63616
63488
|
let sizeAttribute;
|
|
63617
63489
|
let dataToPosition;
|
|
63618
|
-
if (direction ===
|
|
63490
|
+
if (direction === "horizontal") {
|
|
63619
63491
|
axisHelper = this.getYAxisHelper();
|
|
63620
63492
|
sizeAttribute = 'height';
|
|
63621
63493
|
dataToPosition = this.dataToPositionY.bind(this);
|
|
@@ -63672,9 +63544,9 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
63672
63544
|
const fieldsX = this._fieldX;
|
|
63673
63545
|
samplingTrans.push({
|
|
63674
63546
|
type: 'sampling',
|
|
63675
|
-
size: this._direction ===
|
|
63547
|
+
size: this._direction === "vertical" ? width : height,
|
|
63676
63548
|
factor: this._spec.samplingFactor,
|
|
63677
|
-
yfield: this._direction ===
|
|
63549
|
+
yfield: this._direction === "vertical" ? fieldsY[0] : fieldsX[0],
|
|
63678
63550
|
groupBy: this._seriesField,
|
|
63679
63551
|
mode: this._spec.sampling
|
|
63680
63552
|
});
|
|
@@ -63734,12 +63606,12 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
63734
63606
|
constructor() {
|
|
63735
63607
|
super(...arguments);
|
|
63736
63608
|
this.transformerConstructor = BarChartSpecTransformer;
|
|
63737
|
-
this.type =
|
|
63609
|
+
this.type = "bar";
|
|
63738
63610
|
this.seriesType = exports.SeriesTypeEnum.bar;
|
|
63739
63611
|
this._canStack = true;
|
|
63740
63612
|
}
|
|
63741
63613
|
}
|
|
63742
|
-
BarChart.type =
|
|
63614
|
+
BarChart.type = "bar";
|
|
63743
63615
|
BarChart.seriesType = exports.SeriesTypeEnum.bar;
|
|
63744
63616
|
BarChart.view = 'singleDefault';
|
|
63745
63617
|
BarChart.transformerConstructor = BarChartSpecTransformer;
|
|
@@ -63758,7 +63630,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
63758
63630
|
return defaultStyle;
|
|
63759
63631
|
}
|
|
63760
63632
|
}
|
|
63761
|
-
Rect3dMark.type =
|
|
63633
|
+
Rect3dMark.type = "rect3d";
|
|
63762
63634
|
const registerRect3dMark = () => {
|
|
63763
63635
|
Factory.registerMark(Rect3dMark.type, Rect3dMark);
|
|
63764
63636
|
registerRect3dGraphic();
|
|
@@ -63769,8 +63641,8 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
63769
63641
|
constructor() {
|
|
63770
63642
|
super(...arguments);
|
|
63771
63643
|
this.type = exports.SeriesTypeEnum.bar3d;
|
|
63772
|
-
this._barMarkName =
|
|
63773
|
-
this._barMarkType =
|
|
63644
|
+
this._barMarkName = "bar3d";
|
|
63645
|
+
this._barMarkType = "rect3d";
|
|
63774
63646
|
}
|
|
63775
63647
|
}
|
|
63776
63648
|
Bar3dSeries.type = exports.SeriesTypeEnum.bar3d;
|
|
@@ -63791,11 +63663,11 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
63791
63663
|
constructor() {
|
|
63792
63664
|
super(...arguments);
|
|
63793
63665
|
this.transformerConstructor = Bar3dChartSpecTransformer;
|
|
63794
|
-
this.type =
|
|
63666
|
+
this.type = "bar3d";
|
|
63795
63667
|
this.seriesType = exports.SeriesTypeEnum.bar3d;
|
|
63796
63668
|
}
|
|
63797
63669
|
}
|
|
63798
|
-
Bar3dChart.type =
|
|
63670
|
+
Bar3dChart.type = "bar3d";
|
|
63799
63671
|
Bar3dChart.seriesType = exports.SeriesTypeEnum.bar3d;
|
|
63800
63672
|
Bar3dChart.view = 'singleDefault';
|
|
63801
63673
|
Bar3dChart.transformerConstructor = Bar3dChartSpecTransformer;
|
|
@@ -63836,7 +63708,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
63836
63708
|
|
|
63837
63709
|
class ScatterSeriesSpecTransformer extends BaseSeriesSpecTransformer {
|
|
63838
63710
|
_transformLabelSpec(spec) {
|
|
63839
|
-
this._addMarkLabelSpec(spec,
|
|
63711
|
+
this._addMarkLabelSpec(spec, "point");
|
|
63840
63712
|
}
|
|
63841
63713
|
}
|
|
63842
63714
|
|
|
@@ -63957,7 +63829,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
63957
63829
|
var _a, _b, _c;
|
|
63958
63830
|
const animationParams = getGroupAnimationParams(this);
|
|
63959
63831
|
const appearPreset = (_b = (_a = this._spec) === null || _a === void 0 ? void 0 : _a.animationAppear) === null || _b === void 0 ? void 0 : _b.preset;
|
|
63960
|
-
this._symbolMark.setAnimationConfig(animationConfig((_c = Factory.getAnimationInKey('scatter')) === null || _c === void 0 ? void 0 : _c({}, appearPreset), userAnimationConfig(
|
|
63832
|
+
this._symbolMark.setAnimationConfig(animationConfig((_c = Factory.getAnimationInKey('scatter')) === null || _c === void 0 ? void 0 : _c({}, appearPreset), userAnimationConfig("point", this._spec, this._markAttributeContext), animationParams));
|
|
63961
63833
|
}
|
|
63962
63834
|
initSymbolMarkStyle() {
|
|
63963
63835
|
const symbolMark = this._symbolMark;
|
|
@@ -64092,12 +63964,12 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
64092
63964
|
constructor() {
|
|
64093
63965
|
super(...arguments);
|
|
64094
63966
|
this.transformerConstructor = ScatterChartSpecTransformer;
|
|
64095
|
-
this.type =
|
|
63967
|
+
this.type = "scatter";
|
|
64096
63968
|
this.seriesType = exports.SeriesTypeEnum.scatter;
|
|
64097
63969
|
this._canStack = true;
|
|
64098
63970
|
}
|
|
64099
63971
|
}
|
|
64100
|
-
ScatterChart.type =
|
|
63972
|
+
ScatterChart.type = "scatter";
|
|
64101
63973
|
ScatterChart.seriesType = exports.SeriesTypeEnum.scatter;
|
|
64102
63974
|
ScatterChart.view = 'singleDefault';
|
|
64103
63975
|
ScatterChart.transformerConstructor = ScatterChartSpecTransformer;
|
|
@@ -64478,7 +64350,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
64478
64350
|
return defaultStyle;
|
|
64479
64351
|
}
|
|
64480
64352
|
}
|
|
64481
|
-
PathMark.type =
|
|
64353
|
+
PathMark.type = "path";
|
|
64482
64354
|
const registerPathMark = () => {
|
|
64483
64355
|
Factory.registerMark(PathMark.type, PathMark);
|
|
64484
64356
|
registerPathGraphic();
|
|
@@ -64778,8 +64650,8 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
64778
64650
|
const theme = getComponentThemeFromOption(type, chartTheme);
|
|
64779
64651
|
const directionTheme = theme[getDirectionByOrient(orient)];
|
|
64780
64652
|
const finalTheme = mergeSpec({}, theme, directionTheme);
|
|
64781
|
-
delete finalTheme[
|
|
64782
|
-
delete finalTheme[
|
|
64653
|
+
delete finalTheme["horizontal"];
|
|
64654
|
+
delete finalTheme["vertical"];
|
|
64783
64655
|
return finalTheme;
|
|
64784
64656
|
};
|
|
64785
64657
|
|
|
@@ -65091,10 +64963,10 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
65091
64963
|
this._isGestureListener = isMobileLikeMode(this._renderMode) || isMiniAppLikeMode(this._renderMode);
|
|
65092
64964
|
if (getDefaultTriggerEventByMode(this._renderMode)) {
|
|
65093
64965
|
this._clickEnable = true;
|
|
65094
|
-
this._zoomableTrigger = new (this.
|
|
64966
|
+
this._zoomableTrigger = new (this._getZoomTriggerEvent('trigger'))();
|
|
65095
64967
|
}
|
|
65096
64968
|
}
|
|
65097
|
-
|
|
64969
|
+
_getZoomTriggerEvent(type) {
|
|
65098
64970
|
return getDefaultTriggerEventByMode(this._renderMode)[type];
|
|
65099
64971
|
}
|
|
65100
64972
|
_zoomEventDispatch(params, regionOrSeries, callback) {
|
|
@@ -65141,11 +65013,11 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
65141
65013
|
const delayTime = (_b = option === null || option === void 0 ? void 0 : option.delayTime) !== null && _b !== void 0 ? _b : 0;
|
|
65142
65014
|
const event = this._isGestureListener ? this._gestureController : eventObj;
|
|
65143
65015
|
const zoomParams = this._isGestureListener
|
|
65144
|
-
? [this.
|
|
65145
|
-
: [this.
|
|
65016
|
+
? [this._getZoomTriggerEvent('zoom')]
|
|
65017
|
+
: [this._getZoomTriggerEvent('zoom'), { level: exports.Event_Bubble_Level.chart, consume: true }];
|
|
65146
65018
|
const zoomEndParams = this._isGestureListener
|
|
65147
|
-
? [this.
|
|
65148
|
-
: [this.
|
|
65019
|
+
? [this._getZoomTriggerEvent('zoomEnd')]
|
|
65020
|
+
: [this._getZoomTriggerEvent('zoomEnd'), { level: exports.Event_Bubble_Level.chart, consume: false }];
|
|
65149
65021
|
event.on(...zoomEndParams, delayMap[delayType]((params) => {
|
|
65150
65022
|
this._zoomableTrigger.clearZoom();
|
|
65151
65023
|
}, delayTime));
|
|
@@ -65214,11 +65086,11 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
65214
65086
|
const delayTime = (_b = option === null || option === void 0 ? void 0 : option.delayTime) !== null && _b !== void 0 ? _b : 0;
|
|
65215
65087
|
const event = this._isGestureListener ? this._gestureController : eventObj;
|
|
65216
65088
|
const scrollParams = this._isGestureListener
|
|
65217
|
-
? [this.
|
|
65218
|
-
: [this.
|
|
65089
|
+
? [this._getZoomTriggerEvent('scroll')]
|
|
65090
|
+
: [this._getZoomTriggerEvent('scroll'), { level: exports.Event_Bubble_Level.chart, consume: true }];
|
|
65219
65091
|
const scrollEndParams = this._isGestureListener
|
|
65220
|
-
? [this.
|
|
65221
|
-
: [this.
|
|
65092
|
+
? [this._getZoomTriggerEvent('scrollEnd')]
|
|
65093
|
+
: [this._getZoomTriggerEvent('scrollEnd'), { level: exports.Event_Bubble_Level.chart, consume: false }];
|
|
65222
65094
|
event.on(...scrollEndParams, delayMap[delayType]((params) => {
|
|
65223
65095
|
this._zoomableTrigger.clearScroll();
|
|
65224
65096
|
}, delayTime));
|
|
@@ -65251,7 +65123,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
65251
65123
|
}
|
|
65252
65124
|
}
|
|
65253
65125
|
_bindDragEventAsRegion(eventObj, regionOrSeries, callback, option) {
|
|
65254
|
-
eventObj.on(this.
|
|
65126
|
+
eventObj.on(this._getZoomTriggerEvent('start'), { level: exports.Event_Bubble_Level.chart }, (params) => {
|
|
65255
65127
|
if (!params.event) {
|
|
65256
65128
|
return;
|
|
65257
65129
|
}
|
|
@@ -65273,7 +65145,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
65273
65145
|
return;
|
|
65274
65146
|
}
|
|
65275
65147
|
if (getDefaultTriggerEventByMode(this._renderMode)) {
|
|
65276
|
-
s.event.on(this.
|
|
65148
|
+
s.event.on(this._getZoomTriggerEvent('start'), { level: exports.Event_Bubble_Level.model, filter: ({ model }) => (model === null || model === void 0 ? void 0 : model.id) === s.id }, params => {
|
|
65277
65149
|
this._handleDrag(params, callback, option);
|
|
65278
65150
|
});
|
|
65279
65151
|
}
|
|
@@ -65287,7 +65159,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
65287
65159
|
if (filter) {
|
|
65288
65160
|
r.getSeries().forEach(s => {
|
|
65289
65161
|
if (filter(s)) {
|
|
65290
|
-
s.event.on(this.
|
|
65162
|
+
s.event.on(this._getZoomTriggerEvent('start'), { level: exports.Event_Bubble_Level.model, filter: ({ model }) => (model === null || model === void 0 ? void 0 : model.id) === s.id }, params => {
|
|
65291
65163
|
this._handleDrag(params, callback);
|
|
65292
65164
|
});
|
|
65293
65165
|
s.event.on('click', { level: exports.Event_Bubble_Level.model, filter: ({ model }) => (model === null || model === void 0 ? void 0 : model.id) === s.id }, () => {
|
|
@@ -65314,8 +65186,8 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
65314
65186
|
const delayType = (_a = option === null || option === void 0 ? void 0 : option.delayType) !== null && _a !== void 0 ? _a : 'throttle';
|
|
65315
65187
|
const delayTime = (_b = option === null || option === void 0 ? void 0 : option.delayTime) !== null && _b !== void 0 ? _b : 0;
|
|
65316
65188
|
const realTime = (_c = option === null || option === void 0 ? void 0 : option.realTime) !== null && _c !== void 0 ? _c : true;
|
|
65317
|
-
const move = this.
|
|
65318
|
-
const end = this.
|
|
65189
|
+
const move = this._getZoomTriggerEvent('move');
|
|
65190
|
+
const end = this._getZoomTriggerEvent('end');
|
|
65319
65191
|
const event = params.event;
|
|
65320
65192
|
let moveX = event.canvasX;
|
|
65321
65193
|
let moveY = event.canvasY;
|
|
@@ -65689,7 +65561,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
65689
65561
|
|
|
65690
65562
|
class MapSeriesSpecTransformer extends BaseSeriesSpecTransformer {
|
|
65691
65563
|
_transformLabelSpec(spec) {
|
|
65692
|
-
this._addMarkLabelSpec(spec,
|
|
65564
|
+
this._addMarkLabelSpec(spec, "area", undefined, undefined, false);
|
|
65693
65565
|
}
|
|
65694
65566
|
}
|
|
65695
65567
|
|
|
@@ -65817,7 +65689,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
65817
65689
|
}
|
|
65818
65690
|
initAnimation() {
|
|
65819
65691
|
var _a;
|
|
65820
|
-
this._pathMark.setAnimationConfig(animationConfig((_a = Factory.getAnimationInKey('fadeInOut')) === null || _a === void 0 ? void 0 : _a(), userAnimationConfig(
|
|
65692
|
+
this._pathMark.setAnimationConfig(animationConfig((_a = Factory.getAnimationInKey('fadeInOut')) === null || _a === void 0 ? void 0 : _a(), userAnimationConfig("area", this._spec, this._markAttributeContext)));
|
|
65821
65693
|
}
|
|
65822
65694
|
initTooltip() {
|
|
65823
65695
|
this._tooltipHelper = new MapSeriesTooltipHelper(this);
|
|
@@ -66103,7 +65975,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
66103
65975
|
return defaultStyle;
|
|
66104
65976
|
}
|
|
66105
65977
|
}
|
|
66106
|
-
RuleMark.type =
|
|
65978
|
+
RuleMark.type = "rule";
|
|
66107
65979
|
const registerRuleMark = () => {
|
|
66108
65980
|
Factory.registerMark(RuleMark.type, RuleMark);
|
|
66109
65981
|
registerRuleGraphic();
|
|
@@ -66197,8 +66069,8 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
66197
66069
|
|
|
66198
66070
|
class WaterfallSeriesSpecTransformer extends BarSeriesSpecTransformer {
|
|
66199
66071
|
_transformLabelSpec(spec) {
|
|
66200
|
-
this._addMarkLabelSpec(spec,
|
|
66201
|
-
this._addMarkLabelSpec(spec,
|
|
66072
|
+
this._addMarkLabelSpec(spec, "bar");
|
|
66073
|
+
this._addMarkLabelSpec(spec, "bar", 'stackLabel');
|
|
66202
66074
|
}
|
|
66203
66075
|
}
|
|
66204
66076
|
|
|
@@ -66293,9 +66165,9 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
66293
66165
|
};
|
|
66294
66166
|
const appearPreset = (_b = (_a = this._spec) === null || _a === void 0 ? void 0 : _a.animationAppear) === null || _b === void 0 ? void 0 : _b.preset;
|
|
66295
66167
|
const animationParams = getGroupAnimationParams(this);
|
|
66296
|
-
this._barMark.setAnimationConfig(animationConfig((_c = Factory.getAnimationInKey('waterfall')) === null || _c === void 0 ? void 0 : _c(waterfallAnimationParams, appearPreset), userAnimationConfig(
|
|
66168
|
+
this._barMark.setAnimationConfig(animationConfig((_c = Factory.getAnimationInKey('waterfall')) === null || _c === void 0 ? void 0 : _c(waterfallAnimationParams, appearPreset), userAnimationConfig("bar", this._spec, this._markAttributeContext), animationParams));
|
|
66297
66169
|
if (this._leaderLineMark) {
|
|
66298
|
-
this._leaderLineMark.setAnimationConfig(animationConfig((_d = Factory.getAnimationInKey('fadeInOut')) === null || _d === void 0 ? void 0 : _d(), userAnimationConfig(
|
|
66170
|
+
this._leaderLineMark.setAnimationConfig(animationConfig((_d = Factory.getAnimationInKey('fadeInOut')) === null || _d === void 0 ? void 0 : _d(), userAnimationConfig("leaderLine", this._spec, this._markAttributeContext)));
|
|
66299
66171
|
}
|
|
66300
66172
|
}
|
|
66301
66173
|
viewDataUpdate(d) {
|
|
@@ -66346,7 +66218,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
66346
66218
|
}
|
|
66347
66219
|
totalPositionX(datum, field, pos = 0.5) {
|
|
66348
66220
|
const { dataToPosition, getBandwidth } = this._xAxisHelper;
|
|
66349
|
-
if (this._direction ===
|
|
66221
|
+
if (this._direction === "vertical") {
|
|
66350
66222
|
return (dataToPosition([datum[field]], {
|
|
66351
66223
|
bandPosition: this._bandPosition
|
|
66352
66224
|
}) +
|
|
@@ -66359,7 +66231,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
66359
66231
|
}
|
|
66360
66232
|
totalPositionY(datum, field, pos = 0.5) {
|
|
66361
66233
|
const { dataToPosition, getBandwidth } = this._yAxisHelper;
|
|
66362
|
-
if (this._direction ===
|
|
66234
|
+
if (this._direction === "vertical") {
|
|
66363
66235
|
return valueInScaleRange(dataToPosition([datum[field]], {
|
|
66364
66236
|
bandPosition: this._bandPosition
|
|
66365
66237
|
}));
|
|
@@ -66373,7 +66245,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
66373
66245
|
initMarkStyle() {
|
|
66374
66246
|
super.initMarkStyle();
|
|
66375
66247
|
if (this._leaderLineMark) {
|
|
66376
|
-
if (this._direction ===
|
|
66248
|
+
if (this._direction === "vertical") {
|
|
66377
66249
|
this.setMarkStyle(this._leaderLineMark, {
|
|
66378
66250
|
visible: (datum) => !isNil$1(datum.lastIndex),
|
|
66379
66251
|
x: (datum) => {
|
|
@@ -66647,7 +66519,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
66647
66519
|
this._compiledProductId = id;
|
|
66648
66520
|
}
|
|
66649
66521
|
}
|
|
66650
|
-
BoxPlotMark.type =
|
|
66522
|
+
BoxPlotMark.type = "boxPlot";
|
|
66651
66523
|
const registerBoxPlotMark = () => {
|
|
66652
66524
|
Factory.registerMark(BoxPlotMark.type, BoxPlotMark);
|
|
66653
66525
|
registerBoxplotGlyph();
|
|
@@ -66745,7 +66617,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
66745
66617
|
minMaxFillOpacity: this._shaftFillOpacity,
|
|
66746
66618
|
stroke: (_b = this._strokeColor) !== null && _b !== void 0 ? _b : (this._shaftShape === 'line' ? this.getColorAttribute() : DEFAULT_STROKE_COLOR)
|
|
66747
66619
|
};
|
|
66748
|
-
const boxPlotMarkStyles = this._direction ===
|
|
66620
|
+
const boxPlotMarkStyles = this._direction === "vertical"
|
|
66749
66621
|
? Object.assign(Object.assign({ x: this.dataToPositionX.bind(this) }, commonBoxplotStyles), { boxWidth: () => { var _a; return (_a = this._boxWidth) !== null && _a !== void 0 ? _a : this._getMarkWidth(); }, ruleWidth: () => { var _a; return (_a = this._shaftWidth) !== null && _a !== void 0 ? _a : this._getMarkWidth(); }, q1q3Width: () => { var _a; return (_a = this._boxWidth) !== null && _a !== void 0 ? _a : this._getMarkWidth(); }, minMaxWidth: () => { var _a; return (_a = this._shaftWidth) !== null && _a !== void 0 ? _a : this._getMarkWidth(); } }) : Object.assign(Object.assign({ y: this.dataToPositionY.bind(this) }, commonBoxplotStyles), { boxHeight: () => { var _a; return (_a = this._boxWidth) !== null && _a !== void 0 ? _a : this._getMarkWidth(); }, ruleHeight: () => { var _a; return (_a = this._shaftWidth) !== null && _a !== void 0 ? _a : this._getMarkWidth(); }, q1q3Height: () => { var _a; return (_a = this._boxWidth) !== null && _a !== void 0 ? _a : this._getMarkWidth(); }, minMaxHeight: () => { var _a; return (_a = this._shaftWidth) !== null && _a !== void 0 ? _a : this._getMarkWidth(); } });
|
|
66750
66622
|
this.setMarkStyle(boxPlotMark, boxPlotMarkStyles, STATE_VALUE_ENUM.STATE_NORMAL, exports.AttributeLevel.Series);
|
|
66751
66623
|
this._trigger.registerMark(boxPlotMark);
|
|
@@ -66763,7 +66635,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
66763
66635
|
initBoxPlotMarkStyle() {
|
|
66764
66636
|
var _a, _b;
|
|
66765
66637
|
const boxPlotMark = this._boxPlotMark;
|
|
66766
|
-
const axisHelper = this._direction ===
|
|
66638
|
+
const axisHelper = this._direction === "vertical" ? this._yAxisHelper : this._xAxisHelper;
|
|
66767
66639
|
if (boxPlotMark && axisHelper) {
|
|
66768
66640
|
const { dataToPosition } = axisHelper;
|
|
66769
66641
|
const scale = (_a = axisHelper === null || axisHelper === void 0 ? void 0 : axisHelper.getScale) === null || _a === void 0 ? void 0 : _a.call(axisHelper, 0);
|
|
@@ -66789,7 +66661,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
66789
66661
|
if (outlierMark && axisHelper) {
|
|
66790
66662
|
const { dataToPosition } = axisHelper;
|
|
66791
66663
|
const scale = (_b = axisHelper === null || axisHelper === void 0 ? void 0 : axisHelper.getScale) === null || _b === void 0 ? void 0 : _b.call(axisHelper, 0);
|
|
66792
|
-
const outlierMarkPositionChannel = this._direction ===
|
|
66664
|
+
const outlierMarkPositionChannel = this._direction === "vertical"
|
|
66793
66665
|
? {
|
|
66794
66666
|
x: this.dataToPositionX.bind(this),
|
|
66795
66667
|
y: (datum) => valueInScaleRange(dataToPosition(this.getDatumPositionValues(datum, BOX_PLOT_OUTLIER_VALUE_FIELD), {
|
|
@@ -66820,7 +66692,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
66820
66692
|
outlierDataView.transform({
|
|
66821
66693
|
type: 'foldOutlierData',
|
|
66822
66694
|
options: {
|
|
66823
|
-
dimensionField: this._direction ===
|
|
66695
|
+
dimensionField: this._direction === "vertical" ? this._fieldX : this._fieldY,
|
|
66824
66696
|
outliersField: this._outliersField
|
|
66825
66697
|
}
|
|
66826
66698
|
});
|
|
@@ -66841,8 +66713,8 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
66841
66713
|
if (this._autoBoxWidth) {
|
|
66842
66714
|
return this._autoBoxWidth;
|
|
66843
66715
|
}
|
|
66844
|
-
const bandAxisHelper = this._direction ===
|
|
66845
|
-
const xField = this._direction ===
|
|
66716
|
+
const bandAxisHelper = this._direction === "vertical" ? this._xAxisHelper : this._yAxisHelper;
|
|
66717
|
+
const xField = this._direction === "vertical" ? this._fieldX : this._fieldY;
|
|
66846
66718
|
const innerBandWidth = bandAxisHelper.getBandwidth(xField.length - 1);
|
|
66847
66719
|
const autoBoxWidth = innerBandWidth / xField.length;
|
|
66848
66720
|
this._autoBoxWidth = autoBoxWidth;
|
|
@@ -66869,7 +66741,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
66869
66741
|
const animationParams = getGroupAnimationParams(this);
|
|
66870
66742
|
if (this._boxPlotMark) {
|
|
66871
66743
|
const newDefaultConfig = this._initAnimationSpec((_a = Factory.getAnimationInKey('scaleInOut')) === null || _a === void 0 ? void 0 : _a());
|
|
66872
|
-
const newConfig = this._initAnimationSpec(userAnimationConfig(
|
|
66744
|
+
const newConfig = this._initAnimationSpec(userAnimationConfig("boxPlot", this._spec, this._markAttributeContext));
|
|
66873
66745
|
this._boxPlotMark.setAnimationConfig(animationConfig(newDefaultConfig, newConfig, animationParams));
|
|
66874
66746
|
}
|
|
66875
66747
|
if (this._outlierMark) {
|
|
@@ -66937,7 +66809,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
66937
66809
|
this._compiledProductId = id;
|
|
66938
66810
|
}
|
|
66939
66811
|
}
|
|
66940
|
-
TextMark.type =
|
|
66812
|
+
TextMark.type = "text";
|
|
66941
66813
|
const registerTextMark = () => {
|
|
66942
66814
|
Factory.registerMark(TextMark.type, TextMark);
|
|
66943
66815
|
registerTextGraphic();
|
|
@@ -66948,7 +66820,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
66948
66820
|
component.setMarkStyle(labelMark, {
|
|
66949
66821
|
textAlign: (datum) => {
|
|
66950
66822
|
const d = direction();
|
|
66951
|
-
if (d ===
|
|
66823
|
+
if (d === "vertical") {
|
|
66952
66824
|
return 'center';
|
|
66953
66825
|
}
|
|
66954
66826
|
const _x = x(datum);
|
|
@@ -66982,7 +66854,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
66982
66854
|
},
|
|
66983
66855
|
textBaseline: (datum) => {
|
|
66984
66856
|
const d = direction();
|
|
66985
|
-
if (d ===
|
|
66857
|
+
if (d === "horizontal") {
|
|
66986
66858
|
return 'middle';
|
|
66987
66859
|
}
|
|
66988
66860
|
const _y = y(datum);
|
|
@@ -67020,7 +66892,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
67020
66892
|
const d = direction();
|
|
67021
66893
|
const _x = x(datum);
|
|
67022
66894
|
const _x1 = x1(datum);
|
|
67023
|
-
if (d ===
|
|
66895
|
+
if (d === "vertical") {
|
|
67024
66896
|
return (_x + _x1) / 2;
|
|
67025
66897
|
}
|
|
67026
66898
|
if (position === 'middle') {
|
|
@@ -67054,7 +66926,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
67054
66926
|
const d = direction();
|
|
67055
66927
|
const _y = y(datum);
|
|
67056
66928
|
const _y1 = y1(datum);
|
|
67057
|
-
if (d ===
|
|
66929
|
+
if (d === "horizontal") {
|
|
67058
66930
|
return (_y + _y1) / 2;
|
|
67059
66931
|
}
|
|
67060
66932
|
if (position === 'middle') {
|
|
@@ -67100,7 +66972,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
67100
66972
|
content: [
|
|
67101
66973
|
{
|
|
67102
66974
|
key: this.contentKeyCallback,
|
|
67103
|
-
value: (datum) => this.series.getSpec().direction ===
|
|
66975
|
+
value: (datum) => this.series.getSpec().direction === "horizontal"
|
|
67104
66976
|
? datum[this.series.getSpec().xField[0]] + '-' + datum[this.series.getSpec().xField[1]]
|
|
67105
66977
|
: datum[this.series.getSpec().yField[0]] + '-' + datum[this.series.getSpec().yField[1]],
|
|
67106
66978
|
hasShape: true,
|
|
@@ -67155,8 +67027,8 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
67155
67027
|
_transformLabelSpec(spec) {
|
|
67156
67028
|
var _a;
|
|
67157
67029
|
const labelPosition = (_a = spec.label) === null || _a === void 0 ? void 0 : _a.position;
|
|
67158
|
-
if (labelPosition !==
|
|
67159
|
-
this._addMarkLabelSpec(spec,
|
|
67030
|
+
if (labelPosition !== "bothEnd") {
|
|
67031
|
+
this._addMarkLabelSpec(spec, "bar");
|
|
67160
67032
|
}
|
|
67161
67033
|
}
|
|
67162
67034
|
}
|
|
@@ -67165,7 +67037,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
67165
67037
|
constructor() {
|
|
67166
67038
|
super(...arguments);
|
|
67167
67039
|
this.type = exports.SeriesTypeEnum.rangeColumn;
|
|
67168
|
-
this._barMarkType =
|
|
67040
|
+
this._barMarkType = "rect";
|
|
67169
67041
|
this._barName = exports.SeriesTypeEnum.bar;
|
|
67170
67042
|
this.transformerConstructor = RangeColumnSeriesSpecTransformer;
|
|
67171
67043
|
this._stack = false;
|
|
@@ -67181,7 +67053,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
67181
67053
|
isSeriesMark: true,
|
|
67182
67054
|
customShape: (_b = this._spec.bar) === null || _b === void 0 ? void 0 : _b.customShape
|
|
67183
67055
|
});
|
|
67184
|
-
if (((_c = this._spec.label) === null || _c === void 0 ? void 0 : _c.visible) !== false && labelPosition ===
|
|
67056
|
+
if (((_c = this._spec.label) === null || _c === void 0 ? void 0 : _c.visible) !== false && labelPosition === "bothEnd") {
|
|
67185
67057
|
if (((_e = (_d = this._spec.label) === null || _d === void 0 ? void 0 : _d.minLabel) === null || _e === void 0 ? void 0 : _e.visible) !== false) {
|
|
67186
67058
|
this._minLabelMark = this._createMark(RangeColumnSeries.mark.minLabel, {
|
|
67187
67059
|
markSpec: (_f = this._spec.label) === null || _f === void 0 ? void 0 : _f.minLabel
|
|
@@ -67203,7 +67075,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
67203
67075
|
this.setMarkStyle(minLabelMark, {
|
|
67204
67076
|
fill: (_c = (_b = minLabelSpec === null || minLabelSpec === void 0 ? void 0 : minLabelSpec.style) === null || _b === void 0 ? void 0 : _b.fill) !== null && _c !== void 0 ? _c : this.getColorAttribute(),
|
|
67205
67077
|
text: (datum) => {
|
|
67206
|
-
const min = this._spec.direction ===
|
|
67078
|
+
const min = this._spec.direction === "horizontal" ? datum[this._spec.xField[0]] : datum[this._spec.yField[0]];
|
|
67207
67079
|
if (minLabelSpec === null || minLabelSpec === void 0 ? void 0 : minLabelSpec.formatMethod) {
|
|
67208
67080
|
return minLabelSpec.formatMethod(min, datum);
|
|
67209
67081
|
}
|
|
@@ -67230,7 +67102,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
67230
67102
|
this.setMarkStyle(maxLabelMark, {
|
|
67231
67103
|
fill: (_h = (_g = maxLabelSpec === null || maxLabelSpec === void 0 ? void 0 : maxLabelSpec.style) === null || _g === void 0 ? void 0 : _g.fill) !== null && _h !== void 0 ? _h : this.getColorAttribute(),
|
|
67232
67104
|
text: (datum) => {
|
|
67233
|
-
const max = this._spec.direction ===
|
|
67105
|
+
const max = this._spec.direction === "horizontal" ? datum[this._spec.xField[1]] : datum[this._spec.yField[1]];
|
|
67234
67106
|
if (maxLabelSpec === null || maxLabelSpec === void 0 ? void 0 : maxLabelSpec.formatMethod) {
|
|
67235
67107
|
return maxLabelSpec.formatMethod(max, datum);
|
|
67236
67108
|
}
|
|
@@ -67260,7 +67132,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
67260
67132
|
text: (datum) => {
|
|
67261
67133
|
let min;
|
|
67262
67134
|
let max;
|
|
67263
|
-
if (this._spec.direction ===
|
|
67135
|
+
if (this._spec.direction === "horizontal") {
|
|
67264
67136
|
min = datum[this._spec.xField[0]];
|
|
67265
67137
|
max = datum[this._spec.xField[1]];
|
|
67266
67138
|
}
|
|
@@ -67298,12 +67170,12 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
67298
67170
|
var _a, _b, _c, _d, _e;
|
|
67299
67171
|
const animationParams = getGroupAnimationParams(this);
|
|
67300
67172
|
const appearPreset = (_b = (_a = this._spec) === null || _a === void 0 ? void 0 : _a.animationAppear) === null || _b === void 0 ? void 0 : _b.preset;
|
|
67301
|
-
this._barMark.setAnimationConfig(animationConfig((_c = Factory.getAnimationInKey('rangeColumn')) === null || _c === void 0 ? void 0 : _c({ direction: this.direction }, appearPreset), userAnimationConfig(
|
|
67173
|
+
this._barMark.setAnimationConfig(animationConfig((_c = Factory.getAnimationInKey('rangeColumn')) === null || _c === void 0 ? void 0 : _c({ direction: this.direction }, appearPreset), userAnimationConfig("bar", this._spec, this._markAttributeContext), animationParams));
|
|
67302
67174
|
if (this._minLabelMark) {
|
|
67303
|
-
this._minLabelMark.setAnimationConfig(animationConfig((_d = Factory.getAnimationInKey('fadeInOut')) === null || _d === void 0 ? void 0 : _d(), userAnimationConfig(
|
|
67175
|
+
this._minLabelMark.setAnimationConfig(animationConfig((_d = Factory.getAnimationInKey('fadeInOut')) === null || _d === void 0 ? void 0 : _d(), userAnimationConfig("label", this._spec, this._markAttributeContext), animationParams));
|
|
67304
67176
|
}
|
|
67305
67177
|
if (this._maxLabelMark) {
|
|
67306
|
-
this._maxLabelMark.setAnimationConfig(animationConfig((_e = Factory.getAnimationInKey('fadeInOut')) === null || _e === void 0 ? void 0 : _e(), userAnimationConfig(
|
|
67178
|
+
this._maxLabelMark.setAnimationConfig(animationConfig((_e = Factory.getAnimationInKey('fadeInOut')) === null || _e === void 0 ? void 0 : _e(), userAnimationConfig("label", this._spec, this._markAttributeContext), animationParams));
|
|
67307
67179
|
}
|
|
67308
67180
|
}
|
|
67309
67181
|
initTooltip() {
|
|
@@ -67329,7 +67201,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
67329
67201
|
constructor() {
|
|
67330
67202
|
super(...arguments);
|
|
67331
67203
|
this.type = exports.SeriesTypeEnum.rangeColumn3d;
|
|
67332
|
-
this._barMarkType =
|
|
67204
|
+
this._barMarkType = "rect3d";
|
|
67333
67205
|
this._barName = exports.SeriesTypeEnum.bar3d;
|
|
67334
67206
|
}
|
|
67335
67207
|
}
|
|
@@ -67377,7 +67249,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
67377
67249
|
seriesId: series.id,
|
|
67378
67250
|
key: this.contentKeyCallback,
|
|
67379
67251
|
value: (datum) => {
|
|
67380
|
-
return this.series.getSpec().direction ===
|
|
67252
|
+
return this.series.getSpec().direction === "horizontal"
|
|
67381
67253
|
? datum[this.series.getSpec().xField[0]] + '-' + datum[this.series.getSpec().xField[1]]
|
|
67382
67254
|
: datum[this.series.getSpec().yField[0]] + '-' + datum[this.series.getSpec().yField[1]];
|
|
67383
67255
|
},
|
|
@@ -67418,13 +67290,13 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
67418
67290
|
var _a, _b, _c, _d, _e;
|
|
67419
67291
|
const userCurveType = (_c = (_b = (_a = this.getSpec().area) === null || _a === void 0 ? void 0 : _a.style) === null || _b === void 0 ? void 0 : _b.curveType) !== null && _c !== void 0 ? _c : (_e = (_d = this.getSpec().line) === null || _d === void 0 ? void 0 : _d.style) === null || _e === void 0 ? void 0 : _e.curveType;
|
|
67420
67292
|
const curveType = userCurveType === DEFAULT_SMOOTH_INTERPOLATE
|
|
67421
|
-
? this._direction ===
|
|
67293
|
+
? this._direction === "vertical"
|
|
67422
67294
|
? 'monotoneX'
|
|
67423
67295
|
: 'monotoneY'
|
|
67424
67296
|
: userCurveType;
|
|
67425
67297
|
const areaMark = this._areaMark;
|
|
67426
67298
|
if (areaMark) {
|
|
67427
|
-
if (this._direction ===
|
|
67299
|
+
if (this._direction === "vertical") {
|
|
67428
67300
|
this.setMarkStyle(this._areaMark, {
|
|
67429
67301
|
x: this.dataToPositionX.bind(this),
|
|
67430
67302
|
y1: (datum) => {
|
|
@@ -67934,7 +67806,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
67934
67806
|
this.type = ArcMark.type;
|
|
67935
67807
|
}
|
|
67936
67808
|
}
|
|
67937
|
-
ArcMark.type =
|
|
67809
|
+
ArcMark.type = "arc";
|
|
67938
67810
|
const registerArcMark = () => {
|
|
67939
67811
|
registerArcGraphic();
|
|
67940
67812
|
registerVGrammarArcAnimation();
|
|
@@ -67943,7 +67815,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
67943
67815
|
|
|
67944
67816
|
class PieSeriesSpecTransformer extends BaseSeriesSpecTransformer {
|
|
67945
67817
|
_transformLabelSpec(spec) {
|
|
67946
|
-
this._addMarkLabelSpec(spec,
|
|
67818
|
+
this._addMarkLabelSpec(spec, "pie");
|
|
67947
67819
|
}
|
|
67948
67820
|
_mergeThemeToSpec(spec, chartSpec) {
|
|
67949
67821
|
const theme = this._theme;
|
|
@@ -67966,8 +67838,8 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
67966
67838
|
constructor() {
|
|
67967
67839
|
super(...arguments);
|
|
67968
67840
|
this.transformerConstructor = PieSeriesSpecTransformer;
|
|
67969
|
-
this._pieMarkName =
|
|
67970
|
-
this._pieMarkType =
|
|
67841
|
+
this._pieMarkName = "pie";
|
|
67842
|
+
this._pieMarkType = "arc";
|
|
67971
67843
|
this._startAngle = POLAR_START_RADIAN;
|
|
67972
67844
|
this._endAngle = POLAR_END_RADIAN;
|
|
67973
67845
|
this._pieMark = null;
|
|
@@ -68259,7 +68131,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
68259
68131
|
};
|
|
68260
68132
|
const appearPreset = (_a = this._spec.animationAppear) === null || _a === void 0 ? void 0 : _a.preset;
|
|
68261
68133
|
if (this._pieMark) {
|
|
68262
|
-
const pieAnimationConfig = animationConfig((_b = Factory.getAnimationInKey('pie')) === null || _b === void 0 ? void 0 : _b(animationParams, appearPreset), userAnimationConfig(
|
|
68134
|
+
const pieAnimationConfig = animationConfig((_b = Factory.getAnimationInKey('pie')) === null || _b === void 0 ? void 0 : _b(animationParams, appearPreset), userAnimationConfig("pie", this._spec, this._markAttributeContext));
|
|
68263
68135
|
if (pieAnimationConfig.normal && pieAnimationConfig.normal.type) {
|
|
68264
68136
|
pieAnimationConfig.normal = centerOffsetConfig(this._pieMark, pieAnimationConfig.normal);
|
|
68265
68137
|
}
|
|
@@ -68307,7 +68179,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
68307
68179
|
this._support3d = true;
|
|
68308
68180
|
}
|
|
68309
68181
|
}
|
|
68310
|
-
Arc3dMark.type =
|
|
68182
|
+
Arc3dMark.type = "arc3d";
|
|
68311
68183
|
const registerArc3dMark = () => {
|
|
68312
68184
|
registerVGrammarArcAnimation();
|
|
68313
68185
|
registerArc3dGraphic();
|
|
@@ -68316,7 +68188,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
68316
68188
|
|
|
68317
68189
|
class Pie3dSeriesSpecTransformer extends PieSeriesSpecTransformer {
|
|
68318
68190
|
_transformLabelSpec(spec) {
|
|
68319
|
-
this._addMarkLabelSpec(spec,
|
|
68191
|
+
this._addMarkLabelSpec(spec, "pie3d");
|
|
68320
68192
|
}
|
|
68321
68193
|
}
|
|
68322
68194
|
|
|
@@ -68324,8 +68196,8 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
68324
68196
|
constructor() {
|
|
68325
68197
|
super(...arguments);
|
|
68326
68198
|
this.type = exports.SeriesTypeEnum.pie3d;
|
|
68327
|
-
this._pieMarkName =
|
|
68328
|
-
this._pieMarkType =
|
|
68199
|
+
this._pieMarkName = "pie3d";
|
|
68200
|
+
this._pieMarkType = "arc3d";
|
|
68329
68201
|
this.transformerConstructor = Pie3dSeriesSpecTransformer;
|
|
68330
68202
|
}
|
|
68331
68203
|
setAttrFromSpec() {
|
|
@@ -68475,7 +68347,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
68475
68347
|
|
|
68476
68348
|
class RoseSeriesSpecTransformer extends BaseSeriesSpecTransformer {
|
|
68477
68349
|
_transformLabelSpec(spec) {
|
|
68478
|
-
this._addMarkLabelSpec(spec,
|
|
68350
|
+
this._addMarkLabelSpec(spec, "rose");
|
|
68479
68351
|
}
|
|
68480
68352
|
}
|
|
68481
68353
|
|
|
@@ -68581,7 +68453,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
68581
68453
|
const animationParams = {
|
|
68582
68454
|
innerRadius: () => { var _a; return this._computeLayoutRadius() * ((_a = this._spec.innerRadius) !== null && _a !== void 0 ? _a : 0); }
|
|
68583
68455
|
};
|
|
68584
|
-
this._roseMark.setAnimationConfig(animationConfig((_c = Factory.getAnimationInKey('rose')) === null || _c === void 0 ? void 0 : _c(animationParams, appearPreset), userAnimationConfig(
|
|
68456
|
+
this._roseMark.setAnimationConfig(animationConfig((_c = Factory.getAnimationInKey('rose')) === null || _c === void 0 ? void 0 : _c(animationParams, appearPreset), userAnimationConfig("rose", this._spec, this._markAttributeContext)));
|
|
68585
68457
|
}
|
|
68586
68458
|
}
|
|
68587
68459
|
getDefaultShapeType() {
|
|
@@ -68891,7 +68763,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
68891
68763
|
const appearPreset = ((_c = (_b = (_a = this._spec) === null || _a === void 0 ? void 0 : _a.animationAppear) === null || _b === void 0 ? void 0 : _b.preset) !== null && _c !== void 0 ? _c : 'clipIn');
|
|
68892
68764
|
if (appearPreset === 'clipIn') {
|
|
68893
68765
|
if (this._rootMark) {
|
|
68894
|
-
this._rootMark.setAnimationConfig(animationConfig((_d = Factory.getAnimationInKey('radarGroup')) === null || _d === void 0 ? void 0 : _d(animationParams, appearPreset), userAnimationConfig(
|
|
68766
|
+
this._rootMark.setAnimationConfig(animationConfig((_d = Factory.getAnimationInKey('radarGroup')) === null || _d === void 0 ? void 0 : _d(animationParams, appearPreset), userAnimationConfig("group", this._spec, this._markAttributeContext)));
|
|
68895
68767
|
}
|
|
68896
68768
|
}
|
|
68897
68769
|
const markAnimationMap = [
|
|
@@ -69126,7 +68998,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
69126
68998
|
setSeriesField(field) {
|
|
69127
68999
|
if (isValid$1(field)) {
|
|
69128
69000
|
this._seriesField = field;
|
|
69129
|
-
this.getMarksInType([
|
|
69001
|
+
this.getMarksInType(["line", "area"]).forEach(m => {
|
|
69130
69002
|
m.setFacet(this._seriesField);
|
|
69131
69003
|
});
|
|
69132
69004
|
}
|
|
@@ -69596,7 +69468,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
69596
69468
|
fillOpacity: this.dataToOpacity.bind(this),
|
|
69597
69469
|
size: arrowSize,
|
|
69598
69470
|
symbolType: (datum) => {
|
|
69599
|
-
return this.isPositionYFromHigher(datum) ?
|
|
69471
|
+
return this.isPositionYFromHigher(datum) ? 'triangleDown' : 'triangleUp';
|
|
69600
69472
|
}
|
|
69601
69473
|
}, 'normal', exports.AttributeLevel.Series);
|
|
69602
69474
|
this._trigger.registerMark(arrowMark);
|
|
@@ -70021,8 +69893,8 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
70021
69893
|
return style;
|
|
70022
69894
|
}
|
|
70023
69895
|
}
|
|
70024
|
-
ProgressArcMark.type =
|
|
70025
|
-
ProgressArcMark.constructorType =
|
|
69896
|
+
ProgressArcMark.type = "arc";
|
|
69897
|
+
ProgressArcMark.constructorType = "progressArc";
|
|
70026
69898
|
const registerProgressArcMark = () => {
|
|
70027
69899
|
registerArcGraphic();
|
|
70028
69900
|
registerVGrammarArcAnimation();
|
|
@@ -70177,8 +70049,8 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
70177
70049
|
initAnimation() {
|
|
70178
70050
|
var _a, _b, _c, _d;
|
|
70179
70051
|
const appearPreset = (_b = (_a = this._spec) === null || _a === void 0 ? void 0 : _a.animationAppear) === null || _b === void 0 ? void 0 : _b.preset;
|
|
70180
|
-
this._progressMark.setAnimationConfig(animationConfig((_c = Factory.getAnimationInKey('circularProgress')) === null || _c === void 0 ? void 0 : _c({ startAngle: this._startAngle }, appearPreset), userAnimationConfig(
|
|
70181
|
-
this._trackMark.setAnimationConfig(animationConfig((_d = Factory.getAnimationInKey('fadeInOut')) === null || _d === void 0 ? void 0 : _d(), userAnimationConfig(
|
|
70052
|
+
this._progressMark.setAnimationConfig(animationConfig((_c = Factory.getAnimationInKey('circularProgress')) === null || _c === void 0 ? void 0 : _c({ startAngle: this._startAngle }, appearPreset), userAnimationConfig("progress", this._spec, this._markAttributeContext)));
|
|
70053
|
+
this._trackMark.setAnimationConfig(animationConfig((_d = Factory.getAnimationInKey('fadeInOut')) === null || _d === void 0 ? void 0 : _d(), userAnimationConfig("track", this._spec, this._markAttributeContext)));
|
|
70182
70054
|
}
|
|
70183
70055
|
getActiveMarks() {
|
|
70184
70056
|
return [this._progressMark];
|
|
@@ -70208,13 +70080,13 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
70208
70080
|
}
|
|
70209
70081
|
const Appear_Grow$1 = (params) => {
|
|
70210
70082
|
return {
|
|
70211
|
-
type: params.direction ===
|
|
70083
|
+
type: params.direction === "horizontal" ? 'growWidthIn' : 'growHeightIn',
|
|
70212
70084
|
options: LinearProgressGrowOption(params)
|
|
70213
70085
|
};
|
|
70214
70086
|
};
|
|
70215
70087
|
const linearProgressDisappear = (params) => {
|
|
70216
70088
|
return {
|
|
70217
|
-
type: params.direction ===
|
|
70089
|
+
type: params.direction === "horizontal" ? 'growWidthOut' : 'growHeightOut',
|
|
70218
70090
|
options: LinearProgressGrowOption(params)
|
|
70219
70091
|
};
|
|
70220
70092
|
};
|
|
@@ -70425,8 +70297,8 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
70425
70297
|
direction: this.direction
|
|
70426
70298
|
};
|
|
70427
70299
|
const appearPreset = (_b = (_a = this._spec) === null || _a === void 0 ? void 0 : _a.animationAppear) === null || _b === void 0 ? void 0 : _b.preset;
|
|
70428
|
-
this._progressMark.setAnimationConfig(animationConfig((_c = Factory.getAnimationInKey('linearProgress')) === null || _c === void 0 ? void 0 : _c(animationParams, appearPreset), userAnimationConfig(
|
|
70429
|
-
this._trackMark.setAnimationConfig(animationConfig((_d = Factory.getAnimationInKey('fadeInOut')) === null || _d === void 0 ? void 0 : _d(), userAnimationConfig(
|
|
70300
|
+
this._progressMark.setAnimationConfig(animationConfig((_c = Factory.getAnimationInKey('linearProgress')) === null || _c === void 0 ? void 0 : _c(animationParams, appearPreset), userAnimationConfig("progress", this._spec, this._markAttributeContext)));
|
|
70301
|
+
this._trackMark.setAnimationConfig(animationConfig((_d = Factory.getAnimationInKey('fadeInOut')) === null || _d === void 0 ? void 0 : _d(), userAnimationConfig("track", this._spec, this._markAttributeContext)));
|
|
70430
70302
|
}
|
|
70431
70303
|
initTooltip() {
|
|
70432
70304
|
this._tooltipHelper = new LinearProgressSeriesTooltipHelper(this);
|
|
@@ -70589,7 +70461,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
70589
70461
|
const params = {
|
|
70590
70462
|
animationConfig: () => { var _a, _b; return (_b = (_a = mark.getAnimationConfig()) === null || _a === void 0 ? void 0 : _a.appear) === null || _b === void 0 ? void 0 : _b[0]; }
|
|
70591
70463
|
};
|
|
70592
|
-
mark.setAnimationConfig(animationConfig(Factory.getAnimationInKey('wordCloud')(params, appearPreset), userAnimationConfig(
|
|
70464
|
+
mark.setAnimationConfig(animationConfig(Factory.getAnimationInKey('wordCloud')(params, appearPreset), userAnimationConfig("word", this._spec, this._markAttributeContext)));
|
|
70593
70465
|
}
|
|
70594
70466
|
});
|
|
70595
70467
|
}
|
|
@@ -72873,7 +72745,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
72873
72745
|
center: { x: r, y: r, z: (_a = this._spec.depth_3d) !== null && _a !== void 0 ? _a : r },
|
|
72874
72746
|
r
|
|
72875
72747
|
};
|
|
72876
|
-
}), userAnimationConfig(
|
|
72748
|
+
}), userAnimationConfig("word", this._spec, this._markAttributeContext)));
|
|
72877
72749
|
}
|
|
72878
72750
|
if (this._fillingWordMark) {
|
|
72879
72751
|
this._fillingWordMark.setAnimationConfig(animationConfig((_c = Factory.getAnimationInKey('wordCloud3d')) === null || _c === void 0 ? void 0 : _c(() => {
|
|
@@ -72886,7 +72758,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
72886
72758
|
center: { x: r, y: r, z: (_a = this._spec.depth_3d) !== null && _a !== void 0 ? _a : r },
|
|
72887
72759
|
r
|
|
72888
72760
|
};
|
|
72889
|
-
}), userAnimationConfig(
|
|
72761
|
+
}), userAnimationConfig("fillingWord", this._spec, this._markAttributeContext)));
|
|
72890
72762
|
}
|
|
72891
72763
|
}
|
|
72892
72764
|
}
|
|
@@ -72966,14 +72838,14 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
72966
72838
|
this.titleValueCallback = (datum, params) => {
|
|
72967
72839
|
var _a, _b, _c;
|
|
72968
72840
|
const series = this.series;
|
|
72969
|
-
if (((_a = params === null || params === void 0 ? void 0 : params.mark) === null || _a === void 0 ? void 0 : _a.name) ===
|
|
72841
|
+
if (((_a = params === null || params === void 0 ? void 0 : params.mark) === null || _a === void 0 ? void 0 : _a.name) === "transform") {
|
|
72970
72842
|
return `转化率`;
|
|
72971
72843
|
}
|
|
72972
72844
|
return (_b = this._getDimensionData(datum)) !== null && _b !== void 0 ? _b : (_c = datum.properties) === null || _c === void 0 ? void 0 : _c[`${series.getCategoryField()}`];
|
|
72973
72845
|
};
|
|
72974
72846
|
this.contentValueCallback = (datum, params) => {
|
|
72975
72847
|
var _a;
|
|
72976
|
-
if (((_a = params === null || params === void 0 ? void 0 : params.mark) === null || _a === void 0 ? void 0 : _a.name) ===
|
|
72848
|
+
if (((_a = params === null || params === void 0 ? void 0 : params.mark) === null || _a === void 0 ? void 0 : _a.name) === "transform") {
|
|
72977
72849
|
const measureData = datum === null || datum === void 0 ? void 0 : datum[FUNNEL_REACH_RATIO];
|
|
72978
72850
|
return `${(measureData * 100).toFixed(1)}%`;
|
|
72979
72851
|
}
|
|
@@ -72981,7 +72853,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
72981
72853
|
};
|
|
72982
72854
|
this.contentKeyCallback = (datum, params) => {
|
|
72983
72855
|
var _a;
|
|
72984
|
-
if (((_a = params === null || params === void 0 ? void 0 : params.mark) === null || _a === void 0 ? void 0 : _a.name) ===
|
|
72856
|
+
if (((_a = params === null || params === void 0 ? void 0 : params.mark) === null || _a === void 0 ? void 0 : _a.name) === "transform") {
|
|
72985
72857
|
return `转化率`;
|
|
72986
72858
|
}
|
|
72987
72859
|
const { dimensionFields, seriesFields } = this._seriesCacheInfo;
|
|
@@ -73011,7 +72883,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
73011
72883
|
return defaultStyle;
|
|
73012
72884
|
}
|
|
73013
72885
|
}
|
|
73014
|
-
PolygonMark.type =
|
|
72886
|
+
PolygonMark.type = "polygon";
|
|
73015
72887
|
const registerPolygonMark = () => {
|
|
73016
72888
|
Factory.registerMark(PolygonMark.type, PolygonMark);
|
|
73017
72889
|
registerPolygonGraphic();
|
|
@@ -73020,9 +72892,9 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
73020
72892
|
|
|
73021
72893
|
class FunnelSeriesSpecTransformer extends BaseSeriesSpecTransformer {
|
|
73022
72894
|
_transformLabelSpec(spec) {
|
|
73023
|
-
this._addMarkLabelSpec(spec,
|
|
72895
|
+
this._addMarkLabelSpec(spec, "funnel");
|
|
73024
72896
|
if (spec.isTransform) {
|
|
73025
|
-
this._addMarkLabelSpec(spec,
|
|
72897
|
+
this._addMarkLabelSpec(spec, "transform", 'transformLabel');
|
|
73026
72898
|
}
|
|
73027
72899
|
}
|
|
73028
72900
|
}
|
|
@@ -73031,10 +72903,10 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
73031
72903
|
constructor() {
|
|
73032
72904
|
super(...arguments);
|
|
73033
72905
|
this.type = exports.SeriesTypeEnum.funnel;
|
|
73034
|
-
this._funnelMarkName =
|
|
73035
|
-
this._funnelMarkType =
|
|
73036
|
-
this._transformMarkName =
|
|
73037
|
-
this._transformMarkType =
|
|
72906
|
+
this._funnelMarkName = "funnel";
|
|
72907
|
+
this._funnelMarkType = "polygon";
|
|
72908
|
+
this._transformMarkName = "transform";
|
|
72909
|
+
this._transformMarkType = "polygon";
|
|
73038
72910
|
this.transformerConstructor = FunnelSeriesSpecTransformer;
|
|
73039
72911
|
this._funnelMark = null;
|
|
73040
72912
|
this._funnelTransformMark = null;
|
|
@@ -73270,7 +73142,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
73270
73142
|
return this.getLayoutRect().height;
|
|
73271
73143
|
},
|
|
73272
73144
|
orient: () => (this._isReverse() ? 'negative' : 'positive')
|
|
73273
|
-
}, appearPreset), userAnimationConfig(
|
|
73145
|
+
}, appearPreset), userAnimationConfig("group", this._spec, this._markAttributeContext)));
|
|
73274
73146
|
}
|
|
73275
73147
|
}
|
|
73276
73148
|
[(_e = this._funnelOuterLabelMark) === null || _e === void 0 ? void 0 : _e.label].forEach(m => {
|
|
@@ -73284,7 +73156,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
73284
73156
|
}
|
|
73285
73157
|
});
|
|
73286
73158
|
if ((_f = this._funnelOuterLabelMark) === null || _f === void 0 ? void 0 : _f.line) {
|
|
73287
|
-
this._funnelOuterLabelMark.line.setAnimationConfig(animationConfig((_g = Factory.getAnimationInKey('fadeInOut')) === null || _g === void 0 ? void 0 : _g(), userAnimationConfig(
|
|
73159
|
+
this._funnelOuterLabelMark.line.setAnimationConfig(animationConfig((_g = Factory.getAnimationInKey('fadeInOut')) === null || _g === void 0 ? void 0 : _g(), userAnimationConfig("outerLabelLine", this._spec, this._markAttributeContext)));
|
|
73288
73160
|
}
|
|
73289
73161
|
}
|
|
73290
73162
|
initGroups() {
|
|
@@ -73660,7 +73532,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
73660
73532
|
this.type = Pyramid3dMark.type;
|
|
73661
73533
|
}
|
|
73662
73534
|
}
|
|
73663
|
-
Pyramid3dMark.type =
|
|
73535
|
+
Pyramid3dMark.type = "pyramid3d";
|
|
73664
73536
|
const registerPyramid3dMark = () => {
|
|
73665
73537
|
Factory.registerMark(Pyramid3dMark.type, Pyramid3dMark);
|
|
73666
73538
|
registerPyramid3dGraphic();
|
|
@@ -73669,9 +73541,9 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
73669
73541
|
|
|
73670
73542
|
class Funnel3dSeriesSpecTransformer extends FunnelSeriesSpecTransformer {
|
|
73671
73543
|
_transformLabelSpec(spec) {
|
|
73672
|
-
this._addMarkLabelSpec(spec,
|
|
73544
|
+
this._addMarkLabelSpec(spec, "funnel3d");
|
|
73673
73545
|
if (spec.isTransform) {
|
|
73674
|
-
this._addMarkLabelSpec(spec,
|
|
73546
|
+
this._addMarkLabelSpec(spec, "transform3d", 'transformLabel');
|
|
73675
73547
|
}
|
|
73676
73548
|
}
|
|
73677
73549
|
}
|
|
@@ -73680,10 +73552,10 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
73680
73552
|
constructor() {
|
|
73681
73553
|
super(...arguments);
|
|
73682
73554
|
this.type = exports.SeriesTypeEnum.funnel3d;
|
|
73683
|
-
this._funnelMarkName =
|
|
73684
|
-
this._funnelMarkType =
|
|
73685
|
-
this._transformMarkName =
|
|
73686
|
-
this._transformMarkType =
|
|
73555
|
+
this._funnelMarkName = "funnel3d";
|
|
73556
|
+
this._funnelMarkType = "pyramid3d";
|
|
73557
|
+
this._transformMarkName = "transform3d";
|
|
73558
|
+
this._transformMarkType = "pyramid3d";
|
|
73687
73559
|
this.transformerConstructor = Funnel3dSeriesSpecTransformer;
|
|
73688
73560
|
}
|
|
73689
73561
|
initMark() {
|
|
@@ -74646,7 +74518,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
74646
74518
|
};
|
|
74647
74519
|
|
|
74648
74520
|
class Drillable {
|
|
74649
|
-
|
|
74521
|
+
_getDrillTriggerEvent(type) {
|
|
74650
74522
|
var _a;
|
|
74651
74523
|
const { mode } = this._drillParams;
|
|
74652
74524
|
return (_a = getDefaultTriggerEventByMode(mode)) === null || _a === void 0 ? void 0 : _a[type];
|
|
@@ -74675,8 +74547,8 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
74675
74547
|
bindDrillEvent() {
|
|
74676
74548
|
const { event, getRawData, drillField } = this._drillParams;
|
|
74677
74549
|
const keyField = drillField();
|
|
74678
|
-
if (this.
|
|
74679
|
-
event.on(this.
|
|
74550
|
+
if (this._getDrillTriggerEvent('start')) {
|
|
74551
|
+
event.on(this._getDrillTriggerEvent('start'), e => {
|
|
74680
74552
|
var _a, _b, _c;
|
|
74681
74553
|
if (isNil$1(e.datum) || isNil$1((_a = e.datum) === null || _a === void 0 ? void 0 : _a[keyField])) {
|
|
74682
74554
|
this.drillUp();
|
|
@@ -74953,11 +74825,11 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
74953
74825
|
}
|
|
74954
74826
|
};
|
|
74955
74827
|
const appearPreset = (_b = (_a = this._spec) === null || _a === void 0 ? void 0 : _a.animationAppear) === null || _b === void 0 ? void 0 : _b.preset;
|
|
74956
|
-
this.getMarksInType(
|
|
74828
|
+
this.getMarksInType("arc").forEach(mark => {
|
|
74957
74829
|
var _a;
|
|
74958
74830
|
mark.setAnimationConfig(animationConfig((_a = Factory.getAnimationInKey('sunburst')) === null || _a === void 0 ? void 0 : _a(animationParams, appearPreset), userAnimationConfig(mark.name, this._spec, this._markAttributeContext)));
|
|
74959
74831
|
});
|
|
74960
|
-
this.getMarksInType(
|
|
74832
|
+
this.getMarksInType("text").forEach(mark => {
|
|
74961
74833
|
var _a;
|
|
74962
74834
|
mark.setAnimationConfig(animationConfig((_a = Factory.getAnimationInKey('fadeInOut')) === null || _a === void 0 ? void 0 : _a(), userAnimationConfig(mark.name, this._spec, this._markAttributeContext)));
|
|
74963
74835
|
});
|
|
@@ -75244,11 +75116,11 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
75244
75116
|
initAnimation() {
|
|
75245
75117
|
var _a;
|
|
75246
75118
|
const appearPreset = (_a = this._spec.animationAppear) === null || _a === void 0 ? void 0 : _a.preset;
|
|
75247
|
-
this.getMarksInType(
|
|
75119
|
+
this.getMarksInType("arc").forEach(mark => {
|
|
75248
75120
|
var _a;
|
|
75249
75121
|
mark.setAnimationConfig(animationConfig((_a = Factory.getAnimationInKey('circlePacking')) === null || _a === void 0 ? void 0 : _a(undefined, appearPreset), userAnimationConfig(mark.name, this._spec, this._markAttributeContext)));
|
|
75250
75122
|
});
|
|
75251
|
-
this.getMarksInType(
|
|
75123
|
+
this.getMarksInType("text").forEach(mark => {
|
|
75252
75124
|
var _a;
|
|
75253
75125
|
mark.setAnimationConfig(animationConfig((_a = Factory.getAnimationInKey('scaleInOut')) === null || _a === void 0 ? void 0 : _a(), userAnimationConfig(mark.name, this._spec, this._markAttributeContext)));
|
|
75254
75126
|
});
|
|
@@ -75998,10 +75870,10 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
75998
75870
|
|
|
75999
75871
|
const sankeyGrowIn = (params, isOverall = true) => {
|
|
76000
75872
|
return {
|
|
76001
|
-
type: params.direction ===
|
|
75873
|
+
type: params.direction === "horizontal" ? 'growWidthIn' : 'growHeightIn',
|
|
76002
75874
|
options: {
|
|
76003
75875
|
overall: isOverall ? params.growFrom() : isOverall,
|
|
76004
|
-
orient:
|
|
75876
|
+
orient: 'positive'
|
|
76005
75877
|
}
|
|
76006
75878
|
};
|
|
76007
75879
|
};
|
|
@@ -76066,7 +75938,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
76066
75938
|
this._compiledProductId = id;
|
|
76067
75939
|
}
|
|
76068
75940
|
}
|
|
76069
|
-
LinkPathMark.type =
|
|
75941
|
+
LinkPathMark.type = "linkPath";
|
|
76070
75942
|
const registerLinkPathMark = () => {
|
|
76071
75943
|
registerLinkPathGlyph();
|
|
76072
75944
|
Factory.registerMark(LinkPathMark.type, LinkPathMark);
|
|
@@ -77003,13 +76875,13 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
77003
76875
|
};
|
|
77004
76876
|
const appearPreset = (_b = (_a = this._spec) === null || _a === void 0 ? void 0 : _a.animationAppear) === null || _b === void 0 ? void 0 : _b.preset;
|
|
77005
76877
|
if (this._nodeMark) {
|
|
77006
|
-
this._nodeMark.setAnimationConfig(animationConfig((_c = Factory.getAnimationInKey('sankeyNode')) === null || _c === void 0 ? void 0 : _c(animationParams, appearPreset), userAnimationConfig(
|
|
76878
|
+
this._nodeMark.setAnimationConfig(animationConfig((_c = Factory.getAnimationInKey('sankeyNode')) === null || _c === void 0 ? void 0 : _c(animationParams, appearPreset), userAnimationConfig("node", this._spec, this._markAttributeContext)));
|
|
77007
76879
|
}
|
|
77008
76880
|
if (this._linkMark) {
|
|
77009
|
-
this._linkMark.setAnimationConfig(animationConfig((_d = Factory.getAnimationInKey('sankeyLinkPath')) === null || _d === void 0 ? void 0 : _d(animationParams, appearPreset), userAnimationConfig(
|
|
76881
|
+
this._linkMark.setAnimationConfig(animationConfig((_d = Factory.getAnimationInKey('sankeyLinkPath')) === null || _d === void 0 ? void 0 : _d(animationParams, appearPreset), userAnimationConfig("link", this._spec, this._markAttributeContext)));
|
|
77010
76882
|
}
|
|
77011
76883
|
if (this._labelMark) {
|
|
77012
|
-
this._labelMark.setAnimationConfig(animationConfig((_e = Factory.getAnimationInKey('fadeInOut')) === null || _e === void 0 ? void 0 : _e(), userAnimationConfig(
|
|
76884
|
+
this._labelMark.setAnimationConfig(animationConfig((_e = Factory.getAnimationInKey('fadeInOut')) === null || _e === void 0 ? void 0 : _e(), userAnimationConfig("label", this._spec, this._markAttributeContext)));
|
|
77013
76885
|
}
|
|
77014
76886
|
}
|
|
77015
76887
|
initEvent() {
|
|
@@ -77254,8 +77126,8 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
77254
77126
|
|
|
77255
77127
|
class TreemapSeriesSpecTransformer extends BaseSeriesSpecTransformer {
|
|
77256
77128
|
_transformLabelSpec(spec) {
|
|
77257
|
-
this._addMarkLabelSpec(spec,
|
|
77258
|
-
this._addMarkLabelSpec(spec,
|
|
77129
|
+
this._addMarkLabelSpec(spec, "nonLeaf", 'nonLeafLabel', 'initNonLeafLabelMarkStyle');
|
|
77130
|
+
this._addMarkLabelSpec(spec, "leaf");
|
|
77259
77131
|
}
|
|
77260
77132
|
}
|
|
77261
77133
|
|
|
@@ -77295,7 +77167,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
77295
77167
|
this.initDrillable({
|
|
77296
77168
|
event: this.event,
|
|
77297
77169
|
mode: this._option.mode,
|
|
77298
|
-
drillField: () => { var _a; return (_a = this._spec.drillField) !== null && _a !== void 0 ? _a : DEFAULT_DATA_KEY; },
|
|
77170
|
+
drillField: () => { var _a, _b; return (_b = (_a = this._spec.drillField) !== null && _a !== void 0 ? _a : this._categoryField) !== null && _b !== void 0 ? _b : DEFAULT_DATA_KEY; },
|
|
77299
77171
|
getRawData: () => this.getRawData()
|
|
77300
77172
|
});
|
|
77301
77173
|
}
|
|
@@ -77529,11 +77401,11 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
77529
77401
|
}, STATE_VALUE_ENUM.STATE_NORMAL, exports.AttributeLevel.Series);
|
|
77530
77402
|
}
|
|
77531
77403
|
initAnimation() {
|
|
77532
|
-
this.getMarksInType(
|
|
77404
|
+
this.getMarksInType("rect").forEach(mark => {
|
|
77533
77405
|
var _a;
|
|
77534
77406
|
mark.setAnimationConfig(animationConfig((_a = Factory.getAnimationInKey('treemap')) === null || _a === void 0 ? void 0 : _a(), userAnimationConfig(mark.name, this._spec, this._markAttributeContext)));
|
|
77535
77407
|
});
|
|
77536
|
-
this.getMarksInType(
|
|
77408
|
+
this.getMarksInType("text").forEach(mark => {
|
|
77537
77409
|
var _a;
|
|
77538
77410
|
mark.setAnimationConfig(animationConfig((_a = Factory.getAnimationInKey('fadeInOut')) === null || _a === void 0 ? void 0 : _a(), userAnimationConfig(mark.name, this._spec, this._markAttributeContext)));
|
|
77539
77411
|
});
|
|
@@ -77691,7 +77563,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
77691
77563
|
var _a;
|
|
77692
77564
|
super.setAttrFromSpec();
|
|
77693
77565
|
this.setRadiusField(this._spec.radiusField);
|
|
77694
|
-
this._pointerType = ((_a = this._spec.pointer) === null || _a === void 0 ? void 0 : _a.type) === 'rect' ?
|
|
77566
|
+
this._pointerType = ((_a = this._spec.pointer) === null || _a === void 0 ? void 0 : _a.type) === 'rect' ? "rect" : "path";
|
|
77695
77567
|
}
|
|
77696
77568
|
initMark() {
|
|
77697
77569
|
this._pinBackgroundMark = this._createMark(GaugePointerSeries.mark.pinBackground);
|
|
@@ -77731,7 +77603,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
77731
77603
|
fill: this.getColorAttribute(),
|
|
77732
77604
|
zIndex: 200
|
|
77733
77605
|
});
|
|
77734
|
-
if (this._pointerType ===
|
|
77606
|
+
if (this._pointerType === "path") {
|
|
77735
77607
|
this.setMarkStyle(pointerMark, {
|
|
77736
77608
|
scaleX: this._getPointerWidth.bind(this),
|
|
77737
77609
|
scaleY: this._getPointerHeight.bind(this),
|
|
@@ -77827,7 +77699,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
77827
77699
|
const appearPreset = (_b = (_a = this._spec) === null || _a === void 0 ? void 0 : _a.animationAppear) === null || _b === void 0 ? void 0 : _b.preset;
|
|
77828
77700
|
this._pointerMark.setAnimationConfig(animationConfig((_c = Factory.getAnimationInKey('gaugePointer')) === null || _c === void 0 ? void 0 : _c({
|
|
77829
77701
|
startAngle: this._startAngle
|
|
77830
|
-
}, appearPreset), userAnimationConfig(
|
|
77702
|
+
}, appearPreset), userAnimationConfig("pointer", this._spec, this._markAttributeContext)));
|
|
77831
77703
|
}
|
|
77832
77704
|
getDefaultShapeType() {
|
|
77833
77705
|
return 'circle';
|
|
@@ -77847,7 +77719,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
77847
77719
|
|
|
77848
77720
|
class GaugeSeriesSpecTransformer extends BaseSeriesSpecTransformer {
|
|
77849
77721
|
_transformLabelSpec(spec) {
|
|
77850
|
-
this._addMarkLabelSpec(spec,
|
|
77722
|
+
this._addMarkLabelSpec(spec, "segment");
|
|
77851
77723
|
}
|
|
77852
77724
|
}
|
|
77853
77725
|
|
|
@@ -77971,7 +77843,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
77971
77843
|
const appearPreset = (_b = (_a = this._spec) === null || _a === void 0 ? void 0 : _a.animationAppear) === null || _b === void 0 ? void 0 : _b.preset;
|
|
77972
77844
|
this._segmentMark.setAnimationConfig(animationConfig((_c = Factory.getAnimationInKey('circularProgress')) === null || _c === void 0 ? void 0 : _c({
|
|
77973
77845
|
startAngle: this._startAngle
|
|
77974
|
-
}, appearPreset), userAnimationConfig(
|
|
77846
|
+
}, appearPreset), userAnimationConfig("segment", this._spec, this._markAttributeContext)));
|
|
77975
77847
|
}
|
|
77976
77848
|
getDefaultShapeType() {
|
|
77977
77849
|
return 'circle';
|
|
@@ -77999,7 +77871,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
77999
77871
|
return defaultStyle;
|
|
78000
77872
|
}
|
|
78001
77873
|
}
|
|
78002
|
-
CellMark.type =
|
|
77874
|
+
CellMark.type = "cell";
|
|
78003
77875
|
const registerCellMark = () => {
|
|
78004
77876
|
Factory.registerMark(CellMark.type, CellMark);
|
|
78005
77877
|
registerCellGraphic();
|
|
@@ -78032,7 +77904,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
78032
77904
|
|
|
78033
77905
|
class HeatmapSeriesSpecTransformer extends BaseSeriesSpecTransformer {
|
|
78034
77906
|
_transformLabelSpec(spec) {
|
|
78035
|
-
this._addMarkLabelSpec(spec,
|
|
77907
|
+
this._addMarkLabelSpec(spec, "cell");
|
|
78036
77908
|
}
|
|
78037
77909
|
}
|
|
78038
77910
|
|
|
@@ -78138,7 +78010,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
78138
78010
|
var _a, _b, _c;
|
|
78139
78011
|
const appearPreset = (_b = (_a = this._spec) === null || _a === void 0 ? void 0 : _a.animationAppear) === null || _b === void 0 ? void 0 : _b.preset;
|
|
78140
78012
|
const animationParams = getGroupAnimationParams(this);
|
|
78141
|
-
this._cellMark.setAnimationConfig(animationConfig((_c = Factory.getAnimationInKey('heatmap')) === null || _c === void 0 ? void 0 : _c(appearPreset), userAnimationConfig(
|
|
78013
|
+
this._cellMark.setAnimationConfig(animationConfig((_c = Factory.getAnimationInKey('heatmap')) === null || _c === void 0 ? void 0 : _c(appearPreset), userAnimationConfig("cell", this._spec, this._markAttributeContext), animationParams));
|
|
78142
78014
|
}
|
|
78143
78015
|
getCellSize(axisHelper) {
|
|
78144
78016
|
var _a, _b;
|
|
@@ -78329,7 +78201,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
78329
78201
|
this._compiledProductId = id;
|
|
78330
78202
|
}
|
|
78331
78203
|
}
|
|
78332
|
-
RippleMark.type =
|
|
78204
|
+
RippleMark.type = "ripple";
|
|
78333
78205
|
const registerRippleMark = () => {
|
|
78334
78206
|
Factory.registerMark(RippleMark.type, RippleMark);
|
|
78335
78207
|
registerRippleGlyph();
|
|
@@ -78360,8 +78232,8 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
78360
78232
|
|
|
78361
78233
|
class CorrelationSeriesSpecTransformer extends BaseSeriesSpecTransformer {
|
|
78362
78234
|
_transformLabelSpec(spec) {
|
|
78363
|
-
this._addMarkLabelSpec(spec,
|
|
78364
|
-
this._addMarkLabelSpec(spec,
|
|
78235
|
+
this._addMarkLabelSpec(spec, "nodePoint");
|
|
78236
|
+
this._addMarkLabelSpec(spec, "centerPoint", 'centerLabel');
|
|
78365
78237
|
}
|
|
78366
78238
|
}
|
|
78367
78239
|
|
|
@@ -78584,7 +78456,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
78584
78456
|
initAnimation() {
|
|
78585
78457
|
var _a, _b;
|
|
78586
78458
|
const appearPreset = (_a = this._spec.animationAppear) === null || _a === void 0 ? void 0 : _a.preset;
|
|
78587
|
-
this._nodePointMark.setAnimationConfig(animationConfig((_b = Factory.getAnimationInKey('correlation')) === null || _b === void 0 ? void 0 : _b({}, appearPreset), userAnimationConfig(
|
|
78459
|
+
this._nodePointMark.setAnimationConfig(animationConfig((_b = Factory.getAnimationInKey('correlation')) === null || _b === void 0 ? void 0 : _b({}, appearPreset), userAnimationConfig("nodePoint", this._spec, this._markAttributeContext)));
|
|
78588
78460
|
}
|
|
78589
78461
|
getGroupFields() {
|
|
78590
78462
|
return [];
|
|
@@ -78657,11 +78529,11 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
78657
78529
|
constructor() {
|
|
78658
78530
|
super(...arguments);
|
|
78659
78531
|
this.transformerConstructor = MapChartSpecTransformer;
|
|
78660
|
-
this.type =
|
|
78532
|
+
this.type = "map";
|
|
78661
78533
|
this.seriesType = exports.SeriesTypeEnum.map;
|
|
78662
78534
|
}
|
|
78663
78535
|
}
|
|
78664
|
-
MapChart.type =
|
|
78536
|
+
MapChart.type = "map";
|
|
78665
78537
|
MapChart.seriesType = exports.SeriesTypeEnum.map;
|
|
78666
78538
|
MapChart.view = 'singleDefault';
|
|
78667
78539
|
MapChart.transformerConstructor = MapChartSpecTransformer;
|
|
@@ -78700,8 +78572,8 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
78700
78572
|
super.transformSpec(spec);
|
|
78701
78573
|
if (isArray$1(spec.dataZoom) && spec.dataZoom.length > 0) {
|
|
78702
78574
|
spec.dataZoom.forEach((zoom) => {
|
|
78703
|
-
if (zoom.filterMode ===
|
|
78704
|
-
zoom.filterMode =
|
|
78575
|
+
if (zoom.filterMode === "axis") {
|
|
78576
|
+
zoom.filterMode = "filter";
|
|
78705
78577
|
}
|
|
78706
78578
|
});
|
|
78707
78579
|
}
|
|
@@ -78832,11 +78704,11 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
78832
78704
|
constructor() {
|
|
78833
78705
|
super(...arguments);
|
|
78834
78706
|
this.transformerConstructor = BasePieChartSpecTransformer;
|
|
78835
|
-
this.type =
|
|
78707
|
+
this.type = "pie";
|
|
78836
78708
|
this.seriesType = exports.SeriesTypeEnum.pie;
|
|
78837
78709
|
}
|
|
78838
78710
|
}
|
|
78839
|
-
PieChart.type =
|
|
78711
|
+
PieChart.type = "pie";
|
|
78840
78712
|
PieChart.seriesType = exports.SeriesTypeEnum.pie;
|
|
78841
78713
|
PieChart.view = 'singleDefault';
|
|
78842
78714
|
PieChart.transformerConstructor = BasePieChartSpecTransformer;
|
|
@@ -78859,11 +78731,11 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
78859
78731
|
constructor() {
|
|
78860
78732
|
super(...arguments);
|
|
78861
78733
|
this.transformerConstructor = Pie3dChartSpecTransformer;
|
|
78862
|
-
this.type =
|
|
78734
|
+
this.type = "pie3d";
|
|
78863
78735
|
this.seriesType = exports.SeriesTypeEnum.pie3d;
|
|
78864
78736
|
}
|
|
78865
78737
|
}
|
|
78866
|
-
Pie3dChart.type =
|
|
78738
|
+
Pie3dChart.type = "pie3d";
|
|
78867
78739
|
Pie3dChart.seriesType = exports.SeriesTypeEnum.pie3d;
|
|
78868
78740
|
Pie3dChart.view = 'singleDefault';
|
|
78869
78741
|
Pie3dChart.transformerConstructor = Pie3dChartSpecTransformer;
|
|
@@ -78908,12 +78780,12 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
78908
78780
|
constructor() {
|
|
78909
78781
|
super(...arguments);
|
|
78910
78782
|
this.transformerConstructor = RoseChartSpecTransformer;
|
|
78911
|
-
this.type =
|
|
78783
|
+
this.type = "rose";
|
|
78912
78784
|
this.seriesType = exports.SeriesTypeEnum.rose;
|
|
78913
78785
|
this._canStack = true;
|
|
78914
78786
|
}
|
|
78915
78787
|
}
|
|
78916
|
-
RoseChart.type =
|
|
78788
|
+
RoseChart.type = "rose";
|
|
78917
78789
|
RoseChart.seriesType = exports.SeriesTypeEnum.rose;
|
|
78918
78790
|
RoseChart.view = 'singleDefault';
|
|
78919
78791
|
RoseChart.transformerConstructor = RoseChartSpecTransformer;
|
|
@@ -78962,12 +78834,12 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
78962
78834
|
constructor() {
|
|
78963
78835
|
super(...arguments);
|
|
78964
78836
|
this.transformerConstructor = RadarChartSpecTransformer;
|
|
78965
|
-
this.type =
|
|
78837
|
+
this.type = "radar";
|
|
78966
78838
|
this.seriesType = exports.SeriesTypeEnum.radar;
|
|
78967
78839
|
this._canStack = true;
|
|
78968
78840
|
}
|
|
78969
78841
|
}
|
|
78970
|
-
RadarChart.type =
|
|
78842
|
+
RadarChart.type = "radar";
|
|
78971
78843
|
RadarChart.seriesType = exports.SeriesTypeEnum.radar;
|
|
78972
78844
|
RadarChart.view = 'singleDefault';
|
|
78973
78845
|
RadarChart.transformerConstructor = RadarChartSpecTransformer;
|
|
@@ -79011,11 +78883,11 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
79011
78883
|
constructor() {
|
|
79012
78884
|
super(...arguments);
|
|
79013
78885
|
this.transformerConstructor = CommonChartSpecTransformer;
|
|
79014
|
-
this.type =
|
|
78886
|
+
this.type = "common";
|
|
79015
78887
|
this._canStack = true;
|
|
79016
78888
|
}
|
|
79017
78889
|
}
|
|
79018
|
-
CommonChart.type =
|
|
78890
|
+
CommonChart.type = "common";
|
|
79019
78891
|
CommonChart.view = 'singleDefault';
|
|
79020
78892
|
CommonChart.transformerConstructor = CommonChartSpecTransformer;
|
|
79021
78893
|
const registerCommonChart = () => {
|
|
@@ -79119,7 +78991,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
79119
78991
|
row: rowNum
|
|
79120
78992
|
});
|
|
79121
78993
|
spec.axes[0].id = `axesRow${rowNum}`;
|
|
79122
|
-
spec.axes[0].regionIndex = Array.from(Array(spec.series.length
|
|
78994
|
+
spec.axes[0].regionIndex = Array.from(Array(spec.series.length), (_, index) => index + 1);
|
|
79123
78995
|
rowNum++;
|
|
79124
78996
|
(_k = spec === null || spec === void 0 ? void 0 : spec.series) === null || _k === void 0 ? void 0 : _k.forEach((seriesSpec) => {
|
|
79125
78997
|
var _a, _b;
|
|
@@ -79195,7 +79067,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
79195
79067
|
if (dataLength) {
|
|
79196
79068
|
ratio = ((seriesSpec === null || seriesSpec === void 0 ? void 0 : seriesSpec.height) || defaultSeriesRowHeight) / (dataLength * 30);
|
|
79197
79069
|
}
|
|
79198
|
-
scrollBar.push(Object.assign({ orient: 'right', visible: seriesSpec.type === exports.SeriesTypeEnum.dot && ratio < 1, id: `scrollBarRightRow${rowNum}`, start: 0, end: Math.min(ratio, 1), filterMode:
|
|
79070
|
+
scrollBar.push(Object.assign({ orient: 'right', visible: seriesSpec.type === exports.SeriesTypeEnum.dot && ratio < 1, id: `scrollBarRightRow${rowNum}`, start: 0, end: Math.min(ratio, 1), filterMode: "axis", regionIndex: region.length - 1, axisId: `axesLeftRow${rowNum}` }, array(spec === null || spec === void 0 ? void 0 : spec.scrollBar)[0]));
|
|
79199
79071
|
}
|
|
79200
79072
|
seriesSpec.regionIndex = region.length - 1;
|
|
79201
79073
|
rowNum++;
|
|
@@ -79260,7 +79132,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
79260
79132
|
constructor() {
|
|
79261
79133
|
super(...arguments);
|
|
79262
79134
|
this.transformerConstructor = SequenceChartSpecTransformer;
|
|
79263
|
-
this.type =
|
|
79135
|
+
this.type = "sequence";
|
|
79264
79136
|
}
|
|
79265
79137
|
_createSeries(constructor, specInfo) {
|
|
79266
79138
|
if (!constructor) {
|
|
@@ -79288,7 +79160,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
79288
79160
|
}
|
|
79289
79161
|
}
|
|
79290
79162
|
}
|
|
79291
|
-
SequenceChart.type =
|
|
79163
|
+
SequenceChart.type = "sequence";
|
|
79292
79164
|
SequenceChart.view = 'singleDefault';
|
|
79293
79165
|
SequenceChart.transformerConstructor = SequenceChartSpecTransformer;
|
|
79294
79166
|
const registerSequenceChart = () => {
|
|
@@ -79327,11 +79199,11 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
79327
79199
|
constructor() {
|
|
79328
79200
|
super(...arguments);
|
|
79329
79201
|
this.transformerConstructor = HistogramChartSpecTransformer;
|
|
79330
|
-
this.type =
|
|
79202
|
+
this.type = "histogram";
|
|
79331
79203
|
this.seriesType = exports.SeriesTypeEnum.bar;
|
|
79332
79204
|
}
|
|
79333
79205
|
}
|
|
79334
|
-
HistogramChart.type =
|
|
79206
|
+
HistogramChart.type = "histogram";
|
|
79335
79207
|
HistogramChart.seriesType = exports.SeriesTypeEnum.bar;
|
|
79336
79208
|
HistogramChart.view = 'singleDefault';
|
|
79337
79209
|
HistogramChart.transformerConstructor = HistogramChartSpecTransformer;
|
|
@@ -79344,11 +79216,11 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
79344
79216
|
constructor() {
|
|
79345
79217
|
super(...arguments);
|
|
79346
79218
|
this.transformerConstructor = HistogramChartSpecTransformer;
|
|
79347
|
-
this.type =
|
|
79219
|
+
this.type = "histogram3d";
|
|
79348
79220
|
this.seriesType = exports.SeriesTypeEnum.bar3d;
|
|
79349
79221
|
}
|
|
79350
79222
|
}
|
|
79351
|
-
Histogram3dChart.type =
|
|
79223
|
+
Histogram3dChart.type = "histogram3d";
|
|
79352
79224
|
Histogram3dChart.seriesType = exports.SeriesTypeEnum.bar3d;
|
|
79353
79225
|
Histogram3dChart.view = 'singleDefault';
|
|
79354
79226
|
Histogram3dChart.transformerConstructor = HistogramChartSpecTransformer;
|
|
@@ -79379,12 +79251,12 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
79379
79251
|
constructor() {
|
|
79380
79252
|
super(...arguments);
|
|
79381
79253
|
this.transformerConstructor = CircularProgressChartSpecTransformer;
|
|
79382
|
-
this.type =
|
|
79254
|
+
this.type = "circularProgress";
|
|
79383
79255
|
this.seriesType = exports.SeriesTypeEnum.circularProgress;
|
|
79384
79256
|
this._canStack = true;
|
|
79385
79257
|
}
|
|
79386
79258
|
}
|
|
79387
|
-
CircularProgressChart.type =
|
|
79259
|
+
CircularProgressChart.type = "circularProgress";
|
|
79388
79260
|
CircularProgressChart.seriesType = exports.SeriesTypeEnum.circularProgress;
|
|
79389
79261
|
CircularProgressChart.view = 'singleDefault';
|
|
79390
79262
|
CircularProgressChart.transformerConstructor = CircularProgressChartSpecTransformer;
|
|
@@ -79498,11 +79370,11 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
79498
79370
|
constructor() {
|
|
79499
79371
|
super(...arguments);
|
|
79500
79372
|
this.transformerConstructor = GaugeChartSpecTransformer;
|
|
79501
|
-
this.type =
|
|
79373
|
+
this.type = "gauge";
|
|
79502
79374
|
this.seriesType = exports.SeriesTypeEnum.gaugePointer;
|
|
79503
79375
|
}
|
|
79504
79376
|
}
|
|
79505
|
-
GaugeChart.type =
|
|
79377
|
+
GaugeChart.type = "gauge";
|
|
79506
79378
|
GaugeChart.seriesType = exports.SeriesTypeEnum.gaugePointer;
|
|
79507
79379
|
GaugeChart.view = 'singleDefault';
|
|
79508
79380
|
GaugeChart.transformerConstructor = GaugeChartSpecTransformer;
|
|
@@ -79538,7 +79410,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
79538
79410
|
constructor() {
|
|
79539
79411
|
super(...arguments);
|
|
79540
79412
|
this.transformerConstructor = BaseWordCloudChartSpecTransformer;
|
|
79541
|
-
this.type =
|
|
79413
|
+
this.type = "wordCloud";
|
|
79542
79414
|
this.seriesType = exports.SeriesTypeEnum.wordCloud;
|
|
79543
79415
|
}
|
|
79544
79416
|
}
|
|
@@ -79560,11 +79432,11 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
79560
79432
|
constructor() {
|
|
79561
79433
|
super(...arguments);
|
|
79562
79434
|
this.transformerConstructor = WordCloudChartSpecTransformer;
|
|
79563
|
-
this.type =
|
|
79435
|
+
this.type = "wordCloud";
|
|
79564
79436
|
this.seriesType = exports.SeriesTypeEnum.wordCloud;
|
|
79565
79437
|
}
|
|
79566
79438
|
}
|
|
79567
|
-
WordCloudChart.type =
|
|
79439
|
+
WordCloudChart.type = "wordCloud";
|
|
79568
79440
|
WordCloudChart.seriesType = exports.SeriesTypeEnum.wordCloud;
|
|
79569
79441
|
WordCloudChart.view = 'singleDefault';
|
|
79570
79442
|
WordCloudChart.transformerConstructor = WordCloudChartSpecTransformer;
|
|
@@ -79593,11 +79465,11 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
79593
79465
|
constructor() {
|
|
79594
79466
|
super(...arguments);
|
|
79595
79467
|
this.transformerConstructor = WordCloud3dChartSpecTransformer;
|
|
79596
|
-
this.type =
|
|
79468
|
+
this.type = "wordCloud3d";
|
|
79597
79469
|
this.seriesType = exports.SeriesTypeEnum.wordCloud3d;
|
|
79598
79470
|
}
|
|
79599
79471
|
}
|
|
79600
|
-
WordCloud3dChart.type =
|
|
79472
|
+
WordCloud3dChart.type = "wordCloud3d";
|
|
79601
79473
|
WordCloud3dChart.seriesType = exports.SeriesTypeEnum.wordCloud3d;
|
|
79602
79474
|
WordCloud3dChart.view = 'singleDefault';
|
|
79603
79475
|
WordCloud3dChart.transformerConstructor = WordCloud3dChartSpecTransformer;
|
|
@@ -79648,11 +79520,11 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
79648
79520
|
constructor() {
|
|
79649
79521
|
super(...arguments);
|
|
79650
79522
|
this.transformerConstructor = FunnelChartSpecTransformer;
|
|
79651
|
-
this.type =
|
|
79523
|
+
this.type = "funnel";
|
|
79652
79524
|
this.seriesType = exports.SeriesTypeEnum.funnel;
|
|
79653
79525
|
}
|
|
79654
79526
|
}
|
|
79655
|
-
FunnelChart.type =
|
|
79527
|
+
FunnelChart.type = "funnel";
|
|
79656
79528
|
FunnelChart.seriesType = exports.SeriesTypeEnum.funnel;
|
|
79657
79529
|
FunnelChart.view = 'singleDefault';
|
|
79658
79530
|
FunnelChart.transformerConstructor = FunnelChartSpecTransformer;
|
|
@@ -79665,11 +79537,11 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
79665
79537
|
constructor() {
|
|
79666
79538
|
super(...arguments);
|
|
79667
79539
|
this.transformerConstructor = FunnelChartSpecTransformer;
|
|
79668
|
-
this.type =
|
|
79540
|
+
this.type = "funnel3d";
|
|
79669
79541
|
this.seriesType = exports.SeriesTypeEnum.funnel3d;
|
|
79670
79542
|
}
|
|
79671
79543
|
}
|
|
79672
|
-
Funnel3dChart.type =
|
|
79544
|
+
Funnel3dChart.type = "funnel3d";
|
|
79673
79545
|
Funnel3dChart.seriesType = exports.SeriesTypeEnum.funnel3d;
|
|
79674
79546
|
Funnel3dChart.view = 'singleDefault';
|
|
79675
79547
|
Funnel3dChart.transformerConstructor = FunnelChartSpecTransformer;
|
|
@@ -79781,12 +79653,12 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
79781
79653
|
constructor() {
|
|
79782
79654
|
super(...arguments);
|
|
79783
79655
|
this.transformerConstructor = LinearProgressChartSpecTransformer;
|
|
79784
|
-
this.type =
|
|
79656
|
+
this.type = "linearProgress";
|
|
79785
79657
|
this.seriesType = exports.SeriesTypeEnum.linearProgress;
|
|
79786
79658
|
this._canStack = true;
|
|
79787
79659
|
}
|
|
79788
79660
|
}
|
|
79789
|
-
LinearProgressChart.type =
|
|
79661
|
+
LinearProgressChart.type = "linearProgress";
|
|
79790
79662
|
LinearProgressChart.seriesType = exports.SeriesTypeEnum.linearProgress;
|
|
79791
79663
|
LinearProgressChart.view = 'singleDefault';
|
|
79792
79664
|
LinearProgressChart.transformerConstructor = LinearProgressChartSpecTransformer;
|
|
@@ -79800,7 +79672,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
79800
79672
|
var _a, _b;
|
|
79801
79673
|
const series = Object.assign(Object.assign({}, super._getDefaultSeriesSpec(spec)), { barGapInGroup: spec.barGapInGroup, barBackground: spec.barBackground, barMinHeight: spec.barMinHeight });
|
|
79802
79674
|
series.bar = spec.bar;
|
|
79803
|
-
if (spec.direction ===
|
|
79675
|
+
if (spec.direction === "horizontal") {
|
|
79804
79676
|
series.xField = (_a = spec.xField) !== null && _a !== void 0 ? _a : [spec.minField, spec.maxField];
|
|
79805
79677
|
}
|
|
79806
79678
|
else {
|
|
@@ -79818,11 +79690,11 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
79818
79690
|
constructor() {
|
|
79819
79691
|
super(...arguments);
|
|
79820
79692
|
this.transformerConstructor = RangeColumnChartSpecTransformer;
|
|
79821
|
-
this.type =
|
|
79693
|
+
this.type = "rangeColumn";
|
|
79822
79694
|
this.seriesType = exports.SeriesTypeEnum.rangeColumn;
|
|
79823
79695
|
}
|
|
79824
79696
|
}
|
|
79825
|
-
RangeColumnChart.type =
|
|
79697
|
+
RangeColumnChart.type = "rangeColumn";
|
|
79826
79698
|
RangeColumnChart.seriesType = exports.SeriesTypeEnum.rangeColumn;
|
|
79827
79699
|
RangeColumnChart.view = 'singleDefault';
|
|
79828
79700
|
RangeColumnChart.transformerConstructor = RangeColumnChartSpecTransformer;
|
|
@@ -79836,7 +79708,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
79836
79708
|
var _a, _b;
|
|
79837
79709
|
const series = Object.assign(Object.assign({}, super._getDefaultSeriesSpec(spec)), { barGapInGroup: spec.barGapInGroup });
|
|
79838
79710
|
series.bar3d = spec.bar3d;
|
|
79839
|
-
if (spec.direction ===
|
|
79711
|
+
if (spec.direction === "horizontal") {
|
|
79840
79712
|
series.xField = (_a = spec.xField) !== null && _a !== void 0 ? _a : [spec.minField, spec.maxField];
|
|
79841
79713
|
}
|
|
79842
79714
|
else {
|
|
@@ -79850,11 +79722,11 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
79850
79722
|
constructor() {
|
|
79851
79723
|
super(...arguments);
|
|
79852
79724
|
this.transformerConstructor = RangeColumn3dChartSpecTransformer;
|
|
79853
|
-
this.type =
|
|
79725
|
+
this.type = "rangeColumn3d";
|
|
79854
79726
|
this.seriesType = exports.SeriesTypeEnum.rangeColumn3d;
|
|
79855
79727
|
}
|
|
79856
79728
|
}
|
|
79857
|
-
RangeColumn3dChart.type =
|
|
79729
|
+
RangeColumn3dChart.type = "rangeColumn3d";
|
|
79858
79730
|
RangeColumn3dChart.seriesType = exports.SeriesTypeEnum.rangeColumn3d;
|
|
79859
79731
|
RangeColumn3dChart.view = 'singleDefault';
|
|
79860
79732
|
RangeColumn3dChart.transformerConstructor = RangeColumn3dChartSpecTransformer;
|
|
@@ -79898,11 +79770,11 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
79898
79770
|
constructor() {
|
|
79899
79771
|
super(...arguments);
|
|
79900
79772
|
this.transformerConstructor = SunburstChartSpecTransformer;
|
|
79901
|
-
this.type =
|
|
79773
|
+
this.type = "sunburst";
|
|
79902
79774
|
this.seriesType = exports.SeriesTypeEnum.sunburst;
|
|
79903
79775
|
}
|
|
79904
79776
|
}
|
|
79905
|
-
SunburstChart.type =
|
|
79777
|
+
SunburstChart.type = "sunburst";
|
|
79906
79778
|
SunburstChart.seriesType = exports.SeriesTypeEnum.sunburst;
|
|
79907
79779
|
SunburstChart.view = 'singleDefault';
|
|
79908
79780
|
SunburstChart.transformerConstructor = SunburstChartSpecTransformer;
|
|
@@ -79944,11 +79816,11 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
79944
79816
|
constructor() {
|
|
79945
79817
|
super(...arguments);
|
|
79946
79818
|
this.transformerConstructor = CirclePackingChartSpecTransformer;
|
|
79947
|
-
this.type =
|
|
79819
|
+
this.type = "circlePacking";
|
|
79948
79820
|
this.seriesType = exports.SeriesTypeEnum.circlePacking;
|
|
79949
79821
|
}
|
|
79950
79822
|
}
|
|
79951
|
-
CirclePackingChart.type =
|
|
79823
|
+
CirclePackingChart.type = "circlePacking";
|
|
79952
79824
|
CirclePackingChart.seriesType = exports.SeriesTypeEnum.circlePacking;
|
|
79953
79825
|
CirclePackingChart.view = 'singleDefault';
|
|
79954
79826
|
CirclePackingChart.transformerConstructor = CirclePackingChartSpecTransformer;
|
|
@@ -79992,11 +79864,11 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
79992
79864
|
constructor() {
|
|
79993
79865
|
super(...arguments);
|
|
79994
79866
|
this.transformerConstructor = TreemapChartSpecTransformer;
|
|
79995
|
-
this.type =
|
|
79867
|
+
this.type = "treemap";
|
|
79996
79868
|
this.seriesType = exports.SeriesTypeEnum.treemap;
|
|
79997
79869
|
}
|
|
79998
79870
|
}
|
|
79999
|
-
TreemapChart.type =
|
|
79871
|
+
TreemapChart.type = "treemap";
|
|
80000
79872
|
TreemapChart.seriesType = exports.SeriesTypeEnum.treemap;
|
|
80001
79873
|
TreemapChart.view = 'singleDefault';
|
|
80002
79874
|
TreemapChart.transformerConstructor = TreemapChartSpecTransformer;
|
|
@@ -80026,11 +79898,11 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
80026
79898
|
constructor() {
|
|
80027
79899
|
super(...arguments);
|
|
80028
79900
|
this.transformerConstructor = WaterfallChartSpecTransformer;
|
|
80029
|
-
this.type =
|
|
79901
|
+
this.type = "waterfall";
|
|
80030
79902
|
this.seriesType = exports.SeriesTypeEnum.waterfall;
|
|
80031
79903
|
}
|
|
80032
79904
|
}
|
|
80033
|
-
WaterfallChart.type =
|
|
79905
|
+
WaterfallChart.type = "waterfall";
|
|
80034
79906
|
WaterfallChart.seriesType = exports.SeriesTypeEnum.waterfall;
|
|
80035
79907
|
WaterfallChart.view = 'singleDefault';
|
|
80036
79908
|
WaterfallChart.transformerConstructor = WaterfallChartSpecTransformer;
|
|
@@ -80043,8 +79915,8 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
80043
79915
|
_getDefaultSeriesSpec(spec) {
|
|
80044
79916
|
var _a;
|
|
80045
79917
|
const dataFields = [spec.maxField, spec.medianField, spec.q1Field, spec.q3Field, spec.minField, spec.outliersField];
|
|
80046
|
-
const seriesSpec = Object.assign(Object.assign({}, super._getDefaultSeriesSpec(spec)), { boxPlot: spec.boxPlot, direction: (_a = spec.direction) !== null && _a !== void 0 ? _a :
|
|
80047
|
-
seriesSpec[seriesSpec.direction ===
|
|
79918
|
+
const seriesSpec = Object.assign(Object.assign({}, super._getDefaultSeriesSpec(spec)), { boxPlot: spec.boxPlot, direction: (_a = spec.direction) !== null && _a !== void 0 ? _a : "vertical", minField: spec.minField, maxField: spec.maxField, q1Field: spec.q1Field, medianField: spec.medianField, q3Field: spec.q3Field, outliersField: spec.outliersField, outliersStyle: spec.outliersStyle });
|
|
79919
|
+
seriesSpec[seriesSpec.direction === "vertical" ? 'yField' : 'xField'] = dataFields;
|
|
80048
79920
|
return seriesSpec;
|
|
80049
79921
|
}
|
|
80050
79922
|
transformSpec(spec) {
|
|
@@ -80067,11 +79939,11 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
80067
79939
|
constructor() {
|
|
80068
79940
|
super(...arguments);
|
|
80069
79941
|
this.transformerConstructor = BoxPlotChartSpecTransformer;
|
|
80070
|
-
this.type =
|
|
79942
|
+
this.type = "boxPlot";
|
|
80071
79943
|
this.seriesType = exports.SeriesTypeEnum.boxPlot;
|
|
80072
79944
|
}
|
|
80073
79945
|
}
|
|
80074
|
-
BoxPlotChart.type =
|
|
79946
|
+
BoxPlotChart.type = "boxPlot";
|
|
80075
79947
|
BoxPlotChart.seriesType = exports.SeriesTypeEnum.boxPlot;
|
|
80076
79948
|
BoxPlotChart.view = 'singleDefault';
|
|
80077
79949
|
BoxPlotChart.transformerConstructor = BoxPlotChartSpecTransformer;
|
|
@@ -80115,11 +79987,11 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
80115
79987
|
constructor() {
|
|
80116
79988
|
super(...arguments);
|
|
80117
79989
|
this.transformerConstructor = SankeyChartSpecTransformer;
|
|
80118
|
-
this.type =
|
|
79990
|
+
this.type = "sankey";
|
|
80119
79991
|
this.seriesType = exports.SeriesTypeEnum.sankey;
|
|
80120
79992
|
}
|
|
80121
79993
|
}
|
|
80122
|
-
SankeyChart.type =
|
|
79994
|
+
SankeyChart.type = "sankey";
|
|
80123
79995
|
SankeyChart.seriesType = exports.SeriesTypeEnum.sankey;
|
|
80124
79996
|
SankeyChart.view = 'singleDefault';
|
|
80125
79997
|
SankeyChart.transformerConstructor = SankeyChartSpecTransformer;
|
|
@@ -80133,7 +80005,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
80133
80005
|
var _a, _b;
|
|
80134
80006
|
const series = Object.assign({}, super._getDefaultSeriesSpec(spec));
|
|
80135
80007
|
series.area = spec.area;
|
|
80136
|
-
if (spec.direction ===
|
|
80008
|
+
if (spec.direction === "horizontal") {
|
|
80137
80009
|
series.xField = (_a = spec.xField) !== null && _a !== void 0 ? _a : [spec.minField, spec.maxField];
|
|
80138
80010
|
}
|
|
80139
80011
|
else {
|
|
@@ -80152,11 +80024,11 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
80152
80024
|
constructor() {
|
|
80153
80025
|
super(...arguments);
|
|
80154
80026
|
this.transformerConstructor = RangeAreaChartSpecTransformer;
|
|
80155
|
-
this.type =
|
|
80027
|
+
this.type = "rangeArea";
|
|
80156
80028
|
this.seriesType = exports.SeriesTypeEnum.rangeArea;
|
|
80157
80029
|
}
|
|
80158
80030
|
}
|
|
80159
|
-
RangeAreaChart.type =
|
|
80031
|
+
RangeAreaChart.type = "rangeArea";
|
|
80160
80032
|
RangeAreaChart.seriesType = exports.SeriesTypeEnum.rangeArea;
|
|
80161
80033
|
RangeAreaChart.view = 'singleDefault';
|
|
80162
80034
|
RangeAreaChart.transformerConstructor = RangeAreaChartSpecTransformer;
|
|
@@ -80176,11 +80048,11 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
80176
80048
|
constructor() {
|
|
80177
80049
|
super(...arguments);
|
|
80178
80050
|
this.transformerConstructor = HeatmapChartSpecTransformer;
|
|
80179
|
-
this.type =
|
|
80051
|
+
this.type = "heatmap";
|
|
80180
80052
|
this.seriesType = exports.SeriesTypeEnum.heatmap;
|
|
80181
80053
|
}
|
|
80182
80054
|
}
|
|
80183
|
-
HeatmapChart.type =
|
|
80055
|
+
HeatmapChart.type = "heatmap";
|
|
80184
80056
|
HeatmapChart.seriesType = exports.SeriesTypeEnum.heatmap;
|
|
80185
80057
|
HeatmapChart.view = 'singleDefault';
|
|
80186
80058
|
HeatmapChart.transformerConstructor = HeatmapChartSpecTransformer;
|
|
@@ -80222,11 +80094,11 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
80222
80094
|
constructor() {
|
|
80223
80095
|
super(...arguments);
|
|
80224
80096
|
this.transformerConstructor = CorrelationChartSpecTransformer;
|
|
80225
|
-
this.type =
|
|
80097
|
+
this.type = "correlation";
|
|
80226
80098
|
this.seriesType = exports.SeriesTypeEnum.correlation;
|
|
80227
80099
|
}
|
|
80228
80100
|
}
|
|
80229
|
-
CorrelationChart.type =
|
|
80101
|
+
CorrelationChart.type = "correlation";
|
|
80230
80102
|
CorrelationChart.seriesType = exports.SeriesTypeEnum.correlation;
|
|
80231
80103
|
CorrelationChart.view = 'singleDefault';
|
|
80232
80104
|
CorrelationChart.transformerConstructor = CorrelationChartSpecTransformer;
|
|
@@ -80575,7 +80447,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
80575
80447
|
this._compiledProductId = id;
|
|
80576
80448
|
}
|
|
80577
80449
|
}
|
|
80578
|
-
ComponentMark.type =
|
|
80450
|
+
ComponentMark.type = "component";
|
|
80579
80451
|
const registerComponentMark = () => {
|
|
80580
80452
|
Factory.registerMark(ComponentMark.type, ComponentMark);
|
|
80581
80453
|
};
|
|
@@ -80988,6 +80860,12 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
80988
80860
|
this._scales = [];
|
|
80989
80861
|
this._tick = undefined;
|
|
80990
80862
|
this._layoutCache = { width: 0, height: 0, _lastComputeOutBounds: { x1: 0, x2: 0, y1: 0, y2: 0 } };
|
|
80863
|
+
this._innerOffset = {
|
|
80864
|
+
top: 0,
|
|
80865
|
+
bottom: 0,
|
|
80866
|
+
left: 0,
|
|
80867
|
+
right: 0
|
|
80868
|
+
};
|
|
80991
80869
|
this.effect = {
|
|
80992
80870
|
scaleUpdate: params => {
|
|
80993
80871
|
this.computeData(params === null || params === void 0 ? void 0 : params.value);
|
|
@@ -81108,7 +80986,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
81108
80986
|
if (!axesSpec) {
|
|
81109
80987
|
return null;
|
|
81110
80988
|
}
|
|
81111
|
-
const isHorizontal = chartSpec.direction ===
|
|
80989
|
+
const isHorizontal = chartSpec.direction === "horizontal";
|
|
81112
80990
|
if (!isArray$1(axesSpec)) {
|
|
81113
80991
|
if (!isValidCartesianAxis(axesSpec)) {
|
|
81114
80992
|
return null;
|
|
@@ -81170,21 +81048,22 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
81170
81048
|
updateScaleRange() {
|
|
81171
81049
|
let isScaleChange = false;
|
|
81172
81050
|
const { width, height } = this.getLayoutRect();
|
|
81051
|
+
const { left, right, top, bottom } = this._innerOffset;
|
|
81173
81052
|
let newRange = [];
|
|
81174
81053
|
if (isXAxis(this.getOrient())) {
|
|
81175
81054
|
if (isValidNumber$1(width)) {
|
|
81176
|
-
newRange = this._inverse ? [width,
|
|
81055
|
+
newRange = this._inverse ? [width - right, left] : [left, width - right];
|
|
81177
81056
|
}
|
|
81178
81057
|
}
|
|
81179
81058
|
else if (isZAxis(this.getOrient())) {
|
|
81180
81059
|
if (isValidNumber$1(width)) {
|
|
81181
|
-
newRange = this._inverse ? [width,
|
|
81060
|
+
newRange = this._inverse ? [width - right, left] : [left, width - right];
|
|
81182
81061
|
this._scale.range(newRange);
|
|
81183
81062
|
}
|
|
81184
81063
|
}
|
|
81185
81064
|
else {
|
|
81186
81065
|
if (isValidNumber$1(height)) {
|
|
81187
|
-
newRange = this._inverse ? [
|
|
81066
|
+
newRange = this._inverse ? [top, height - bottom] : [height - bottom, top];
|
|
81188
81067
|
}
|
|
81189
81068
|
}
|
|
81190
81069
|
const [start, end] = this._scale.range();
|
|
@@ -81222,7 +81101,23 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
81222
81101
|
}
|
|
81223
81102
|
this._tick = this._spec.tick;
|
|
81224
81103
|
const chartSpec = (_a = this._option.getChart()) === null || _a === void 0 ? void 0 : _a.getSpec();
|
|
81225
|
-
this._inverse = transformInverse(this._spec, (chartSpec === null || chartSpec === void 0 ? void 0 : chartSpec.direction) ===
|
|
81104
|
+
this._inverse = transformInverse(this._spec, (chartSpec === null || chartSpec === void 0 ? void 0 : chartSpec.direction) === "horizontal");
|
|
81105
|
+
}
|
|
81106
|
+
onLayoutStart(layoutRect, viewRect, ctx) {
|
|
81107
|
+
super.onLayoutStart(layoutRect, viewRect, ctx);
|
|
81108
|
+
if (!isZAxis(this.getOrient()) && this._spec.innerOffset) {
|
|
81109
|
+
const spec = this._spec;
|
|
81110
|
+
if (isYAxis(this.getOrient())) {
|
|
81111
|
+
['top', 'bottom'].forEach(orient => {
|
|
81112
|
+
this._innerOffset[orient] = calcLayoutNumber(spec.innerOffset[orient], viewRect.height, viewRect);
|
|
81113
|
+
});
|
|
81114
|
+
}
|
|
81115
|
+
else {
|
|
81116
|
+
['left', 'right'].forEach(orient => {
|
|
81117
|
+
this._innerOffset[orient] = calcLayoutNumber(spec.innerOffset[orient], viewRect.width, viewRect);
|
|
81118
|
+
});
|
|
81119
|
+
}
|
|
81120
|
+
}
|
|
81226
81121
|
}
|
|
81227
81122
|
getSeriesStatisticsField(s) {
|
|
81228
81123
|
let f;
|
|
@@ -81356,19 +81251,22 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
81356
81251
|
if (!depth) {
|
|
81357
81252
|
this._dataFieldText = s.getFieldAlias(field[0]);
|
|
81358
81253
|
}
|
|
81359
|
-
const seriesData = (_c = s.getViewDataStatistics) === null || _c === void 0 ? void 0 : _c.call(s);
|
|
81360
81254
|
if (field) {
|
|
81361
|
-
|
|
81362
|
-
|
|
81363
|
-
|
|
81255
|
+
const viewData = s.getViewData();
|
|
81256
|
+
if (rawData) {
|
|
81257
|
+
field.forEach(f => {
|
|
81364
81258
|
data.push(s.getRawDataStatisticsByField(f, false));
|
|
81365
|
-
}
|
|
81366
|
-
|
|
81259
|
+
});
|
|
81260
|
+
}
|
|
81261
|
+
else if (viewData && viewData.latestData && viewData.latestData.length) {
|
|
81262
|
+
const seriesData = (_c = s.getViewDataStatistics) === null || _c === void 0 ? void 0 : _c.call(s);
|
|
81263
|
+
field.forEach(f => {
|
|
81264
|
+
var _a;
|
|
81367
81265
|
if ((_a = seriesData === null || seriesData === void 0 ? void 0 : seriesData.latestData) === null || _a === void 0 ? void 0 : _a[f]) {
|
|
81368
81266
|
data.push(seriesData.latestData[f]);
|
|
81369
81267
|
}
|
|
81370
|
-
}
|
|
81371
|
-
}
|
|
81268
|
+
});
|
|
81269
|
+
}
|
|
81372
81270
|
}
|
|
81373
81271
|
}, {
|
|
81374
81272
|
userId: this._seriesUserId,
|
|
@@ -81762,11 +81660,17 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
81762
81660
|
}
|
|
81763
81661
|
computeLinearDomain(data) {
|
|
81764
81662
|
const domain = [];
|
|
81765
|
-
data.
|
|
81766
|
-
|
|
81767
|
-
|
|
81768
|
-
|
|
81769
|
-
|
|
81663
|
+
if (data.length) {
|
|
81664
|
+
data.forEach(d => {
|
|
81665
|
+
const { min, max } = d;
|
|
81666
|
+
domain[0] = domain[0] === undefined ? min : Math.min(domain[0], min);
|
|
81667
|
+
domain[1] = domain[1] === undefined ? max : Math.max(domain[1], max);
|
|
81668
|
+
});
|
|
81669
|
+
}
|
|
81670
|
+
else {
|
|
81671
|
+
domain[0] = 0;
|
|
81672
|
+
domain[1] = 0;
|
|
81673
|
+
}
|
|
81770
81674
|
this.expandDomain(domain);
|
|
81771
81675
|
this.includeZero(domain);
|
|
81772
81676
|
this.setDomainMinMax(domain);
|
|
@@ -81995,6 +81899,9 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
81995
81899
|
}
|
|
81996
81900
|
}
|
|
81997
81901
|
computeBandDomain(data) {
|
|
81902
|
+
if (!data.length) {
|
|
81903
|
+
return [];
|
|
81904
|
+
}
|
|
81998
81905
|
if (data.length === 1) {
|
|
81999
81906
|
return data[0].values;
|
|
82000
81907
|
}
|
|
@@ -82479,19 +82386,22 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
82479
82386
|
if (!depth) {
|
|
82480
82387
|
this._dataFieldText = s.getFieldAlias(field[0]);
|
|
82481
82388
|
}
|
|
82482
|
-
const seriesData = (_c = s.getViewDataStatistics) === null || _c === void 0 ? void 0 : _c.call(s);
|
|
82483
82389
|
if (field) {
|
|
82484
|
-
|
|
82485
|
-
|
|
82486
|
-
|
|
82390
|
+
const viewData = s.getViewData();
|
|
82391
|
+
if (rawData) {
|
|
82392
|
+
field.forEach(f => {
|
|
82487
82393
|
data.push(s.getRawDataStatisticsByField(f, false));
|
|
82488
|
-
}
|
|
82489
|
-
|
|
82394
|
+
});
|
|
82395
|
+
}
|
|
82396
|
+
else if (viewData && viewData.latestData && viewData.latestData.length) {
|
|
82397
|
+
const seriesData = (_c = s.getViewDataStatistics) === null || _c === void 0 ? void 0 : _c.call(s);
|
|
82398
|
+
field.forEach(f => {
|
|
82399
|
+
var _a;
|
|
82490
82400
|
if ((_a = seriesData === null || seriesData === void 0 ? void 0 : seriesData.latestData) === null || _a === void 0 ? void 0 : _a[f]) {
|
|
82491
82401
|
data.push(seriesData.latestData[f]);
|
|
82492
82402
|
}
|
|
82493
|
-
}
|
|
82494
|
-
}
|
|
82403
|
+
});
|
|
82404
|
+
}
|
|
82495
82405
|
}
|
|
82496
82406
|
}, {
|
|
82497
82407
|
userId: this._seriesUserId,
|
|
@@ -82598,7 +82508,9 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
82598
82508
|
if (latestData && !isArray$1(latestData)) {
|
|
82599
82509
|
this.computeData('force');
|
|
82600
82510
|
}
|
|
82601
|
-
|
|
82511
|
+
else {
|
|
82512
|
+
return latestData || [];
|
|
82513
|
+
}
|
|
82602
82514
|
}
|
|
82603
82515
|
return this._scale.ticks();
|
|
82604
82516
|
}
|
|
@@ -82634,7 +82546,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
82634
82546
|
innerRadius, startAngle: this._startAngle, endAngle: this._endAngle });
|
|
82635
82547
|
const attrs = Object.assign(Object.assign({}, commonAttrs), { title: {
|
|
82636
82548
|
text: this._spec.title.text || this._dataFieldText
|
|
82637
|
-
}, items: items.length ? [items] : [] });
|
|
82549
|
+
}, items: items.length ? [items] : [], orient: 'angle' });
|
|
82638
82550
|
if (this._spec.grid.visible) {
|
|
82639
82551
|
attrs.grid = Object.assign({ type: 'line', smoothLink: true, items }, commonAttrs);
|
|
82640
82552
|
}
|
|
@@ -82662,7 +82574,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
82662
82574
|
const commonAttrs = Object.assign(Object.assign({}, this.getLayoutStartPoint()), { start: startPoint, end: endPoint, verticalFactor: -1 });
|
|
82663
82575
|
const attrs = Object.assign(Object.assign({}, commonAttrs), { title: {
|
|
82664
82576
|
text: this._spec.title.text || this._dataFieldText
|
|
82665
|
-
}, items: items.length ? [items] : [] });
|
|
82577
|
+
}, items: items.length ? [items] : [], orient: 'radius' });
|
|
82666
82578
|
if ((_a = this._spec.grid) === null || _a === void 0 ? void 0 : _a.visible) {
|
|
82667
82579
|
attrs.grid = Object.assign({ items, type: ((_b = this._spec.grid) === null || _b === void 0 ? void 0 : _b.smooth) ? 'circle' : 'polygon', center, closed: true, sides: (_c = this._getRelatedAngleAxis()) === null || _c === void 0 ? void 0 : _c.tickValues().length, startAngle: this._startAngle, endAngle: this._endAngle }, commonAttrs);
|
|
82668
82580
|
}
|
|
@@ -83690,19 +83602,19 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
83690
83602
|
return result;
|
|
83691
83603
|
};
|
|
83692
83604
|
const positionType = {
|
|
83693
|
-
[
|
|
83694
|
-
[
|
|
83695
|
-
[
|
|
83696
|
-
[
|
|
83697
|
-
[
|
|
83698
|
-
[
|
|
83699
|
-
[
|
|
83700
|
-
[
|
|
83701
|
-
[
|
|
83702
|
-
[
|
|
83703
|
-
[
|
|
83704
|
-
[
|
|
83705
|
-
[
|
|
83605
|
+
["left"]: ['left', 'middle'],
|
|
83606
|
+
["right"]: ['right', 'middle'],
|
|
83607
|
+
["inside"]: ['middle', 'middle'],
|
|
83608
|
+
["top"]: ['middle', 'top'],
|
|
83609
|
+
["lt"]: ['left', 'top'],
|
|
83610
|
+
["tl"]: ['left', 'top'],
|
|
83611
|
+
["rt"]: ['right', 'top'],
|
|
83612
|
+
["tr"]: ['right', 'top'],
|
|
83613
|
+
["bottom"]: ['middle', 'bottom'],
|
|
83614
|
+
["bl"]: ['left', 'bottom'],
|
|
83615
|
+
["lb"]: ['left', 'bottom'],
|
|
83616
|
+
["br"]: ['right', 'bottom'],
|
|
83617
|
+
["rb"]: ['right', 'bottom']
|
|
83706
83618
|
};
|
|
83707
83619
|
const getHorizontalPositionType = (position, defaultCase) => { var _a, _b; return (_b = (_a = positionType[position]) === null || _a === void 0 ? void 0 : _a[0]) !== null && _b !== void 0 ? _b : defaultCase; };
|
|
83708
83620
|
const getVerticalPositionType = (position, defaultCase) => { var _a, _b; return (_b = (_a = positionType[position]) === null || _a === void 0 ? void 0 : _a[1]) !== null && _b !== void 0 ? _b : defaultCase; };
|
|
@@ -84434,7 +84346,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
84434
84346
|
bottom = getActualTooltipPositionValue(posBottom, event);
|
|
84435
84347
|
}
|
|
84436
84348
|
else if (isValid$1(position) &&
|
|
84437
|
-
positionMode !==
|
|
84349
|
+
positionMode !== "pointer" &&
|
|
84438
84350
|
actualTooltip.activeType === 'mark') {
|
|
84439
84351
|
isFixedPosition = true;
|
|
84440
84352
|
const element = params.item;
|
|
@@ -85087,6 +84999,9 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
85087
84999
|
this._svgHtmlCache = '';
|
|
85088
85000
|
}
|
|
85089
85001
|
}
|
|
85002
|
+
const builtInShape = {
|
|
85003
|
+
star: 'M0 -1L0.22451398828979266 -0.3090169943749474L0.9510565162951535 -0.30901699437494745L0.3632712640026804 0.1180339887498948L0.5877852522924732 0.8090169943749473L8.326672684688674e-17 0.3819660112501051L-0.587785252292473 0.8090169943749476L-0.3632712640026804 0.11803398874989487L-0.9510565162951536 -0.30901699437494723L-0.22451398828979274 -0.30901699437494734Z'
|
|
85004
|
+
};
|
|
85090
85005
|
function getSvgHtml(option, valueToHtml) {
|
|
85091
85006
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
85092
85007
|
if (!(option === null || option === void 0 ? void 0 : option.hasShape) || !option.symbolType) {
|
|
@@ -85098,14 +85013,17 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
85098
85013
|
const lineWidth = option.lineWidth ? valueToHtml(option.lineWidth) + 'px' : '0px';
|
|
85099
85014
|
let fillString = 'currentColor';
|
|
85100
85015
|
const getStroke = () => (stroke ? valueToHtml(stroke) : fillString);
|
|
85101
|
-
const
|
|
85102
|
-
const
|
|
85103
|
-
|
|
85104
|
-
|
|
85105
|
-
if (!
|
|
85106
|
-
|
|
85107
|
-
viewBox = `${bounds.x1} ${bounds.y1} ${bounds.width()} ${bounds.height()}`;
|
|
85016
|
+
const sizeNumber = pixelPropertyStrToNumber(size);
|
|
85017
|
+
const createSymbol = (symbolType) => new Symbol$1({ symbolType, size: sizeNumber, fill: true });
|
|
85018
|
+
let symbol = createSymbol((_a = builtInShape[symbolType]) !== null && _a !== void 0 ? _a : symbolType);
|
|
85019
|
+
const parsedPath = symbol.getParsedPath();
|
|
85020
|
+
if (!parsedPath.path) {
|
|
85021
|
+
symbol = createSymbol(parsedPath.pathStr);
|
|
85108
85022
|
}
|
|
85023
|
+
const pathModel = symbol.getParsedPath().path;
|
|
85024
|
+
const path = pathModel.toString();
|
|
85025
|
+
const bounds = pathModel.bounds;
|
|
85026
|
+
let viewBox = `${bounds.x1} ${bounds.y1} ${bounds.width()} ${bounds.height()}`;
|
|
85109
85027
|
if (lineWidth !== '0px') {
|
|
85110
85028
|
const [x, y, w, h] = viewBox.split(' ').map(n => Number(n));
|
|
85111
85029
|
const lw = Number(lineWidth.slice(0, -2));
|
|
@@ -86995,11 +86913,11 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
86995
86913
|
const { xField, yField } = this._spec;
|
|
86996
86914
|
if ((xField === null || xField === void 0 ? void 0 : xField.visible) && xField.defaultSelect) {
|
|
86997
86915
|
const { axisIndex, datum } = xField.defaultSelect;
|
|
86998
|
-
this._defaultCrosshair(axisIndex, datum,
|
|
86916
|
+
this._defaultCrosshair(axisIndex, datum, 1);
|
|
86999
86917
|
}
|
|
87000
86918
|
if ((yField === null || yField === void 0 ? void 0 : yField.visible) && yField.defaultSelect) {
|
|
87001
86919
|
const { axisIndex, datum } = yField.defaultSelect;
|
|
87002
|
-
this._defaultCrosshair(axisIndex, datum,
|
|
86920
|
+
this._defaultCrosshair(axisIndex, datum, 2);
|
|
87003
86921
|
}
|
|
87004
86922
|
}
|
|
87005
86923
|
_defaultCrosshair(axisIndex, datum, tag) {
|
|
@@ -87007,7 +86925,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
87007
86925
|
if (!axis) {
|
|
87008
86926
|
return;
|
|
87009
86927
|
}
|
|
87010
|
-
if (tag ===
|
|
86928
|
+
if (tag === 1) {
|
|
87011
86929
|
this._currValueX.clear();
|
|
87012
86930
|
this._currValueX.set(axisIndex, { axis, v: datum });
|
|
87013
86931
|
}
|
|
@@ -87090,7 +87008,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
87090
87008
|
this._currValueY.clear();
|
|
87091
87009
|
xAxisMap && xAxisMap.size && this._getAllAxisValues(xAxisMap, relativeX, this._currValueX, true);
|
|
87092
87010
|
yAxisMap && yAxisMap.size && this._getAllAxisValues(yAxisMap, relativeY, this._currValueY, false);
|
|
87093
|
-
this.layoutByValue(
|
|
87011
|
+
this.layoutByValue(3);
|
|
87094
87012
|
}
|
|
87095
87013
|
hide() {
|
|
87096
87014
|
this._xCrosshair && this._xCrosshair.hideAll();
|
|
@@ -87100,7 +87018,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
87100
87018
|
this._yLeftLabel && this._yLeftLabel.hideAll();
|
|
87101
87019
|
this._yRightLabel && this._yRightLabel.hideAll();
|
|
87102
87020
|
}
|
|
87103
|
-
layoutByValue(tag =
|
|
87021
|
+
layoutByValue(tag = 3) {
|
|
87104
87022
|
var _a, _b, _c, _d;
|
|
87105
87023
|
if (!this.enable) {
|
|
87106
87024
|
return;
|
|
@@ -87283,8 +87201,8 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
87283
87201
|
}
|
|
87284
87202
|
}
|
|
87285
87203
|
if (tag) {
|
|
87286
|
-
|
|
87287
|
-
|
|
87204
|
+
this._layoutHorizontal(yCrossHairInfo, valueHeight !== null && valueHeight !== void 0 ? valueHeight : 0, offsetHeight);
|
|
87205
|
+
this._layoutVertical(xCrossHairInfo, indexWidth !== null && indexWidth !== void 0 ? indexWidth : 0, offsetWidth);
|
|
87288
87206
|
}
|
|
87289
87207
|
if (this.enableRemain) {
|
|
87290
87208
|
this._cacheXCrossHairInfo = Object.assign(Object.assign({}, xCrossHairInfo), { _isCache: true });
|
|
@@ -87509,11 +87427,11 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
87509
87427
|
const { categoryField, valueField } = this._spec;
|
|
87510
87428
|
if ((categoryField === null || categoryField === void 0 ? void 0 : categoryField.visible) && categoryField.defaultSelect) {
|
|
87511
87429
|
const { axisIndex, datum } = categoryField.defaultSelect;
|
|
87512
|
-
this._defaultCrosshair(axisIndex, datum,
|
|
87430
|
+
this._defaultCrosshair(axisIndex, datum, 1);
|
|
87513
87431
|
}
|
|
87514
87432
|
if ((valueField === null || valueField === void 0 ? void 0 : valueField.visible) && valueField.defaultSelect) {
|
|
87515
87433
|
const { axisIndex, datum } = valueField.defaultSelect;
|
|
87516
|
-
this._defaultCrosshair(axisIndex, datum,
|
|
87434
|
+
this._defaultCrosshair(axisIndex, datum, 2);
|
|
87517
87435
|
}
|
|
87518
87436
|
}
|
|
87519
87437
|
_defaultCrosshair(axisIndex, datum, tag) {
|
|
@@ -87521,7 +87439,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
87521
87439
|
if (!axis) {
|
|
87522
87440
|
return;
|
|
87523
87441
|
}
|
|
87524
|
-
if (tag ===
|
|
87442
|
+
if (tag === 1) {
|
|
87525
87443
|
this._currValueAngle.clear();
|
|
87526
87444
|
const polarCoord = {
|
|
87527
87445
|
angle: axis.valueToPosition(datum),
|
|
@@ -87539,7 +87457,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
87539
87457
|
const canvasPosition = axis.coordToPoint(polarCoord);
|
|
87540
87458
|
this._currValueRadius.set(axisIndex, this._getValueByAxis(axis, canvasPosition));
|
|
87541
87459
|
}
|
|
87542
|
-
this.layoutByValue(
|
|
87460
|
+
this.layoutByValue(3);
|
|
87543
87461
|
}
|
|
87544
87462
|
hide() {
|
|
87545
87463
|
this._radiusCrosshair && this._radiusCrosshair.hideAll();
|
|
@@ -87616,9 +87534,9 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
87616
87534
|
this._currValueRadius.clear();
|
|
87617
87535
|
angleAxisMap && this._getAllAxisValues(angleAxisMap, { x: relativeX, y: relativeY }, this._currValueAngle);
|
|
87618
87536
|
radiusAxisMap && this._getAllAxisValues(radiusAxisMap, { x: relativeX, y: relativeY }, this._currValueRadius);
|
|
87619
|
-
this.layoutByValue(
|
|
87537
|
+
this.layoutByValue(3);
|
|
87620
87538
|
}
|
|
87621
|
-
layoutByValue(tag =
|
|
87539
|
+
layoutByValue(tag = 3) {
|
|
87622
87540
|
var _a, _b, _c, _d;
|
|
87623
87541
|
if (!this.enable) {
|
|
87624
87542
|
return;
|
|
@@ -87706,8 +87624,8 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
87706
87624
|
}
|
|
87707
87625
|
}
|
|
87708
87626
|
if (tag) {
|
|
87709
|
-
|
|
87710
|
-
|
|
87627
|
+
this._layoutHorizontal(radiusCrossHairInfo);
|
|
87628
|
+
this._layoutVertical(angleCrossHairInfo);
|
|
87711
87629
|
}
|
|
87712
87630
|
if (this.enableRemain) {
|
|
87713
87631
|
this._cacheAngleCrossHairInfo = Object.assign(Object.assign({}, angleCrossHairInfo), { _isCache: true });
|
|
@@ -87977,7 +87895,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
87977
87895
|
onZoomChange: (tag) => {
|
|
87978
87896
|
var _a, _b;
|
|
87979
87897
|
const axis = this._relatedAxisComponent;
|
|
87980
|
-
if (axis && this._filterMode ===
|
|
87898
|
+
if (axis && this._filterMode === "axis") {
|
|
87981
87899
|
const axisScale = axis.getScale();
|
|
87982
87900
|
const axisSpec = axis.getSpec();
|
|
87983
87901
|
if (this._auto && this._getAxisBandSize(axisSpec) && this._spec.ignoreBandSize) {
|
|
@@ -88087,7 +88005,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
88087
88005
|
}
|
|
88088
88006
|
};
|
|
88089
88007
|
this._orient = getOrient(spec);
|
|
88090
|
-
this._isHorizontal = getDirectionByOrient(this._orient) ===
|
|
88008
|
+
this._isHorizontal = getDirectionByOrient(this._orient) === "horizontal";
|
|
88091
88009
|
}
|
|
88092
88010
|
created() {
|
|
88093
88011
|
super.created();
|
|
@@ -88120,7 +88038,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
88120
88038
|
this._relatedAxisComponent = bandAxis;
|
|
88121
88039
|
}
|
|
88122
88040
|
}
|
|
88123
|
-
if (this._relatedAxisComponent && this._filterMode ===
|
|
88041
|
+
if (this._relatedAxisComponent && this._filterMode === "axis") {
|
|
88124
88042
|
this._relatedAxisComponent.autoIndentOnce = true;
|
|
88125
88043
|
}
|
|
88126
88044
|
}
|
|
@@ -88348,7 +88266,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
88348
88266
|
}
|
|
88349
88267
|
this._minSpan = Math.max(0, this._minSpan);
|
|
88350
88268
|
this._maxSpan = Math.min(this._maxSpan, 1);
|
|
88351
|
-
if ((!this._relatedAxisComponent || this._filterMode !==
|
|
88269
|
+
if ((!this._relatedAxisComponent || this._filterMode !== "axis") &&
|
|
88352
88270
|
(this._start !== 0 || this._end !== 1)) {
|
|
88353
88271
|
this._newDomain = this._parseDomainFromState(this._startValue, this._endValue);
|
|
88354
88272
|
}
|
|
@@ -88387,7 +88305,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
88387
88305
|
}
|
|
88388
88306
|
}
|
|
88389
88307
|
_addTransformToSeries() {
|
|
88390
|
-
if (!this._relatedAxisComponent || this._filterMode !==
|
|
88308
|
+
if (!this._relatedAxisComponent || this._filterMode !== "axis") {
|
|
88391
88309
|
registerDataSetInstanceTransform(this._option.dataSet, 'dataFilterWithNewDomain', dataFilterWithNewDomain);
|
|
88392
88310
|
eachSeries(this._regions, s => {
|
|
88393
88311
|
s.addViewDataFilter({
|
|
@@ -88662,7 +88580,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
88662
88580
|
return yScale.scale(min) + this.getLayoutStartPoint().y + offsetTop + offsetHandler;
|
|
88663
88581
|
};
|
|
88664
88582
|
this._valueField = 'y';
|
|
88665
|
-
this._filterMode = (_a = spec.filterMode) !== null && _a !== void 0 ? _a :
|
|
88583
|
+
this._filterMode = (_a = spec.filterMode) !== null && _a !== void 0 ? _a : "filter";
|
|
88666
88584
|
}
|
|
88667
88585
|
created() {
|
|
88668
88586
|
super.created();
|
|
@@ -88854,7 +88772,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
88854
88772
|
this.event.emit(exports.ChartEvent.dataZoomChange, {
|
|
88855
88773
|
model: this,
|
|
88856
88774
|
value: {
|
|
88857
|
-
filterData: this._filterMode !==
|
|
88775
|
+
filterData: this._filterMode !== "axis",
|
|
88858
88776
|
start,
|
|
88859
88777
|
end,
|
|
88860
88778
|
startValue: this._startValue,
|
|
@@ -88962,7 +88880,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
88962
88880
|
this.layoutZIndex = exports.LayoutZIndex.DataZoom;
|
|
88963
88881
|
this.layoutLevel = exports.LayoutLevel.DataZoom;
|
|
88964
88882
|
this.layoutType = 'region-relative';
|
|
88965
|
-
this._filterMode = (_a = spec.filterMode) !== null && _a !== void 0 ? _a :
|
|
88883
|
+
this._filterMode = (_a = spec.filterMode) !== null && _a !== void 0 ? _a : "axis";
|
|
88966
88884
|
}
|
|
88967
88885
|
setAttrFromSpec() {
|
|
88968
88886
|
super.setAttrFromSpec();
|
|
@@ -89040,7 +88958,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
89040
88958
|
this.event.emit(exports.ChartEvent.scrollBarChange, {
|
|
89041
88959
|
model: this,
|
|
89042
88960
|
value: {
|
|
89043
|
-
filterData: this._filterMode !==
|
|
88961
|
+
filterData: this._filterMode !== "axis",
|
|
89044
88962
|
start: this._start,
|
|
89045
88963
|
end: this._end,
|
|
89046
88964
|
startValue: this._startValue,
|
|
@@ -89463,7 +89381,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
89463
89381
|
endRelativeSeries
|
|
89464
89382
|
};
|
|
89465
89383
|
const lines = [];
|
|
89466
|
-
const dataPoints = data.latestData[0].latestData ? data.latestData[0].latestData : data.latestData;
|
|
89384
|
+
const dataPoints = data.latestData[0] && data.latestData[0].latestData ? data.latestData[0].latestData : data.latestData;
|
|
89467
89385
|
const xDomain = relativeSeries.getXAxisHelper().getScale(0).domain();
|
|
89468
89386
|
const yDomain = relativeSeries.getYAxisHelper().getScale(0).domain();
|
|
89469
89387
|
dataPoints.forEach((datum) => {
|
|
@@ -89509,7 +89427,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
89509
89427
|
}
|
|
89510
89428
|
function coordinateLayout(data, relativeSeries, autoRange, coordinatesOffset) {
|
|
89511
89429
|
const points = [];
|
|
89512
|
-
const dataPoints = data.latestData[0].latestData ? data.latestData[0].latestData : data.latestData;
|
|
89430
|
+
const dataPoints = data.latestData[0] && data.latestData[0].latestData ? data.latestData[0].latestData : data.latestData;
|
|
89513
89431
|
const isArrayCoordinatesOffset = isArray$1(coordinatesOffset);
|
|
89514
89432
|
dataPoints.forEach((datum, index) => {
|
|
89515
89433
|
var _a, _b, _c, _d;
|
|
@@ -89880,6 +89798,17 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
89880
89798
|
return {};
|
|
89881
89799
|
}
|
|
89882
89800
|
|
|
89801
|
+
function markerFilter(data, options) {
|
|
89802
|
+
if (options && options.getRelativeSeries) {
|
|
89803
|
+
const series = options.getRelativeSeries();
|
|
89804
|
+
if (series) {
|
|
89805
|
+
const viewData = series.getViewData();
|
|
89806
|
+
return viewData && viewData.latestData && viewData.latestData.length ? data : [];
|
|
89807
|
+
}
|
|
89808
|
+
}
|
|
89809
|
+
return data;
|
|
89810
|
+
}
|
|
89811
|
+
|
|
89883
89812
|
class MarkLine extends BaseMarker {
|
|
89884
89813
|
constructor() {
|
|
89885
89814
|
super(...arguments);
|
|
@@ -89974,7 +89903,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
89974
89903
|
points = positionLayout(spec.positions, relativeSeries, spec.regionRelative);
|
|
89975
89904
|
}
|
|
89976
89905
|
const seriesData = this._relativeSeries.getViewData().latestData;
|
|
89977
|
-
const dataPoints = data.latestData[0].latestData
|
|
89906
|
+
const dataPoints = data.latestData[0] && data.latestData[0].latestData ? data.latestData[0].latestData : data.latestData;
|
|
89978
89907
|
let limitRect;
|
|
89979
89908
|
if (spec.clip || ((_b = spec.label) === null || _b === void 0 ? void 0 : _b.confine)) {
|
|
89980
89909
|
const { minX, maxX, minY, maxY } = computeClipRange([
|
|
@@ -90074,6 +90003,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
90074
90003
|
}
|
|
90075
90004
|
registerDataSetInstanceTransform(this._option.dataSet, 'markerAggregation', markerAggregation);
|
|
90076
90005
|
registerDataSetInstanceTransform(this._option.dataSet, 'markerRegression', markerRegression);
|
|
90006
|
+
registerDataSetInstanceTransform(this._option.dataSet, 'markerFilter', markerFilter);
|
|
90077
90007
|
this._isXYLayout = doXProcess || doXYY1Process || doYProcess || doYXX1Process || doXYProcess;
|
|
90078
90008
|
let options;
|
|
90079
90009
|
let processData = relativeSeries.getViewData();
|
|
@@ -90144,6 +90074,12 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
90144
90074
|
options
|
|
90145
90075
|
});
|
|
90146
90076
|
}
|
|
90077
|
+
if (needAggr || needRegr) {
|
|
90078
|
+
data.transform({
|
|
90079
|
+
type: 'markerFilter',
|
|
90080
|
+
options: this._getAllRelativeSeries()
|
|
90081
|
+
});
|
|
90082
|
+
}
|
|
90147
90083
|
data.target.on('change', () => {
|
|
90148
90084
|
this._markerLayout();
|
|
90149
90085
|
});
|
|
@@ -90386,7 +90322,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
90386
90322
|
}
|
|
90387
90323
|
const seriesData = this._relativeSeries.getViewData().latestData;
|
|
90388
90324
|
const dataPoints = data
|
|
90389
|
-
? data.latestData[0].latestData
|
|
90325
|
+
? data.latestData[0] && data.latestData[0].latestData
|
|
90390
90326
|
? data.latestData[0].latestData
|
|
90391
90327
|
: data.latestData
|
|
90392
90328
|
: seriesData;
|
|
@@ -90441,6 +90377,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
90441
90377
|
}
|
|
90442
90378
|
const seriesData = relativeSeries.getViewData();
|
|
90443
90379
|
registerDataSetInstanceTransform(this._option.dataSet, 'markerAggregation', markerAggregation);
|
|
90380
|
+
registerDataSetInstanceTransform(this._option.dataSet, 'markerFilter', markerFilter);
|
|
90444
90381
|
const data = new DataView(this._option.dataSet, { name: `${this.type}_${this.id}_data` });
|
|
90445
90382
|
data.parse([seriesData], {
|
|
90446
90383
|
type: 'dataview'
|
|
@@ -90449,6 +90386,12 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
90449
90386
|
type: 'markerAggregation',
|
|
90450
90387
|
options
|
|
90451
90388
|
});
|
|
90389
|
+
if (options) {
|
|
90390
|
+
data.transform({
|
|
90391
|
+
type: 'markerFilter',
|
|
90392
|
+
options: this._getAllRelativeSeries()
|
|
90393
|
+
});
|
|
90394
|
+
}
|
|
90452
90395
|
data.target.on('change', () => {
|
|
90453
90396
|
this._markerLayout();
|
|
90454
90397
|
});
|
|
@@ -90959,7 +90902,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
90959
90902
|
const datum = label.data;
|
|
90960
90903
|
const attribute = textAttribute(labelInfo, datum, labelSpec.formatMethod);
|
|
90961
90904
|
const x = (datum) => {
|
|
90962
|
-
if (series.direction ===
|
|
90905
|
+
if (series.direction === "vertical") {
|
|
90963
90906
|
return series.totalPositionX(datum, 'index', 0.5);
|
|
90964
90907
|
}
|
|
90965
90908
|
if (pos === 'middle') {
|
|
@@ -90974,7 +90917,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
90974
90917
|
return series.totalPositionX(datum, 'end') + (datum.end >= datum.start ? offset : -offset);
|
|
90975
90918
|
};
|
|
90976
90919
|
const y = (datum) => {
|
|
90977
|
-
if (series.direction ===
|
|
90920
|
+
if (series.direction === "vertical") {
|
|
90978
90921
|
if (pos === 'middle') {
|
|
90979
90922
|
return (series.totalPositionY(datum, 'end') + series.totalPositionY(datum, 'start')) * 0.5;
|
|
90980
90923
|
}
|
|
@@ -90990,7 +90933,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
90990
90933
|
};
|
|
90991
90934
|
attribute.x = x(datum);
|
|
90992
90935
|
attribute.y = y(datum);
|
|
90993
|
-
if (series.direction ===
|
|
90936
|
+
if (series.direction === "vertical") {
|
|
90994
90937
|
attribute.textBaseline =
|
|
90995
90938
|
pos === 'middle'
|
|
90996
90939
|
? pos
|
|
@@ -91118,8 +91061,8 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
91118
91061
|
this._component = component;
|
|
91119
91062
|
}
|
|
91120
91063
|
}
|
|
91121
|
-
LabelMark.type =
|
|
91122
|
-
LabelMark.constructorType =
|
|
91064
|
+
LabelMark.type = "text";
|
|
91065
|
+
LabelMark.constructorType = "label";
|
|
91123
91066
|
const registerLabelMark = () => {
|
|
91124
91067
|
Factory.registerMark(LabelMark.constructorType, LabelMark);
|
|
91125
91068
|
registerTextGraphic();
|
|
@@ -91238,7 +91181,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
91238
91181
|
if (spec.visible) {
|
|
91239
91182
|
const info = this._labelInfoMap.get(region);
|
|
91240
91183
|
const labelMark = this._createMark({
|
|
91241
|
-
type:
|
|
91184
|
+
type: "label",
|
|
91242
91185
|
name: `${markName}-label-${index}`
|
|
91243
91186
|
}, { noSeparateStyle: true, attributeContext: series.getMarkAttributeContext() });
|
|
91244
91187
|
labelMark.setTarget(mark);
|
|
@@ -91256,7 +91199,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
91256
91199
|
_initLabelComponent() {
|
|
91257
91200
|
this._labelInfoMap.forEach((regionLabelInfo, region) => {
|
|
91258
91201
|
if (this._layoutRule === 'region') {
|
|
91259
|
-
const component = this._createMark({ type:
|
|
91202
|
+
const component = this._createMark({ type: "component", name: `${region.getGroupMark().name}-label-component` }, {
|
|
91260
91203
|
componentType: 'label',
|
|
91261
91204
|
noSeparateStyle: true,
|
|
91262
91205
|
support3d: this._spec.support3d
|
|
@@ -91271,7 +91214,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
91271
91214
|
}
|
|
91272
91215
|
else {
|
|
91273
91216
|
regionLabelInfo.forEach((labelInfo, i) => {
|
|
91274
|
-
const component = this._createMark({ type:
|
|
91217
|
+
const component = this._createMark({ type: "component", name: `${labelInfo.labelMark.name}-component` }, {
|
|
91275
91218
|
componentType: 'label',
|
|
91276
91219
|
noSeparateStyle: true,
|
|
91277
91220
|
support3d: labelInfo.baseMark.getSupport3d()
|
|
@@ -91443,8 +91386,8 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
91443
91386
|
var _a;
|
|
91444
91387
|
const series = this._getSeries();
|
|
91445
91388
|
if ((_a = series.getSpec().totalLabel) === null || _a === void 0 ? void 0 : _a.visible) {
|
|
91446
|
-
const mark = series.getMarksInType([
|
|
91447
|
-
const textMark = this._createMark({ type:
|
|
91389
|
+
const mark = series.getMarksInType(["rect", "symbol"])[0];
|
|
91390
|
+
const textMark = this._createMark({ type: "label", name: `${mark.name}-total-label` });
|
|
91448
91391
|
this._baseMark = mark;
|
|
91449
91392
|
this._textMark = textMark;
|
|
91450
91393
|
this._initTextMarkStyle();
|
|
@@ -91460,7 +91403,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
91460
91403
|
}
|
|
91461
91404
|
_initLabelComponent() {
|
|
91462
91405
|
const series = this._getSeries();
|
|
91463
|
-
const component = this._createMark({ type:
|
|
91406
|
+
const component = this._createMark({ type: "component", name: `${series.name}-total-label-component` }, {
|
|
91464
91407
|
componentType: 'label',
|
|
91465
91408
|
noSeparateStyle: true,
|
|
91466
91409
|
support3d: this._spec.support3d
|
|
@@ -91630,7 +91573,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
91630
91573
|
}
|
|
91631
91574
|
const seriesData = this._relativeSeries.getViewData().latestData;
|
|
91632
91575
|
const dataPoints = data
|
|
91633
|
-
? data.latestData[0].latestData
|
|
91576
|
+
? data.latestData[0] && data.latestData[0].latestData
|
|
91634
91577
|
? data.latestData[0].latestData
|
|
91635
91578
|
: data.latestData
|
|
91636
91579
|
: seriesData;
|
|
@@ -91667,6 +91610,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
91667
91610
|
return;
|
|
91668
91611
|
}
|
|
91669
91612
|
registerDataSetInstanceTransform(this._option.dataSet, 'markerAggregation', markerAggregation);
|
|
91613
|
+
registerDataSetInstanceTransform(this._option.dataSet, 'markerFilter', markerFilter);
|
|
91670
91614
|
let options;
|
|
91671
91615
|
if (isXYProcess) {
|
|
91672
91616
|
options = [this._processSpecXY(spec.x, spec.y)];
|
|
@@ -91682,6 +91626,12 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
91682
91626
|
type: 'markerAggregation',
|
|
91683
91627
|
options
|
|
91684
91628
|
});
|
|
91629
|
+
if (options) {
|
|
91630
|
+
data.transform({
|
|
91631
|
+
type: 'markerFilter',
|
|
91632
|
+
options: this._getAllRelativeSeries()
|
|
91633
|
+
});
|
|
91634
|
+
}
|
|
91685
91635
|
data.target.on('change', () => {
|
|
91686
91636
|
this._markerLayout();
|
|
91687
91637
|
});
|
|
@@ -92146,7 +92096,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
92146
92096
|
return defaultStyle;
|
|
92147
92097
|
}
|
|
92148
92098
|
}
|
|
92149
|
-
ImageMark.type =
|
|
92099
|
+
ImageMark.type = "image";
|
|
92150
92100
|
const registerImageMark = () => {
|
|
92151
92101
|
Factory.registerMark(ImageMark.type, ImageMark);
|
|
92152
92102
|
registerImageGraphic();
|
|
@@ -93539,7 +93489,6 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
93539
93489
|
exports.registerWordCloudSeries = registerWordCloudSeries;
|
|
93540
93490
|
exports.removeTheme = removeTheme;
|
|
93541
93491
|
exports.seriesMarkInfoMap = seriesMarkInfoMap;
|
|
93542
|
-
exports.seriesMarkNameSet = seriesMarkNameSet;
|
|
93543
93492
|
exports.themeExist = themeExist;
|
|
93544
93493
|
exports.themes = themes;
|
|
93545
93494
|
exports.transformColorSchemeToStandardStruct = transformColorSchemeToStandardStruct;
|