Mouse move on series trigers wrong legend when not all series are active

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Marcel H
Newbie
Newbie
Posts: 5
Joined: Mon Sep 12, 2022 12:00 am

Mouse move on series trigers wrong legend when not all series are active

Post by Marcel H » Tue Aug 15, 2023 1:33 pm

Hello,

I have a graph with TBarseries. And a legend with check boxes to make the bar visible or not.
When all checkboxes are checked and i move the mouse over a bar then the corresponding legend item gets red.
When I deselect some legend items the legend item above the corresponding bar is red. If I de-select two legend items then the item two above the corresponding item gets red when moving the mouse over the bar.

See picture. moving mouse over green bar of series6, Series4 in legend becomes red.

Marcel Horsthuis
Attachments
series.png
series.png (38.58 KiB) Viewed 22135 times

Pep
Site Admin
Site Admin
Posts: 3306
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Re: Mouse move on series trigers wrong legend when not all series are active

Post by Pep » Wed Aug 16, 2023 5:17 am

Hello Marcel,
which TeeChart VCL/FMX version are you using?
In the case that you're using the latest version, could you please attach a simple example with which we can reproduce the problem here ?
I've checked with latest version and all seems to work fine, but it might be due to a minor setting change.

In meantime, also let you know that you can deactivate the hover functionality temporary by using :

Code: Select all

Chart1.Hover.Visible := False;
Thanks

Marcel H
Newbie
Newbie
Posts: 5
Joined: Mon Sep 12, 2022 12:00 am

Re: Mouse move on series trigers wrong legend when not all series are active

Post by Marcel H » Thu Aug 17, 2023 7:55 am

Hello

See the attachment for a simple example.

Regards,

Marcel
Attachments
Project20.zip
Sample project
(93.47 KiB) Downloaded 1322 times

Pep
Site Admin
Site Admin
Posts: 3306
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Re: Mouse move on series trigers wrong legend when not all series are active

Post by Pep » Thu Aug 17, 2023 10:56 am

Hello Marcel,
thanks for the project. You're correct, I'm able to reproduce the problem here. It's a bug and it has been added on our bug list to be considered for next maintenance releases. Here the issue added:
https://www.steema.com/bugs/show_bug.cgi?id=2627

In meantime, the only workaround that I can think of would be to set active to false for hover feature.

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

Re: Mouse move on series trigers wrong legend when not all series are active

Post by Yeray » Fri Aug 25, 2023 2:51 pm

Hello Marcel,

This is just to let you know I've just fixed the #2627.
So the next maintenance release will include it.
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

Marcel H
Newbie
Newbie
Posts: 5
Joined: Mon Sep 12, 2022 12:00 am

Re: Mouse move on series trigers wrong legend when not all series are active

Post by Marcel H » Mon Aug 28, 2023 9:49 am

Thank You Yeray for the fix.

Marcel

Post Reply