Event for Teechart Drag

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
seanmurphy
Newbie
Newbie
Posts: 48
Joined: Fri Mar 12, 2004 5:00 am

Event for Teechart Drag

Post by seanmurphy » Thu Apr 05, 2007 6:30 am

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Apr 05, 2007 10:26 am

Hi Sean,

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
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply