TChartScrollBar incorrect scroll when top and bottom axis

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Technicon
Newbie
Newbie
Posts: 43
Joined: Thu Aug 11, 2016 12:00 am
Contact:

TChartScrollBar incorrect scroll when top and bottom axis

Post by Technicon » Wed Nov 23, 2016 10:22 am

Hello,

TChartScrollBar doesn't scroll correctly when one series is attached to bottom axis and second series is attached to top axis.

Initial chart
t1.png
t1.png (60.67 KiB) Viewed 4434 times
After zoom
t2.png
t2.png (42.82 KiB) Viewed 4431 times
After move scroll
t3.png
t3.png (45.25 KiB) Viewed 4433 times
Is it possible to force TChartScrollBar to obey axis settings like pTChartAxis->ExactDateTime = true; pTChartAxis->Increment = DateTimeStep[dtFifteenMinutes];

Best Regards,
Grzegorz

Yeray
Site Admin
Site Admin
Posts: 9533
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TChartScrollBar incorrect scroll when top and bottom axis

Post by Yeray » Thu Nov 24, 2016 8:23 am

Hi Grzegorz,

We use to recommend to use the standard TScrollBar instead of TChartScrollBar because it presents some problems in complex situations like this.
I'm sorry for the inconvenience.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply