Opened 8 years ago
Closed 8 years ago
#2728 closed defect (done)
Fix EnhancedChart resetting the zoom level
Reported by: | abeham | Owned by: | abeham |
---|---|---|---|
Priority: | medium | Milestone: | HeuristicLab 3.3.15 |
Component: | Visualization.ChartControlsExtensions | Version: | 3.3.14 |
Keywords: | Cc: |
Description
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:1 Changed 8 years ago by abeham
- Status changed from new to accepted
comment:2 Changed 8 years ago by abeham
- Owner changed from abeham to mkommend
- Status changed from accepted to reviewing
comment:3 Changed 8 years ago by mkommend
- Owner changed from mkommend to abeham
- Status changed from reviewing to readytorelease
Reviewed and tested r14651.
comment:4 Changed 8 years ago by abeham
- Resolution set to done
- Status changed from readytorelease to closed
Note: See
TracTickets for help on using
tickets.
r14651: fixed zoom resetting