Hello,
I have some problems with the zooming in the chart.
I have made an application where I want to take care of the zooming myself. I'm using zoomFactor and ZoomPosition for X and Y to calculate new ranges (to get new labels).
I'm saving the zoomFactor and ZoomPosition values on a stack in order to get correct ranges when i Zoom out again (triggered by double clicking in the chart).
1. Everything works as expected until I zoom out to the start position/view. I get correct ranges of the chart BUT some column/bars are not present anymore! What could possibly have gone wrong here? I attach a small application which represent this problem. Zoom in small parts at a time, zoom in 2-3 times. Double click to zoom out until you get to the startview. As you can see I don't get all columns/bars that were displayed at the startview (even though the whole area is shown).
2. Another thing that is strange here is that when I have zoomed out to get to the start view and I'm zooming in again I get very strange values of ZoomfactorX and ZoomPositionX. They really do not consist with the Max and Min value of the chart.
I thought that the ZoomFactor and ZoomPosition values always were calculated from the PrimaryX/Y.Range.Max/Min values but this does not seems to be correct.
Do you have any ides what could have gone wrong?
Best regards,
Ana
ZoomAndRescale0.zip