I want to get the value of the point where I click on the chart.
function handleClick(param) { document.getElementById('y_value').value = param.point.y; }
But this returns the on-screen y-axis coordinates, not the price values.
and this.
function handleClick(param) { document.getElementById('y_value').value = param.point.param.seriesPrices.get(Series).high; }
It returns the price value, but only the value above the chart line, not the value of the point I clicked on. How do I get the price-y value even if I click on the blank space on the chart?
I want to get that red circle value...