Page 1 of 1

Drag Drop Line series object

Posted: Wed May 25, 2011 7:35 am
by 9641422
Hi
I am using evaluation version of teechart4 for developing windows application. I have taken a line object to draw line, first the graph would show a single line then we would have a option to drag and drop multiple lines from the original line in the graph.

Please help me as soon as possible.

Thanks in advance for your support

Thanking and regards
Sudhir

Re: Drag Drop Line series object

Posted: Wed May 25, 2011 10:48 am
by 10050769
Hello Amol,

I suggest you use DrawLineItems, that allow to know which line is selected. I think may be interesting for you, take a look in this link.

I hope will help.

Thanks,

Re: Drag Drop Line series object

Posted: Wed May 25, 2011 1:50 pm
by 9641422
Hi
Problem is attached in screen shot please look this.


thanks
Sudhir

Re: Drag Drop Line series object

Posted: Wed May 25, 2011 3:06 pm
by 10050769
Hello Amol,

Thanks for your information. Please, can you arrange a simple project because we can reproduce your problem exactly here?

Thanks,

Re: Drag Drop Line series object

Posted: Thu May 26, 2011 5:26 am
by 9641422
Hi,
The project is in initial stage so this is first graph which i have to plot, actually i have taken a line object to draw the base graph and this would load at the time of project loaded then i have to drag this line using mouse and drop it on the teechart then a new line objeect would be created which is mentiond in attached screen shot.


Please look this problem it is very urgent .
I am waiting for your reply..

Thanks in advance

Sudhir

Re: Drag Drop Line series object

Posted: Fri May 27, 2011 2:55 pm
by 10050769
Hello Sudhir,

I recommend you use Drag Points Tool and calculate the displacement of point have moved, using the help of MouseDown and MouseUp events to move each point same displacement of point you have moved first. You can find and example with ActiveX here: http://www.teechart.net/support/viewtopic.php?t=3733. If you have any problems with it let me know.

I hope will helps.

Thanks,