You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by wa...@apache.org on 2021/04/10 11:25:20 UTC

[echarts] branch fix-linear-gradient updated (7940f5a -> cf7c4ef)

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

wangzx pushed a change to branch fix-linear-gradient
in repository https://gitbox.apache.org/repos/asf/echarts.git.


    from 7940f5a  fix(linear-gradient): `NaN` should not be handled.
     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 b90f6ec  Merge branch 'master' of https://github.com/apache/echarts into fix-linear-gradient
     add c152d91  fix(label): fix labels are not on the top bug.
     add 0910200  revert(sankey): revert the changes made by #14417.
     add 64aa9c5  fix(label): fix the bug that labelLine was mistakenly put into else branch and should keep z unchanged.
     add 17b2ba0  fix(label): optimize z2 calculation of label on group
     add 05ed207  fix(z): use z2 to represent overlay in treemap
     add ab5838eb fix(treemap): ensure breadcrumb is on the top
     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 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
     add 8da6b3f  fix: not using global z in graphic component
     add 8f48ad2  Merge pull request #14542 from apache/fix-label-z
     add cc0375d  Merge branch 'master' of https://github.com/apache/echarts into fix-linear-gradient
     add cf7c4ef  fix(line): clamp coord for gradient.

No new revisions were added by this update.

Summary of changes:
 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/Line.ts                           |    2 +-
 src/chart/helper/SymbolDraw.ts                     |    9 +-
 src/chart/line/LineSeries.ts                       |   51 +-
 src/chart/line/LineView.ts                         |   11 +-
 src/chart/line/install.ts                          |   16 +
 src/chart/map/MapSeries.ts                         |   34 +-
 src/chart/map/mapSymbolLayout.ts                   |    4 +-
 src/chart/radar/RadarSeries.ts                     |    3 +-
 src/chart/sankey/SankeyView.ts                     |    5 +-
 src/chart/sunburst/SunburstPiece.ts                |   10 +-
 src/chart/tree/TreeSeries.ts                       |    2 +-
 src/chart/treemap/Breadcrumb.ts                    |    3 +-
 src/chart/treemap/TreemapView.ts                   |   34 +-
 src/component/geo/GeoView.ts                       |   17 +-
 src/component/geo/install.ts                       |   16 +-
 src/component/graphic/install.ts                   |    2 +
 src/component/helper/MapDraw.ts                    |  753 +-
 src/component/legend/LegendModel.ts                |  150 +-
 src/component/legend/LegendView.ts                 |  297 +-
 src/component/radar/install.ts                     |   14 +
 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                                |  167 +-
 src/data/List.ts                                   |    5 +-
 src/data/OrdinalMeta.ts                            |    2 +-
 src/label/LabelManager.ts                          |    9 +
 src/model/Series.ts                                |    9 +
 src/model/mixin/lineStyle.ts                       |    2 +-
 src/util/graphic.ts                                |    7 +-
 src/util/innerStore.ts                             |   18 +-
 src/util/number.ts                                 |    4 -
 src/util/states.ts                                 |  186 +-
 src/util/symbol.ts                                 |   24 +-
 src/util/types.ts                                  |    4 +-
 src/view/Component.ts                              |   18 +-
 src/visual/style.ts                                |   16 +-
 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-style.html                               |    1 +
 test/linear-gradient.html                          |    4 +-
 test/radar.html                                    |   22 +-
 test/runTest/actions/__meta__.json                 |    6 +-
 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/tooltip-component.json        |    1 +
 test/tooltip-component.html                        |   36 +-
 test/tree-legend.html                              |    9 +-
 test/visualMap-scatter-colorAndSymbol.html         |   11 +-
 89 files changed, 26294 insertions(+), 1218 deletions(-)
 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/runTest/actions/geo-svg-demo.json
 create mode 100644 test/runTest/actions/geo-svg.json
 create mode 100644 test/runTest/actions/tooltip-component.json

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