You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by ov...@apache.org on 2022/11/21 06:47:49 UTC

[echarts] branch release-dev updated (1acad3895 -> 106907deb)

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

ovilia pushed a change to branch release-dev
in repository https://gitbox.apache.org/repos/asf/echarts.git


    from 1acad3895 release: 5.4.0
     add 7808c95cb chore(stale): issues with milestone TBD should not be marked as stale
     add c9147878c chore(stale): exclude all prs with milestones
     add 29a4fe91f Merge pull request #17616 from apache/fix-stale
     add 20134763b fix(timeline): fix chart can't work when axis line is not shown.
     add c9e9a022d Merge pull request #17647 from apache/fix-timeline
     add fe0555b0b chore(deps): bump jsdom from 16.4.0 to 16.7.0
     add f51f1feb3 Merge pull request #17282 from apache/dependabot/npm_and_yarn/jsdom-16.7.0
     add 4fe4561ea fix: remove legend name duplicate to prevent double inverse bug
     add 46cdb2bf1 fix: revert package-lock.json
     add 56a989b03 Merge pull request #17510 from caiwukun/fix_legend_name_duplicate_removal
     add 10a8cd111 chore(deps): bump validator and @microsoft/api-extractor
     add 9a1a486eb Merge pull request #17684 from apache/dependabot/npm_and_yarn/validator-and-microsoft/api-extractor-13.7.0
     add dc8f361f6 chore(deps): bump shelljs and jshint
     add 878e29455 Merge pull request #17683 from apache/dependabot/npm_and_yarn/shelljs-and-jshint--removed
     add 59c206c53 chore(lint): enforce consistent spacing after comment starts
     add 9c007664e Merge pull request #17606 from apache/fix-lint
     add a051e30b6 fix: markArea of bar series now covers whole category
     add 27c69b01e fix lint error
     add 8b8e1662b Merge branch 'master' of https://github.com/apache/echarts into issue#17021
     add 6dbd5df64 New testcase added
     add b47d05673 fix: markPoint now can show normally
     add 5186308c1 fix lint error
     add 70db7c6fc chore: resolve conflict
     add 583711e95 Merge pull request #17098 from jiawulin001/issue#17021
     add 6347c2c3e Merge pull request #17645 from apache/release-dev
     add 3ca9e32a9 Merge pull request #17696 from apache/release
     add bc32dc4e2 style(lint): fix spacing issues
     add 080bdeb99 fix(boxplot): remove empty `boxplotVisual`.
     add 14521df42 fix(chart): remove unused imports.
     add f98cbabc5 chore(workflow): add diff filter
     add c40ebbf6d Merge pull request #17695 from apache/fix-lint
     add 0d58d5a82 docs(extension/bmap): improve documentation of bmap extension.
     add 9bbdb2224 Merge pull request #17694 from apache/docs/extension-bmap
     add 81cbfcbff test(gauge): add reproduce of #17663
     add e4fbb582d fix(gauge): add sectors in the order of the 'clockwise' option
     add 204a04c4f refactor(treemap): replace Array.forEach with each
     add 213f7ebd8 Merge pull request #17691 from ZeekoZhu/echarts-17633
     add 91382c21a fix(pie): fix a NPE of `labelLine` when `minShowLabelRadian` is set.
     add 81321a63a Merge pull request #17715 from apache/fix-pie
     add 96f859c92 fix: #17667 EChartsInitOpts type error about height and width
     add db0f92abd Merge pull request #17727 from MainHou/master
     add 049533132 chore: fix some typos
     add a80fec3f8 fix(pie): fix percent isn't updated when the legend is changed
     add 8c8a1a2b8 refactor(pie): mount `seats` on data inner
     add a840d4639 Merge pull request #17734 from apache/fix/pie-percent
     add e79b4d40a Fix spelling mistake 'unkown' to 'unknown'
     add 672c7240b Merge pull request #17750 from mountainash/fix/unkown-spelling
     add d7ff8c564 chore: update deprecated nodejs v12 in favor of v16 and update action dependency version.
     add c61494fcf Merge pull request #17764 from apache/action-node-version
     add 069b69295 fix: incorrect dataGroupId for old data items in universalTransition (#17559)
     add 3f093f715 feat(sankey): `sankey` support `edgeLabel`
     add ed36fbd8f feat(sankey): set edge style to sankeyVisual
     add 69ec4c85d Merge branch 'master' into 7233
     add 1a23b9da6 feat(sankey): `edgeLabel` only supports `inside`
     add 79dffe615 Merge pull request #16767 from susiwen8/7233
     add 28812d168 chore: fix some typos
     add 788e09112 Merge pull request #17776 from striezel-stash/fix-typos
     add 728cf4e81 feat(candlestick): provide borderColorDoji option for custom doji color
     add 004c3fa90 Merge pull request #17717 from apache/fix-11042
     add 5cdbdd2de chore: fix a few typos
     add 06ccd5c3d Merge pull request #17782 from striezel-stash/fix-typos
     add 5309444d6 chore(workflow): always install the latest nightly version of zrender when publishing nightly echarts
     add cd7ec4cc6 fix(nightly-build): update echarts & zrender version to real nightly version
     add 5d6910f30 Merge pull request #17779 from apache/nightly-build
     add 81cf1548a fix(i18n): language code for Ukrainian is UK, not UA
     add 053f84c78 Merge pull request #17800 from striezel-stash/i18n-ukrainian-language-code
     add 52673918f fix(i18n): language code for Ukrainian is UK, not UA
     add 3c11bf932 Merge pull request #17812 from striezel-stash/i18n-ukrainian-language-code
     add ff67cdc01 fix(dataStack): zero is neither positive nor negative stack, close #17801
     add 7f029b4cb Merge pull request #17809 from MainHou/fix-17801
     add dd7ce3549 fix(graph): draggable only work on force layout
     add 0a5d50ad1 Merge pull request #17792 from kongmoumou/kongmoumou/fix-graph-draggable
     add 3dd13423f fix(type): add overflow property to AxisLabelBaseOption interface. close #17363
     add 817b84dcf Merge pull request #17808 from breizh24/fix-17363
     add d3d142ad5 chore(nightly-build): fix potential npm publish error due to time conflict.
     add f21524924 Merge pull request #17857 from apache/nightly-build
     add 9cb806a5a chore: fix various typos
     add 9c4b7423e Merge pull request #17873 from striezel-stash/fix-some-typos
     add 68b2862ea fix(data): fix deprecated access to `HashMap.data` due to ecomfe/zrender#966, change `hasOwnProperty` to `hasKey`.
     add 3f1de7425 chore(dep): update zrender to the latest nightly version
     add 273f3ede3 Merge pull request #17861 from apache/fix/hashmap
     add 3b20b8252 fix(tooltip): fix tooltip arrow may cover the content when border is wide.
     add 84a9de8db Merge pull request #17875 from apache/fix/tooltip-arrow
     add 0f86a100b fix(heatmap): fix heatmap label may overlap when the dataZoom is enabled
     add c8d5a0780 Merge pull request #17876 from apache/fix-heatmap
     add 0f149dc89 chore: start a local server for testing when run dev #17868 (#17882)
     add 63dd98acf style: fix code style flaw and remove unnecessary default parameter. (#17098)
     add 7fe9b7351 Merge pull request #17887 from apache/fix/code-style-17098
     add 12636cd73 chore: export `ECElementEvent` for Typescript
     add 3d69d6c5b Merge pull request #17892 from keita-determined/chore/export-ECElementEvent
     add 1ed2b93c3 chore: fix some typos
     add 7bddbe583 Merge pull request #17896 from striezel-stash/fix-some-typos
     add 9a9a3ce78 chore(deps): bump socket.io-parser from 3.3.2 to 3.3.3
     add e59f0b106 Merge pull request #17898 from apache/dependabot/npm_and_yarn/socket.io-parser-3.3.3
     add 729c39951 chore: fix various typos
     add c65acfb9f Merge pull request #17904 from striezel-stash/fix-various-typos
     add d86c0e26a fix: fix the error caused by markArea x/y
     add 32382f189 fix(marker): fix magic marker statistic type is not respected in `coord` array.
     add f0f2f7dca test(marker): add test case for `markArea`
     add 77fc76742 Merge branch 'master' of https://github.com/apache/echarts into issue#10074
     add 34a8fcab5 Merge pull request #17217 from jiawulin001/issue#10074
     add e780ba5e7 fix(lines): add missing `function` callback into `lineStyle.color` for line series.
     add 523ddc020 Merge pull request #17780 from apache/fix/lines-type
     add 59411cb49 export GraphicComponentTextOption
     add 381c6bc1a Merge pull request #17906 from lloydzhou/patch-1
     add aabbcf4b0 chore: fix a few typos
     add 4df9ad38c Merge pull request #17913 from striezel-stash/fix-a-few-typos
     add 4dcf75518 fix(type): add `string` & `number` type into the `center` option of pie series
     add 7b62040dd Merge pull request #17917 from apache/fix/pie-center-type
     add b2ee72d55 fix(pie): fix `center` may not be converted to the correct point when coordinate system is specified due to being normalized to an array.
     add a28b21953 Merge pull request #17920 from apache/fix/pie-coordinate-system
     add ab39c8afa fix(dataZoom): fallback to extent start/end when parsed value or percent is invalid.
     add cb722aeca Merge pull request #17934 from apache/fix-datazoom
     add d31e67623 Merge pull request #17922 from apache/master
     new 106907deb fix(stack): revert pr #17809

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .eslintrc-common.yaml                              |    2 +-
 .github/workflows/ci.yml                           |    6 +-
 .github/workflows/nightly-next.yml                 |   13 +-
 .github/workflows/nightly.yml                      |   11 +-
 .github/workflows/source-release.yml               |   28 +-
 .github/workflows/stale.yml                        |    3 +-
 .huskyrc                                           |    2 +-
 README.md                                          |    3 +
 .../boxplotVisual.ts => build/nightly/post.js      |   14 +-
 build/{prepareNightly.js => nightly/prepare.js}    |    7 +-
 extension-src/bmap/BMapModel.ts                    |    4 +-
 extension-src/bmap/README.md                       |   34 +-
 i18n/{langUA-obj.js => langUK-obj.js}              |    0
 i18n/{langUA.js => langUK.js}                      |    2 +-
 package-lock.json                                  | 1284 +++++++++++---------
 package.json                                       |    8 +-
 src/animation/customGraphicTransition.ts           |    6 +-
 src/animation/universalTransition.ts               |   49 +-
 src/chart/bar/BarView.ts                           |    2 +-
 src/chart/bar/BaseBarSeries.ts                     |   41 +-
 src/chart/bar/install.ts                           |    4 +-
 src/chart/bar/installPictorialBar.ts               |    4 +-
 src/chart/boxplot/install.ts                       |    4 +-
 src/chart/candlestick/CandlestickSeries.ts         |    2 +
 src/chart/candlestick/CandlestickView.ts           |   13 +-
 src/chart/candlestick/candlestickLayout.ts         |   37 +-
 src/chart/candlestick/candlestickVisual.ts         |    6 +-
 src/chart/custom/CustomView.ts                     |   42 +-
 src/chart/gauge/GaugeView.ts                       |    8 +-
 src/chart/graph/GraphView.ts                       |    5 +-
 src/chart/graph/forceHelper.ts                     |    2 +-
 src/chart/heatmap/HeatmapView.ts                   |    8 +-
 src/chart/line/LineView.ts                         |   10 +-
 src/chart/line/helper.ts                           |    4 +-
 src/chart/lines/LinesSeries.ts                     |    8 +-
 src/chart/lines/LinesView.ts                       |    4 +-
 src/chart/map/MapSeries.ts                         |    6 +-
 src/chart/map/MapView.ts                           |    6 +-
 src/chart/pie/PieSeries.ts                         |   39 +-
 src/chart/pie/labelLayout.ts                       |   11 +-
 src/chart/pie/pieLayout.ts                         |    7 +-
 src/chart/sankey/SankeySeries.ts                   |   10 +
 src/chart/sankey/SankeyView.ts                     |   10 +
 src/chart/sankey/sankeyLayout.ts                   |    2 +-
 src/chart/sankey/sankeyVisual.ts                   |    9 +-
 src/chart/sunburst/SunburstSeries.ts               |    4 +-
 src/chart/sunburst/sunburstLayout.ts               |    3 +-
 src/chart/themeRiver/ThemeRiverSeries.ts           |    4 +-
 src/chart/tree/TreeSeries.ts                       |    2 +-
 src/chart/tree/layoutHelper.ts                     |    4 +-
 src/chart/treemap/TreemapSeries.ts                 |   12 +-
 src/chart/treemap/TreemapView.ts                   |   12 +-
 src/chart/treemap/treemapLayout.ts                 |    6 +-
 src/chart/treemap/treemapVisual.ts                 |    8 +-
 src/component/dataZoom/AxisProxy.ts                |   15 +-
 src/component/dataZoom/DataZoomModel.ts            |   10 +-
 src/component/dataZoom/roams.ts                    |    4 +-
 src/component/graphic/GraphicModel.ts              |   12 +-
 src/component/graphic/install.ts                   |    6 +-
 src/component/helper/MapDraw.ts                    |    4 +-
 src/component/legend/LegendModel.ts                |   14 +-
 src/component/legend/LegendView.ts                 |    8 +-
 src/component/marker/MarkAreaView.ts               |   44 +-
 src/component/marker/MarkLineModel.ts              |    2 +-
 src/component/marker/MarkPointModel.ts             |    4 +-
 src/component/marker/markerHelper.ts               |   31 +-
 src/component/parallel/ParallelView.ts             |    6 +-
 src/component/timeline/SliderTimelineView.ts       |   11 +-
 src/component/tooltip/TooltipHTMLContent.ts        |    2 +-
 src/coord/Axis.ts                                  |    6 +-
 src/coord/CoordinateSystem.ts                      |   14 +-
 src/coord/View.ts                                  |    6 +-
 src/coord/axisCommonTypes.ts                       |    6 +-
 src/coord/axisDefault.ts                           |    2 +-
 src/coord/axisHelper.ts                            |    6 +-
 src/coord/axisTickLabelBuilder.ts                  |   12 +-
 src/coord/cartesian/Grid.ts                        |    4 +-
 src/coord/cartesian/defaultAxisExtentFromData.ts   |    2 +-
 src/coord/geo/Geo.ts                               |    6 +-
 src/coord/geo/GeoModel.ts                          |   12 +-
 src/coord/geo/GeoSVGResource.ts                    |    6 +-
 src/coord/geo/Region.ts                            |    2 +-
 src/coord/geo/fix/textCoord.ts                     |    2 +-
 src/coord/geo/geoTypes.ts                          |    4 +-
 src/coord/parallel/Parallel.ts                     |    2 +-
 src/coord/parallel/ParallelModel.ts                |    2 +-
 src/coord/scaleRawExtentInfo.ts                    |    8 +-
 src/core/CoordinateSystem.ts                       |    4 +-
 src/core/Scheduler.ts                              |   16 +-
 src/core/echarts.ts                                |   38 +-
 src/core/impl.ts                                   |    4 +-
 src/core/task.ts                                   |    8 +-
 src/data/DataStore.ts                              |    8 +-
 src/data/SeriesData.ts                             |   44 +-
 src/data/Source.ts                                 |    8 +-
 src/data/helper/SeriesDataSchema.ts                |    4 +-
 src/data/helper/createDimensions.ts                |   17 +-
 src/data/helper/dataProvider.ts                    |    4 +-
 src/data/helper/dataStackHelper.ts                 |    4 +-
 src/data/helper/dataValueHelper.ts                 |   14 +-
 src/data/helper/dimensionHelper.ts                 |    4 +-
 src/data/helper/sourceHelper.ts                    |    8 +-
 src/data/helper/sourceManager.ts                   |   16 +-
 src/data/helper/transform.ts                       |   18 +-
 src/export/api.ts                                  |    8 +-
 src/export/api/helper.ts                           |   12 +-
 src/export/charts.ts                               |    4 +-
 src/export/core.ts                                 |    4 +-
 src/i18n/{langUA.ts => langUK.ts}                  |    0
 src/label/labelGuideHelper.ts                      |    4 +-
 src/label/labelStyle.ts                            |    2 +-
 src/layout/barGrid.ts                              |    4 +-
 src/layout/barPolar.ts                             |    2 +-
 src/model/Component.ts                             |    8 +-
 src/model/Global.ts                                |   14 +-
 src/model/Model.ts                                 |    2 +-
 src/model/OptionManager.ts                         |   16 +-
 src/model/Series.ts                                |   17 +-
 src/model/internalComponentCreator.ts              |    6 +-
 src/model/mixin/dataFormat.ts                      |    4 +-
 src/scale/Interval.ts                              |    4 +-
 src/scale/Time.ts                                  |   10 +-
 src/util/ECEventProcessor.ts                       |    2 +-
 src/util/KDTree.ts                                 |    8 +-
 src/util/clazz.ts                                  |   10 +-
 src/util/conditionalExpression.ts                  |   12 +-
 src/util/decal.ts                                  |    6 +-
 src/util/format.ts                                 |    2 +-
 src/util/graphic.ts                                |   14 +-
 src/util/layout.ts                                 |    8 +-
 src/util/model.ts                                  |   30 +-
 src/util/number.ts                                 |   16 +-
 src/util/states.ts                                 |   13 +-
 src/util/styleCompat.ts                            |   12 +-
 src/util/symbol.ts                                 |    2 +-
 src/util/types.ts                                  |   17 +-
 src/view/Chart.ts                                  |    2 +-
 src/view/Component.ts                              |    2 +-
 src/visual/VisualMapping.ts                        |    4 +-
 src/visual/aria.ts                                 |    2 +-
 src/visual/helper.ts                               |    4 +-
 src/visual/style.ts                                |   12 +-
 test/axis-lastLabel.html                           |   29 +-
 test/bar-markArea.html                             |  174 +++
 test/candlestick-doji.html                         |  223 +++-
 test/gauge-case.html                               |  151 ++-
 test/heatmap.html                                  |  112 +-
 test/markArea.html                                 |  157 ++-
 test/pie-coordinate-system.html                    |  328 +++--
 test/pie-label.html                                |   35 +
 test/pie-percent.html                              |  126 +-
 test/runTest/actions/__meta__.json                 |    5 +-
 test/runTest/actions/heatmap.json                  |    2 +-
 test/runTest/actions/pie-percent.json              |    1 +
 test/runTest/actions/timeline-case.json            |    1 +
 test/runTest/actions/tooltip-domnode.json          |    1 +
 test/sankey-depth.html                             |    5 +
 test/timeline-case.html                            |  113 ++
 test/tooltip-domnode.html                          |   28 +
 test/universalTransition2.html                     |    2 +-
 160 files changed, 2738 insertions(+), 1383 deletions(-)
 rename src/chart/boxplot/boxplotVisual.ts => build/nightly/post.js (56%)
 rename build/{prepareNightly.js => nightly/prepare.js} (95%)
 rename i18n/{langUA-obj.js => langUK-obj.js} (100%)
 rename i18n/{langUA.js => langUK.js} (99%)
 rename src/i18n/{langUA.ts => langUK.ts} (100%)
 create mode 100644 test/bar-markArea.html
 create mode 100644 test/runTest/actions/pie-percent.json
 create mode 100644 test/runTest/actions/timeline-case.json
 create mode 100644 test/runTest/actions/tooltip-domnode.json
 create mode 100644 test/timeline-case.html


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


[echarts] 01/01: fix(stack): revert pr #17809

Posted by ov...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ovilia pushed a commit to branch release-dev
in repository https://gitbox.apache.org/repos/asf/echarts.git

commit 106907deb1ccc8975e14d5016a71bf3dee659642
Author: Ovilia <zw...@gmail.com>
AuthorDate: Mon Nov 21 14:45:07 2022 +0800

    fix(stack): revert pr #17809
---
 src/processor/dataStack.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/processor/dataStack.ts b/src/processor/dataStack.ts
index fb0815426..824e63059 100644
--- a/src/processor/dataStack.ts
+++ b/src/processor/dataStack.ts
@@ -131,8 +131,8 @@ function calculateStack(stackInfoList: StackInfo[]) {
                         stackStrategy === 'all' // single stack group
                         || (stackStrategy === 'positive' && val > 0)
                         || (stackStrategy === 'negative' && val < 0)
-                        || (stackStrategy === 'samesign' && sum > 0 && val > 0) // All positive stack
-                        || (stackStrategy === 'samesign' && sum < 0 && val < 0) // All negative stack
+                        || (stackStrategy === 'samesign' && sum >= 0 && val > 0) // All positive stack
+                        || (stackStrategy === 'samesign' && sum <= 0 && val < 0) // All negative stack
                     ) {
                         // The sum has to be very small to be affected by the
                         // floating arithmetic problem. An incorrect result will probably


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