legend to front lazarus / 55-TAChart ---------------------------------------------------------------------- mtanner · 2020-12-15 21:39 Is there a way with TAChart to force the legend to be at the fromt, on top of all series, grids etc? ---------------------------------------------------------------------- wp · 2020-12-15 21:52 You mean inside the axis rectangle? Set Chart.Legend.UsePanel to false to move the legend from outside ("panel") into the axis area. Use Chart.Legend.Alignment to put the legend at another place, and .MarginX and .MarginY to move it further away from or closer to the border. ---------------------------------------------------------------------- mtanner · 2020-12-16 09:06 Thanks for the hint. Actually my problem was a bug. My chart is a stacked area chart with the data areas occupying almost all of the plot area. The legend was not visible, and I though it was being hidden by the data. But my program provides a user switch to hide/disply the legend, and the wrong switch was being used because of an ambuguity in using nested "With MYCLASSA do begin With MYCLASSB do begin". So I shall avoid such nested with's.