You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2021/04/07 08:31:03 UTC

[echarts] branch fix-label-z updated (ab5838eb -> 0fdc8bf)

This is an automated email from the ASF dual-hosted git repository.

shenyi pushed a change to branch fix-label-z
in repository https://gitbox.apache.org/repos/asf/echarts.git.


    from ab5838eb fix(treemap): ensure breadcrumb is on the top
     add c3a4982  fix: remove legacy usage of transform
     add 28f01ef  Merge pull request #14357 from apache/fix-legacy-code
     add 01e2da5  1) fix: markLine `symbolOffset` doesn't work bug - Resolves #9325 - Resolves #14106 - Resolves #4771 2) feat: `markLine.symbolRotate` can be an array to specify symbol rotation at the two endpoints. - Related #12736, #12392 3) feat: add `markLine.symbolKeepAspect` and fix `symbolKeepAspect` doesn't work bug. 4) feat: `symbolOffset` can be a callback function, close #12495.
     add 93b157c  fix(markLine): remove unexpected dev code.
     add 1c1632d  fix(lint): tweak code format.
     add d5b3f71  fix(symbol): fix `symbolOffset` bug in `effectSymbol`.
     add a328e65  fix(markLine): `0` should be considered as a valid value, so use `retrieve2` instead of `||`.
     add 1fb3d89  test(markLine): add test cases for markLine symbolRotate & symbolOffset.
     add a39c4a1  Merge pull request #14375 from apache/fix/markLine-symbol
     add 1e86a5c  test(lines): add extraneous lines test case
     add 41551fa  fix: discard removed line data points
     add d80deef  Merge pull request #13638 from areo/fix-10228
     add d010376  test(line): add test case for line remove animation.
     add 6e8515a  Merge pull request #14552 from apache/add-test-for-line-extraneous
     add 1fecb51  feat(animation): add animaiton configuration in resize
     add ba3e89b  Merge pull request #14553 from apache/resize-animation
     add f28bd48  fix(Calendar): fix day label drifting. close #11508
     add 5231bbd  improve: set margin as minimal one
     add a7fe5a4  Merge pull request #13902 from Nick22nd/fix-11508
     add da7d797  fix(marker): only use maker component when exists on series
     add 4933a8e  fix(debug): enhance error log when component is missing
     add 68f2a55  test: fix ut
     add af9f776  fix(timeline): remove deprecated usage
     add ac49c2b  fix(option): optimize component missing error
     add b8c6add  test: add missing component ut. fix some warnings
     add 4719d54  chore: enable unit test checking in pull request
     add 839ae77  tweak log content when component missing
     add 78a7e00  chore: always run unit test in action
     add d0860d9  fix(marker): fix typo in marker
     add 13d75a3  chore: disable ut in action temporary
     add 09ddced  Merge pull request #14568 from apache/enhance-missing-components-log
     add 68f5c90  fix(label): fix map label won't update it's position when labelLayout is used
     add cc7001d  fix: tweak
     add 6a22cc6  fix: [geo] clean code and add comment and make interface better.
     add e9af050  fix: [geo] (1) refactor of geoJSON & SVG source loader and management. (2) remove the support of "load multiple geoJSON or SVG in one map name". This feature is never documented and published. And this feature have a inherent problem that it's not easy to normalize the unit among the different SVG. After this commit, one map name can only have one geoJSON or one SVG.
     add 6b5a0e5  fix: [geo] (1) label scale implementation change: user afterUpdate rather than / parentScale. (2) some refactor and clean code.
     add ca58174  feature: [geo] support geo svg named elements have the same behavior as regions of geoJSON
     add 30c861c  feature: [geo] (1) "geoselectchanged" event: add param: allSelected: { geoIndex: number, name: string[] }[] (2) geoSVG resource support: + label + emphasis/select/blur state + "geoselectchanged" event (on geo component) + "selectchanged" event (on map series) (3) some refactor to make those happen: + The original `Region` is migrated to `GeoJSONRegion`. And make `Region` as the base class of `GeoJSONRegion` and `GeoSVGRegion`. + Modify the constructor of `Geo`.
     add f2c35fa  fix: [geo] tweak a little.
     add 86522a1  fix: [geo] modified default item color for geoSVG and some tweak.
     add 886d041  Merge branch 'master' into fix/geo-svg
     add 152ab8e  fix: [geo] (1) fix contain point calculation. (2) remove Geo['_nameCoordMap'], instead, calculate center on demand. (3) fix that some API missing nameProperty and geoJSON should cached not only by mapName but also by nameProperty. (4) do not support nameMap in geoSVG until some real requirements come. (5) svg line polyline use 'region.lineStyle' rather than 'region.itemStyle' (6) svg text tspan image are enabled to trigger tooltip and user event (but not supported to cha [...]
     add 426f371  Merge branch 'master' into fix/geo-svg
     add c35a522  fix: [tooltip] (1) add missing test:visual (2) fix tooltip component default position: should apply `position` on option firstly.
     add c2d7873  fix: [blur] make API trigger emphasis blur correct (should leave blur firstly for other series).
     add 9c2cb8e  fix: tweak the last commit.
     add b0d4a35  feature: [geo] (1) Support component focus blur. The option `emphasis.focus` can be specified to enable this feature. `emphasis.focus` only supports the value `'self'`. The option `emphasis.focusScope` is not supported in component. That is, the focus scope can be only a single component itself. All of the elements in this component will be blurred. Added `Component['focusBlurEnabled']` to enable component blur. (2) Support component hover link when highlight with a give [...]
     add 8235095  featrue: [geo] (1) support name on <g>. (2) some refactor.
     add fc311a0  fix: geoJSON focus-blur
     add 4f47a93  fix: param validation: throw error -> console.error.
     add ad3d433  fix: [geo] fix label z on hover and simplify label code.
     add dfb58ad  fix: label should only apply the translate of this host el.
     add d8ebb5f  fix: [geo] svg fix converter and add test case.
     add fc4ca57  fix: [geo svg] fix viewBox and add test cases.
     add 43e99ef  fix: [geo svg] add test files to echarts folder.
     add 31c7787  fix: [geo svg] make test case better.
     add d56c496  fix(gauge) #14131 Pointer can not display when icon is image
     add 397a253  Merge branch 'master' into fix-14131
     add a4aad8c  Pointer can not display when icon is image
     add bf14323  gauge has decal & the symbolStyle will not be reused
     add 1a1d7c9  pointer don't have scale
     add 4e82112  Merge pull request #14165 from apache/fix-14131
     add 995637a  fix(line): ensure lineWidth is a number before addition in bolder logic, resolves #14591.
     add bfa1f26  Merge pull request #14593 from apache/fix-line-width
     add f72c9e2  Feat(effectScatter): add clip for effectScatter
     add 27c0908  Merge pull request #14574 from susiwen8/effectScatter-clip
     add cd523cd  fix(graph): no symbol when offset is not defined
     add 1320c28  Merge pull request #14600 from apache/fix-symbol
     add ca83c55  Merge branch 'master' into fix/geo-svg
     add 76625ba  test: [geo svg] add visual test.
     add 36dcf1f  test: [geo svg] add test case.
     add b059e22  Merge pull request #14571 from apache/fix/geo-svg
     add dc8f5b5  Merge branch 'master' into fix-map-label
     add f12cb62  fix(map): fix map label not display caused by merge
     add f0eb7ae  Merge pull request #14578 from apache/fix-map-label
     add e7f431a  WIP(legend): merge #12444 and current master
     add 1c93de6  feat(legend): line series default legend and customed style
     add 402f8f5  WIP(legend): reserve emptyCircle
     add bf2529e  WIP(legend): use default style in series
     add 39d4e53  WIP(legend): refactor and use fixed line width
     add 7955fd8  WIP(legend): default symbolSize as 80% itemHeight while it can also inherit
     add 3646296  WIP(legend): style when series is not selected
     add a654399  test(legend): update test cases
     add 635d986  Merge branch 'master' into fix-legend
     add aa7f802  WIP(legend): fix symbolSize
     add ef532ba  WIP(legend): fix inactive legend style
     add e95638a  WIP(legend): add more style attributes
     add 171571b  fix(legend): fix shadow default value
     add dc2282f  WIP(legend): legend icon in series policy
     add 5b10d82  WIP(legend): move default legend icon logic from series to legend
     add c06dfcf  WIP(legend): fix legendSymbol
     add 04ce156  fix(legend): fix bugs of legend style
     add 98e87ee  fix(legend): fix line and radar
     add b083c1e  fix: empty symbol lineWidth 2
     add 64f2cb6  fix(legend): fix radar legend
     add 74eec89  Merge branch 'master' into fix-legend
     add c125b4a  refactor: simplify type definition
     add da6d040  fix(legend): fix line series icon
     add 3966af8  refactor(legend): render legend in legendView when icon is defined
     add 304685d  Merge pull request #14497 from apache/fix-legend
     add 71ec194  fix(visualMap): use itemSymbol as default symbol type and fix #5719
     add fffa912  fix(visualMap): no need to filter square
     add c9e7001  refactor(visualMap): do not make assumption of child class in parent
     add a95ff6a  fix(visualMap): remove unnecessary logic
     add 98ee07d  Merge pull request #14243 from apache/feat-visualMap-itemSymbol
     add 0fdc8bf  Merge branch 'master' into fix-label-z

No new revisions were added by this update.

Summary of changes:
 .github/workflows/nodejs.yml                       |   16 +-
 src/chart/bar/install.ts                           |    8 -
 src/chart/boxplot/boxplotVisual.ts                 |    3 -
 src/chart/candlestick/candlestickVisual.ts         |    2 -
 src/chart/effectScatter/EffectScatterSeries.ts     |    2 +
 src/chart/effectScatter/EffectScatterView.ts       |    8 +-
 src/chart/gauge/GaugeView.ts                       |   24 +-
 src/chart/graph/GraphView.ts                       |    4 +-
 src/chart/helper/EffectSymbol.ts                   |   13 +-
 src/chart/helper/Line.ts                           |   33 +-
 src/chart/helper/Symbol.ts                         |   17 +-
 src/chart/helper/SymbolDraw.ts                     |   14 +-
 src/chart/line/LineSeries.ts                       |   51 +-
 src/chart/line/LineView.ts                         |    2 +-
 src/chart/line/install.ts                          |   16 +
 src/chart/line/lineAnimationDiff.ts                |   27 +-
 src/chart/map/MapSeries.ts                         |   34 +-
 src/chart/map/mapSymbolLayout.ts                   |    4 +-
 src/chart/radar/RadarSeries.ts                     |    3 +-
 src/chart/sunburst/SunburstPiece.ts                |   10 +-
 src/chart/tree/TreeSeries.ts                       |    2 +-
 src/chart/treemap/TreemapView.ts                   |   11 +-
 src/component/calendar/CalendarView.ts             |    2 +-
 src/component/geo/GeoView.ts                       |   17 +-
 src/component/geo/install.ts                       |   16 +-
 src/component/helper/MapDraw.ts                    |  753 +-
 src/component/legend/LegendModel.ts                |  150 +-
 src/component/legend/LegendView.ts                 |  297 +-
 src/component/marker/MarkLineModel.ts              |    7 +-
 src/component/marker/MarkLineView.ts               |   24 +-
 .../marker/checkMarkerInSeries.ts}                 |   24 +-
 src/component/marker/installMarkArea.ts            |    7 +-
 src/component/marker/installMarkLine.ts            |    7 +-
 src/component/marker/installMarkPoint.ts           |    7 +-
 src/component/radar/install.ts                     |   14 +
 src/component/timeline/SliderTimelineView.ts       |   11 +-
 src/component/tooltip/TooltipView.ts               |   99 +-
 src/component/visualMap/PiecewiseModel.ts          |    7 +
 src/component/visualMap/VisualMapModel.ts          |   15 +-
 src/component/visualMap/VisualMapView.ts           |    4 -
 src/coord/View.ts                                  |   68 +-
 src/coord/geo/Geo.ts                               |  100 +-
 src/coord/geo/GeoJSONResource.ts                   |  171 +
 src/coord/geo/GeoModel.ts                          |   58 +-
 src/coord/geo/GeoSVGResource.ts                    |  367 +
 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                        |    6 +-
 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/core/echarts.ts                                |  131 +-
 src/data/List.ts                                   |    6 +-
 src/data/OrdinalMeta.ts                            |    2 +-
 src/echarts.ts                                     |    2 +-
 src/label/LabelManager.ts                          |    9 +
 src/model/Global.ts                                |   91 +-
 src/model/Series.ts                                |    9 +
 src/model/mixin/lineStyle.ts                       |    2 +-
 src/util/clazz.ts                                  |    2 +-
 src/util/component.ts                              |    4 +-
 src/util/graphic.ts                                |    7 +-
 src/util/innerStore.ts                             |   18 +-
 src/util/states.ts                                 |  186 +-
 src/util/symbol.ts                                 |   24 +-
 src/util/types.ts                                  |    8 +-
 src/view/Component.ts                              |   18 +-
 src/visual/commonVisualTypes.ts                    |    8 +-
 src/visual/style.ts                                |   16 +-
 src/visual/symbol.ts                               |   23 +-
 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/gauge-pointer.html                            |   82 +
 test/geo-layout.html                               |  346 +
 test/geo-svg-demo.html                             |  909 +++
 test/geo-svg.html                                  |  873 +++
 test/hoverFocus2.html                              |   88 +
 test/label-layout.html                             |   25 +
 test/legend-style.html                             |  215 +
 test/line-extraneous.html                          |  274 +
 test/line-style.html                               |    1 +
 test/markLine-symbolRotate.html                    |    8 +-
 test/radar.html                                    |   22 +-
 test/resize-animation.html                         |  117 +
 test/runTest/actions/__meta__.json                 |    8 +-
 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/resize-animation.json         |    1 +
 test/runTest/actions/tooltip-component.json        |    1 +
 test/symbol3.html                                  |   46 +-
 test/tooltip-component.html                        |   36 +-
 test/tree-legend.html                              |    9 +-
 test/ut/core/extendExpect.ts                       |    4 +-
 test/ut/core/utHelper.ts                           |   14 +-
 test/ut/index.d.ts                                 |   13 +
 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        |  118 +
 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/visualMap-scatter-colorAndSymbol.html         |   11 +-
 121 files changed, 27374 insertions(+), 1596 deletions(-)
 copy src/{util/vendor.ts => component/marker/checkMarkerInSeries.ts} (56%)
 create mode 100644 src/coord/geo/GeoJSONResource.ts
 create mode 100644 src/coord/geo/GeoSVGResource.ts
 delete mode 100644 src/coord/geo/geoJSONLoader.ts
 delete mode 100644 src/coord/geo/geoSVGLoader.ts
 delete mode 100644 src/coord/geo/mapDataStorage.ts
 create mode 100644 test/data/svg/Beef_cuts_France.svg
 create mode 100644 test/data/svg/MacOdrum-LV5-floorplan-web.svg
 create mode 100644 test/data/svg/Map_of_Iceland.svg
 create mode 100644 test/data/svg/Sicily_prehellenic_topographic_map.svg
 create mode 100644 test/data/svg/Veins_Medical_Diagram_clip_art.svg
 create mode 100644 test/data/svg/flight-seats.svg
 create mode 100644 test/data/svg/ksia-ext-plan-min.svg
 create mode 100644 test/data/svg/seatmap-example.svg
 create mode 100644 test/geo-layout.html
 create mode 100644 test/geo-svg-demo.html
 create mode 100644 test/geo-svg.html
 create mode 100644 test/legend-style.html
 create mode 100644 test/line-extraneous.html
 create mode 100644 test/resize-animation.html
 create mode 100644 test/runTest/actions/geo-svg-demo.json
 create mode 100644 test/runTest/actions/geo-svg.json
 create mode 100644 test/runTest/actions/line-extraneous.json
 create mode 100644 test/runTest/actions/resize-animation.json
 create mode 100644 test/runTest/actions/tooltip-component.json
 create mode 100644 test/ut/index.d.ts
 delete mode 100755 test/ut/spec/model/Component.test.ts
 create mode 100755 test/ut/spec/model/componentDependency.test.ts
 create mode 100644 test/ut/spec/model/componentMissing.test.ts

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org