dileepyelleti opened a new issue #11115: Creating two independent Tooltips with 
different triggers (axis and item) in one chart
URL: https://github.com/apache/incubator-echarts/issues/11115
 
 
   ### What problem does this feature solve?
   For my line chart I need to show two types of tooltips. One on hover on 
exact point(like with trigger item) and another on hovering any other place 
(like trigger axis).
   Below issue was raised for same but closed without proper response
   https://github.com/apache/incubator-echarts/issues/4905
   
   ### What does the proposed API look like?
   tooltip: [{
           trigger: 'axis',
           formatter: axisTooltipFormatter
         },{
           trigger: 'item',
           formatter: itemTooltipFormatter
         }]
   
   Or 
   {
     tooltip: {
        trigger: 'axis',
        formatter: axisTooltipFormatter
     },
     series[{
        ...
        tooltip: {
           formatter: itemTooltipFormatter // item trigger
       }
     ]
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. 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:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to