Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge some commits from apache/master #5

Merged
merged 19 commits into from
Apr 23, 2020
Merged

Conversation

plainheart
Copy link
Owner

No description provided.

susiwen and others added 19 commits December 15, 2019 21:48
Add missing param for treemap setLabelStyle
Feature: add tooltip for edges(links) (#12006)
Fix sankey link value is 0, node will disappear
`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.

In fact the strategy [A] have some defect (do not cover the case `data.getItemModel(...)`).
So [A] should not be used any more. [B] is recommended.
…t 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.
@plainheart plainheart merged commit 82bb413 into plainheart:master Apr 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants