Page 1 of 1

Bottom Axis highlighting wrong hover over values

Posted: Fri May 19, 2017 3:44 pm
by 16480231
We've noticed that on all of our charts, when you hover the mouse over the bottom axis the incorrect value is highlighted. It always highlights the value to the left of the one you are hovering over.
Screenshot.jpg
Screenshot of the cursor hovering over one point and the point to the left being highlighted
Screenshot.jpg (166.75 KiB) Viewed 9118 times
As you can see from photo above the mouse is hovering over 08/04/2015 but 18/03/2015 is highlighted. There are hidden axis labels in here as they consecutive weeks in the data set but the wrong label is highlighted irrespective of how many labels are highlighted.

Re: Bottom Axis highlighting wrong hover over values

Posted: Mon May 22, 2017 10:51 am
by 10050769
Hello Ando,

Using the code below and the latest Teechart Pro VCL/FMX v2017.21 the problem you're experiencing isn't occurs for us:

Code: Select all

Uses Series,TeeConst;
var Series1:TLineSeries;
procedure TForm3.FormCreate(Sender: TObject);
var t:Integer;
begin
        Series1 := TLineSeries.Create(Self);
        Chart1.AddSeries(Series1);
        Chart1.Title.Text.Text :=  TeeMsg_Version ;
Series1.XValues.DateTime := true;
       for t := 1 To 25 do
        Series1.AddXY(EncodeDate(2016, 4, t), Random(t));

       Chart1.Axes.Bottom.LabelsAngle := 90;

end;
Are you using latest Teechart Pro VCL/FMX version?

Thanks in advance,

Re: Bottom Axis highlighting wrong hover over values

Posted: Wed May 24, 2017 3:33 pm
by 16480231
20170524_162509.jpg
This is what happens on my machine with the attached code
20170524_162509.jpg (85.29 KiB) Viewed 9120 times
I copied your code and used that and now I get it the other way where the period to the right of the label I hover over is selected. I'm using the latest version and I'm using Delphi 10.1 Berlin Enterprise

Re: Bottom Axis highlighting wrong hover over values

Posted: Thu May 25, 2017 3:43 pm
by 10050769
Hello Ando,

I would like inform you the problem you're experiencing is already fixed for next maintenance release. Here's the bug number http://bugs.teechart.net/show_bug.cgi?id=1830
Note if you works with TeeChart Pro VCL/FMX v2017.21 source code version, we can provide you the fix.

Thanks in advance