In my application the x-axis (date/time) is adjusted automatically by a timer.
In case the user has panned or zoomed the chart this adjustment should be suppressed.
Zoom can be checked by "Chart.Zoomed", but how can I check if the chart is panned?
Regards
Flair58
Check if chart is panned?
Re: Check if chart is panned?
Hello,
There's the OnScroll event:
There's the OnScroll event:
Code: Select all
Chart1.OnScroll:=ChartScroll;
Code: Select all
procedure TForm1.ChartScroll(Sender: TObject);
begin
Caption:='Scrolling...';
end;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |