You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by su...@apache.org on 2020/04/22 08:06:38 UTC
[incubator-echarts] branch master updated (363f3e0 -> 8c2267d)
This is an automated email from the ASF dual-hosted git repository.
sushuang pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git.
from 363f3e0 Merge pull request #12191 from susiwen8/#12189
add 55bd42d fix: Fix the incorrect implementation of `leavesModel` in `TreeSeries`: `leavesModel` should be inserted between the node `itemModel` and the `seriesModel` in the "parentModel" chain. It can be added either via [A] "beforeLink - nodeData.wrapMethod('getItemModel, ...)" or via [B] "TreeNode.getModel ". But `TreeSeres` both use the two strategy, which causes the `leavesModel` is inserted twice.
add 8c2267d fix: Enable treemap emphasis label formatter. Fix #11854. And add test cases. Note: the implementation of "insert levelModel" is modified from "Tree.getModel" to "beforeLink nodeData.wrapMethod('getItemModel', ...)", because the former one miss the case of `data.getItemModel`, which is needed in label formatter fetcher.
No new revisions were added by this update.
Summary of changes:
src/chart/tree/TreeSeries.js | 9 +++------
src/chart/treemap/TreemapSeries.js | 20 +++++++++++++++-----
src/chart/treemap/TreemapView.js | 30 +++++++++++++++++-------------
src/data/Tree.js | 29 +++++++++++------------------
src/util/graphic.js | 17 ++++++++++-------
test/runTest/actions/__meta__.json | 1 +
test/runTest/actions/treemap-action.json | 1 +
7 files changed, 58 insertions(+), 49 deletions(-)
create mode 100644 test/runTest/actions/treemap-action.json
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org