I have about 30 Tcharts on a form each with several Tlineseries plotting as time-series. (TChart 7.07, Delphi 6 Pro, Win XP). The t.series can contain several thousand points, and I and provide the user the option to lock zooming so that a zoom on chart1 is reflected across all charts on the form. I use the
procedure TLineplotfrm.Chart1Zoom(Sender: TObject);
event to pass the zoom parameters across all charts on the form.
I would liketo do the same thing for the right-mouse button drag event (standard Tchart behaviour I think), where the user has the ability to right click the chart and drag the series around the chart area. I'd like to reflect this across all charts on the form. Could someone tell me which event to use to trap this please?
thanks
Sean
Event for Teechart Drag
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Sean,
Yes, this is the OnScroll event, for example:
Yes, this is the OnScroll event, for example:
Code: Select all
procedure TForm1.Chart1Scroll(Sender: TObject);
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |