From e65f7dfd247cdb3b04044aba14518f39c6bcde42 Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Wed, 2 Apr 2025 09:37:08 +0200 Subject: [PATCH] When activating linked Y axis, make sure all sub plots are updated --- .../ProjectDataModel/Summary/RimSummaryMultiPlot.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ApplicationLibCode/ProjectDataModel/Summary/RimSummaryMultiPlot.cpp b/ApplicationLibCode/ProjectDataModel/Summary/RimSummaryMultiPlot.cpp index ebaebb93b0..827458696a 100644 --- a/ApplicationLibCode/ProjectDataModel/Summary/RimSummaryMultiPlot.cpp +++ b/ApplicationLibCode/ProjectDataModel/Summary/RimSummaryMultiPlot.cpp @@ -754,8 +754,8 @@ void RimSummaryMultiPlot::zoomAll() if ( m_linkSubPlotAxes() ) { - // Reset zoom to make sure the complete range for min/max is available - RimMultiPlot::zoomAll(); + // Disable auto scaling for Y axis, use the axis values from the first plot + setAutoScaleYEnabled( false ); if ( !summaryPlots().empty() ) {