-
Notifications
You must be signed in to change notification settings - Fork 19.6k
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
fix(sankey): fix value
is undefined in label/edgeLabel formatter
#18733
Conversation
Thanks for your contribution! The pull request is marked to be |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This fix pie-label formatter {c} unexpected show undefine issue.
@adoin How did you test this branch? I can't reproduce the bad case you mentioned. You have suggested changes, do you mean it works or can't work? Please use the following commands to get a clean workspace: $ git clone -b fix/sankey-label-formatter https://github.com/apache/echarts --depth=1
$ cd echarts
$ npm i
$ npm run dev |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Congratulations! Your PR has been merged. Thanks for your contribution! 👍 |
Brief Information
This pull request is in the type of:
What does this PR do?
Revert changes made in 修复:Sankey桑基图Label Value总是undefined的问题。 #18222 to fix
value
is undefined in label formatter callback.See [Bug] Pie label-formatter show undefined for {c} while echarts.ts compiled to echarts.js #18729.
Correctly fix
value
is undefined in sankeylabel
&edgeLabel
formatter.Prevent
edgeLabel.formatter
from inheriting serieslabel.formatter
.Fixed issues
Document Info
One of the following should be checked.
Misc
ZRender Changes
Related test cases or examples to use the new APIs
Please refer to
test/sankey-labelValue.html
and the second test case intest/pie-label.html
.Others
Merging options
Other information