-
Notifications
You must be signed in to change notification settings - Fork 19.7k
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
feat: make line bolder when line is in emphasis state, designed by #12931. #13013
Conversation
Thanks for your contribution! The pull request is marked to be |
The screenshot seems nice! I commented suggestions about the option design. Others look good to me. |
…olderWhenHover`.
Congratulations! Your PR has been merged. Thanks for your contribution! 👍 |
Is there any way to disable the feature at the moment? |
Brief Information
This pull request is in the type of:
What does this PR do?
According to the suggested design change in #12931, add a new semantic value
bolder
foremphasis.lineStyle.width
for line series to specify whether the line should be bolder when it's in emphasis state.Fixed issues
Details
Before: What was the problem?
The line series won't be bolder to highlight when hovering on it unless users specify
emphasis.lineStyle.width
.After: How is it fixed in this PR?
By default, the line series will be bolder when hovering on it. But if users set
emphasis.lineStyle.width
as a specific number manually, it will be bolder as they specified.Usage
Are there any API changes?
Added a new semantic value
bolder
foremphasis.lineStyle.width
, default value isbolder
.Related test cases or examples to use the new APIs
Refer to
test/line-boldWhenHover.html
Others
Merging options
Other information