Page 1 of 1

Graphics 3D Drawings.

Posted: Mon Dec 01, 2008 3:54 am
by 14049736
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.

Posted: Mon Dec 01, 2008 8:40 am
by narcis
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.