Problems with Legend Checkboxes

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
X-ray
Newbie
Newbie
Posts: 8
Joined: Mon Jan 25, 2016 12:00 am

Problems with Legend Checkboxes

Post by X-ray » Tue Feb 02, 2016 3:08 pm

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 8264 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

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Problems with Legend Checkboxes

Post by Yeray » Tue Feb 02, 2016 4:18 pm

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.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

X-ray
Newbie
Newbie
Posts: 8
Joined: Mon Jan 25, 2016 12:00 am

Re: Problems with Legend Checkboxes

Post by X-ray » Tue Feb 02, 2016 4:42 pm

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

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Problems with Legend Checkboxes

Post by Yeray » Wed Feb 03, 2016 9:43 am

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;
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

X-ray
Newbie
Newbie
Posts: 8
Joined: Mon Jan 25, 2016 12:00 am

Re: Problems with Legend Checkboxes

Post by X-ray » Wed Feb 03, 2016 10:35 am

Hello Yeray,

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

best regards,

X-ray

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Problems with Legend Checkboxes

Post by Yeray » Thu Feb 04, 2016 4:07 pm

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.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply