Call zoomAll when curve stacking is changed

This commit is contained in:
Magne Sjaastad 2023-10-12 14:10:04 +02:00
parent a446f874cb
commit c34d123dee

View File

@ -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();
}
//--------------------------------------------------------------------------------------------------