Drag Drop Line series object

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Amol
Advanced
Posts: 176
Joined: Mon May 29, 2006 12:00 am

Drag Drop Line series object

Post by Amol » Wed May 25, 2011 7:35 am

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

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Drag Drop Line series object

Post by Sandra » Wed May 25, 2011 10:48 am

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,
Best Regards,
Sandra Pazos / 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

Amol
Advanced
Posts: 176
Joined: Mon May 29, 2006 12:00 am

Re: Drag Drop Line series object

Post by Amol » Wed May 25, 2011 1:50 pm

Hi
Problem is attached in screen shot please look this.


thanks
Sudhir
Attachments
second.PNG
this is base graph when project would load
second.PNG (35.18 KiB) Viewed 11190 times
baseGrap1.PNG
drag multiple line object from the base line
baseGrap1.PNG (18.76 KiB) Viewed 11189 times

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Drag Drop Line series object

Post by Sandra » Wed May 25, 2011 3:06 pm

Hello Amol,

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

Thanks,
Best Regards,
Sandra Pazos / 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

Amol
Advanced
Posts: 176
Joined: Mon May 29, 2006 12:00 am

Re: Drag Drop Line series object

Post by Amol » Thu May 26, 2011 5:26 am

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

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Drag Drop Line series object

Post by Sandra » Fri May 27, 2011 2:55 pm

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,
Best Regards,
Sandra Pazos / 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