You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2019/12/11 14:24:48 UTC

[GitHub] [incubator-echarts] blessbygod opened a new issue #11838: [堆叠图 stack] 柱状堆叠图 - tooltip,不能选中堆叠块(stack)的问题

blessbygod opened a new issue #11838: [堆叠图 stack]  柱状堆叠图 - tooltip,不能选中堆叠块(stack)的问题
URL: https://github.com/apache/incubator-echarts/issues/11838
 
 
   ### What problem does this feature solve?
    期望:
       我想快速看选中的stack在轴显示的所有数据行中的哪一个
   问题描述:
       在trigger是axis的时候,希望可以选中具体的stack块,并且在tooltip的formatter数据中可以获取当前的值
   
   ### What does the proposed API look like?
   toolitp: {
        formatter(params) {
             let param = param[0]; 
             console.log(param.selectedStackIndex)
        }
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

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