Graphics 3D Drawings.

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
vijay
Newbie
Newbie
Posts: 42
Joined: Thu Jul 31, 2008 12:00 am
Contact:

Graphics 3D Drawings.

Post by vijay » Mon Dec 01, 2008 3:54 am

Hi,
After looking in to Interpolating Line series sample, I have created a tchart like interpolating line-series sample. It shows the cursortool hit point values in the hit point itself (by making use of g.Rectangle and g.Textout functions).
Now when i try to remove a CursorTool i am not able to remove its corresponding graphic drawings(rectangle and textout). Is there any way to remove those drawings when i remove my cursortool??

Thanks,
Vijay.

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 Dec 01, 2008 8:40 am

Hi Vijay,

You could try calling tChart1.Draw() method but not executing any custom drawing code in the AfterDraw event. You could use a flag that changes when the tool is removed.
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