chu Posted July 9, 2009 Report Share Posted July 9, 2009 I'm having difficulties with zooming within maps. Currently, our application has the zoom button within the toolbar removed. However, the user can still click and drag to select a region to zoom into (which is, what we want). The chart zoom property is set to true. However, I cannot seem to figure out how to cancel the zoom, or reset it, back to the original state. Is there a method I can access to set the zoom back (as when someone presses the toolbar button to set the zoom properly?) Thanks for your time Quote Link to comment Share on other sites More sharing options...
chu Posted July 9, 2009 Author Report Share Posted July 9, 2009 *Note, i've tried the following already: map1.CancelZoom(); //chart1.AxisX.ZoomOff(); //chart1.AxisY.ZoomOff(); //chart1.Refresh(); //chart1.AxisY.ResetScale(); //chart1.AxisX.ResetScale(); //map1.Recalculate(); Quote Link to comment Share on other sites More sharing options...
AndreG Posted July 9, 2009 Report Share Posted July 9, 2009 I believe the CancelZoom method was supposed to be the right method for you. I have also tried it on my side and confirmed it to not be working. I have since reported as a bug, I will reply here when I have more details. Quote Link to comment Share on other sites More sharing options...
chu Posted July 9, 2009 Author Report Share Posted July 9, 2009 Thanks for your response AndreG. Just as a follow up, i've also tried the following: this.chart1.AxisX.GetScrollView(out ViewMin, out ViewMax); this.chart1.AxisY.GetScrollView(out ViewMin, out ViewMax);this.chart1.AxisX.Zoom(-1, -764); this.chart1.AxisY.Zoom(0, -1); //this.chart1.AxisX.SetScrollView(1, 764); //this.chart1.AxisY.SetScrollView(0, 1);Thanks again for your time. Quote Link to comment Share on other sites More sharing options...
chu Posted July 10, 2009 Author Report Share Posted July 10, 2009 Hi - has there been any update? thanks Quote Link to comment Share on other sites More sharing options...
chu Posted August 3, 2009 Author Report Share Posted August 3, 2009 Was wondering if there was a hot fix, or any update on this issue. Thanks!! Quote Link to comment Share on other sites More sharing options...
AndreG Posted August 3, 2009 Report Share Posted August 3, 2009 I have not heard anything yet. I have just requested an update. Quote Link to comment Share on other sites More sharing options...
chu Posted August 3, 2009 Author Report Share Posted August 3, 2009 Thanks!!!! Quote Link to comment Share on other sites More sharing options...
chu Posted November 23, 2009 Author Report Share Posted November 23, 2009 Any update as to this issue? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.