ramarro123 opened a new issue #9188: tooltip formatter when using axis trigger
URL: https://github.com/apache/incubator-echarts/issues/9188
 
 
   hello,
   
   if i use a 
    chart.tooltip = {
             trigger: 'axis'
           };
   
   and
   
      chart.tooltip.formatter = function (params) {}
   
   how can i detect what's the current item on params array?
   params array have all the data from chart, so if i have 100 data, i have 100 
items.
   
   i am using a dataset+line with custom renderer here, and i need to have 
custom formatter as well.
   
   let me know if i can detect the current index position (or the current X val 
from cursor, whatever better suit)
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to