You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "rooney (via GitHub)" <gi...@apache.org> on 2025/01/29 13:01:59 UTC

[I] [Feature] Bar charts: add more options for emphasis focus [echarts]

rooney opened a new issue, #20723:
URL: https://github.com/apache/echarts/issues/20723

   ### What problem does this feature solve?
   
   On stacked bar charts, sometimes I need to emphasize the hovered stack (not just 'self'), e.g:
   
   <img width="378" alt="Image" src="https://github.com/user-attachments/assets/e193bb91-866b-4244-873e-981e8eaac708" />
   
   --
   And its series-equivalent:
   
   <img width="374" alt="Image" src="https://github.com/user-attachments/assets/4c01cef7-5d8c-48ae-bd08-ee030d804e56" />
   
   --
   And optionally (for completeness sake) everything in the hovered dataIndex:
   
   <img width="373" alt="Image" src="https://github.com/user-attachments/assets/ecdc70f8-c903-47ca-8227-b89b8f922b43" />
   
   
   ### What does the proposed API look like?
   
   `{ emphasis: { focus: 'stack' | 'stackSeries' | 'dataIndex' } }`


-- 
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: commits-unsubscribe@echarts.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org