Page 1 of 1

Moving a TLineSeries by mouse

Posted: Mon May 26, 2008 10:07 am
by 10046032
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

Posted: Mon May 26, 2008 10:16 am
by narcis
Hi johnnix,

To drag an entire series you can do something like what I suggested here.

Posted: Mon May 26, 2008 10:40 am
by 10046032
Thank you very much for your prompt reply.... It works just fine!!!!

Regards