[SOLVED] Is there a way to determine a axis by position lazarus / 55-TAChart ---------------------------------------------------------------------- suilenroc1183 · 2012-10-17 19:36 Hi, I have a chart with several y - axis and I will program a feature that a configuration dialog opens on double click on a axis. My problem is to determine the axis under the mouse pointer. Is there a way to calculate the drawing area of an axis? Thanks in advance suilenroc ---------------------------------------------------------------------- Ask · 2012-10-18 02:56 I do have plans to implement axis tools, but have no time right now. Meanwhile, you can use TChartAxis.IsPointInside function. ---------------------------------------------------------------------- suilenroc1183 · 2012-10-30 20:14 Hi, thanks for this tip. IsPointInside is good enough for me to solve my problem. Thanks for your great work on TAChart. suilenroc ---------------------------------------------------------------------- CM630 · 2012-11-06 12:29 To make things clearer, it could be mentioned that TChartAxis.IsPointInside behaves as TChartAxis.Marks.IsPointInside If I click on the axis title, TChartAxis.IsPointInside returns false, still the title is a part of the axis. Example: Code: [Select]procedure TForm1.FormCreate(Sender: TObject); begin   Chart1.LeftAxis.Title.Visible:=True;   Chart1.LeftAxis.Title.Caption:='Left axis title'; end; procedure TForm1.Chart1MouseDown(Sender: TObject; Button: TMouseButton;   Shift: TShiftState; X, Y: Integer); var   APoint: TPoint; begin   APoint.x:=X;   APoint.y:=Y; if Chart1.LeftAxis.IsPointInside(APoint)= True then ShowMessage ('Inside'); end; I would like to use the case to ask if there is a way to determine where the axis title is in the chart and/or if the mouse is inside it?