@visactor/vchart-types 0.10.0-alpha.2
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/.eslintrc.js +7 -0
- package/.rush/temp/shrinkwrap-deps.json +4 -0
- package/README.md +30 -0
- package/package.json +29 -0
- package/tsconfig.eslint.json +9 -0
- package/tsconfig.json +3 -0
- package/tsconfig.test.json +5 -0
- package/tsconfig.tsbuildinfo +1 -0
- package/types/animation/animate-manager.d.ts +12 -0
- package/types/animation/config.d.ts +60 -0
- package/types/animation/interface.d.ts +29 -0
- package/types/animation/spec.d.ts +24 -0
- package/types/animation/utils.d.ts +18 -0
- package/types/chart/area/area-transformer.d.ts +6 -0
- package/types/chart/area/area.d.ts +14 -0
- package/types/chart/area/index.d.ts +3 -0
- package/types/chart/area/interface.d.ts +7 -0
- package/types/chart/bar/3d/bar-3d-transformer.d.ts +6 -0
- package/types/chart/bar/3d/bar-3d.d.ts +14 -0
- package/types/chart/bar/3d/index.d.ts +2 -0
- package/types/chart/bar/bar-3d.d.ts +9 -0
- package/types/chart/bar/bar-transformer.d.ts +6 -0
- package/types/chart/bar/bar.d.ts +14 -0
- package/types/chart/bar/index.d.ts +4 -0
- package/types/chart/bar/interface.d.ts +11 -0
- package/types/chart/base/base-chart-transformer.d.ts +22 -0
- package/types/chart/base/base-chart.d.ts +149 -0
- package/types/chart/base/index.d.ts +2 -0
- package/types/chart/base/util.d.ts +7 -0
- package/types/chart/base-chart.d.ts +148 -0
- package/types/chart/box-plot/box-plot-transformer.d.ts +6 -0
- package/types/chart/box-plot/box-plot.d.ts +13 -0
- package/types/chart/box-plot/index.d.ts +3 -0
- package/types/chart/box-plot/interface.d.ts +7 -0
- package/types/chart/cartesian/cartesian-transformer.d.ts +8 -0
- package/types/chart/cartesian/cartesian.d.ts +8 -0
- package/types/chart/cartesian/index.d.ts +2 -0
- package/types/chart/cartesian/interface.d.ts +15 -0
- package/types/chart/chart-meta/data.d.ts +15 -0
- package/types/chart/circle-packing/circle-packing-transformer.d.ts +7 -0
- package/types/chart/circle-packing/circle-packing.d.ts +13 -0
- package/types/chart/circle-packing/index.d.ts +3 -0
- package/types/chart/circle-packing/interface.d.ts +6 -0
- package/types/chart/common/common-transformer.d.ts +7 -0
- package/types/chart/common/common.d.ts +13 -0
- package/types/chart/common/index.d.ts +3 -0
- package/types/chart/common/interface.d.ts +41 -0
- package/types/chart/correlation/correlation-transformer.d.ts +6 -0
- package/types/chart/correlation/correlation.d.ts +13 -0
- package/types/chart/correlation/index.d.ts +3 -0
- package/types/chart/correlation/interface.d.ts +6 -0
- package/types/chart/funnel/3d/funnel-3d.d.ts +14 -0
- package/types/chart/funnel/3d/index.d.ts +1 -0
- package/types/chart/funnel/base.d.ts +9 -0
- package/types/chart/funnel/funnel-3d.d.ts +8 -0
- package/types/chart/funnel/funnel-transformer.d.ts +8 -0
- package/types/chart/funnel/funnel.d.ts +13 -0
- package/types/chart/funnel/index.d.ts +4 -0
- package/types/chart/funnel/interface.d.ts +9 -0
- package/types/chart/gauge/gauge-transformer.d.ts +9 -0
- package/types/chart/gauge/gauge.d.ts +14 -0
- package/types/chart/gauge/index.d.ts +3 -0
- package/types/chart/gauge/interface.d.ts +10 -0
- package/types/chart/heatmap/heatmap-transformer.d.ts +5 -0
- package/types/chart/heatmap/heatmap.d.ts +13 -0
- package/types/chart/heatmap/index.d.ts +3 -0
- package/types/chart/heatmap/interface.d.ts +7 -0
- package/types/chart/histogram/3d/histogram-3d.d.ts +14 -0
- package/types/chart/histogram/3d/index.d.ts +1 -0
- package/types/chart/histogram/base/base.d.ts +8 -0
- package/types/chart/histogram/base/histogram-base-transformer.d.ts +6 -0
- package/types/chart/histogram/base/index.d.ts +2 -0
- package/types/chart/histogram/base.d.ts +6 -0
- package/types/chart/histogram/histogram-3d.d.ts +8 -0
- package/types/chart/histogram/histogram-transformer.d.ts +5 -0
- package/types/chart/histogram/histogram.d.ts +13 -0
- package/types/chart/histogram/index.d.ts +4 -0
- package/types/chart/histogram/interface.d.ts +9 -0
- package/types/chart/index.d.ts +60 -0
- package/types/chart/interface/chart.d.ts +105 -0
- package/types/chart/interface/common.d.ts +47 -0
- package/types/chart/interface/index.d.ts +3 -0
- package/types/chart/interface/type.d.ts +36 -0
- package/types/chart/line/index.d.ts +3 -0
- package/types/chart/line/interface.d.ts +7 -0
- package/types/chart/line/line-transformer.d.ts +6 -0
- package/types/chart/line/line.d.ts +14 -0
- package/types/chart/liquid/index.d.ts +2 -0
- package/types/chart/liquid/interface.d.ts +7 -0
- package/types/chart/liquid/liquid-transformer.d.ts +6 -0
- package/types/chart/liquid/liquid.d.ts +13 -0
- package/types/chart/map/index.d.ts +3 -0
- package/types/chart/map/interface.d.ts +6 -0
- package/types/chart/map/map-transformer.d.ts +8 -0
- package/types/chart/map/map.d.ts +13 -0
- package/types/chart/pie/3d/index.d.ts +1 -0
- package/types/chart/pie/3d/pie-3d.d.ts +17 -0
- package/types/chart/pie/base/base.d.ts +8 -0
- package/types/chart/pie/base/index.d.ts +2 -0
- package/types/chart/pie/base/pie-transformer.d.ts +7 -0
- package/types/chart/pie/base.d.ts +5 -0
- package/types/chart/pie/index.d.ts +4 -0
- package/types/chart/pie/interface.d.ts +11 -0
- package/types/chart/pie/pie-3d.d.ts +9 -0
- package/types/chart/pie/pie.d.ts +13 -0
- package/types/chart/polar/index.d.ts +4 -0
- package/types/chart/polar/interface.d.ts +7 -0
- package/types/chart/polar/polar-transformer.d.ts +9 -0
- package/types/chart/polar/polar.d.ts +9 -0
- package/types/chart/polar/progress-like/index.d.ts +1 -0
- package/types/chart/polar/progress-like/progress-like-transformer.d.ts +8 -0
- package/types/chart/polar/progress-like.d.ts +7 -0
- package/types/chart/polar/rose-like/index.d.ts +1 -0
- package/types/chart/polar/rose-like/rose-like-transformer.d.ts +7 -0
- package/types/chart/polar/rose-like.d.ts +7 -0
- package/types/chart/progress/circular/circular-progress-transformer.d.ts +7 -0
- package/types/chart/progress/circular/circular.d.ts +15 -0
- package/types/chart/progress/circular/index.d.ts +3 -0
- package/types/chart/progress/circular/interface.d.ts +7 -0
- package/types/chart/progress/interface.d.ts +8 -0
- package/types/chart/progress/linear/index.d.ts +3 -0
- package/types/chart/progress/linear/interface.d.ts +9 -0
- package/types/chart/progress/linear/linear-progress-transformer.d.ts +7 -0
- package/types/chart/progress/linear/linear.d.ts +14 -0
- package/types/chart/radar/index.d.ts +3 -0
- package/types/chart/radar/interface.d.ts +7 -0
- package/types/chart/radar/radar-transformer.d.ts +6 -0
- package/types/chart/radar/radar.d.ts +14 -0
- package/types/chart/range-area/index.d.ts +3 -0
- package/types/chart/range-area/interface.d.ts +7 -0
- package/types/chart/range-area/range-area-transformer.d.ts +6 -0
- package/types/chart/range-area/range-area.d.ts +13 -0
- package/types/chart/range-column/3d/index.d.ts +2 -0
- package/types/chart/range-column/3d/range-column-3d-transformer.d.ts +5 -0
- package/types/chart/range-column/3d/range-column-3d.d.ts +13 -0
- package/types/chart/range-column/index.d.ts +4 -0
- package/types/chart/range-column/interface.d.ts +11 -0
- package/types/chart/range-column/range-column-3d.d.ts +9 -0
- package/types/chart/range-column/range-column-transformer.d.ts +6 -0
- package/types/chart/range-column/range-column.d.ts +13 -0
- package/types/chart/rose/index.d.ts +3 -0
- package/types/chart/rose/interface.d.ts +7 -0
- package/types/chart/rose/rose-transformer.d.ts +6 -0
- package/types/chart/rose/rose.d.ts +14 -0
- package/types/chart/sankey/index.d.ts +3 -0
- package/types/chart/sankey/interface.d.ts +6 -0
- package/types/chart/sankey/sankey-transformer.d.ts +6 -0
- package/types/chart/sankey/sankey.d.ts +13 -0
- package/types/chart/scatter/index.d.ts +3 -0
- package/types/chart/scatter/interface.d.ts +7 -0
- package/types/chart/scatter/scatter-transformer.d.ts +5 -0
- package/types/chart/scatter/scatter.d.ts +14 -0
- package/types/chart/sequence/index.d.ts +3 -0
- package/types/chart/sequence/interface.d.ts +24 -0
- package/types/chart/sequence/sequence-transformer.d.ts +7 -0
- package/types/chart/sequence/sequence.d.ts +14 -0
- package/types/chart/stack.d.ts +11 -0
- package/types/chart/sunburst/index.d.ts +3 -0
- package/types/chart/sunburst/interface.d.ts +6 -0
- package/types/chart/sunburst/sunburst-transformer.d.ts +7 -0
- package/types/chart/sunburst/sunburst.d.ts +13 -0
- package/types/chart/treemap/index.d.ts +3 -0
- package/types/chart/treemap/interface.d.ts +6 -0
- package/types/chart/treemap/treemap-transformer.d.ts +7 -0
- package/types/chart/treemap/treemap.d.ts +14 -0
- package/types/chart/util.d.ts +23 -0
- package/types/chart/waterfall/index.d.ts +3 -0
- package/types/chart/waterfall/interface.d.ts +7 -0
- package/types/chart/waterfall/waterfall-transformer.d.ts +7 -0
- package/types/chart/waterfall/waterfall.d.ts +14 -0
- package/types/chart/word-cloud/3d/index.d.ts +2 -0
- package/types/chart/word-cloud/3d/word-cloud-3d-transformer.d.ts +6 -0
- package/types/chart/word-cloud/3d/word-cloud-3d.d.ts +15 -0
- package/types/chart/word-cloud/base/base.d.ts +9 -0
- package/types/chart/word-cloud/base/index.d.ts +2 -0
- package/types/chart/word-cloud/base/word-cloud-base-transformer.d.ts +5 -0
- package/types/chart/word-cloud/base.d.ts +6 -0
- package/types/chart/word-cloud/index.d.ts +4 -0
- package/types/chart/word-cloud/interface.d.ts +10 -0
- package/types/chart/word-cloud/word-cloud-3d.d.ts +11 -0
- package/types/chart/word-cloud/word-cloud-transformer.d.ts +5 -0
- package/types/chart/word-cloud/word-cloud.d.ts +14 -0
- package/types/compile/compilable-base.d.ts +11 -0
- package/types/compile/compiler.d.ts +71 -0
- package/types/compile/data/compilable-data.d.ts +23 -0
- package/types/compile/data/index.d.ts +2 -0
- package/types/compile/data/interface.d.ts +8 -0
- package/types/compile/grammar-item.d.ts +24 -0
- package/types/compile/interface/compilable-item.d.ts +36 -0
- package/types/compile/interface/compiler.d.ts +57 -0
- package/types/compile/interface/index.d.ts +2 -0
- package/types/compile/mark/compilable-mark.d.ts +116 -0
- package/types/compile/mark/index.d.ts +3 -0
- package/types/compile/mark/interface.d.ts +147 -0
- package/types/compile/mark/mark-data.d.ts +9 -0
- package/types/compile/mark/mark-state-manager.d.ts +26 -0
- package/types/compile/mark/util.d.ts +5 -0
- package/types/compile/signal/compilable-signal.d.ts +21 -0
- package/types/compile/signal/index.d.ts +4 -0
- package/types/compile/signal/interface.d.ts +12 -0
- package/types/compile/signal/signal-manager.d.ts +11 -0
- package/types/compile/signal/state-manager.d.ts +12 -0
- package/types/compile/util.d.ts +2 -0
- package/types/component/axis/base-axis.d.ts +151 -0
- package/types/component/axis/cartesian/axis.d.ts +113 -0
- package/types/component/axis/cartesian/band-axis.d.ts +35 -0
- package/types/component/axis/cartesian/config.d.ts +3 -0
- package/types/component/axis/cartesian/index.d.ts +7 -0
- package/types/component/axis/cartesian/interface/common.d.ts +48 -0
- package/types/component/axis/cartesian/interface/index.d.ts +3 -0
- package/types/component/axis/cartesian/interface/spec.d.ts +62 -0
- package/types/component/axis/cartesian/interface/theme.d.ts +22 -0
- package/types/component/axis/cartesian/linear-axis.d.ts +29 -0
- package/types/component/axis/cartesian/log-axis.d.ts +18 -0
- package/types/component/axis/cartesian/symlog-axis.d.ts +18 -0
- package/types/component/axis/cartesian/time-axis.d.ts +23 -0
- package/types/component/axis/cartesian/util/common.d.ts +15 -0
- package/types/component/axis/cartesian/util/index.d.ts +2 -0
- package/types/component/axis/cartesian/util/time.d.ts +80 -0
- package/types/component/axis/index.d.ts +3 -0
- package/types/component/axis/interface/common.d.ts +49 -0
- package/types/component/axis/interface/index.d.ts +3 -0
- package/types/component/axis/interface/spec.d.ts +92 -0
- package/types/component/axis/interface/theme.d.ts +15 -0
- package/types/component/axis/interface.d.ts +137 -0
- package/types/component/axis/mixin/band-axis-mixin.d.ts +59 -0
- package/types/component/axis/mixin/linear-axis-mixin.d.ts +64 -0
- package/types/component/axis/polar/axis.d.ts +89 -0
- package/types/component/axis/polar/band-axis.d.ts +35 -0
- package/types/component/axis/polar/config.d.ts +3 -0
- package/types/component/axis/polar/index.d.ts +4 -0
- package/types/component/axis/polar/interface/common.d.ts +31 -0
- package/types/component/axis/polar/interface/index.d.ts +4 -0
- package/types/component/axis/polar/interface/spec.d.ts +21 -0
- package/types/component/axis/polar/interface/theme.d.ts +11 -0
- package/types/component/axis/polar/linear-axis.d.ts +24 -0
- package/types/component/axis/polar/util/common.d.ts +9 -0
- package/types/component/axis/polar/util/index.d.ts +1 -0
- package/types/component/axis/util.d.ts +35 -0
- package/types/component/base/base-component-transformer.d.ts +10 -0
- package/types/component/base/base-component.d.ts +47 -0
- package/types/component/base/index.d.ts +2 -0
- package/types/component/base/interface.d.ts +8 -0
- package/types/component/base/util.d.ts +3 -0
- package/types/component/brush/brush.d.ts +85 -0
- package/types/component/brush/index.d.ts +2 -0
- package/types/component/brush/interface.d.ts +51 -0
- package/types/component/common/trigger/config.d.ts +22 -0
- package/types/component/common/trigger/desktop.d.ts +10 -0
- package/types/component/common/trigger/interface.d.ts +8 -0
- package/types/component/common/trigger/mobile.d.ts +11 -0
- package/types/component/crosshair/base.d.ts +84 -0
- package/types/component/crosshair/cartesian.d.ts +52 -0
- package/types/component/crosshair/config.d.ts +17 -0
- package/types/component/crosshair/index.d.ts +3 -0
- package/types/component/crosshair/interface/index.d.ts +2 -0
- package/types/component/crosshair/interface/spec.d.ts +76 -0
- package/types/component/crosshair/interface/theme.d.ts +9 -0
- package/types/component/crosshair/polar.d.ts +39 -0
- package/types/component/crosshair/util.d.ts +9 -0
- package/types/component/custom-mark/custom-mark.d.ts +35 -0
- package/types/component/custom-mark/index.d.ts +1 -0
- package/types/component/data-zoom/constant.d.ts +4 -0
- package/types/component/data-zoom/data-filter-base-component.d.ts +129 -0
- package/types/component/data-zoom/data-zoom/data-zoom-transformer.d.ts +9 -0
- package/types/component/data-zoom/data-zoom/data-zoom.d.ts +78 -0
- package/types/component/data-zoom/data-zoom/index.d.ts +3 -0
- package/types/component/data-zoom/data-zoom/interface.d.ts +67 -0
- package/types/component/data-zoom/index.d.ts +2 -0
- package/types/component/data-zoom/interface.d.ts +59 -0
- package/types/component/data-zoom/scroll-bar/index.d.ts +2 -0
- package/types/component/data-zoom/scroll-bar/interface.d.ts +27 -0
- package/types/component/data-zoom/scroll-bar/scroll-bar.d.ts +36 -0
- package/types/component/data-zoom/util.d.ts +23 -0
- package/types/component/geo/geo-coordinate.d.ts +61 -0
- package/types/component/geo/index.d.ts +2 -0
- package/types/component/geo/interface.d.ts +27 -0
- package/types/component/geo/projection.d.ts +17 -0
- package/types/component/index.d.ts +47 -0
- package/types/component/indicator/index.d.ts +2 -0
- package/types/component/indicator/indicator.d.ts +43 -0
- package/types/component/indicator/interface.d.ts +37 -0
- package/types/component/indicator/util.d.ts +13 -0
- package/types/component/interface/common.d.ts +39 -0
- package/types/component/interface/index.d.ts +4 -0
- package/types/component/interface/theme.d.ts +44 -0
- package/types/component/interface/tooltip-helper.d.ts +5 -0
- package/types/component/interface/type.d.ts +35 -0
- package/types/component/label/base-label.d.ts +35 -0
- package/types/component/label/index.d.ts +4 -0
- package/types/component/label/interface.d.ts +44 -0
- package/types/component/label/label-transformer.d.ts +8 -0
- package/types/component/label/label.d.ts +55 -0
- package/types/component/label/total-label.d.ts +28 -0
- package/types/component/label/totalLabel.d.ts +27 -0
- package/types/component/label/util.d.ts +65 -0
- package/types/component/legend/base-legend.d.ts +62 -0
- package/types/component/legend/continuous/index.d.ts +2 -0
- package/types/component/legend/continuous/interface.d.ts +59 -0
- package/types/component/legend/continuous/legend.d.ts +28 -0
- package/types/component/legend/continuous/util.d.ts +8 -0
- package/types/component/legend/discrete/index.d.ts +2 -0
- package/types/component/legend/discrete/interface.d.ts +61 -0
- package/types/component/legend/discrete/legend.d.ts +27 -0
- package/types/component/legend/discrete/util.d.ts +3 -0
- package/types/component/legend/index.d.ts +3 -0
- package/types/component/legend/interface.d.ts +40 -0
- package/types/component/legend/util.d.ts +32 -0
- package/types/component/map-label/component.d.ts +55 -0
- package/types/component/map-label/index.d.ts +2 -0
- package/types/component/map-label/interface.d.ts +40 -0
- package/types/component/map-label/layout.d.ts +23 -0
- package/types/component/marker/base-marker.d.ts +72 -0
- package/types/component/marker/interface.d.ts +86 -0
- package/types/component/marker/mark-area/index.d.ts +2 -0
- package/types/component/marker/mark-area/interface/index.d.ts +2 -0
- package/types/component/marker/mark-area/interface/spec.d.ts +24 -0
- package/types/component/marker/mark-area/interface/theme.d.ts +11 -0
- package/types/component/marker/mark-area/mark-area.d.ts +21 -0
- package/types/component/marker/mark-line/index.d.ts +2 -0
- package/types/component/marker/mark-line/interface/index.d.ts +2 -0
- package/types/component/marker/mark-line/interface/spec.d.ts +63 -0
- package/types/component/marker/mark-line/interface/theme.d.ts +13 -0
- package/types/component/marker/mark-line/mark-line.d.ts +22 -0
- package/types/component/marker/mark-line/util.d.ts +9 -0
- package/types/component/marker/mark-point/index.d.ts +2 -0
- package/types/component/marker/mark-point/interface/index.d.ts +2 -0
- package/types/component/marker/mark-point/interface/spec.d.ts +17 -0
- package/types/component/marker/mark-point/interface/theme.d.ts +38 -0
- package/types/component/marker/mark-point/mark-point.d.ts +21 -0
- package/types/component/marker/utils.d.ts +17 -0
- package/types/component/player/index.d.ts +2 -0
- package/types/component/player/interface/index.d.ts +2 -0
- package/types/component/player/interface/spec.d.ts +18 -0
- package/types/component/player/interface/theme.d.ts +32 -0
- package/types/component/player/player.d.ts +53 -0
- package/types/component/player/utils/index.d.ts +1 -0
- package/types/component/player/utils/orient.d.ts +3 -0
- package/types/component/player/utils/transform.d.ts +4 -0
- package/types/component/poptip/index.d.ts +1 -0
- package/types/component/poptip/interface.d.ts +15 -0
- package/types/component/title/index.d.ts +2 -0
- package/types/component/title/interface/index.d.ts +2 -0
- package/types/component/title/interface/spec.d.ts +47 -0
- package/types/component/title/interface/theme.d.ts +19 -0
- package/types/component/title/title.d.ts +49 -0
- package/types/component/title/utils.d.ts +2 -0
- package/types/component/tooltip/handler/base.d.ts +64 -0
- package/types/component/tooltip/handler/canvas/canvas-tooltip-handler.d.ts +19 -0
- package/types/component/tooltip/handler/canvas/index.d.ts +1 -0
- package/types/component/tooltip/handler/constants.d.ts +17 -0
- package/types/component/tooltip/handler/dom/dom-tooltip-handler.d.ts +25 -0
- package/types/component/tooltip/handler/dom/index.d.ts +1 -0
- package/types/component/tooltip/handler/dom/interface.d.ts +57 -0
- package/types/component/tooltip/handler/dom/model/base-tooltip-model.d.ts +25 -0
- package/types/component/tooltip/handler/dom/model/content-column-model.d.ts +23 -0
- package/types/component/tooltip/handler/dom/model/content-model.d.ts +15 -0
- package/types/component/tooltip/handler/dom/model/interface.d.ts +9 -0
- package/types/component/tooltip/handler/dom/model/shape-model.d.ts +23 -0
- package/types/component/tooltip/handler/dom/model/style-constants.d.ts +8 -0
- package/types/component/tooltip/handler/dom/model/text-model.d.ts +5 -0
- package/types/component/tooltip/handler/dom/model/title-model.d.ts +15 -0
- package/types/component/tooltip/handler/dom/model/tooltip-model.d.ts +21 -0
- package/types/component/tooltip/handler/dom/util.d.ts +6 -0
- package/types/component/tooltip/handler/index.d.ts +2 -0
- package/types/component/tooltip/handler/interface/index.d.ts +1 -0
- package/types/component/tooltip/handler/interface/style.d.ts +8 -0
- package/types/component/tooltip/handler/utils/attribute.d.ts +9 -0
- package/types/component/tooltip/handler/utils/common.d.ts +19 -0
- package/types/component/tooltip/handler/utils/compose.d.ts +5 -0
- package/types/component/tooltip/handler/utils/get-spec.d.ts +5 -0
- package/types/component/tooltip/handler/utils/index.d.ts +6 -0
- package/types/component/tooltip/handler/utils/pattern.d.ts +4 -0
- package/types/component/tooltip/handler/utils/position.d.ts +7 -0
- package/types/component/tooltip/index.d.ts +3 -0
- package/types/component/tooltip/interface/common.d.ts +24 -0
- package/types/component/tooltip/interface/event.d.ts +8 -0
- package/types/component/tooltip/interface/index.d.ts +3 -0
- package/types/component/tooltip/interface/spec.d.ts +29 -0
- package/types/component/tooltip/interface/theme.d.ts +49 -0
- package/types/component/tooltip/processor/base.d.ts +18 -0
- package/types/component/tooltip/processor/dimension-tooltip.d.ts +10 -0
- package/types/component/tooltip/processor/index.d.ts +5 -0
- package/types/component/tooltip/processor/interface.d.ts +16 -0
- package/types/component/tooltip/processor/mark-tooltip.d.ts +10 -0
- package/types/component/tooltip/processor/util.d.ts +4 -0
- package/types/component/tooltip/tooltip-transformer.d.ts +8 -0
- package/types/component/tooltip/tooltip.d.ts +68 -0
- package/types/component/tooltip/utils/common.d.ts +5 -0
- package/types/component/tooltip/utils/index.d.ts +2 -0
- package/types/component/tooltip/utils/show-tooltip.d.ts +3 -0
- package/types/component/util.d.ts +2 -0
- package/types/constant/base.d.ts +3 -0
- package/types/constant/box-plot.d.ts +10 -0
- package/types/constant/correlation.d.ts +3 -0
- package/types/constant/event.d.ts +58 -0
- package/types/constant/funnel.d.ts +14 -0
- package/types/constant/hierarchy.d.ts +3 -0
- package/types/constant/index.d.ts +111 -0
- package/types/constant/label.d.ts +6 -0
- package/types/constant/layout.d.ts +3 -0
- package/types/constant/marker.d.ts +4 -0
- package/types/constant/polar.d.ts +13 -0
- package/types/constant/scatter.d.ts +7 -0
- package/types/constant/scroll-bar.d.ts +1 -0
- package/types/constant/sunburst.d.ts +1 -0
- package/types/constant/waterfall.d.ts +1 -0
- package/types/constant/word-cloud.d.ts +7 -0
- package/types/core/expression-function.d.ts +12 -0
- package/types/core/factory.d.ts +65 -0
- package/types/core/index.d.ts +15 -0
- package/types/core/instance-manager.d.ts +10 -0
- package/types/core/interface.d.ts +106 -0
- package/types/core/util.d.ts +3 -0
- package/types/core/vchart.d.ts +185 -0
- package/types/data/initialize.d.ts +21 -0
- package/types/data/parser/array.d.ts +2 -0
- package/types/data/parser/scale.d.ts +2 -0
- package/types/data/register.d.ts +3 -0
- package/types/data/transforms/add-property.d.ts +12 -0
- package/types/data/transforms/aggregation.d.ts +34 -0
- package/types/data/transforms/box-plot.d.ts +5 -0
- package/types/data/transforms/circle-packing.d.ts +7 -0
- package/types/data/transforms/copy-data-view.d.ts +5 -0
- package/types/data/transforms/correlation-center.d.ts +4 -0
- package/types/data/transforms/correlation.d.ts +17 -0
- package/types/data/transforms/data-key.d.ts +20 -0
- package/types/data/transforms/dimension-data.d.ts +10 -0
- package/types/data/transforms/dimension-statistics.d.ts +24 -0
- package/types/data/transforms/drill.d.ts +14 -0
- package/types/data/transforms/flatten.d.ts +9 -0
- package/types/data/transforms/funnel.d.ts +51 -0
- package/types/data/transforms/hierarchy-dimension-statistics.d.ts +3 -0
- package/types/data/transforms/invalid-travel.d.ts +8 -0
- package/types/data/transforms/legend-data/continuous/continuous.d.ts +4 -0
- package/types/data/transforms/legend-data/continuous/index.d.ts +2 -0
- package/types/data/transforms/legend-data/continuous/interface.d.ts +13 -0
- package/types/data/transforms/legend-data/discrete/discrete.d.ts +4 -0
- package/types/data/transforms/legend-data/discrete/index.d.ts +2 -0
- package/types/data/transforms/legend-data/discrete/interface.d.ts +15 -0
- package/types/data/transforms/link-dot-info.d.ts +13 -0
- package/types/data/transforms/lookup.d.ts +12 -0
- package/types/data/transforms/map.d.ts +7 -0
- package/types/data/transforms/marker-filter.d.ts +5 -0
- package/types/data/transforms/obj-flat.d.ts +2 -0
- package/types/data/transforms/pie.d.ts +17 -0
- package/types/data/transforms/regression.d.ts +6 -0
- package/types/data/transforms/sankey-links.d.ts +2 -0
- package/types/data/transforms/sankey-nodes.d.ts +2 -0
- package/types/data/transforms/sankey.d.ts +19 -0
- package/types/data/transforms/stack-split.d.ts +6 -0
- package/types/data/transforms/sunburst.d.ts +7 -0
- package/types/data/transforms/treemap.d.ts +11 -0
- package/types/data/transforms/waterfall.d.ts +25 -0
- package/types/env/env.d.ts +7 -0
- package/types/env/index.d.ts +1 -0
- package/types/event/bubble.d.ts +15 -0
- package/types/event/event-dispatcher.d.ts +27 -0
- package/types/event/event.d.ts +18 -0
- package/types/event/events/base.d.ts +16 -0
- package/types/event/events/dimension/base.d.ts +20 -0
- package/types/event/events/dimension/dimension-click.d.ts +7 -0
- package/types/event/events/dimension/dimension-hover.d.ts +9 -0
- package/types/event/events/dimension/index.d.ts +3 -0
- package/types/event/events/dimension/interface.d.ts +23 -0
- package/types/event/events/dimension/util/cartesian.d.ts +8 -0
- package/types/event/events/dimension/util/common.d.ts +8 -0
- package/types/event/events/dimension/util/index.d.ts +3 -0
- package/types/event/events/dimension/util/polar.d.ts +4 -0
- package/types/event/events/index.d.ts +6 -0
- package/types/event/index.d.ts +2 -0
- package/types/event/interface.d.ts +160 -0
- package/types/index-lark.d.ts +4 -0
- package/types/index-wx-simple.d.ts +4 -0
- package/types/index-wx.d.ts +4 -0
- package/types/index.d.ts +10 -0
- package/types/interaction/config.d.ts +22 -0
- package/types/interaction/dimension-trigger.d.ts +32 -0
- package/types/interaction/drill/drillable.d.ts +28 -0
- package/types/interaction/drill/index.d.ts +1 -0
- package/types/interaction/interaction.d.ts +22 -0
- package/types/interaction/interface.d.ts +72 -0
- package/types/interaction/trigger.d.ts +39 -0
- package/types/interaction/zoom/index.d.ts +1 -0
- package/types/interaction/zoom/zoomable.d.ts +84 -0
- package/types/layout/base-layout.d.ts +77 -0
- package/types/layout/grid-layout/grid-layout.d.ts +50 -0
- package/types/layout/index.d.ts +6 -0
- package/types/layout/interface.d.ts +115 -0
- package/types/layout/layout-item.d.ts +72 -0
- package/types/layout/layout3d/index.d.ts +22 -0
- package/types/layout/util.d.ts +6 -0
- package/types/mark/arc-3d.d.ts +11 -0
- package/types/mark/arc.d.ts +21 -0
- package/types/mark/area.d.ts +12 -0
- package/types/mark/base/base-line.d.ts +8 -0
- package/types/mark/base/base-mark.d.ts +38 -0
- package/types/mark/base/index.d.ts +2 -0
- package/types/mark/box-plot.d.ts +13 -0
- package/types/mark/cell.d.ts +11 -0
- package/types/mark/component.d.ts +15 -0
- package/types/mark/group.d.ts +32 -0
- package/types/mark/image.d.ts +11 -0
- package/types/mark/index.d.ts +22 -0
- package/types/mark/interface/common.d.ts +77 -0
- package/types/mark/interface/index.d.ts +2 -0
- package/types/mark/interface/type.d.ts +25 -0
- package/types/mark/label.d.ts +28 -0
- package/types/mark/line.d.ts +12 -0
- package/types/mark/link-path.d.ts +13 -0
- package/types/mark/liquid.d.ts +13 -0
- package/types/mark/mark-set/index.d.ts +22 -0
- package/types/mark/path.d.ts +11 -0
- package/types/mark/polygon/base-polygon.d.ts +6 -0
- package/types/mark/polygon/polygon.d.ts +11 -0
- package/types/mark/polygon/pyramid-3d.d.ts +10 -0
- package/types/mark/progress-arc.d.ts +14 -0
- package/types/mark/rect-3d.d.ts +11 -0
- package/types/mark/rect.d.ts +11 -0
- package/types/mark/ripple.d.ts +13 -0
- package/types/mark/rule.d.ts +11 -0
- package/types/mark/symbol.d.ts +13 -0
- package/types/mark/text.d.ts +13 -0
- package/types/mark/utils/common.d.ts +3 -0
- package/types/mark/utils/index.d.ts +1 -0
- package/types/model/base-model-transformer.d.ts +25 -0
- package/types/model/base-model.d.ts +81 -0
- package/types/model/index.d.ts +3 -0
- package/types/model/interface.d.ts +153 -0
- package/types/model/layout-item.d.ts +59 -0
- package/types/model/layout-model.d.ts +41 -0
- package/types/model/tooltip-helper.d.ts +25 -0
- package/types/plugin/base/base-plugin-service.d.ts +13 -0
- package/types/plugin/base/base-plugin.d.ts +9 -0
- package/types/plugin/base/interface.d.ts +22 -0
- package/types/plugin/chart/index.d.ts +2 -0
- package/types/plugin/chart/interface.d.ts +26 -0
- package/types/plugin/chart/media-query/index.d.ts +2 -0
- package/types/plugin/chart/media-query/interface/common.d.ts +24 -0
- package/types/plugin/chart/media-query/interface/index.d.ts +2 -0
- package/types/plugin/chart/media-query/interface/spec.d.ts +25 -0
- package/types/plugin/chart/media-query/media-query.d.ts +30 -0
- package/types/plugin/chart/media-query/util/action.d.ts +3 -0
- package/types/plugin/chart/media-query/util/filter.d.ts +5 -0
- package/types/plugin/chart/media-query/util/index.d.ts +2 -0
- package/types/plugin/chart/media-query/util/query.d.ts +3 -0
- package/types/plugin/chart/plugin-service.d.ts +12 -0
- package/types/plugin/chart/register.d.ts +2 -0
- package/types/plugin/components/axis-sync/axis-sync.d.ts +13 -0
- package/types/plugin/components/axis-sync/index.d.ts +1 -0
- package/types/plugin/components/axis-sync/tick-align-transform.d.ts +7 -0
- package/types/plugin/components/axis-sync/zero-align-transform.d.ts +15 -0
- package/types/plugin/components/axis-sync-plugin/axis-sync.d.ts +13 -0
- package/types/plugin/components/axis-sync-plugin/index.d.ts +1 -0
- package/types/plugin/components/axis-sync-plugin/tick-align-transform.d.ts +7 -0
- package/types/plugin/components/axis-sync-plugin/zero-align-transform.d.ts +15 -0
- package/types/plugin/components/basic-plugin.d.ts +9 -0
- package/types/plugin/components/index.d.ts +5 -0
- package/types/plugin/components/interface.d.ts +23 -0
- package/types/plugin/components/plugin-service.d.ts +7 -0
- package/types/plugin/components/register.d.ts +2 -0
- package/types/plugin/components/tooltip-handler/base.d.ts +66 -0
- package/types/plugin/components/tooltip-handler/canvas/canvas-tooltip-handler.d.ts +22 -0
- package/types/plugin/components/tooltip-handler/canvas/index.d.ts +1 -0
- package/types/plugin/components/tooltip-handler/constants.d.ts +17 -0
- package/types/plugin/components/tooltip-handler/dom/constant.d.ts +1 -0
- package/types/plugin/components/tooltip-handler/dom/dom-tooltip-handler.d.ts +28 -0
- package/types/plugin/components/tooltip-handler/dom/index.d.ts +1 -0
- package/types/plugin/components/tooltip-handler/dom/interface.d.ts +57 -0
- package/types/plugin/components/tooltip-handler/dom/model/base-tooltip-model.d.ts +25 -0
- package/types/plugin/components/tooltip-handler/dom/model/content-column-model.d.ts +23 -0
- package/types/plugin/components/tooltip-handler/dom/model/content-model.d.ts +16 -0
- package/types/plugin/components/tooltip-handler/dom/model/interface.d.ts +10 -0
- package/types/plugin/components/tooltip-handler/dom/model/shape-model.d.ts +23 -0
- package/types/plugin/components/tooltip-handler/dom/model/style-constants.d.ts +7 -0
- package/types/plugin/components/tooltip-handler/dom/model/text-model.d.ts +5 -0
- package/types/plugin/components/tooltip-handler/dom/model/title-model.d.ts +15 -0
- package/types/plugin/components/tooltip-handler/dom/model/tooltip-model.d.ts +21 -0
- package/types/plugin/components/tooltip-handler/dom/utils/common.d.ts +3 -0
- package/types/plugin/components/tooltip-handler/dom/utils/index.d.ts +2 -0
- package/types/plugin/components/tooltip-handler/dom/utils/style.d.ts +4 -0
- package/types/plugin/components/tooltip-handler/index.d.ts +2 -0
- package/types/plugin/components/tooltip-handler/interface/common.d.ts +4 -0
- package/types/plugin/components/tooltip-handler/interface/index.d.ts +2 -0
- package/types/plugin/components/tooltip-handler/interface/style.d.ts +13 -0
- package/types/plugin/components/tooltip-handler/utils/attribute.d.ts +8 -0
- package/types/plugin/components/tooltip-handler/utils/common.d.ts +20 -0
- package/types/plugin/components/tooltip-handler/utils/compose.d.ts +4 -0
- package/types/plugin/components/tooltip-handler/utils/get-spec.d.ts +5 -0
- package/types/plugin/components/tooltip-handler/utils/index.d.ts +6 -0
- package/types/plugin/components/tooltip-handler/utils/pattern.d.ts +4 -0
- package/types/plugin/components/tooltip-handler/utils/position.d.ts +7 -0
- package/types/plugin/index.d.ts +1 -0
- package/types/plugin/interface.d.ts +4 -0
- package/types/plugin/series/interface.d.ts +9 -0
- package/types/region/index.d.ts +3 -0
- package/types/region/interface.d.ts +66 -0
- package/types/region/region-transformer.d.ts +8 -0
- package/types/region/region.d.ts +88 -0
- package/types/scale/color-ordinal-scale.d.ts +8 -0
- package/types/scale/global-scale.d.ts +37 -0
- package/types/scale/interface.d.ts +18 -0
- package/types/series/area/animation.d.ts +8 -0
- package/types/series/area/area-transformer.d.ts +7 -0
- package/types/series/area/area.d.ts +33 -0
- package/types/series/area/constant.d.ts +2 -0
- package/types/series/area/interface.d.ts +26 -0
- package/types/series/area/tooltip-helpter.d.ts +5 -0
- package/types/series/bar/animation.d.ts +14 -0
- package/types/series/bar/bar-3d.d.ts +14 -0
- package/types/series/bar/bar-transformer.d.ts +5 -0
- package/types/series/bar/bar.d.ts +67 -0
- package/types/series/bar/constant.d.ts +3 -0
- package/types/series/bar/interface.d.ts +42 -0
- package/types/series/base/base-series-transformer.d.ts +18 -0
- package/types/series/base/base-series.d.ts +228 -0
- package/types/series/base/constant.d.ts +6 -0
- package/types/series/base/group.d.ts +12 -0
- package/types/series/base/index.d.ts +2 -0
- package/types/series/base/series-data.d.ts +5 -0
- package/types/series/base/tooltip-helper.d.ts +31 -0
- package/types/series/box-plot/box-plot.d.ts +62 -0
- package/types/series/box-plot/constant.d.ts +2 -0
- package/types/series/box-plot/interface.d.ts +22 -0
- package/types/series/box-plot/tooltip-helper.d.ts +12 -0
- package/types/series/cartesian/cartesian.d.ts +105 -0
- package/types/series/cartesian/index.d.ts +2 -0
- package/types/series/cartesian/interface.d.ts +15 -0
- package/types/series/circle-packing/animation.d.ts +5 -0
- package/types/series/circle-packing/circle-packing.d.ts +45 -0
- package/types/series/circle-packing/constant.d.ts +2 -0
- package/types/series/circle-packing/interface.d.ts +20 -0
- package/types/series/circle-packing/tooltip-helper.d.ts +5 -0
- package/types/series/correlation/animation.d.ts +8 -0
- package/types/series/correlation/constant.d.ts +2 -0
- package/types/series/correlation/correlation-transformer.d.ts +5 -0
- package/types/series/correlation/correlation.d.ts +56 -0
- package/types/series/correlation/interface.d.ts +37 -0
- package/types/series/dot/config.d.ts +4 -0
- package/types/series/dot/constant.d.ts +2 -0
- package/types/series/dot/dot.d.ts +72 -0
- package/types/series/dot/interface.d.ts +40 -0
- package/types/series/dot/tooltip-helper.d.ts +7 -0
- package/types/series/funnel/3d/funnel-3d-transformer.d.ts +6 -0
- package/types/series/funnel/3d/funnel-3d.d.ts +22 -0
- package/types/series/funnel/3d/index.d.ts +2 -0
- package/types/series/funnel/constant.d.ts +3 -0
- package/types/series/funnel/funnel-3d.d.ts +22 -0
- package/types/series/funnel/funnel-transformer.d.ts +5 -0
- package/types/series/funnel/funnel.d.ts +97 -0
- package/types/series/funnel/interface.d.ts +60 -0
- package/types/series/funnel/tooltip-helper.d.ts +9 -0
- package/types/series/gauge/animation.d.ts +7 -0
- package/types/series/gauge/constant.d.ts +3 -0
- package/types/series/gauge/gauge-pointer.d.ts +38 -0
- package/types/series/gauge/gauge-transformer.d.ts +5 -0
- package/types/series/gauge/gauge.d.ts +33 -0
- package/types/series/gauge/index.d.ts +3 -0
- package/types/series/gauge/interface.d.ts +50 -0
- package/types/series/geo/geo.d.ts +55 -0
- package/types/series/geo/interface.d.ts +4 -0
- package/types/series/heatmap/animation.d.ts +4 -0
- package/types/series/heatmap/constant.d.ts +2 -0
- package/types/series/heatmap/heatmap-transformer.d.ts +5 -0
- package/types/series/heatmap/heatmap.d.ts +41 -0
- package/types/series/heatmap/interface.d.ts +23 -0
- package/types/series/heatmap/tooltip-helper.d.ts +6 -0
- package/types/series/index.d.ts +70 -0
- package/types/series/interface/common.d.ts +81 -0
- package/types/series/interface/index.d.ts +5 -0
- package/types/series/interface/series.d.ts +179 -0
- package/types/series/interface/theme.d.ts +106 -0
- package/types/series/interface/tooltip-helper.d.ts +13 -0
- package/types/series/interface/type.d.ts +96 -0
- package/types/series/line/animation.d.ts +7 -0
- package/types/series/line/constant.d.ts +2 -0
- package/types/series/line/interface.d.ts +25 -0
- package/types/series/line/line.d.ts +28 -0
- package/types/series/link/constant.d.ts +2 -0
- package/types/series/link/interface.d.ts +25 -0
- package/types/series/link/link.d.ts +53 -0
- package/types/series/link/tooltip-helper.d.ts +6 -0
- package/types/series/liquid/animation.d.ts +14 -0
- package/types/series/liquid/constant.d.ts +2 -0
- package/types/series/liquid/interface.d.ts +35 -0
- package/types/series/liquid/liquid.d.ts +50 -0
- package/types/series/liquid/tooltip-helper.d.ts +9 -0
- package/types/series/liquid/util.d.ts +2 -0
- package/types/series/map/constant.d.ts +2 -0
- package/types/series/map/geo-source.d.ts +20 -0
- package/types/series/map/interface.d.ts +31 -0
- package/types/series/map/map-transformer.d.ts +5 -0
- package/types/series/map/map.d.ts +53 -0
- package/types/series/map/tooltip-helper.d.ts +5 -0
- package/types/series/mixin/constant.d.ts +2 -0
- package/types/series/mixin/line-mixin-transformer.d.ts +5 -0
- package/types/series/mixin/line-mixin.d.ts +62 -0
- package/types/series/pie/3d/index.d.ts +2 -0
- package/types/series/pie/3d/pie-3d-transformer.d.ts +5 -0
- package/types/series/pie/3d/pie-3d.d.ts +20 -0
- package/types/series/pie/animation/animation.d.ts +25 -0
- package/types/series/pie/animation/centerOffset.d.ts +6 -0
- package/types/series/pie/constant.d.ts +3 -0
- package/types/series/pie/interface.d.ts +70 -0
- package/types/series/pie/pie-3d.d.ts +16 -0
- package/types/series/pie/pie-transformer.d.ts +9 -0
- package/types/series/pie/pie.d.ts +80 -0
- package/types/series/polar/animation.d.ts +41 -0
- package/types/series/polar/index.d.ts +3 -0
- package/types/series/polar/interface.d.ts +22 -0
- package/types/series/polar/polar.d.ts +60 -0
- package/types/series/polar/progress-like/animation.d.ts +7 -0
- package/types/series/polar/progress-like/constant.d.ts +2 -0
- package/types/series/polar/progress-like/index.d.ts +3 -0
- package/types/series/polar/progress-like/interface.d.ts +21 -0
- package/types/series/polar/progress-like/progress-like.d.ts +34 -0
- package/types/series/polar/rose-like/index.d.ts +2 -0
- package/types/series/polar/rose-like/interface.d.ts +3 -0
- package/types/series/polar/rose-like/rose-like.d.ts +13 -0
- package/types/series/progress/circular/circular.d.ts +28 -0
- package/types/series/progress/circular/constant.d.ts +2 -0
- package/types/series/progress/circular/index.d.ts +1 -0
- package/types/series/progress/circular/interface.d.ts +20 -0
- package/types/series/progress/interface.d.ts +7 -0
- package/types/series/progress/linear/animation.d.ts +10 -0
- package/types/series/progress/linear/constant.d.ts +2 -0
- package/types/series/progress/linear/index.d.ts +1 -0
- package/types/series/progress/linear/interface.d.ts +26 -0
- package/types/series/progress/linear/linear.d.ts +26 -0
- package/types/series/progress/linear/tooltip-helper.d.ts +7 -0
- package/types/series/radar/animation.d.ts +73 -0
- package/types/series/radar/constant.d.ts +2 -0
- package/types/series/radar/interface.d.ts +22 -0
- package/types/series/radar/radar.d.ts +31 -0
- package/types/series/range-area/constant.d.ts +2 -0
- package/types/series/range-area/interface.d.ts +7 -0
- package/types/series/range-area/range-area.d.ts +15 -0
- package/types/series/range-area/tooltip-helper.d.ts +7 -0
- package/types/series/range-column/3d/index.d.ts +2 -0
- package/types/series/range-column/3d/range-column-3d-transformer.d.ts +5 -0
- package/types/series/range-column/3d/range-column-3d.d.ts +15 -0
- package/types/series/range-column/animation.d.ts +10 -0
- package/types/series/range-column/constant.d.ts +3 -0
- package/types/series/range-column/interface.d.ts +56 -0
- package/types/series/range-column/range-column-3d.d.ts +15 -0
- package/types/series/range-column/range-column-transformer.d.ts +5 -0
- package/types/series/range-column/range-column.d.ts +32 -0
- package/types/series/range-column/tooltip-helper.d.ts +6 -0
- package/types/series/rose/animation.d.ts +13 -0
- package/types/series/rose/constant.d.ts +2 -0
- package/types/series/rose/interface.d.ts +19 -0
- package/types/series/rose/rose-transformer.d.ts +5 -0
- package/types/series/rose/rose.d.ts +33 -0
- package/types/series/sankey/animation.d.ts +13 -0
- package/types/series/sankey/constant.d.ts +2 -0
- package/types/series/sankey/interface.d.ts +108 -0
- package/types/series/sankey/sankey.d.ts +67 -0
- package/types/series/sankey/tooltip-helper.d.ts +7 -0
- package/types/series/scatter/animation.d.ts +8 -0
- package/types/series/scatter/constant.d.ts +2 -0
- package/types/series/scatter/interface.d.ts +24 -0
- package/types/series/scatter/scatter-transformer.d.ts +5 -0
- package/types/series/scatter/scatter.d.ts +39 -0
- package/types/series/sunburst/animation/enter.d.ts +3 -0
- package/types/series/sunburst/animation/exit.d.ts +3 -0
- package/types/series/sunburst/animation/index.d.ts +6 -0
- package/types/series/sunburst/animation/interface.d.ts +12 -0
- package/types/series/sunburst/animation/preset.d.ts +3 -0
- package/types/series/sunburst/animation/utils.d.ts +3 -0
- package/types/series/sunburst/constant.d.ts +2 -0
- package/types/series/sunburst/interface.d.ts +41 -0
- package/types/series/sunburst/sunburst.d.ts +60 -0
- package/types/series/sunburst/tooltip-helper.d.ts +5 -0
- package/types/series/treemap/animation.d.ts +5 -0
- package/types/series/treemap/constant.d.ts +2 -0
- package/types/series/treemap/interface.d.ts +41 -0
- package/types/series/treemap/tooltip-helper.d.ts +5 -0
- package/types/series/treemap/treemap-transform.d.ts +6 -0
- package/types/series/treemap/treemap.d.ts +61 -0
- package/types/series/util/label-mark.d.ts +4 -0
- package/types/series/util/spec.d.ts +2 -0
- package/types/series/util/stack.d.ts +9 -0
- package/types/series/util/utils.d.ts +10 -0
- package/types/series/waterfall/animation.d.ts +5 -0
- package/types/series/waterfall/constant.d.ts +2 -0
- package/types/series/waterfall/interface.d.ts +60 -0
- package/types/series/waterfall/waterfall-transformer.d.ts +5 -0
- package/types/series/waterfall/waterfall.d.ts +41 -0
- package/types/series/word-cloud/animation.d.ts +14 -0
- package/types/series/word-cloud/base.d.ts +66 -0
- package/types/series/word-cloud/config.d.ts +16 -0
- package/types/series/word-cloud/constant.d.ts +2 -0
- package/types/series/word-cloud/interface.d.ts +111 -0
- package/types/series/word-cloud/word-cloud-3d.d.ts +34 -0
- package/types/series/word-cloud/word-cloud.d.ts +9 -0
- package/types/theme/builtin/common/component/axis/band-axis.d.ts +2 -0
- package/types/theme/builtin/common/component/axis/cartesian-axis.d.ts +4 -0
- package/types/theme/builtin/common/component/axis/common-axis.d.ts +2 -0
- package/types/theme/builtin/common/component/axis/linear-axis.d.ts +2 -0
- package/types/theme/builtin/common/component/axis/polar-axis.d.ts +3 -0
- package/types/theme/builtin/common/component/brush.d.ts +2 -0
- package/types/theme/builtin/common/component/crosshair.d.ts +2 -0
- package/types/theme/builtin/common/component/data-zoom.d.ts +2 -0
- package/types/theme/builtin/common/component/index.d.ts +2 -0
- package/types/theme/builtin/common/component/indicator.d.ts +2 -0
- package/types/theme/builtin/common/component/legend/color-legend.d.ts +2 -0
- package/types/theme/builtin/common/component/legend/continuous.d.ts +2 -0
- package/types/theme/builtin/common/component/legend/discrete-legend.d.ts +2 -0
- package/types/theme/builtin/common/component/legend/size-legend.d.ts +2 -0
- package/types/theme/builtin/common/component/map-label.d.ts +2 -0
- package/types/theme/builtin/common/component/mark-area.d.ts +2 -0
- package/types/theme/builtin/common/component/mark-line.d.ts +2 -0
- package/types/theme/builtin/common/component/mark-point.d.ts +2 -0
- package/types/theme/builtin/common/component/player.d.ts +2 -0
- package/types/theme/builtin/common/component/poptip.d.ts +2 -0
- package/types/theme/builtin/common/component/scroll-bar.d.ts +2 -0
- package/types/theme/builtin/common/component/title.d.ts +2 -0
- package/types/theme/builtin/common/component/tooltip.d.ts +3 -0
- package/types/theme/builtin/common/component/total-label.d.ts +2 -0
- package/types/theme/builtin/common/constants.d.ts +2 -0
- package/types/theme/builtin/common/legacy/index.d.ts +1 -0
- package/types/theme/builtin/common/legacy/legend/color-legend.d.ts +2 -0
- package/types/theme/builtin/common/legacy/legend/continuous.d.ts +2 -0
- package/types/theme/builtin/common/legacy/legend/index.d.ts +2 -0
- package/types/theme/builtin/common/legacy/legend/size-legend.d.ts +2 -0
- package/types/theme/builtin/common/mark.d.ts +3 -0
- package/types/theme/builtin/common/series/area.d.ts +2 -0
- package/types/theme/builtin/common/series/bar.d.ts +2 -0
- package/types/theme/builtin/common/series/bar3d.d.ts +2 -0
- package/types/theme/builtin/common/series/box-plot.d.ts +2 -0
- package/types/theme/builtin/common/series/circle-packing.d.ts +2 -0
- package/types/theme/builtin/common/series/circular-progress.d.ts +2 -0
- package/types/theme/builtin/common/series/correlation.d.ts +2 -0
- package/types/theme/builtin/common/series/dot.d.ts +2 -0
- package/types/theme/builtin/common/series/funnel.d.ts +2 -0
- package/types/theme/builtin/common/series/funnel3d.d.ts +2 -0
- package/types/theme/builtin/common/series/gauge-pointer.d.ts +2 -0
- package/types/theme/builtin/common/series/gauge.d.ts +2 -0
- package/types/theme/builtin/common/series/heatmap.d.ts +2 -0
- package/types/theme/builtin/common/series/index.d.ts +2 -0
- package/types/theme/builtin/common/series/line.d.ts +2 -0
- package/types/theme/builtin/common/series/linear-progress.d.ts +2 -0
- package/types/theme/builtin/common/series/link.d.ts +2 -0
- package/types/theme/builtin/common/series/liquid.d.ts +2 -0
- package/types/theme/builtin/common/series/map.d.ts +2 -0
- package/types/theme/builtin/common/series/pie.d.ts +2 -0
- package/types/theme/builtin/common/series/pie3d.d.ts +2 -0
- package/types/theme/builtin/common/series/radar.d.ts +2 -0
- package/types/theme/builtin/common/series/rangeColumn.d.ts +2 -0
- package/types/theme/builtin/common/series/rose.d.ts +2 -0
- package/types/theme/builtin/common/series/sankey.d.ts +2 -0
- package/types/theme/builtin/common/series/scatter.d.ts +2 -0
- package/types/theme/builtin/common/series/sunburst.d.ts +2 -0
- package/types/theme/builtin/common/series/treemap.d.ts +2 -0
- package/types/theme/builtin/common/series/waterfall.d.ts +2 -0
- package/types/theme/builtin/common/series/word-cloud.d.ts +2 -0
- package/types/theme/builtin/common/series/word-cloud3d.d.ts +2 -0
- package/types/theme/builtin/common-mobile/component/axis/band-axis.d.ts +2 -0
- package/types/theme/builtin/common-mobile/component/axis/cartesian-axis.d.ts +4 -0
- package/types/theme/builtin/common-mobile/component/axis/common-axis.d.ts +2 -0
- package/types/theme/builtin/common-mobile/component/axis/linear-axis.d.ts +2 -0
- package/types/theme/builtin/common-mobile/component/axis/polar-axis.d.ts +3 -0
- package/types/theme/builtin/common-mobile/component/crosshair.d.ts +2 -0
- package/types/theme/builtin/common-mobile/component/data-zoom.d.ts +2 -0
- package/types/theme/builtin/common-mobile/component/index.d.ts +2 -0
- package/types/theme/builtin/common-mobile/component/indicator.d.ts +2 -0
- package/types/theme/builtin/common-mobile/component/legend/color-legend.d.ts +2 -0
- package/types/theme/builtin/common-mobile/component/legend/continuous.d.ts +2 -0
- package/types/theme/builtin/common-mobile/component/legend/discrete-legend.d.ts +2 -0
- package/types/theme/builtin/common-mobile/component/legend/size-legend.d.ts +2 -0
- package/types/theme/builtin/common-mobile/component/map-label.d.ts +2 -0
- package/types/theme/builtin/common-mobile/component/mark-area.d.ts +2 -0
- package/types/theme/builtin/common-mobile/component/mark-line.d.ts +2 -0
- package/types/theme/builtin/common-mobile/component/mark-point.d.ts +2 -0
- package/types/theme/builtin/common-mobile/component/player.d.ts +2 -0
- package/types/theme/builtin/common-mobile/component/poptip.d.ts +2 -0
- package/types/theme/builtin/common-mobile/component/title.d.ts +2 -0
- package/types/theme/builtin/common-mobile/component/tooltip.d.ts +2 -0
- package/types/theme/builtin/common-mobile/component/total-label.d.ts +2 -0
- package/types/theme/builtin/common-mobile/constants.d.ts +2 -0
- package/types/theme/builtin/common-mobile/mark.d.ts +3 -0
- package/types/theme/builtin/dark/color-scheme.d.ts +2 -0
- package/types/theme/builtin/dark/index.d.ts +2 -0
- package/types/theme/builtin/dark-mobile/index.d.ts +2 -0
- package/types/theme/builtin/index.d.ts +12 -0
- package/types/theme/builtin/light/color-scheme.d.ts +2 -0
- package/types/theme/builtin/light/index.d.ts +2 -0
- package/types/theme/builtin/light-mobile/index.d.ts +2 -0
- package/types/theme/color-scheme/builtin/default.d.ts +2 -0
- package/types/theme/color-scheme/builtin/index.d.ts +2 -0
- package/types/theme/color-scheme/builtin/interface.d.ts +30 -0
- package/types/theme/color-scheme/index.d.ts +3 -0
- package/types/theme/color-scheme/interface.d.ts +30 -0
- package/types/theme/color-scheme/legacy.d.ts +5 -0
- package/types/theme/color-scheme/util.d.ts +10 -0
- package/types/theme/index.d.ts +4 -0
- package/types/theme/interface.d.ts +56 -0
- package/types/theme/theme-manager.d.ts +13 -0
- package/types/theme/util.d.ts +5 -0
- package/types/typings/common.d.ts +7 -0
- package/types/typings/coordinate.d.ts +9 -0
- package/types/typings/cursor.d.ts +1 -0
- package/types/typings/data.d.ts +2 -0
- package/types/typings/event.d.ts +1 -0
- package/types/typings/geo.d.ts +3 -0
- package/types/typings/group.d.ts +8 -0
- package/types/typings/index.d.ts +15 -0
- package/types/typings/interpolate.d.ts +5 -0
- package/types/typings/layout.d.ts +24 -0
- package/types/typings/line-stroke.d.ts +3 -0
- package/types/typings/params.d.ts +17 -0
- package/types/typings/scale.d.ts +33 -0
- package/types/typings/shape.d.ts +6 -0
- package/types/typings/space.d.ts +19 -0
- package/types/typings/spec/chart.d.ts +62 -0
- package/types/typings/spec/common.d.ts +275 -0
- package/types/typings/spec/index.d.ts +5 -0
- package/types/typings/spec/media-query.d.ts +28 -0
- package/types/typings/tooltip/common.d.ts +8 -0
- package/types/typings/tooltip/handler.d.ts +8 -0
- package/types/typings/tooltip/index.d.ts +6 -0
- package/types/typings/tooltip/label.d.ts +10 -0
- package/types/typings/tooltip/line.d.ts +23 -0
- package/types/typings/tooltip/position.d.ts +31 -0
- package/types/typings/tooltip/shape.d.ts +23 -0
- package/types/typings/tooltip/tooltip.d.ts +26 -0
- package/types/typings/visual.d.ts +293 -0
- package/types/util/array.d.ts +3 -0
- package/types/util/color.d.ts +1 -0
- package/types/util/data.d.ts +38 -0
- package/types/util/debug.d.ts +9 -0
- package/types/util/env.d.ts +7 -0
- package/types/util/hierarchy.d.ts +3 -0
- package/types/util/id.d.ts +2 -0
- package/types/util/image.d.ts +4 -0
- package/types/util/index.d.ts +22 -0
- package/types/util/math.d.ts +28 -0
- package/types/util/model.d.ts +5 -0
- package/types/util/object.d.ts +3 -0
- package/types/util/scale.d.ts +21 -0
- package/types/util/space.d.ts +13 -0
- package/types/util/spec/background.d.ts +4 -0
- package/types/util/spec/clone-deep.d.ts +1 -0
- package/types/util/spec/common.d.ts +5 -0
- package/types/util/spec/index.d.ts +7 -0
- package/types/util/spec/merge-spec.d.ts +5 -0
- package/types/util/spec/merge-theme.d.ts +6 -0
- package/types/util/spec/preprocess.d.ts +3 -0
- package/types/util/spec/transform.d.ts +5 -0
- package/types/util/style.d.ts +4 -0
- package/types/util/text.d.ts +5 -0
- package/types/util/type.d.ts +7 -0
- package/types/vchart-all.d.ts +2 -0
- package/types/vchart-simple.d.ts +4 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import type { IGeoCoordinateHelper } from '../../component/geo/interface';
|
|
2
|
+
import type { IPoint } from '../../typings';
|
|
3
|
+
import type { IGeoSeries } from '../interface';
|
|
4
|
+
import { SeriesTypeEnum } from '../interface/type';
|
|
5
|
+
import { BaseSeries } from '../base/base-series';
|
|
6
|
+
import type { SeriesData } from '../base/series-data';
|
|
7
|
+
import type { DataView } from '@visactor/vdataset';
|
|
8
|
+
import type { IGeoSeriesSpec } from './interface';
|
|
9
|
+
import type { IMark } from '../../mark/interface';
|
|
10
|
+
export declare abstract class GeoSeries<T extends IGeoSeriesSpec = IGeoSeriesSpec> extends BaseSeries<T> implements IGeoSeries {
|
|
11
|
+
type: SeriesTypeEnum;
|
|
12
|
+
readonly coordinate = "geo";
|
|
13
|
+
protected _mapViewData: SeriesData;
|
|
14
|
+
getMapViewData(): DataView;
|
|
15
|
+
protected _mapViewDataStatistics: DataView;
|
|
16
|
+
_nameField: string;
|
|
17
|
+
get nameField(): string;
|
|
18
|
+
set nameField(f: string);
|
|
19
|
+
_valueField: string;
|
|
20
|
+
get valueField(): string;
|
|
21
|
+
set valueField(f: string);
|
|
22
|
+
protected _nameProperty: string;
|
|
23
|
+
getNameProperty(): string;
|
|
24
|
+
protected _centroidProperty?: string;
|
|
25
|
+
getCentroidProperty(): string;
|
|
26
|
+
_coordinateHelper: IGeoCoordinateHelper;
|
|
27
|
+
getCoordinateHelper(): IGeoCoordinateHelper;
|
|
28
|
+
setCoordinateHelper(h: IGeoCoordinateHelper): void;
|
|
29
|
+
getStatisticFields(): {
|
|
30
|
+
key: string;
|
|
31
|
+
operations: Array<'max' | 'min' | 'values'>;
|
|
32
|
+
}[];
|
|
33
|
+
getGroupFields(): string[];
|
|
34
|
+
dataToPosition(datum: any): IPoint | null;
|
|
35
|
+
protected nameToPosition(datum: any): IPoint | null;
|
|
36
|
+
abstract getDatumCenter(datum: any): [number, number];
|
|
37
|
+
abstract getDatumName(datum: any): string;
|
|
38
|
+
dataToLatitude(latValue: number): number;
|
|
39
|
+
dataToLongitude(lonValue: number): number;
|
|
40
|
+
valueToPosition(lonValue: number, latValue: number): IPoint;
|
|
41
|
+
positionToData(p: IPoint): void;
|
|
42
|
+
latitudeToData(lat: number): void;
|
|
43
|
+
longitudeToData(lon: number): void;
|
|
44
|
+
dataToPositionX(data: any): number;
|
|
45
|
+
dataToPositionY(data: any): number;
|
|
46
|
+
dataToPositionZ(data: any): number;
|
|
47
|
+
release(): void;
|
|
48
|
+
getStackGroupFields(): string[];
|
|
49
|
+
getStackValueField(): string;
|
|
50
|
+
compileData(): void;
|
|
51
|
+
protected initStatisticalData(): void;
|
|
52
|
+
getSeriesKeys(): string[];
|
|
53
|
+
fillData(): void;
|
|
54
|
+
getActiveMarks(): IMark[];
|
|
55
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { IAnimationTypeConfig } from '@visactor/vgrammar-core';
|
|
2
|
+
export type HeatmapAppearPreset = 'fadeIn';
|
|
3
|
+
export declare function heatmapPresetAnimation(preset: HeatmapAppearPreset | boolean): IAnimationTypeConfig;
|
|
4
|
+
export declare const registerHeatmapAnimation: () => void;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { BaseSeriesSpecTransformer } from '../base';
|
|
2
|
+
import type { IHeatmapSeriesSpec, IHeatmapSeriesTheme } from './interface';
|
|
3
|
+
export declare class HeatmapSeriesSpecTransformer<T extends IHeatmapSeriesSpec = IHeatmapSeriesSpec, K extends IHeatmapSeriesTheme = IHeatmapSeriesTheme> extends BaseSeriesSpecTransformer<T, K> {
|
|
4
|
+
protected _transformLabelSpec(spec: T): void;
|
|
5
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { CartesianSeries } from '../cartesian/cartesian';
|
|
2
|
+
import type { IHeatmapSeriesSpec } from './interface';
|
|
3
|
+
import type { IAxisHelper } from '../../component/axis/cartesian/interface';
|
|
4
|
+
import type { ITextMark } from '../../mark/text';
|
|
5
|
+
import type { SeriesMarkMap } from '../interface';
|
|
6
|
+
import { SeriesTypeEnum } from '../interface/type';
|
|
7
|
+
import type { ICellMark } from '../../mark/cell';
|
|
8
|
+
import type { IMark } from '../../mark/interface';
|
|
9
|
+
import { HeatmapSeriesSpecTransformer } from './heatmap-transformer';
|
|
10
|
+
export declare const DefaultBandWidth = 6;
|
|
11
|
+
export declare class HeatmapSeries<T extends IHeatmapSeriesSpec = IHeatmapSeriesSpec> extends CartesianSeries<T> {
|
|
12
|
+
static readonly type: string;
|
|
13
|
+
type: SeriesTypeEnum;
|
|
14
|
+
static readonly mark: SeriesMarkMap;
|
|
15
|
+
static readonly transformerConstructor: any;
|
|
16
|
+
readonly transformerConstructor: typeof HeatmapSeriesSpecTransformer;
|
|
17
|
+
protected _cellMark: ICellMark;
|
|
18
|
+
protected _backgroundMark: ICellMark;
|
|
19
|
+
protected _fieldValue: string[];
|
|
20
|
+
getFieldValue(): string[];
|
|
21
|
+
setFieldValue(f: string | string[]): void;
|
|
22
|
+
setAttrFromSpec(): void;
|
|
23
|
+
initMark(): void;
|
|
24
|
+
initMarkStyle(): void;
|
|
25
|
+
initLabelMarkStyle(textMark: ITextMark): void;
|
|
26
|
+
initCellMarkStyle(): void;
|
|
27
|
+
initCellBackgroundMarkStyle(): void;
|
|
28
|
+
getColorAttribute(): {
|
|
29
|
+
scale: any;
|
|
30
|
+
field: any;
|
|
31
|
+
};
|
|
32
|
+
initInteraction(): void;
|
|
33
|
+
initAnimation(): void;
|
|
34
|
+
protected getCellSize(axisHelper: IAxisHelper): number;
|
|
35
|
+
protected initTooltip(): void;
|
|
36
|
+
getDefaultShapeType(): string;
|
|
37
|
+
getDimensionField(): string[];
|
|
38
|
+
getMeasureField(): string[];
|
|
39
|
+
getActiveMarks(): IMark[];
|
|
40
|
+
}
|
|
41
|
+
export declare const registerHeatmapSeries: () => void;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { ICartesianSeriesSpec, ICartesianSeriesTheme } from '../cartesian/interface';
|
|
2
|
+
import type { IMarkSpec, IMarkTheme } from '../../typings/spec/common';
|
|
3
|
+
import type { IRectMarkSpec } from '../../typings/visual';
|
|
4
|
+
import type { IAnimationSpec } from '../../animation/spec';
|
|
5
|
+
import type { HeatmapAppearPreset } from './animation';
|
|
6
|
+
import type { ILabelSpec } from '../../component/label';
|
|
7
|
+
import type { IMarkProgressiveConfig } from '../../mark/interface';
|
|
8
|
+
import type { SeriesMarkNameEnum } from '../interface/type';
|
|
9
|
+
type HeatmapMarks = 'cell' | 'background' | 'label';
|
|
10
|
+
export interface IHeatmapSeriesSpec extends ICartesianSeriesSpec, IAnimationSpec<HeatmapMarks, HeatmapAppearPreset>, IMarkProgressiveConfig {
|
|
11
|
+
type: 'heatmap';
|
|
12
|
+
valueField?: string;
|
|
13
|
+
[SeriesMarkNameEnum.cell]?: IMarkSpec<IRectMarkSpec>;
|
|
14
|
+
[SeriesMarkNameEnum.cellBackground]?: IMarkSpec<IRectMarkSpec>;
|
|
15
|
+
[SeriesMarkNameEnum.label]?: ILabelSpec & {
|
|
16
|
+
position?: 'inside' | 'inside-top' | 'inside-bottom' | 'inside-right' | 'inside-left';
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
export interface IHeatmapSeriesTheme extends ICartesianSeriesTheme {
|
|
20
|
+
[SeriesMarkNameEnum.cell]?: Partial<IMarkTheme<IRectMarkSpec>>;
|
|
21
|
+
[SeriesMarkNameEnum.cellBackground]?: Partial<IMarkTheme<IRectMarkSpec>>;
|
|
22
|
+
}
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ITooltipPattern, TooltipActiveType } from '../../typings';
|
|
2
|
+
import { BaseSeriesTooltipHelper } from '../base/tooltip-helper';
|
|
3
|
+
import type { IDimensionInfo } from '../../event/events/dimension/interface';
|
|
4
|
+
export declare class HeatmapSeriesTooltipHelper extends BaseSeriesTooltipHelper {
|
|
5
|
+
getDefaultTooltipPattern(activeType: TooltipActiveType, dimensionInfo?: IDimensionInfo[]): ITooltipPattern | null;
|
|
6
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { WaterfallSeries, registerWaterfallSeries } from './waterfall/waterfall';
|
|
2
|
+
import type { IWaterfallSeriesSpec } from './waterfall/interface';
|
|
3
|
+
import { BoxPlotSeries, registerBoxplotSeries } from './box-plot/box-plot';
|
|
4
|
+
import type { IBoxPlotSeriesSpec } from './box-plot/interface';
|
|
5
|
+
import { LineSeries, registerLineSeries } from './line/line';
|
|
6
|
+
import type { ILineSeriesSpec } from './line/interface';
|
|
7
|
+
import { BarSeries, registerBarSeries } from './bar/bar';
|
|
8
|
+
import { Bar3dSeries, registerBar3dSeries } from './bar/bar-3d';
|
|
9
|
+
import type { IBar3dSeriesSpec, IBarSeriesSpec } from './bar/interface';
|
|
10
|
+
import { RangeColumnSeries, registerRangeColumnSeries } from './range-column/range-column';
|
|
11
|
+
import { RangeColumn3dSeries, registerRangeColumn3dSeries } from './range-column/3d/range-column-3d';
|
|
12
|
+
import type { IRangeColumn3dSeriesSpec, IRangeColumnSeriesSpec } from './range-column/interface';
|
|
13
|
+
import { RangeAreaSeries, registerRangeAreaSeries } from './range-area/range-area';
|
|
14
|
+
import type { IRangeAreaSeriesSpec } from './range-area/interface';
|
|
15
|
+
import { MapSeries, registerMapSeries } from './map/map';
|
|
16
|
+
import type { IMapSeriesSpec } from './map/interface';
|
|
17
|
+
import { PieSeries, registerPieSeries } from './pie/pie';
|
|
18
|
+
import { Pie3dSeries, registerPie3dSeries } from './pie/3d/pie-3d';
|
|
19
|
+
import type { IPie3dSeriesSpec } from './pie/interface';
|
|
20
|
+
import type { IPieSeriesSpec } from './pie/interface';
|
|
21
|
+
import { ScatterSeries, registerScatterSeries } from './scatter/scatter';
|
|
22
|
+
import type { IScatterSeriesSpec } from './scatter/interface';
|
|
23
|
+
import { RoseSeries, registerRoseSeries } from './rose/rose';
|
|
24
|
+
import type { IRoseSeriesSpec } from './rose/interface';
|
|
25
|
+
import { RadarSeries, registerRadarSeries } from './radar/radar';
|
|
26
|
+
import type { IRadarSeriesSpec } from './radar/interface';
|
|
27
|
+
import { AreaSeries, registerAreaSeries } from './area/area';
|
|
28
|
+
import type { IAreaSeriesSpec } from './area/interface';
|
|
29
|
+
import { DotSeries, registerDotSeries } from './dot/dot';
|
|
30
|
+
import type { IDotSeriesSpec } from './dot/interface';
|
|
31
|
+
import { LinkSeries, registerLinkSeries } from './link/link';
|
|
32
|
+
import type { ILinkSeriesSpec } from './link/interface';
|
|
33
|
+
import { CircularProgressSeries, registerCircularProgressSeries } from './progress/circular/circular';
|
|
34
|
+
import type { ICircularProgressSeriesSpec } from './progress/circular/interface';
|
|
35
|
+
import { LinearProgressSeries, registerLinearProgressSeries } from './progress/linear/linear';
|
|
36
|
+
import type { ILinearProgressSeriesSpec } from './progress/linear/interface';
|
|
37
|
+
import { WordCloudSeries, registerWordCloudSeries } from './word-cloud/word-cloud';
|
|
38
|
+
import { WordCloud3dSeries, registerWordCloud3dSeries } from './word-cloud/word-cloud-3d';
|
|
39
|
+
import type { IWordCloud3dSeriesSpec, IWordCloudSeriesSpec } from './word-cloud/interface';
|
|
40
|
+
import { FunnelSeries, registerFunnelSeries } from './funnel/funnel';
|
|
41
|
+
import { Funnel3dSeries, registerFunnel3dSeries } from './funnel/3d/funnel-3d';
|
|
42
|
+
import type { IFunnel3dSeriesSpec, IFunnelSeriesSpec } from './funnel/interface';
|
|
43
|
+
import { SunburstSeries, registerSunBurstSeries } from './sunburst/sunburst';
|
|
44
|
+
import type { ISunburstSeriesSpec } from './sunburst/interface';
|
|
45
|
+
import { CirclePackingSeries, registerCirclePackingSeries } from './circle-packing/circle-packing';
|
|
46
|
+
import type { ICirclePackingSeriesSpec } from './circle-packing/interface';
|
|
47
|
+
import { SankeySeries, registerSankeySeries } from './sankey/sankey';
|
|
48
|
+
import type { ISankeySeriesSpec } from './sankey/interface';
|
|
49
|
+
import { TreemapSeries, registerTreemapSeries } from './treemap/treemap';
|
|
50
|
+
import type { ITreemapSeriesSpec } from './treemap/interface';
|
|
51
|
+
import type { IGaugePointerSeriesSpec, IGaugeSeriesSpec } from './gauge';
|
|
52
|
+
import { GaugePointerSeries, GaugeSeries, registerGaugePointerSeries, registerGaugeSeries } from './gauge';
|
|
53
|
+
import { HeatmapSeries, registerHeatmapSeries } from './heatmap/heatmap';
|
|
54
|
+
import type { IHeatmapSeriesSpec } from './heatmap/interface';
|
|
55
|
+
import { CorrelationSeries } from './correlation/correlation';
|
|
56
|
+
import type { ICorrelationSeriesSpec } from './correlation/interface';
|
|
57
|
+
import { BaseSeries } from './base/base-series';
|
|
58
|
+
import type { ICartesianSeriesSpec } from './cartesian';
|
|
59
|
+
import { CartesianSeries } from './cartesian';
|
|
60
|
+
import { PolarSeries } from './polar/polar';
|
|
61
|
+
import type { IPolarSeriesSpec } from './polar/interface';
|
|
62
|
+
import type { IProgressLikeSeriesSpec } from './polar/progress-like';
|
|
63
|
+
import { ProgressLikeSeries } from './polar/progress-like';
|
|
64
|
+
import type { IRoseLikeSeriesSpec } from './polar/rose-like';
|
|
65
|
+
import { RoseLikeSeries } from './polar/rose-like';
|
|
66
|
+
import type { ISeries, ICartesianSeries, IPolarSeries, IGeoSeries } from './interface';
|
|
67
|
+
export { WaterfallSeries, Bar3dSeries, BarSeries, BoxPlotSeries, LineSeries, RadarSeries, RangeAreaSeries, RangeColumn3dSeries, RangeColumnSeries, MapSeries, Pie3dSeries, PieSeries, SankeySeries, ScatterSeries, SunburstSeries, RoseLikeSeries, RoseSeries, AreaSeries, DotSeries, LinearProgressSeries, LinkSeries, CirclePackingSeries, CircularProgressSeries, WordCloud3dSeries, WordCloudSeries, Funnel3dSeries, FunnelSeries, TreemapSeries, GaugePointerSeries, GaugeSeries, HeatmapSeries, BaseSeries, CartesianSeries, PolarSeries, ProgressLikeSeries, CorrelationSeries };
|
|
68
|
+
export { registerAreaSeries, registerBar3dSeries, registerBarSeries, registerBoxplotSeries, registerCirclePackingSeries, registerCircularProgressSeries, registerDotSeries, registerFunnel3dSeries, registerFunnelSeries, registerGaugePointerSeries, registerGaugeSeries, registerHeatmapSeries, registerLineSeries, registerLinearProgressSeries, registerLinkSeries, registerMapSeries, registerPie3dSeries, registerPieSeries, registerRadarSeries, registerRangeAreaSeries, registerRangeColumn3dSeries, registerRangeColumnSeries, registerRoseSeries, registerSankeySeries, registerScatterSeries, registerSunBurstSeries, registerTreemapSeries, registerWaterfallSeries, registerWordCloud3dSeries, registerWordCloudSeries };
|
|
69
|
+
export type { ISeries, ICartesianSeries, IPolarSeries, IGeoSeries, IRoseLikeSeriesSpec, IAreaSeriesSpec, IBar3dSeriesSpec, IBarSeriesSpec, IBoxPlotSeriesSpec, ICartesianSeriesSpec, ICirclePackingSeriesSpec, ICircularProgressSeriesSpec, IDotSeriesSpec, IFunnel3dSeriesSpec, IFunnelSeriesSpec, IGaugePointerSeriesSpec, IGaugeSeriesSpec, IHeatmapSeriesSpec, ILineSeriesSpec, ILinearProgressSeriesSpec, ILinkSeriesSpec, IMapSeriesSpec, IPie3dSeriesSpec, IPieSeriesSpec, IPolarSeriesSpec, IProgressLikeSeriesSpec, IRadarSeriesSpec, IRangeAreaSeriesSpec, IRangeColumn3dSeriesSpec, IRangeColumnSeriesSpec, IRoseSeriesSpec, ISankeySeriesSpec, IScatterSeriesSpec, ISunburstSeriesSpec, ITreemapSeriesSpec, IWaterfallSeriesSpec, IWordCloud3dSeriesSpec, IWordCloudSeriesSpec, ICorrelationSeriesSpec };
|
|
70
|
+
export * from './interface';
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import type { DataView } from '@visactor/vdataset';
|
|
2
|
+
import type { IGrammarItem } from '../../compile/interface';
|
|
3
|
+
import type { IGroupMark } from '../../mark/group';
|
|
4
|
+
import type { IModelConstructor, IModelMarkInfo, IModelOption, IModelSpecInfo } from '../../model/interface';
|
|
5
|
+
import type { IRegion } from '../../region/interface';
|
|
6
|
+
import type { RenderMode } from '../../typings/spec/common';
|
|
7
|
+
import type { ISeries } from './series';
|
|
8
|
+
import type { IMarkProgressiveConfig } from '../../mark/interface';
|
|
9
|
+
import type { ISeriesSpec, StringOrNumber } from '../../typings';
|
|
10
|
+
import type { TransformedLabelSpec } from '../../component/label';
|
|
11
|
+
import type { SeriesMarkNameEnum, SeriesTypeEnum } from './type';
|
|
12
|
+
import type { ICustomPath2D } from '@visactor/vrender-core';
|
|
13
|
+
export interface ISeriesSeriesInfo {
|
|
14
|
+
key: string;
|
|
15
|
+
index?: number;
|
|
16
|
+
style: (attribute: string) => any;
|
|
17
|
+
shapeType: string;
|
|
18
|
+
}
|
|
19
|
+
export interface ISeriesOption extends IModelOption {
|
|
20
|
+
mode: RenderMode;
|
|
21
|
+
region: IRegion;
|
|
22
|
+
sourceDataList: DataView[];
|
|
23
|
+
getSeriesData: (id: StringOrNumber | undefined, index: number | undefined) => DataView | undefined;
|
|
24
|
+
}
|
|
25
|
+
export interface ISeriesConstructor extends IModelConstructor {
|
|
26
|
+
readonly type: string;
|
|
27
|
+
mark?: SeriesMarkMap;
|
|
28
|
+
new (spec: any, options: ISeriesOption): ISeries;
|
|
29
|
+
}
|
|
30
|
+
export interface ISeriesInitOption {
|
|
31
|
+
}
|
|
32
|
+
export interface ISeriesUpdateDataOption {
|
|
33
|
+
}
|
|
34
|
+
export interface ISeriesStackDataNode {
|
|
35
|
+
nodes: {
|
|
36
|
+
[key: string]: ISeriesStackDataMeta;
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export interface ISeriesStackDataLeaf {
|
|
40
|
+
values: any[];
|
|
41
|
+
total?: number;
|
|
42
|
+
}
|
|
43
|
+
export type ISeriesStackDataMeta = ISeriesStackDataNode | ISeriesStackDataLeaf;
|
|
44
|
+
export type ISeriesStackData = ISeriesStackDataNode;
|
|
45
|
+
export type ISeriesStyle = ISeriesStyleItem[];
|
|
46
|
+
export type ISeriesStyleItem = {
|
|
47
|
+
name: string;
|
|
48
|
+
} & {
|
|
49
|
+
[markName: string]: {
|
|
50
|
+
style?: any;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
export interface ISeriesMarkInitOption {
|
|
54
|
+
themeSpec?: any;
|
|
55
|
+
markSpec?: any;
|
|
56
|
+
skipBeforeLayouted?: boolean;
|
|
57
|
+
parent?: IGroupMark | false;
|
|
58
|
+
isSeriesMark?: boolean;
|
|
59
|
+
depend?: IGrammarItem | IGrammarItem[];
|
|
60
|
+
key?: string;
|
|
61
|
+
groupKey?: string;
|
|
62
|
+
morph?: boolean;
|
|
63
|
+
defaultMorphElementKey?: string;
|
|
64
|
+
dataView?: DataView | false;
|
|
65
|
+
dataProductId?: string;
|
|
66
|
+
seriesId?: number;
|
|
67
|
+
progressive?: IMarkProgressiveConfig;
|
|
68
|
+
support3d?: boolean;
|
|
69
|
+
customShape?: (datum: any[], attrs: any, path: ICustomPath2D) => ICustomPath2D;
|
|
70
|
+
stateSort?: (stateA: string, stateB: string) => number;
|
|
71
|
+
componentType?: string;
|
|
72
|
+
}
|
|
73
|
+
export interface ISeriesMarkInfo extends IModelMarkInfo {
|
|
74
|
+
name: SeriesMarkNameEnum | string;
|
|
75
|
+
}
|
|
76
|
+
export type SeriesMarkMap = Partial<Record<SeriesMarkNameEnum, ISeriesMarkInfo>>;
|
|
77
|
+
export interface ISeriesSpecInfo<T extends ISeriesSpec = ISeriesSpec> extends IModelSpecInfo {
|
|
78
|
+
type: string | SeriesTypeEnum;
|
|
79
|
+
spec: T;
|
|
80
|
+
markLabelSpec?: Partial<Record<SeriesMarkNameEnum, TransformedLabelSpec[]>>;
|
|
81
|
+
}
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
import type { PanEventParam, ZoomEventParam } from '../../event/interface';
|
|
2
|
+
import type { IModel } from '../../model/interface';
|
|
3
|
+
import type { DataSet, DataView, ITransformOptions } from '@visactor/vdataset';
|
|
4
|
+
import type { IMark } from '../../mark/interface';
|
|
5
|
+
import type { CoordinateType, IPoint, IPolarPoint } from '../../typings/coordinate';
|
|
6
|
+
import type { IRegion } from '../../region/interface';
|
|
7
|
+
import type { IBaseScale } from '@visactor/vscale';
|
|
8
|
+
import type { IAxisHelper } from '../../component/axis/cartesian/interface';
|
|
9
|
+
import type { IPolarAxisHelper } from '../../component/axis/polar/interface';
|
|
10
|
+
import type { ISeriesSeriesInfo, ISeriesSpecInfo, ISeriesStackData } from './common';
|
|
11
|
+
import type { ISeriesTooltipHelper } from './tooltip-helper';
|
|
12
|
+
import type { IInvalidType, Datum, DirectionType, IGroup, StringOrNumber } from '../../typings';
|
|
13
|
+
import type { ISeriesMarkAttributeContext, StateValueType } from '../../compile/mark';
|
|
14
|
+
import type { StatisticOperations } from '../../data/transforms/dimension-statistics';
|
|
15
|
+
import type { IGroupMark } from '../../mark/group';
|
|
16
|
+
import type { IGeoCoordinateHelper } from '../../component/geo/interface';
|
|
17
|
+
import type { ILabelMark } from '../../mark/label';
|
|
18
|
+
export interface ISeries extends IModel {
|
|
19
|
+
readonly type: string;
|
|
20
|
+
readonly name?: string;
|
|
21
|
+
tooltipHelper: ISeriesTooltipHelper;
|
|
22
|
+
getSpec: () => any;
|
|
23
|
+
readonly coordinate: CoordinateType;
|
|
24
|
+
onLayoutEnd: (ctx: any) => void;
|
|
25
|
+
getRawData: () => DataView | undefined;
|
|
26
|
+
getViewDataFilter: () => DataView | undefined;
|
|
27
|
+
getViewData: () => DataView | undefined;
|
|
28
|
+
getViewDataProductId: () => string | undefined;
|
|
29
|
+
getRawDataStatisticsByField: (field: string, isNumeric?: boolean) => {
|
|
30
|
+
values?: any[];
|
|
31
|
+
min?: number;
|
|
32
|
+
max?: number;
|
|
33
|
+
};
|
|
34
|
+
getViewDataStatistics?: () => DataView | undefined;
|
|
35
|
+
getDataSet?: () => DataSet;
|
|
36
|
+
getFieldAlias: (field: string) => string;
|
|
37
|
+
updateRawData: (d: any) => void;
|
|
38
|
+
setData?: (dv: DataView) => void;
|
|
39
|
+
rawDataUpdate: (d: DataView) => void;
|
|
40
|
+
viewDataUpdate: (d: DataView) => void;
|
|
41
|
+
viewDataStatisticsUpdate: (d: DataView) => void;
|
|
42
|
+
addViewDataFilter: (option: ITransformOptions) => void;
|
|
43
|
+
reFilterViewData: () => void;
|
|
44
|
+
reTransformViewData: () => void;
|
|
45
|
+
fillData: () => void;
|
|
46
|
+
getRegion: () => IRegion;
|
|
47
|
+
initMark: () => void;
|
|
48
|
+
getMarks: () => IMark[];
|
|
49
|
+
getMarksWithoutRoot: () => IMark[];
|
|
50
|
+
getMarkNameMap: () => Record<string, IMark>;
|
|
51
|
+
getMarksInType: (type: string | string[]) => IMark[];
|
|
52
|
+
getMarkInName: (name: string) => IMark | undefined;
|
|
53
|
+
getMarkInId: (id: number) => IMark | undefined;
|
|
54
|
+
getRootMark: () => IGroupMark;
|
|
55
|
+
getActiveMarks: () => IMark[];
|
|
56
|
+
getStackData: () => ISeriesStackData;
|
|
57
|
+
getStack: () => boolean;
|
|
58
|
+
getStackValue: () => StringOrNumber | undefined;
|
|
59
|
+
getPercent: () => boolean;
|
|
60
|
+
getStackOffsetSilhouette: () => boolean;
|
|
61
|
+
getStackValueField: () => string;
|
|
62
|
+
setValueFieldToStack: () => void;
|
|
63
|
+
setValueFieldToPercent: () => void;
|
|
64
|
+
setValueFieldToStackOffsetSilhouette: () => void;
|
|
65
|
+
getStackGroupFields: () => string[];
|
|
66
|
+
getSeriesField: () => string | undefined;
|
|
67
|
+
getSeriesKeys: () => string[];
|
|
68
|
+
getSeriesStyle: (datum: Datum) => ISeriesSeriesInfo['style'];
|
|
69
|
+
getSeriesInfoInField: (field: string) => ISeriesSeriesInfo[];
|
|
70
|
+
getSeriesInfoList: () => ISeriesSeriesInfo[];
|
|
71
|
+
getGroups: () => IGroup | undefined;
|
|
72
|
+
getDimensionField: () => string[];
|
|
73
|
+
getMeasureField: () => string[];
|
|
74
|
+
getStatisticFields: () => {
|
|
75
|
+
key: string;
|
|
76
|
+
operations: StatisticOperations;
|
|
77
|
+
}[];
|
|
78
|
+
setSeriesField: (field: string) => void;
|
|
79
|
+
handleZoom?: (e: ZoomEventParam) => void;
|
|
80
|
+
handlePan?: (e: PanEventParam) => void;
|
|
81
|
+
dataToPosition: (datum: Datum) => IPoint | null;
|
|
82
|
+
dataToPositionX: (datum: Datum) => number | null;
|
|
83
|
+
dataToPositionY: (datum: Datum) => number | null;
|
|
84
|
+
dataToPositionZ?: (datum: Datum) => number | null;
|
|
85
|
+
valueToPosition: (value1: any, value2?: any) => IPoint;
|
|
86
|
+
getColorAttribute: () => {
|
|
87
|
+
scale: IBaseScale;
|
|
88
|
+
field: string;
|
|
89
|
+
};
|
|
90
|
+
getDefaultColorDomain: () => any[];
|
|
91
|
+
getInvalidType: () => IInvalidType;
|
|
92
|
+
getDefaultShapeType: () => string;
|
|
93
|
+
initLabelMarkStyle?: (labelMark: ILabelMark) => void;
|
|
94
|
+
getGroupFields: () => string[];
|
|
95
|
+
getSpecInfo: () => ISeriesSpecInfo;
|
|
96
|
+
getMarkAttributeContext: () => ISeriesMarkAttributeContext;
|
|
97
|
+
}
|
|
98
|
+
export interface ICartesianSeries extends ISeries {
|
|
99
|
+
readonly coordinate: 'cartesian';
|
|
100
|
+
readonly direction: DirectionType;
|
|
101
|
+
scaleX: IBaseScale;
|
|
102
|
+
setScaleX: (s: IBaseScale) => void;
|
|
103
|
+
scaleY: IBaseScale;
|
|
104
|
+
setScaleY: (s: IBaseScale) => void;
|
|
105
|
+
scaleZ?: IBaseScale;
|
|
106
|
+
setScaleZ: (s: IBaseScale) => void;
|
|
107
|
+
fieldX: string[];
|
|
108
|
+
setFieldX: (field: string | string[], level?: number) => void;
|
|
109
|
+
fieldX2: string;
|
|
110
|
+
setFieldX2: (field: string) => void;
|
|
111
|
+
fieldY: string[];
|
|
112
|
+
setFieldY: (field: string | string[], level?: number) => void;
|
|
113
|
+
fieldY2: string;
|
|
114
|
+
setFieldY2: (field: string) => void;
|
|
115
|
+
fieldZ?: string[];
|
|
116
|
+
setFieldZ: (field: string | string[], level?: number) => void;
|
|
117
|
+
positionToData: (p: IPoint) => any | null;
|
|
118
|
+
positionToDataX: (xPos: number) => any | null;
|
|
119
|
+
positionToDataY: (yPos: number) => any | null;
|
|
120
|
+
getXAxisHelper: () => IAxisHelper;
|
|
121
|
+
setXAxisHelper: (h: IAxisHelper) => void;
|
|
122
|
+
getYAxisHelper: () => IAxisHelper;
|
|
123
|
+
setYAxisHelper: (h: IAxisHelper) => void;
|
|
124
|
+
getZAxisHelper: () => IAxisHelper | undefined;
|
|
125
|
+
setZAxisHelper: (h: IAxisHelper) => void;
|
|
126
|
+
dataToPositionX1: (datum: Datum) => number | null;
|
|
127
|
+
dataToPositionY1: (datum: Datum) => number | null;
|
|
128
|
+
valueToPosition: (value1: any, value2: any) => IPoint;
|
|
129
|
+
valueToPositionX: (value: StringOrNumber | StringOrNumber[], datum?: any) => any;
|
|
130
|
+
valueToPositionY: (value: StringOrNumber | StringOrNumber[], datum?: any) => any;
|
|
131
|
+
}
|
|
132
|
+
export interface IPolarSeries extends ISeries {
|
|
133
|
+
readonly coordinate: 'polar';
|
|
134
|
+
outerRadius: number;
|
|
135
|
+
innerRadius: number;
|
|
136
|
+
getRadiusField: () => string[];
|
|
137
|
+
setRadiusField: (field: string | string[], level?: number) => void;
|
|
138
|
+
getAngleField: () => string[];
|
|
139
|
+
setAngleField: (field: string | string[], level?: number) => void;
|
|
140
|
+
radiusScale: IBaseScale;
|
|
141
|
+
setRadiusScale: (s: IBaseScale) => void;
|
|
142
|
+
angleScale: IBaseScale;
|
|
143
|
+
setAngleScale: (s: IBaseScale) => void;
|
|
144
|
+
positionToData: (point: IPolarPoint) => any;
|
|
145
|
+
radiusToData: (radius: number) => any;
|
|
146
|
+
angleToData: (angle: number) => any;
|
|
147
|
+
radiusAxisHelper: IPolarAxisHelper;
|
|
148
|
+
angleAxisHelper: IPolarAxisHelper;
|
|
149
|
+
valueToPosition: (value1: any, value2: any) => IPoint;
|
|
150
|
+
}
|
|
151
|
+
export interface IGeoSeries extends ISeries {
|
|
152
|
+
readonly coordinate: 'geo';
|
|
153
|
+
nameField?: string;
|
|
154
|
+
valueField?: string;
|
|
155
|
+
getMapViewData: () => DataView;
|
|
156
|
+
getNameProperty: () => string;
|
|
157
|
+
dataToPosition: (datum: any) => IPoint | null;
|
|
158
|
+
dataToLatitude: (latValue: any) => number | null;
|
|
159
|
+
dataToLongitude: (lonValue: any) => number | null;
|
|
160
|
+
positionToData: (p: IPoint) => any;
|
|
161
|
+
latitudeToData: (lat: number) => any;
|
|
162
|
+
longitudeToData: (lon: number) => any;
|
|
163
|
+
getCoordinateHelper: () => IGeoCoordinateHelper;
|
|
164
|
+
setCoordinateHelper: (helper: IGeoCoordinateHelper) => void;
|
|
165
|
+
valueToPosition: (value1: any, value2: any) => IPoint;
|
|
166
|
+
getDatumCenter: (datum: any) => [number, number];
|
|
167
|
+
}
|
|
168
|
+
export interface IArcSeries extends IPolarSeries {
|
|
169
|
+
center: (() => IPoint) | IPoint;
|
|
170
|
+
getRadius: (state?: StateValueType) => number;
|
|
171
|
+
getInnerRadius: (state?: StateValueType) => number;
|
|
172
|
+
computeRadius: (r: number, k?: number) => number;
|
|
173
|
+
computeDatumRadius: (datum: any, state?: StateValueType) => number;
|
|
174
|
+
}
|
|
175
|
+
export interface IFunnelSeries extends ISeries {
|
|
176
|
+
getPoints: (datum: any) => IPoint[];
|
|
177
|
+
getCategoryField: () => string;
|
|
178
|
+
valueToPosition: (value: any) => IPoint;
|
|
179
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import type { IWaterfallSeriesTheme } from '../waterfall/interface';
|
|
2
|
+
import type { IBoxPlotSeriesTheme } from '../box-plot/interface';
|
|
3
|
+
import type { IBar3dSeriesTheme, IBarSeriesTheme } from '../bar/interface';
|
|
4
|
+
import type { ILineSeriesTheme } from '../line/interface';
|
|
5
|
+
import type { IScatterSeriesTheme } from '../scatter/interface';
|
|
6
|
+
import type { IAreaSeriesTheme } from '../area/interface';
|
|
7
|
+
import type { IRadarSeriesTheme } from '../radar/interface';
|
|
8
|
+
import type { IPie3dSeriesTheme, IPieSeriesTheme } from '../pie/interface';
|
|
9
|
+
import type { IRoseSeriesTheme } from '../rose/interface';
|
|
10
|
+
import type { IMapSeriesTheme } from '../map/interface';
|
|
11
|
+
import type { ICircularProgressSeriesTheme } from '../progress/circular/interface';
|
|
12
|
+
import type { ILinkSeriesTheme } from '../link/interface';
|
|
13
|
+
import type { IDotSeriesTheme } from '../dot/interface';
|
|
14
|
+
import type { IWordCloud3dSeriesTheme, IWordCloudSeriesTheme } from '../word-cloud/interface';
|
|
15
|
+
import type { IFunnel3dSeriesTheme, IFunnelSeriesTheme } from '../funnel/interface';
|
|
16
|
+
import type { ILinearProgressSeriesTheme } from '../progress/linear/interface';
|
|
17
|
+
import type { IGaugePointerSeriesTheme, IGaugeSeriesTheme } from '../gauge';
|
|
18
|
+
import type { ISankeySeriesTheme } from '../sankey/interface';
|
|
19
|
+
import type { ITreemapSeriesTheme } from '../treemap/interface';
|
|
20
|
+
import type { ISunburstSeriesTheme } from '../sunburst/interface';
|
|
21
|
+
import type { IRangeColumnSeriesTheme } from '../range-column/interface';
|
|
22
|
+
import type { ICirclePackingSeriesTheme } from '../circle-packing/interface';
|
|
23
|
+
import type { IHeatmapSeriesTheme } from '../heatmap/interface';
|
|
24
|
+
import type { ICorrelationSeriesTheme } from '../correlation/interface';
|
|
25
|
+
import { SeriesTypeEnum } from './type';
|
|
26
|
+
import type { SeriesMarkMap } from './common';
|
|
27
|
+
import type { IRangeAreaSeriesTheme } from '../range-area/interface';
|
|
28
|
+
import type { ILiquidSeriesTheme } from '../liquid/interface';
|
|
29
|
+
export interface ISeriesTheme {
|
|
30
|
+
[SeriesTypeEnum.bar]?: IBarSeriesTheme;
|
|
31
|
+
[SeriesTypeForThemeEnum.bar_vertical]?: IBarSeriesTheme;
|
|
32
|
+
[SeriesTypeForThemeEnum.bar_horizontal]?: IBarSeriesTheme;
|
|
33
|
+
[SeriesTypeEnum.bar3d]?: IBar3dSeriesTheme;
|
|
34
|
+
[SeriesTypeForThemeEnum.bar3d_vertical]?: IBar3dSeriesTheme;
|
|
35
|
+
[SeriesTypeForThemeEnum.bar3d_horizontal]?: IBar3dSeriesTheme;
|
|
36
|
+
[SeriesTypeEnum.line]?: ILineSeriesTheme;
|
|
37
|
+
[SeriesTypeForThemeEnum.line_vertical]?: ILineSeriesTheme;
|
|
38
|
+
[SeriesTypeForThemeEnum.line_horizontal]?: ILineSeriesTheme;
|
|
39
|
+
[SeriesTypeEnum.area]?: IAreaSeriesTheme;
|
|
40
|
+
[SeriesTypeForThemeEnum.area_vertical]?: IAreaSeriesTheme;
|
|
41
|
+
[SeriesTypeForThemeEnum.area_horizontal]?: IAreaSeriesTheme;
|
|
42
|
+
[SeriesTypeEnum.rangeColumn]?: IRangeColumnSeriesTheme;
|
|
43
|
+
[SeriesTypeForThemeEnum.rangeColumn_vertical]?: IRangeColumnSeriesTheme;
|
|
44
|
+
[SeriesTypeForThemeEnum.rangeColumn_horizontal]?: IRangeColumnSeriesTheme;
|
|
45
|
+
[SeriesTypeEnum.rangeArea]?: IRangeAreaSeriesTheme;
|
|
46
|
+
[SeriesTypeForThemeEnum.rangeArea_vertical]?: IRangeAreaSeriesTheme;
|
|
47
|
+
[SeriesTypeForThemeEnum.rangeArea_horizontal]?: IRangeAreaSeriesTheme;
|
|
48
|
+
[SeriesTypeEnum.linearProgress]?: ILinearProgressSeriesTheme;
|
|
49
|
+
[SeriesTypeForThemeEnum.linearProgress_vertical]?: ILinearProgressSeriesTheme;
|
|
50
|
+
[SeriesTypeForThemeEnum.linearProgress_horizontal]?: ILinearProgressSeriesTheme;
|
|
51
|
+
[SeriesTypeEnum.boxPlot]?: IBoxPlotSeriesTheme;
|
|
52
|
+
[SeriesTypeForThemeEnum.boxPlot_vertical]?: IBoxPlotSeriesTheme;
|
|
53
|
+
[SeriesTypeForThemeEnum.boxPlot_horizontal]?: IBoxPlotSeriesTheme;
|
|
54
|
+
[SeriesTypeEnum.sankey]?: ISankeySeriesTheme;
|
|
55
|
+
[SeriesTypeForThemeEnum.sankey_vertical]?: ISankeySeriesTheme;
|
|
56
|
+
[SeriesTypeForThemeEnum.sankey_horizontal]?: ISankeySeriesTheme;
|
|
57
|
+
[SeriesTypeEnum.waterfall]?: IWaterfallSeriesTheme;
|
|
58
|
+
[SeriesTypeForThemeEnum.waterfall_vertical]?: IWaterfallSeriesTheme;
|
|
59
|
+
[SeriesTypeForThemeEnum.waterfall_horizontal]?: IWaterfallSeriesTheme;
|
|
60
|
+
[SeriesTypeEnum.scatter]?: IScatterSeriesTheme;
|
|
61
|
+
[SeriesTypeEnum.radar]?: IRadarSeriesTheme;
|
|
62
|
+
[SeriesTypeEnum.pie]?: IPieSeriesTheme;
|
|
63
|
+
[SeriesTypeEnum.pie3d]?: IPie3dSeriesTheme;
|
|
64
|
+
[SeriesTypeEnum.rose]?: IRoseSeriesTheme;
|
|
65
|
+
[SeriesTypeEnum.map]?: IMapSeriesTheme;
|
|
66
|
+
[SeriesTypeEnum.circularProgress]?: ICircularProgressSeriesTheme;
|
|
67
|
+
[SeriesTypeEnum.link]?: ILinkSeriesTheme;
|
|
68
|
+
[SeriesTypeEnum.dot]?: IDotSeriesTheme;
|
|
69
|
+
[SeriesTypeEnum.wordCloud]?: IWordCloudSeriesTheme;
|
|
70
|
+
[SeriesTypeEnum.wordCloud3d]?: IWordCloud3dSeriesTheme;
|
|
71
|
+
[SeriesTypeEnum.funnel]?: IFunnelSeriesTheme;
|
|
72
|
+
[SeriesTypeEnum.funnel3d]?: IFunnel3dSeriesTheme;
|
|
73
|
+
[SeriesTypeEnum.treemap]?: ITreemapSeriesTheme;
|
|
74
|
+
[SeriesTypeEnum.gauge]?: IGaugeSeriesTheme;
|
|
75
|
+
[SeriesTypeEnum.gaugePointer]?: IGaugePointerSeriesTheme;
|
|
76
|
+
[SeriesTypeEnum.sunburst]?: ISunburstSeriesTheme;
|
|
77
|
+
[SeriesTypeEnum.circlePacking]?: ICirclePackingSeriesTheme;
|
|
78
|
+
[SeriesTypeEnum.heatmap]?: IHeatmapSeriesTheme;
|
|
79
|
+
[SeriesTypeEnum.correlation]?: ICorrelationSeriesTheme;
|
|
80
|
+
[SeriesTypeEnum.liquid]?: ILiquidSeriesTheme;
|
|
81
|
+
}
|
|
82
|
+
export declare enum SeriesTypeForThemeEnum {
|
|
83
|
+
area_horizontal = "area_horizontal",
|
|
84
|
+
area_vertical = "area_vertical",
|
|
85
|
+
line_horizontal = "line_horizontal",
|
|
86
|
+
line_vertical = "line_vertical",
|
|
87
|
+
bar_horizontal = "bar_horizontal",
|
|
88
|
+
bar_vertical = "bar_vertical",
|
|
89
|
+
bar3d_horizontal = "bar3d_horizontal",
|
|
90
|
+
bar3d_vertical = "bar3d_vertical",
|
|
91
|
+
rangeColumn_horizontal = "rangeColumn_horizontal",
|
|
92
|
+
rangeColumn_vertical = "rangeColumn_vertical",
|
|
93
|
+
rangeColumn3d_horizontal = "rangeColumn3d_horizontal",
|
|
94
|
+
rangeColumn3d_vertical = "rangeColumn3d_vertical",
|
|
95
|
+
rangeArea_horizontal = "rangeArea_horizontal",
|
|
96
|
+
rangeArea_vertical = "rangeArea_vertical",
|
|
97
|
+
linearProgress_horizontal = "linearProgress_horizontal",
|
|
98
|
+
linearProgress_vertical = "linearProgress_vertical",
|
|
99
|
+
boxPlot_horizontal = "boxPlot_horizontal",
|
|
100
|
+
boxPlot_vertical = "boxPlot_vertical",
|
|
101
|
+
sankey_horizontal = "sankey_horizontal",
|
|
102
|
+
sankey_vertical = "sankey_vertical",
|
|
103
|
+
waterfall_horizontal = "waterfall_horizontal",
|
|
104
|
+
waterfall_vertical = "waterfall_vertical"
|
|
105
|
+
}
|
|
106
|
+
export declare const seriesMarkInfoMap: Record<SeriesTypeEnum, SeriesMarkMap>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ITooltipPattern, ShapeType, TooltipActiveType, TooltipContentCallback } from '../../typings';
|
|
2
|
+
import type { ISeries } from './series';
|
|
3
|
+
import type { ITooltipHelper } from '../../model/tooltip-helper';
|
|
4
|
+
import type { IDimensionInfo } from '../../event/events/dimension/interface';
|
|
5
|
+
export interface ISeriesTooltipHelper extends ITooltipHelper {
|
|
6
|
+
series: ISeries;
|
|
7
|
+
getDefaultTooltipPattern: (activeType: TooltipActiveType, dimensionInfo?: IDimensionInfo[]) => ITooltipPattern | null;
|
|
8
|
+
contentKeyCallback: TooltipContentCallback<string>;
|
|
9
|
+
contentValueCallback: TooltipContentCallback<string>;
|
|
10
|
+
contentShapeTypeCallback: TooltipContentCallback<ShapeType>;
|
|
11
|
+
contentShapeColorCallback: TooltipContentCallback<string>;
|
|
12
|
+
titleValueCallback: TooltipContentCallback<string>;
|
|
13
|
+
}
|