Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Tools for Microsoft .Net & .Net Compact Framework
 Real-Time Graphics Tools for .Net (VB and C#)
 redraw in RT
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jack1974

10 Posts

Posted - 16 Aug 2005 :  16:20:05  Show Profile  Reply with Quote
I want to redraw my real time graph, but every time I do I can still see the old ones behind it, which distorts my drawing. How do I make it refresh itself so that I can redraw it without the old one being still being visible.

quinncurtis

1164 Posts

Posted - 16 Aug 2005 :  18:22:15  Show Profile  Reply with Quote
The ChartView keeps track of all chart objects added to it. If you are recreating the chart by recreating all new chart objects, then you will need to delete the previous ones from the ChartView. You can delete all of them calling the ChartView.ResetChartObjList method.

In our examples it would be something like:

chartVu.ResetChartObjList();

You are probably doing something wrong if you need to do this. YOu should be able to change the existing Chart objects, rather than recreating them all and adding them the ChartView again. But you can do it either way.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Quinn-Curtis Forums © 2000-07 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07