Hi Joe, ECharts provide a method to convert from screen coordinates to axis coordinates. See https://echarts.apache.org/en/api.html#echartsInstance.convertFromPixel
But it may not easy to get the label because the label itself is not in the data item's coordinate. You may have a try from that point. Thanks *Ovilia* On Wed, Oct 12, 2022 at 10:13 PM Joe Hudson <joe...@gmail.com> wrote: > Hi and thanks in advance for any help. Could you please help me understand > what to do here? > > const element = document.getElementById(...); > const chart = echarts.init(element); > element.addEventListener('contextmenu', (ev) => { > const xPos = ev.offsetX; > const yPos = ev.offsetY; > // how can I take the x and y position to see if it represents a series > label? > }); > > Thanks so much for your help! > > Joe >