Page 1 of 1

Problems with Legend in version 2025.44

Posted: Fri Aug 01, 2025 1:39 pm
by 16593577
Hi,
I have several series (TLine) in a chart. After loading the data for series , I specify the series title to be displayed in the legend: Chart.LegendTitle:= 'Filename...';
With version TeeChartVCLFMX-2022.35 it worked without any problems, but after installing 2025.44, it stopped working. Has anything changed, or is this a bug in the new version?

By the way, I think there should be an additional 'lsTitle' entry in the Chart.Legend.LegendStyle property because if there's only one series, you can't set its legend to the title. This only works automatically with at least two series.

Best regards,
Krzysztof Jasek

Re: Problems with Legend in version 2025.44

Posted: Fri Aug 01, 2025 3:50 pm
by 16596842
I see the same issue. This is a bug.

Workaround:

Chart.Legend.Items[0].Text:='text1';
Chart.Legend.Items[1].Text:='text2;
etc.