Page 1 of 1

Problems with Legend Checkboxes

Posted: Tue Feb 02, 2016 3:08 pm
by 16577506
Hello,

When constructing a Chart with a legend on top plus check boxes and the series titles are alternating long and short
then its impossible to show hide some series by clicking on the check box because the click point is displaced.
ClickProblemCapture.PNG
ClickProblemCapture.PNG (28.83 KiB) Viewed 8214 times
In this case clicking the third check box switches the second series ON/OFF.
Is there a fix for that bug ?

best regards,

X-ray

Re: Problems with Legend Checkboxes

Posted: Tue Feb 02, 2016 4:18 pm
by yeray
Hello,

Note the latest version is v2015.16.
If you are not using the latest version, could you please give it a try?
If you are using the latest version, could you please arrange a simple example project we can run as-is to reproduce the problem here?

Thanks in advance.

Re: Problems with Legend Checkboxes

Posted: Tue Feb 02, 2016 4:42 pm
by 16577506
Hello Yeray,

I am using the latest TChart version v2015.16. on Delphi 10 (Seattle).
What I did was just putting a TChart on a form and adding 3 Series.
Then you set the series to show on top and you change the series settings to display Check boxes.
Then enter the series title texts you see on my screen shot and you should be able to reproduce this problem.
I think it's the combination of long and short texts.

best regards,

X-ray

Re: Problems with Legend Checkboxes

Posted: Wed Feb 03, 2016 9:43 am
by yeray
Hello,

Adding this to make sure I'm on TeeChart v2015.16 I still can't reproduce the problem here. Could you please check it also?

Code: Select all

uses TeeConst;

procedure TForm1.FormCreate(Sender: TObject);
begin
  Caption:=TeeMsg_Version;
end;

Re: Problems with Legend Checkboxes

Posted: Wed Feb 03, 2016 10:35 am
by 16577506
Hello Yeray,

please see attached project:
TChartLegendBug.zip
(48.5 KiB) Downloaded 630 times
ClickProblemCapture2.PNG
ClickProblemCapture2.PNG (20.29 KiB) Viewed 8194 times
Please try to click the checkbox of the third series.

best regards,

X-ray

Re: Problems with Legend Checkboxes

Posted: Thu Feb 04, 2016 4:07 pm
by yeray
Hello,

Having combined series title lengths I could reproduce the problem so I've added it to the public tracker:
http://bugs.teechart.net/show_bug.cgi?id=1430

Feel free to add your mail to the CC list to be automatically notified when an update arrives.