Home Forums Chart Support Get coordinates of a point Reply To: Get coordinates of a point

#15613

Hello,

I have another question about coordinates:
Is it possible to get coordinates of axis X and Y ?

If I understood convertValueToPixel right, I have for example this data: [[0,12],[10,66],[20,42]]
And in order to get coordinates of [10,66], I need to write:
chart.axisX[0].convertValueToPixel(10) and chart.axisY[0].convertValueToPixel(66) ? Is that correct ?

Then if that’s right I just have to write chart.axisX[0].convertValueToPixel(0) and chart.axisY[0].convertValueToPixel(0) to get the coordinate of axis X?

Thank you.

Regards.