plainheart opened a new pull request #13013:
URL: https://github.com/apache/incubator-echarts/pull/13013


   <!-- Please fill in the following information to help us review your PR more 
efficiently. -->
   
   ## Brief Information
   
   This pull request is in the type of:
   
   - [ ] bug fixing
   - [ ] new feature
   - [x] others
   
   
   
   ### What does this PR do?
   
   <!-- USE ONCE SENTENCE TO DESCRIBE WHAT THIS PR DOES. -->
   According to the suggested design change in #12931, add a new option named 
`bolderWhenHover`(not sure, may be a better one ) for line series to specify 
whether the chart should be bolder when it's in emphasis state.
   
   ### Fixed issues
   
   - #12931
   
   
   ## Details
   
   ### Before: What was the problem?
   
   <!-- DESCRIBE THE BUG OR REQUIREMENT HERE. -->
   
   <!-- ADD SCREENSHOT HERE IF APPLICABLE. -->
   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?
   
   <!-- THE RESULT AFTER FIXING AND A SIMPLE EXPLANATION ABOUT HOW IT IS FIXED. 
-->
   By default, the line series will be bolder when hovering on it. But if users 
set `emphasis.lineStyle.width` manually, it will be bolder as they specified.
   
   <!-- ADD SCREENSHOT HERE IF APPLICABLE. -->
   ![2020-07-23 17 09 
35](https://user-images.githubusercontent.com/26999792/88269957-7c2cd700-cd07-11ea-9725-475ed78b44fc.gif)
   
   
   
   ## Usage
   
   ### Are there any API changes?
   
   - [x] The API has been changed.
   
   <!-- LIST THE API CHANGES HERE -->
   Added a new option `bolderWhenHover`, default is `true`.
   
   ### Related test cases or examples to use the new APIs
   
   Refer to `test/line-boldWhenHover.html`
   
   
   ## Others
   
   ### Merging options
   
   - [ ] Please squash the commits into a single one when merge.
   
   ### Other information
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to