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 - New property to choose what line segment(s) to highlight when hovering over a pointer
Summary: New property to choose what line segment(s) to highlight when hovering over a...
Status: RESOLVED FIXED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Series (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: yeray alonso
URL: http://www.teechart.net/support/viewt...
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-31 04:21 EDT by yeray alonso
Modified: 2017-11-10 07:26 EST (History)
0 users

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments
test project (1.59 MB, application/x-zip-compressed)
2017-11-10 07:26 EST, yeray alonso
Details

Note You need to log in before you can comment on or make changes to this bug.
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