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
 QCChart2D and QCChart2D CF (VB and C#)
 How to clean a chart
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

pachart

15 Posts

Posted - 25 Nov 2003 :  15:10:01  Show Profile  Reply with Quote
On the same chartview I tried to show charts one by one based on the
dataset changes. For example, I have ten wells, I created a chart for well daily production, such as Gas, Oil. After show the chart for the first well, I want to continue to show chart for the second well. But the chart for the first well can't be cleaned before displaying the chart for the second well. The charts are overlapped each other. Is there a way to clean the chart before running ChartView.UpdateDraw for the second well?

quinncurtis

1164 Posts

Posted - 25 Nov 2003 :  15:22:00  Show Profile  Reply with Quote
You can return a ChartView to its initial state by calling the ChartView.ResetChartObjectList() method. If you call the ChartView.UpdateDraw method after this call the chart will be empty. If you add new objects prior to the ChartView.UpdateDraw call only the new objects will show up.
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