-
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 sankey line color 'target'/'source'/'gradient'
doesn't work in non-normal state
#18834
Conversation
Thanks for your contribution! |
The changes brought by this PR can be previewed at: https://echarts.apache.org/examples/editor?version=PR-18834@f22ee7e |
3e86015
to
f22ee7e
Compare
Congratulations! Your PR has been merged. Thanks for your contribution! 👍 |
'target'/'source'/'gradient'
doesn't work in non-normal state
Brief Information
This pull request is in the type of:
What does this PR do?
fix sankey emphsis lineStyle color is not a normal color, using node color(
source
,target
,gradient
)Fixed issues
emphasis.lineStyle.color: 'target'
not work #18804Details
Before: What was the problem?
not parse color in emphsis lineStyle (source,target or gradient), so using a default color
After: How does it behave after the fixing?
Using logic in normal state to parse color(
target
,source
orgradient
), apply that to other state.Document Info
One of the following should be checked.
Misc
ZRender Changes
Related test cases or examples to use the new APIs
N.A.
Others
Merging options
Other information