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#)
 reset zoom stack - how?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

emcc

15 Posts

Posted - 05 May 2006 :  07:54:40  Show Profile  Reply with Quote
Hi, I want to reload a chart dataset, but I need to reset the zoomstack first, otherwise the axes are redrawn incorrectly. I can call PopZoomStack until it is clear, but the chart looks like it redrawn each time. How can i prevent this?

quinncurtis

1164 Posts

Posted - 05 May 2006 :  09:20:31  Show Profile  Reply with Quote
We don't have a method to reset the zoom stack, other than calling PopZoomStack, as you have already done.

Have you tried to create a new ChartZoom object and install it as the CurrentMouseListener, to replace the current one. This should give you an empty zoom stack without redrawing anything.
Go to Top of Page

emcc

15 Posts

Posted - 05 May 2006 :  18:38:02  Show Profile  Reply with Quote
Thanks for that.
Creating a new Zoom object isn't enough since the axes are redrawn with previous scales - drawn small inside plot, along with ticks and labels. Looks like I might as well clear the plot and recreate the lot.
E.
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