Page 1 of 1

Drawing Problems (Cursor, ZoomTool, etc.)

Posted: Mon Feb 19, 2007 9:10 pm
by 9791253
I am having problems with some of the tools that use the ReversibleLine and ReversibleRectangles such as the ZoomTool and the FastCursor tool.

My chart constantly refreshes with real-time data coming in, and when it refreshes the chart, artifacts remain on the screen if the user is either zooming or using the cursor.

I tried to write my own versions of Zoom and FastCursor, by using DrawLine and DrawRectangle on the Chart Graphics object. The problem with that is that it gets very slow as more data is plotted. The drawing speed declines with the number of points added to the series even if only a few points are on-screen.

Is there a workaround for this? Can I prevent the ReversibleLine or ReversibleRectangle from leaving artifacts, or can I draw on the graph without it trying to redraw every point?

Thanks!

Posted: Tue Feb 20, 2007 9:13 am
by 9348258
Hello TMac

Please, could you read this post http://www.teechart.net/support/viewtopic.php?t=5450 about similar issues? Please notice that the thread has two pages.

Posted: Thu Apr 24, 2008 2:55 pm
by narcis
Hi TMac,

You may be intrested in checking out the new TeeChart for .NET v2 update build that fixes this issue. The fix has also been implemented for the next TeeChart for .NET v3 maintenance release due to be out on early May.