Moving a TLineSeries by mouse

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
johnnix
Advanced
Posts: 192
Joined: Tue Jul 10, 2007 12:00 am

Moving a TLineSeries by mouse

Post by johnnix » Mon May 26, 2008 10:07 am

Hello,

I have a TLineSeries with 2 pairs of values only e.g. (x1,10), (x2,10) (the Y value is always the same). I need to provide the user with the ability to move this line by mouse vertically (thus changing only the Y value). Any hints on what I have to take care?

Regards

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

Post by Narcís » Mon May 26, 2008 10:16 am

Hi johnnix,

To drag an entire series you can do something like what I suggested here.
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

johnnix
Advanced
Posts: 192
Joined: Tue Jul 10, 2007 12:00 am

Post by johnnix » Mon May 26, 2008 10:40 am

Thank you very much for your prompt reply.... It works just fine!!!!

Regards

Post Reply