This is an automated email from the ASF dual-hosted git repository. shenyi pushed a commit to branch enhance-morph in repository https://gitbox.apache.org/repos/asf/echarts.git
commit 4316b56b5739c5a2870b81f8840956395ced2c67 Merge: e0be0f7 3dbb082 Author: pissang <[email protected]> AuthorDate: Mon Jun 7 11:19:51 2021 +0800 Merge branch 'master' into enhance-morph .github/pull_request_template.md | 11 +- .github/workflows/ci.yml | 45 + .github/workflows/nightly.yml | 34 + .github/workflows/nodejs.yml | 48 - .github/workflows/source-release.yml | 135 + .npmignore | 2 + LICENSE | 9 +- benchmark/dep/bootstrap/bootstrap.min.css | 6 - benchmark/dep/bootstrap/bootstrap.min.js | 7 - benchmark/dep/filesaver/FileSaver.min.js | 7 - benchmark/dep/jquery/jquery-2.2.4.js | 9814 ---- benchmark/dep/lodash/lodash.js | 16591 ------ benchmark/dep/vue/vue.min.js | 9 - benchmark/index.html | 125 - benchmark/src/app.js | 121 - benchmark/src/testCase.js | 74 - benchmark/src/testFactory.js | 112 - benchmark/src/testManager.js | 162 - build/.jshintrc | 77 - build/addHeader.js | 8 +- build/dev-fast.js | 69 +- build/pre-publish.js | 24 +- build/prepareNightly.js | 62 + build/source-release/prepareReleaseMaterials.js | 155 + build/source-release/template/announce-release.tpl | 26 + build/source-release/template/vote-release.tpl | 40 + dist/echarts.common.js | 14542 ++++- dist/echarts.common.js.map | 2 +- dist/echarts.common.min.js | 4 +- dist/echarts.esm.js | 53511 ++++++++++++------- dist/echarts.esm.js.map | 2 +- dist/echarts.esm.min.js | 4 +- dist/echarts.js | 53511 ++++++++++++------- dist/echarts.js.map | 2 +- dist/echarts.min.js | 4 +- dist/echarts.simple.js | 10543 +++- dist/echarts.simple.js.map | 2 +- dist/echarts.simple.min.js | 4 +- dist/extension/bmap.js | 67 +- dist/extension/bmap.js.map | 2 +- dist/extension/dataTool.js | 68 +- dist/extension/dataTool.js.map | 2 +- i18n/langCS-obj.js | 172 + i18n/langCS.js | 168 + i18n/langFR-obj.js | 47 +- i18n/langFR.js | 47 +- package-lock.json | 1813 +- package.json | 24 +- src/chart/bar/BarView.ts | 13 +- src/chart/bar/install.ts | 8 - src/chart/boxplot/boxplotVisual.ts | 3 - src/chart/candlestick/candlestickVisual.ts | 6 +- src/chart/effectScatter/EffectScatterSeries.ts | 2 + src/chart/effectScatter/EffectScatterView.ts | 8 +- src/chart/funnel/FunnelSeries.ts | 2 - src/chart/funnel/FunnelView.ts | 3 +- src/chart/gauge/GaugeView.ts | 24 +- src/chart/graph/GraphSeries.ts | 5 +- src/chart/graph/GraphView.ts | 4 +- src/chart/helper/EffectSymbol.ts | 14 +- src/chart/helper/Line.ts | 33 +- src/chart/helper/Symbol.ts | 21 +- src/chart/helper/SymbolDraw.ts | 14 +- src/chart/line/LineSeries.ts | 58 +- src/chart/line/LineView.ts | 106 +- src/chart/line/install.ts | 17 +- src/chart/line/lineAnimationDiff.ts | 29 +- src/chart/map/MapSeries.ts | 34 +- src/chart/map/MapView.ts | 16 +- src/chart/map/install.ts | 5 +- src/chart/map/mapSymbolLayout.ts | 6 +- src/chart/pie/PieSeries.ts | 2 +- src/chart/pie/PieView.ts | 37 +- src/chart/pie/labelLayout.ts | 18 +- src/chart/radar/RadarSeries.ts | 3 +- src/chart/sankey/SankeySeries.ts | 12 +- src/chart/sankey/SankeyView.ts | 12 +- src/chart/sunburst/SunburstPiece.ts | 10 +- src/chart/tree/TreeSeries.ts | 25 +- src/chart/tree/TreeView.ts | 4 +- src/chart/treemap/Breadcrumb.ts | 3 +- src/chart/treemap/TreemapSeries.ts | 2 +- src/chart/treemap/TreemapView.ts | 62 +- src/component/axis/AxisBuilder.ts | 34 +- src/component/axis/CartesianAxisView.ts | 3 +- src/component/axis/SingleAxisView.ts | 1 - src/component/axisPointer/CartesianAxisPointer.ts | 3 +- src/component/axisPointer/PolarAxisPointer.ts | 6 +- src/component/axisPointer/SingleAxisPointer.ts | 3 +- src/component/brush/BrushModel.ts | 5 + src/component/calendar/CalendarView.ts | 2 +- src/component/dataZoom/AxisProxy.ts | 4 +- src/component/dataZoom/DataZoomModel.ts | 8 +- src/component/dataZoom/SliderZoomView.ts | 12 +- src/component/geo/GeoView.ts | 17 +- src/component/geo/install.ts | 16 +- src/component/graphic/install.ts | 17 +- src/component/helper/BrushTargetManager.ts | 25 +- src/component/helper/MapDraw.ts | 769 +- src/component/legend/LegendModel.ts | 139 +- src/component/legend/LegendView.ts | 356 +- src/component/marker/MarkAreaView.ts | 29 +- src/component/marker/MarkLineModel.ts | 11 +- src/component/marker/MarkLineView.ts | 36 +- src/component/marker/MarkerView.ts | 7 +- .../component/marker/checkMarkerInSeries.ts | 38 +- src/component/marker/installMarkArea.ts | 7 +- src/component/marker/installMarkLine.ts | 7 +- src/component/marker/installMarkPoint.ts | 7 +- src/component/radar/install.ts | 16 +- src/component/timeline/SliderTimelineModel.ts | 4 +- src/component/timeline/SliderTimelineView.ts | 11 +- src/component/toolbox/ToolboxModel.ts | 3 +- src/component/toolbox/ToolboxView.ts | 52 +- src/component/toolbox/feature/DataView.ts | 2 + src/component/toolbox/feature/DataZoom.ts | 32 +- src/component/toolbox/feature/MagicType.ts | 9 +- src/component/toolbox/feature/SaveAsImage.ts | 4 +- src/component/tooltip/TooltipHTMLContent.ts | 166 +- src/component/tooltip/TooltipModel.ts | 2 +- src/component/tooltip/TooltipView.ts | 241 +- src/component/tooltip/helper.ts | 44 + src/component/visualMap/PiecewiseModel.ts | 7 + src/component/visualMap/VisualMapModel.ts | 15 +- src/component/visualMap/VisualMapView.ts | 4 - src/coord/CoordinateSystem.ts | 6 +- src/coord/View.ts | 76 +- src/coord/calendar/Calendar.ts | 1 - src/coord/cartesian/Cartesian2D.ts | 14 +- src/coord/geo/Geo.ts | 100 +- src/coord/geo/GeoJSONResource.ts | 171 + src/coord/geo/GeoModel.ts | 56 +- src/coord/geo/GeoSVGResource.ts | 373 + src/coord/geo/Region.ts | 112 +- src/coord/geo/fix/diaoyuIsland.ts | 6 +- src/coord/geo/fix/geoCoord.ts | 16 +- src/coord/geo/fix/nanhai.ts | 16 +- src/coord/geo/fix/textCoord.ts | 10 +- src/coord/geo/geoCreator.ts | 37 +- src/coord/geo/geoJSONLoader.ts | 99 - src/coord/geo/geoSVGLoader.ts | 153 - src/coord/geo/geoSourceManager.ts | 217 +- src/coord/geo/geoTypes.ts | 25 + src/coord/geo/mapDataStorage.ts | 158 - src/coord/geo/parseGeoJson.ts | 8 +- src/coord/radar/Radar.ts | 3 +- src/core/echarts.ts | 292 +- src/data/List.ts | 8 +- src/data/OrdinalMeta.ts | 2 +- src/data/Tree.ts | 3 +- src/data/helper/sourceHelper.ts | 5 +- src/echarts.all.ts | 2 +- src/echarts.ts | 2 +- src/export/all.ts | 2 +- src/export/core.ts | 12 +- src/export/option.ts | 64 +- src/i18n/langCS.ts | 142 + src/i18n/langEN.ts | 4 +- src/i18n/langFR.ts | 48 +- src/i18n/langSI.ts | 142 + src/label/LabelManager.ts | 9 + src/label/labelStyle.ts | 4 +- src/layout/barGrid.ts | 2 +- src/loading/default.ts | 4 +- src/model/Global.ts | 99 +- src/model/Series.ts | 14 +- src/model/mixin/lineStyle.ts | 2 +- src/model/mixin/palette.ts | 1 - src/processor/dataStack.ts | 6 +- src/scale/Interval.ts | 2 +- src/scale/Log.ts | 3 +- src/scale/helper.ts | 2 +- src/util/ECEventProcessor.ts | 4 +- src/util/clazz.ts | 2 +- src/util/component.ts | 4 +- src/util/decal.ts | 14 +- src/util/format.ts | 2 +- src/util/graphic.ts | 57 +- src/util/innerStore.ts | 21 +- src/util/model.ts | 78 +- src/util/number.ts | 98 +- src/util/states.ts | 186 +- src/util/styleCompat.ts | 2 +- src/util/symbol.ts | 30 +- src/util/types.ts | 67 +- src/view/Chart.ts | 6 +- src/view/Component.ts | 22 +- src/visual/commonVisualTypes.ts | 8 +- src/visual/style.ts | 16 +- src/visual/symbol.ts | 29 +- test/allZero.html | 11 +- test/animation-additive.html | 2 +- test/appendData.html | 2 +- test/area-large.html | 22 +- test/area-smooth.html | 3 +- test/area-stack.html | 2 +- test/area2.html | 12 +- test/areaLineUpdate.html | 27 +- test/aria-line-bar.html | 26 +- test/aria-pie.html | 26 +- test/axes.html | 11 +- test/axis-arrow.html | 2 +- test/axis-boundaryGap.html | 2 +- test/axis-containLabel.html | 2 +- test/axis-containLabel2.html | 2 +- test/axis-filter-extent.html | 3 +- test/axis-filter-extent2.html | 158 + test/axis-interval.html | 4 +- test/axis-interval2.html | 2 +- test/axis-lastLabel.html | 12 +- test/axis-minorTick.html | 2 +- test/axis-multiple.html | 2 +- test/axis-name.html | 9 +- test/axis-splitArea.html | 2 +- test/axis-style.html | 2 +- test/axis.html | 11 +- test/axisLabel.html | 15 +- test/axisPosition.html | 42 +- test/bar-background.html | 42 +- test/bar-label-rotation.html | 10 +- test/bar-large.html | 2 +- test/bar-log.html | 2 +- test/bar-others.html | 5 +- test/bar-overflow-time-plot.html | 2 +- test/bar-polar-basic-radial.html | 9 +- test/bar-polar-basic.html | 9 +- test/bar-polar-long-label.html | 9 +- test/bar-polar-multi-series-radial.html | 10 +- test/bar-polar-multi-series.html | 11 +- test/bar-polar-null-data-radial.html | 10 +- test/bar-polar-null-data.html | 10 +- test/bar-polar-real-estate.html | 12 +- test/bar-polar-stack.html | 10 +- test/bar-race.html | 267 +- test/bar-race2.html | 2 +- test/bar-stack.html | 2 +- test/bar-start.html | 2 +- test/bar-stream-large.html | 2 +- test/bar-stream-large1.html | 2 +- test/bar-t.html | 27 +- test/bar-width.html | 2 +- test/bar.html | 25 +- test/bar2.html | 31 +- test/bar3.html | 14 +- test/bmap-mapOptions.html | 2 +- test/bmap.html | 6 +- test/bmap2.html | 2 +- test/boxplot-multi.html | 2 +- test/boxplot.html | 4 +- test/brush.html | 671 +- test/brush2.html | 168 +- test/brush3.html | 38 +- test/build/mktest-tpl.html | 12 +- test/calendar-converter.html | 15 +- test/calendar-effectScater.html | 14 +- test/calendar-graph.html | 2 +- test/calendar-heatmap.html | 13 +- test/calendar-month.html | 13 +- test/calendar-more.html | 15 +- test/calendar-orient.html | 13 +- test/calendar-range.html | 13 +- test/calendar-scatter.html | 13 +- test/calendar-simple.html | 13 +- test/calendar-size.html | 13 +- test/calendar-split.html | 13 +- test/calendar-timezone.html | 2 +- test/calendar-type.html | 15 +- test/calendar-vertical.html | 13 +- test/calendar-week.html | 13 +- test/calendar-year.html | 13 +- test/calendar.html | 13 +- test/candlestick-doji.html | 11 +- test/candlestick-empty.html | 15 +- test/candlestick-large.html | 4 +- test/candlestick-large2.html | 2 +- test/candlestick-large3.html | 2 +- test/candlestick.html | 13 +- test/candlestickConnect.html | 13 +- test/canvas-replay.html | 2 +- test/check-build.html | 613 + test/clip-large1.html | 2 +- test/clip.html | 38 +- test/color-mix-aqi.html | 7 +- test/connect-dynamic.html | 7 +- test/connect-manually.html | 9 +- test/connect.html | 7 +- test/connect2.html | 8 +- test/css-transform.html | 2 +- test/custom-bmap-grid.html | 8 +- test/custom-bmap-polygon.html | 6 +- test/custom-children-remove.html | 2 +- test/custom-feature.html | 2 +- test/custom-hexbin.html | 437 +- test/custom-large.html | 194 + test/custom-shape-morphing.html | 475 +- test/custom-shape-morphing2.html | 2 +- test/custom-shape-morphing3.html | 700 +- test/custom-text-content.html | 2 +- test/custom-transition.html | 2 +- test/custom-transition2.html | 2 +- test/custom.html | 123 +- test/data-transform-aggregate.html | 413 +- test/data-transform-ecStat.html | 3 +- test/data-transform.html | 4 +- test/data/map/json/china-new.json | 1 + test/data/svg/Beef_cuts_France.svg | 1430 + test/data/svg/MacOdrum-LV5-floorplan-web.svg | 2694 + test/data/svg/Map_of_Iceland.svg | 7211 +++ .../svg/Sicily_prehellenic_topographic_map.svg | 1303 + test/data/svg/Veins_Medical_Diagram_clip_art.svg | 1012 + test/data/svg/flight-seats.svg | 2997 ++ test/data/svg/ksia-ext-plan-min.svg | 3698 ++ test/data/svg/seatmap-example.svg | 842 + test/dataSelect.html | 2 +- test/dataView.html | 15 +- test/dataZoom-action.html | 3 +- test/dataZoom-axes.html | 18 +- test/dataZoom-axis-type.html | 14 +- test/dataZoom-cartesian-h.html | 12 +- test/dataZoom-cartesian-v.html | 7 +- test/dataZoom-clip.html | 2 +- test/dataZoom-dataShadow.html | 10 +- test/dataZoom-dataShadow0.html | 10 +- test/dataZoom-dataShadow1.html | 10 +- test/dataZoom-dataShadow2.html | 10 +- test/dataZoom-dynamic.html | 17 +- test/dataZoom-extreme.html | 2 +- test/dataZoom-feature.html | 2 +- test/dataZoom-geo.html | 13 +- test/dataZoom-rainfall-connect.html | 12 +- test/dataZoom-rainfall-inside.html | 32 +- test/dataZoom-rainfall.html | 12 +- test/dataZoom-scatter-category.html | 8 +- test/dataZoom-scatter-hv-polar.html | 6 +- test/dataZoom-scatter-hv.html | 7 +- test/dataZoom-scroll.html | 8 +- test/dataZoom-sync.html | 14 +- test/dataZoom-toolbox.html | 13 +- test/dataZoomHighPrecision.html | 20 +- test/dataset-category.html | 2 +- test/dataset-charts.html | 6 +- test/dataset-guess.html | 2 +- test/dataset-layout.html | 2 +- test/dataset-pivot.html | 164 +- test/decal.html | 2 +- test/diff.html | 9 +- test/drag-out.html | 4 +- test/dynamic-splitNumber.html | 2 +- test/dynamicData.html | 5 +- test/dynamicData2.html | 6 +- test/dynamicData3.html | 16 +- test/ec-event.html | 2 +- test/effectScatter.html | 616 +- test/effectScatter2.html | 2 +- test/encode.html | 24 +- test/finished.html | 98 +- test/force-case.html | 19 +- test/force-edge-ignoreLayout.html | 140 +- test/force-friction.html | 2 +- test/force.html | 2 +- test/force2.html | 110 +- test/force3.html | 2 +- test/funnel.html | 7 +- test/{build/mktest-tpl.html => gauge-case.html} | 65 +- test/gauge-distance.html | 8 +- test/gauge-group-title-detail.html | 2 +- test/gauge-pointer.html | 90 +- test/gauge-progress.html | 3 +- test/gauge-simple.html | 2 +- test/gauge.html | 11 +- test/geo-data-stream.html | 156 +- test/geo-labelFormatter.html | 2 +- test/geo-layout.html | 346 + test/geo-lines.html | 2 +- test/geo-map-features.html | 292 + test/geo-map.html | 336 +- test/geo-random-stream.html | 137 +- test/geo-svg-demo.html | 894 + test/geo-svg.html | 857 + test/geo-update.html | 3 +- test/geoLine.html | 287 +- test/geoScatter.html | 554 +- test/getOption.html | 13 +- test/graph-circular.html | 2 +- test/graph-grid-life.html | 206 +- test/graph-grid.html | 11 +- test/graph-label-rotate.html | 2 +- test/graph-multiple-edges.html | 2 +- test/graph-simple.html | 2 +- test/graph-symbol.html | 8 +- test/graph.html | 273 +- test/graphic-cases.html | 4 +- test/graphic-draggable.html | 2 +- test/graphicOption.html | 41 +- test/graphicRemove.html | 3 +- test/gridSimple.html | 9 +- test/heatmap-gap-bug.html | 12 +- test/heatmap-geo.html | 2 +- test/heatmap-large.html | 9 +- test/heatmap-map.html | 867 +- test/heatmap.html | 8 +- test/homepage3.html | 11 +- test/hoverFocus.html | 2 +- test/hoverFocus2.html | 89 +- test/hoverStyle.html | 98 +- test/hoverStyle2.html | 6 +- test/ie11.html | 18 +- test/ie8.html | 1055 - test/label-animation.html | 2 +- test/label-formatter.html | 2 +- test/label-layout.html | 244 +- test/label-position.html | 18 +- test/lang.html | 2 +- test/largeLine-tooltip.html | 8 +- test/largeLine.html | 8 +- test/largeScatterWithEmpty.html | 2 +- test/lazyUpdate.html | 4 +- test/legend-borderColor.html | 7 +- test/legend-feature.html | 2 +- test/legend-scroll2plain.html | 7 +- test/legend-style.html | 279 + test/legend-visualMapColor.html | 2 +- test/legend.html | 92 +- test/lib/config.js | 127 +- test/lib/esl.js | 1 - test/lib/frameInsight.js | 17 +- test/lib/requireES.js | 369 - test/lib/rollup.browser.js | 10626 ---- test/lib/simpleRequire.js | 270 + test/line-animation.html | 2 +- test/line-boldWhenHover.html | 2 +- test/line-crash.html | 3 +- test/line-endLabel.html | 65 +- test/line-extraneous.html | 274 + test/line-large.html | 2 +- ...scale-integer.html => line-non-continuous.html} | 34 +- test/line-style.html | 3 +- test/line-visual.html | 2 +- test/line.html | 16 +- test/linear-gradient.html | 229 + test/lines-bus.html | 10 +- test/lines-flight.html | 191 +- test/lines-grid.html | 12 +- test/lines-mergeOption.html | 2 +- test/lines-ny-appendData.html | 2 +- test/lines-remove.html | 12 +- test/lines-stream-large.html | 212 +- test/lines-stream-not-large.html | 177 +- test/lines-symbol.html | 159 +- test/lines-track.html | 326 +- test/loading.html | 52 +- test/logScale.html | 10 +- test/map-china.html | 125 + test/map-contour.html | 126 +- test/map-default.html | 121 +- test/map-grid.html | 620 +- test/map-labels.html | 154 +- test/map-locate.html | 2 +- test/map-nameProperty.html | 302 +- test/map-nested.html | 114 +- test/map-parallel.html | 18 +- test/map-province.html | 9 +- test/map.html | 692 +- test/mapWorld.html | 476 +- test/markArea.html | 7 +- test/markLine-subPixel.html | 2 +- test/markLine-symbolRotate.html | 265 +- test/markLine.html | 7 +- test/markPoint.html | 7 +- test/masterPainterColorChoice.html | 107 +- test/media-dataZoom.html | 7 +- test/media-finance.html | 10 +- test/media-pie.html | 6 +- test/min-max-function.html | 2 +- test/mix.html | 7 +- test/mobileBench.html | 6 +- test/multipleGrid.html | 8 +- test/new-tooltip.html | 53 +- test/option-replaceMerge.html | 2 +- test/option-replaceMerge2.html | 2 +- test/parallel-aqi.html | 17 +- test/parallel-feature.html | 2 +- test/parallel-lineStyle.html | 8 +- test/parallel-nutrients.html | 59 +- test/pictorial-repeat.html | 10 +- test/pictorial-single.html | 11 +- test/pictorial-svg.html | 9 +- test/pie-action.html | 3 +- test/pie-alignTo.html | 2 +- test/pie-animation.html | 78 +- test/pie-calculable.html | 7 +- test/pie-clipPath.html | 7 +- test/pie-cornerRadius.html | 7 +- test/pie-dataView.html | 2 +- test/pie-digits.html | 5 +- test/pie-label-extreme.html | 2 +- test/pie-label-mobile.html | 2 +- test/pie-label.html | 77 +- test/pie-richText.html | 8 +- test/pie-visual.html | 21 +- test/pie.html | 7 +- test/pie2.html | 7 +- test/pie3.html | 6 +- test/pieDynamic.html | 6 +- test/polar-rounded.html | 2 +- test/polarLine.html | 14 +- test/polarLine2.html | 6 +- test/polarScatter.html | 5 +- test/punchCard.html | 7 +- test/radar-axis.html | 2 +- test/radar.html | 27 +- test/radar2.html | 6 +- test/radar3.html | 5 +- test/radar4.html | 6 +- test/resize-animation.html | 113 + test/richText-fontsize.html | 2 +- test/roseExtreme.html | 19 +- test/roseType.html | 6 +- test/runTest/Timeline.js | 179 - test/runTest/actions/__meta__.json | 16 +- test/runTest/actions/allZero.json | 2 +- test/runTest/actions/custom-bmap-grid.json | 1 + test/runTest/actions/custom-large.json | 1 + test/runTest/actions/geo-map-features.json | 1 + test/runTest/actions/geo-svg-demo.json | 1 + test/runTest/actions/geo-svg.json | 1 + test/runTest/actions/hoverFocus2.json | 2 +- test/runTest/actions/label-layout.json | 2 +- test/runTest/actions/line-extraneous.json | 1 + test/runTest/actions/pie-animation.json | 2 +- test/runTest/actions/resize-animation.json | 1 + test/runTest/actions/tooltip-axisPointer2.json | 2 +- test/runTest/actions/tooltip-component.json | 1 + test/runTest/blacklist.js | 20 +- test/runTest/cli.js | 310 +- test/runTest/client/client.css | 154 +- test/runTest/client/client.js | 300 +- test/runTest/client/index.html | 324 +- test/runTest/config.js | 1 + test/runTest/genReport.js | 61 +- test/runTest/package.json | 8 + test/runTest/runtime/ActionPlayback.js | 216 + test/runTest/runtime/main.js | 85 +- test/runTest/runtime/timeline.js | 199 + test/runTest/server.js | 187 +- test/runTest/store.js | 210 +- test/runTest/task.js | 72 + test/runTest/util.js | 42 +- test/sample-compare.html | 50 +- test/sankey-depth.html | 2 +- test/sankey-jump.html | 4 +- test/sankey-level.html | 131 +- test/sankey-nodeAlign-left.html | 81 +- test/sankey-nodeAlign-right.html | 82 +- test/sankey-ringed.html | 61 +- test/sankey-vertical-energy.html | 95 +- test/sankey-vertical.html | 2 +- test/sankey.html | 74 +- test/scale-integer.html | 4 +- test/scatter-markline.html | 7 +- test/scatter-random-stream-fix-axis.html | 242 +- test/scatter-random-stream.html | 2 +- test/scatter-single-axis.html | 18 +- test/scatter-stream-large.html | 216 +- test/scatter-stream-not-large.html | 11 +- test/scatter-stream-visual.html | 22 +- test/scatter-weibo.html | 197 +- test/scatter.html | 7 +- test/scatterMatrix.html | 12 +- test/selectedMode.html | 6 +- test/showTip.html | 6 +- test/singleAxisScales.html | 14 +- test/smooth.html | 26 +- test/stackBar-dataZoom.html | 2 +- test/stream-basic.js | 1 + test/stream-basic1.html | 4 +- test/stream-basic2.html | 2 +- test/stream-filter.html | 7 +- test/stream-filter2.html | 2 +- test/sunburst-book.html | 2 +- test/sunburst-canvas.html | 2 +- test/sunburst-drink.html | 2 +- test/sunburst-highlight.html | 2 +- test/sunburst-itemStyle.html | 2 +- test/sunburst-simple.html | 2 +- test/sunburst-visualMap.html | 2 +- test/sunburst.html | 2 +- test/svg-gradient-opacity.html | 2 +- test/svg-test.html | 2 +- test/symbol.html | 6 +- test/symbol2.html | 2 +- test/symbol3.html | 48 +- test/theme.html | 8 +- test/themeRiver.html | 9 +- test/themeRiver2.html | 7 +- test/themeRiver3.html | 9 +- test/timeScale-formatter.html | 8 +- test/timeScale.html | 10 +- test/timeScale2.html | 10 +- test/timeZone.html | 2 +- test/timeline-dynamic-series.html | 2 +- test/timeline-finance.html | 9 +- test/timeline-layout.html | 2 +- test/timeline-life.html | 387 +- test/tmp-base.html | 2 +- test/toolbox-custom.html | 89 + test/toolbox-saveImage-background-svg.html | 2 +- test/toolbox-saveImage-background.html | 9 +- test/toolbox-stack-custom.html | 19 +- test/toolbox-stack.html | 16 +- test/toolbox-textStyle.html | 9 +- test/toolbox-title.html | 2 +- test/toolbox-tooltip.html | 9 +- test/tooltip-action.html | 29 +- test/tooltip-axisPointer.html | 148 +- test/tooltip-axisPointer2.html | 408 +- test/tooltip-cascade.html | 22 +- test/tooltip-component.html | 541 + test/tooltip-domnode.html | 3 +- test/tooltip-event.html | 2 +- test/tooltip-link.html | 11 +- test/tooltip-rich.html | 14 +- test/tooltip-setOption.html | 11 +- test/tooltip-textStyle.html | 8 +- test/tooltip-touch.html | 50 +- test/tooltip-windowResize.html | 16 +- test/tooltip.html | 165 +- test/touch-candlestick.html | 16 +- test/touch-slide.html | 116 +- test/touch-test.html | 8 +- test/tree-addNode.html | 2 +- test/tree-basic.html | 142 +- test/tree-image.html | 91 +- test/tree-image2.html | 82 +- test/tree-legend.html | 14 +- test/tree-orient-right-left.html | 99 +- test/tree-orient-top-bottom.html | 92 +- test/tree-polyline.html | 2 +- test/tree-radial.html | 62 +- test/tree-recurrentRemoveNode.html | 2 +- test/tree-removeNode.html | 2 +- test/tree-roam.html | 66 +- test/tree-setOption-twice.html | 80 + test/tree-vertical.html | 92 +- test/treemap-action.html | 416 + test/treemap-disk.html | 6 +- test/treemap-disk2.html | 6 +- test/treemap-obama.html | 6 +- test/treemap-option.html | 13 +- test/treemap-option2.html | 13 +- test/treemap-setOption-twice.html | 119 + test/treemap-simple.html | 3 +- test/treemap-simple2.html | 2 +- test/treemap-visual.html | 12 +- test/types/basic.ts | 21 +- benchmark/gulpfile.js => test/types/event.ts | 30 +- test/types/importPartial.ts | 19 + test/ut/core/extendExpect.ts | 4 +- test/ut/core/setup.ts | 10 +- test/ut/core/utHelper.ts | 14 +- test/ut/{core/setup.ts => index.d.ts} | 22 +- test/ut/jest.config.js | 4 + test/ut/spec/component/graphic/setOption.test.ts | 6 +- test/ut/spec/component/visualMap/setOption.test.ts | 8 +- test/ut/spec/data/dataTransform.test.ts | 12 +- test/ut/spec/model/Component.test.ts | 235 - test/ut/spec/model/Global.test.ts | 56 +- test/ut/spec/model/componentDependency.test.ts | 240 + test/ut/spec/model/componentMissing.test.ts | 152 + test/ut/spec/model/timelineMediaOptions.test.ts | 44 +- test/ut/spec/scale/interval.test.ts | 10 +- test/ut/spec/series/custom.test.ts | 2 +- test/ut/spec/util/number.test.ts | 481 +- test/ut/tsconfig.json | 12 +- test/visualMap-categories.html | 8 +- test/visualMap-continuous.html | 23 +- test/visualMap-large.html | 188 +- test/visualMap-layout.html | 10 +- test/visualMap-opacity.html | 181 +- test/visualMap-performance1.html | 7 +- test/visualMap-pieces.html | 14 +- test/visualMap-scatter-colorAndSymbol.html | 17 +- test/visualMap-scatter-symbolSize.html | 6 +- test/visualMap-special-case.html | 119 +- test/webkit-dep.html | 10 +- test/worldPopulationBubble.html | 996 +- 686 files changed, 133605 insertions(+), 97562 deletions(-) diff --cc src/core/echarts.ts index 660fea4,c5a2396..beb395d --- a/src/core/echarts.ts +++ b/src/core/echarts.ts @@@ -102,8 -106,10 +106,9 @@@ import { createLocaleObject, SYSTEM_LAN import type {EChartsOption} from '../export/option'; import { findEventDispatcher } from '../util/event'; import decal from '../visual/decal'; -import type {MorphDividingMethod} from 'zrender/src/tool/morphPath'; import CanvasPainter from 'zrender/src/canvas/Painter'; import SVGPainter from 'zrender/src/svg/Painter'; + import geoSourceManager from '../coord/geo/geoSourceManager'; declare let global: any; @@@ -206,7 -212,16 +211,15 @@@ export interface SetOptionTransitionOpt // which might bring about misleading. from?: SetOptionTransitionOptFinder; to: SetOptionTransitionOptFinder; - } - dividingMethod: MorphDividingMethod; + }; + + export interface ResizeOpts { + width?: number | 'auto', // Can be 'auto' (the same as null/undefined) + height?: number | 'auto', // Can be 'auto' (the same as null/undefined) + animation?: AnimationOption + silent?: boolean // by default false. + }; + interface SetOptionTransitionOptFinder extends modelUtil.ModelFinderObject { dimension: DimensionLoose; } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
