Coordinates of chart rectangle lazarus / 55-TAChart ---------------------------------------------------------------------- Davidous · 2019-06-28 09:21 Hello, I'm working with the chart you can find in the attachment. I would like to get the screen coordinates of the 0 and 3 values of the y axis. I've already tried YGraphToImage but the returned values were not what I was expecting. Could someone please tell me how to do that correctly? ---------------------------------------------------------------------- wp · 2019-06-28 11:05 Quote from: Davidous on June 28, 2019, 11:21:57 amI've already tried YGraphToImage but the returned values were not what I was expecting. That's what should work... Or are you using axis transformations? In this case the values displayed along the axis ("axis units") may be different from the transformed values used for plotting ("graph units"). You must have the axis transformation convert your value to graph units: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i function GetChartImageY(Chart: TChart; y: Double): TPoint;begin  Result := Chart.LeftAxis.GetTransform.AxisToGraph(Chart.YGraphToImage(y));end; ---------------------------------------------------------------------- Davidous · 2019-06-28 11:41 Thank you wp!