#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:


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 22 months ago by abeham

  • Status changed from new to accepted

comment:2 Changed 22 months ago by abeham

  • Owner changed from abeham to mkommend
  • Status changed from accepted to reviewing

r14651: fixed zoom resetting

comment:3 Changed 22 months ago by mkommend

  • Owner changed from mkommend to abeham
  • Status changed from reviewing to readytorelease

Reviewed and tested r14651.

comment:4 Changed 22 months ago by abeham

  • Resolution set to done
  • Status changed from readytorelease to closed

r14670: merged r14651 to stable

Note: See TracTickets for help on using tickets.