Problems with Legend in version 2025.44

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
KJasek
Newbie
Newbie
Posts: 1
Joined: Tue Apr 12, 2022 12:00 am

Problems with Legend in version 2025.44

Post by KJasek » Fri Aug 01, 2025 1:39 pm

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

Newbie
Newbie
Posts: 4
Joined: Mon Oct 09, 2023 12:00 am

Re: Problems with Legend in version 2025.44

Post by » Fri Aug 01, 2025 3:50 pm

I see the same issue. This is a bug.

Workaround:

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

Post Reply