Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 958

Summary: Disable Hover by default
Product: VCL TeeChart Reporter: yeray alonso <yeray>
Component: ChartAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED NOTABUG    
Severity: enhancement CC: david
Priority: High    
Version: 140923   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
URL: http://www.teechart.net/support/viewtopic.php?f=3&t=15216&p=67472#p67472
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description yeray alonso 2014-10-10 05:19:51 EDT
As the customer says in the forums, the hover feature is modifying the behaviour of old projects.

We could do what we did with GDIPlus: add an option at the "New Chart" tab in the design time options that writes a key in the registry.
Then Hover could be disabled when this key isn't set, meaning that's an old chart.
Comment 1 david berneda 2014-10-10 13:10:37 EDT
The problem with a registry setting is, when the exe moves to another PC, the setting is not there.

This setting could be used for new Charts added at design-time, but not for existing ones.

>>the hover feature is modifying the behaviour of old projects.

Is there any example? Can we fix this?

There is a global per-chart setting to disable Hover:

  Chart1.Hover.Visible:=False;
Comment 2 yeray alonso 2014-10-20 10:16:12 EDT
We can't consider this as a bug to be fixed. It's a new feature important enough to be enabled by default.

We consider we haven't broken backwards compatibility because the charts made with previous versions still work.

And, there's a simple call that can be added to existing projects to disable this feature when undesired.