OlmoBarberis commented on issue #2941: Handling click events on chart grid columns URL: https://github.com/apache/incubator-echarts/issues/2941#issuecomment-528407965 > But when I click between two columns, I can not receive any event. I wish I can get the dataIndex where the blue line located. Any idea? @coretez > >  Have you tried with: `const zr = chart.getZr(); zr.on('click', (params) => { console.log(params); });` You can take extract coordinates from params and get dataIndex with chart.convertFromPixel
---------------------------------------------------------------- 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