Skip to content

Commit

Permalink
Call zoomAll when curve stacking is changed
Browse files Browse the repository at this point in the history
  • Loading branch information
magnesj committed Oct 12, 2023
1 parent c3e907e commit f83834f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2118,6 +2118,9 @@ void RimSummaryPlot::curveAppearanceChanged( const caf::SignalEmitter* emitter )
void RimSummaryPlot::curveStackingChanged( const caf::SignalEmitter* emitter, bool stacked )
{
loadDataAndUpdate();

// Change of stacking can result in very large y-axis changes, so zoom all
zoomAll();
}

//--------------------------------------------------------------------------------------------------
Expand Down

0 comments on commit f83834f

Please sign in to comment.