molinator84 opened a new pull request, #18806: URL: https://github.com/apache/echarts/pull/18806
<!-- 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 - [x] new feature - [ ] others ### What does this PR do? <!-- USE ONE SENTENCE TO DESCRIBE WHAT THIS PR DOES. --> This PR adds a 'category' option to the emphasis that enables the user to emphasis when mouseover only the values of the series with the shared category. Specially usefull on stacked bars. ### Fixed issues - #18694 ## Details ### Before: What was the problem? <!-- DESCRIBE THE BUG OR REQUIREMENT HERE. --> Mainly, in stacked bars, sometimes is useful to have the emphasis on the whole category, not on the series. Prior to this PR the only options are self and series. <!-- ADD SCREENSHOT HERE IF APPLICABLE. -->  ### After: How does it behave after the fixing? <!-- THE RESULT AFTER FIXING AND A SIMPLE EXPLANATION ABOUT HOW IT IS FIXED. --> Now there is a new option for emphasis called 'category' that allow to the user to highlight on stacked bars the whole category. It have also a direct relation with the label values showed, as it shows the values of each serie for this category only. <!-- ADD SCREENSHOT HERE IF APPLICABLE. -->  ## Document Info One of the following should be checked. - [ ] This PR doesn't relate to document changes - [x] The document should be updated later - [ ] The document changes have been made in apache/echarts-doc#xxx ## Misc ### ZRender Changes - [ ] This PR depends on ZRender changes (ecomfe/zrender#xxx). ### Related test cases or examples to use the new APIs test/emphasis-category.html to test emphasis: 'category' ## Others ### Merging options - [x ] Please squash the commits into a single one when merging. ### 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
