Fix EnhancedChart resetting the zoom level
|Reported by:||abeham||Owned by:||abeham|
Double click in an EnhancedChart should reset the zoom level. Given the API documentation to reset all zoom levels it would be correct to call axis.ScaleView.ZoomReset(0), but currently int.MaxValue is passed as parameter which might lead to strange exceptions: OutOfMemory has been observed in one peculiar case, though not possible to replicate.
We had observed in other charts some problems with double click unzooming, e.g. gantt chart. Maybe this changes helps mitigate those problems.
Change History (4)
comment:2 Changed 3 months ago by abeham
- Owner changed from abeham to mkommend
- Status changed from accepted to reviewing
comment:3 Changed 3 months ago by mkommend
- Owner changed from mkommend to abeham
- Status changed from reviewing to readytorelease