Read points from TLineSeries lazarus / 55-TAChart ---------------------------------------------------------------------- LemonParty · 2024-07-24 20:07 I have a line series. I added there few points over method AddXY. How can I read these points back? ---------------------------------------------------------------------- wp · 2024-07-24 20:35 What do you mean? Read the values by code? Then call Series.XValue[point_index] and Series.YValue[point_index]. Or read the values by pointing or clicking at them with the mouse? In this case use a TDatapointHintTool, a TDatapointClickTool or a TDataPointCrosshairTool - see https://wiki.lazarus.freepascal.org/TAChart_Tutorial:_Chart_Tools, https://wiki.lazarus.freepascal.org/TAChart_documentation#Tools, or the sample project "tools" in the "demo" folder of the TAChart installation. ---------------------------------------------------------------------- LemonParty · 2024-07-25 07:20 Thank you for responce. The second question remain. User click in random place on graph. How can I determine the coordinate of click? ---------------------------------------------------------------------- wp · 2024-07-25 09:21 Write a handler for the chart's OnMouseDown event in which you convert the mouse coordinates to the chart's "graph coordinates" (Chart.ImageToGraph): 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 uses  TAChartUtils; procedure TForm1.Chart1MouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer);var  P: TDoublePoint;begin  P := Chart1.ImageToGraph(Point(X, Y));  ShowMessage(Format('MouseDown at %d/%d --> %.3f/%.3f', [X, Y, P.X, P.Y]));end; ---------------------------------------------------------------------- LemonParty · 2024-07-26 12:38 Thank you. It works.