hide axes by code lazarus / 55-TAChart ---------------------------------------------------------------------- Nicole · 2022-11-05 12:43 I want to hide away an axes at runtime. Ax1.visible:=false; This does not work. How will it work? ---------------------------------------------------------------------- wp · 2022-11-05 13:13 You probably see the Chart.Frame which is drawn over the axes. So, set also Chart.Frame.Visible := false. ---------------------------------------------------------------------- Nicole · 2022-11-05 19:42 Thank you for the answer. The problem is not "also", but "not at all". The visual property is not accepted at runtime / by the compiler. ---------------------------------------------------------------------- wp · 2022-11-05 21:33 Quote from: Nicole on November 05, 2022, 08:42:42 pmThe visual property is not accepted at runtime / by the compiler. You mean "Visible"? Your statement is not correct - all "Visible" properties of a chart can be set at runtime. Look at the attached mini project in which the Frame as well as every part of the axes can be turned on and off by code.