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 1936

Summary: New property to choose what line segment(s) to highlight when hovering over a pointer
Product: VCL TeeChart Reporter: yeray alonso <yeray>
Component: SeriesAssignee: yeray alonso <yeray>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: ---    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
URL: http://www.teechart.net/support/viewtopic.php?f=3&t=16704#p74304
Chart Series: --- Delphi / C++ Builder RAD IDE Version:
Attachments: test project

Description yeray alonso 2017-10-31 04:21:31 EDT
Implementing #1935 (http://bugs.teechart.net/show_bug.cgi?id=1935), no line segment is highlighted when hovering over a pointer.

We could add a new property (ie Pointer.HoverStyle at TCustomSeries) to control what line segment(s) to highlight when hovering over a pointer.

- Could be an Enum with values like "PreviousLine", "NextLine" or "BothLines".

- Could be a Set of Enums with values line "PreviousLine", "NextLine" and "Pointer".

With the second option (Set of Emuns) it would be easier to give the option to highlight one or both line segments without highlighting the pointer.
Comment 1 yeray alonso 2017-11-10 07:26:02 EST
Created attachment 794 [details]
test project

Changed Pointer.HoverStyle property to HoverElement, a property for all the series, at TChartSeries. It's a set, with the possible values:

- hePrevious: Disabled by default. When active, highlights the element previous to the element below the mouse.

- heNext: Disabled by default. When active, highlight the element next to the element below the mouse.

- heCurrent: Enabled by default. When active, highlights the element below the mouse.

- heJoin: Disabled by default. When active, Pointer and Mark are treated as the same hover element.

Elements are: line segments, area segments, pointers, or pointer+mark.

See the project attached to test all the new properties