Page 1 of 1

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

Posted: Tue Aug 15, 2023 1:33 pm
by 16494334
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

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

Posted: Wed Aug 16, 2023 5:17 am
by Pep
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

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

Posted: Thu Aug 17, 2023 7:55 am
by 16494334
Hello

See the attachment for a simple example.

Regards,

Marcel

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

Posted: Thu Aug 17, 2023 10:56 am
by Pep
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.

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

Posted: Fri Aug 25, 2023 2:51 pm
by yeray
Hello Marcel,

This is just to let you know I've just fixed the #2627.
So the next maintenance release will include it.

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

Posted: Mon Aug 28, 2023 9:49 am
by 16494334
Thank You Yeray for the fix.

Marcel