Drawing Problems (Cursor, ZoomTool, etc.)

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
TMac
Newbie
Newbie
Posts: 4
Joined: Mon May 08, 2006 12:00 am

Drawing Problems (Cursor, ZoomTool, etc.)

Post by TMac » Mon Feb 19, 2007 9:10 pm

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!

Edu
Advanced
Posts: 206
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia

Post by Edu » Tue Feb 20, 2007 9:13 am

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.
Best Regards,
Edu

Steema Support Central
http://support.steema.com/

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Apr 24, 2008 2:55 pm

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.
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