.NET Framework Developer Center >
.NET Development Forums
>
Chart Controls for .NET Framework
>
Possible bug in Chart Samples for Windows Forms
Possible bug in Chart Samples for Windows Forms
- Hello,
I'm experiencing a strange behaviour with zooming with the MS Chart control for Windows Forms which I believe is a bug. I'll provide a brief description of the situation, followed by the steps needed to reproduce the bug using the Chart samples you provided.
Summary:
If I try to zoom in a graph until the maximum zoom level, and after that, I zoom out to the general view again, the next click I make over the graph surface will make the chart appears as it is again at the maximum zoom level. However, while being in that state, if I try to zoom out the chart won't do it, as it "thinks" it is already at the most general view. It is necessary to zoom in and out again to fix the situation.
Steps to reproduce it:
- Open the Microsoft Chart Samples for Windows Forms.
- Go to Chart Features -> Interactive Charting -> Zooming and Scrolling -> Scrolling Axis with Keyboard
- This step is not really necessary: Click on the reset view button so you start at the general view.
- Start zooming in until you reach the maximum zoom level.
- This is a key step to reproduce the issue: Try to zoom in one more time: it won't do it as you are already on the maximum level.
- Once there, start clicking the reset view button until you reach the minimum zoom level, the most general view.
- Click on the chart surface: you should have appeared at the minimum zoom level again, despite you were on the most general view.
- Click on the reset view button. It shouldn't work, so you cannot zoom out that way.
- Zoom in.
- Zoom out using the reset view button: you are again in the general view, and you are now able to keep navigating on the chart again.
The version number of the Chart Samples I used is 1.0.3400.17394, downloaded again today from http://code.msdn.microsoft.com/mschart
If this possible bug is just a consequence of a not intended use of the control, please let me know so I could check the user interaction in the application I'm developing.- Edited bySimón P. Friday, May 22, 2009 7:06 AMfix
- Changed TypeAlex GorevMSFT, OwnerFriday, May 22, 2009 10:04 PMIt is a question
Answers
- Hi Simon. This is a bug in the Chart control. We have opened a bug ID for it.
Thanks for catching!- Proposed As Answer bycephalinMSFTFriday, May 29, 2009 4:56 PM
- Marked As Answer byAlex GorevMSFT, OwnerMonday, June 01, 2009 4:14 PM
All Replies
- Hi Simon P.,
We'll investigate and get back to you. Thanks!
Cephas - Hi Simon. This is a bug in the Chart control. We have opened a bug ID for it.
Thanks for catching!- Proposed As Answer bycephalinMSFTFriday, May 29, 2009 4:56 PM
- Marked As Answer byAlex GorevMSFT, OwnerMonday, June 01, 2009 4:14 PM


