mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Summary Plot: fix axis logic for left axis
This commit is contained in:
committed by
Magne Sjaastad
parent
0ca70249ae
commit
20ec6e20f2
@@ -862,8 +862,9 @@ void RimSummaryPlot::updateZoomForAxis( RiuPlotAxis plotAxis )
|
||||
|
||||
plotWidget()->setAxisScale( yAxisProps->plotAxisType(), min, max );
|
||||
}
|
||||
else if ( plotAxis.axis() == RiaDefines::PlotAxis::PLOT_AXIS_LEFT ||
|
||||
plotAxis.axis() == RiaDefines::PlotAxis::PLOT_AXIS_RIGHT && isOnlyWaterCutCurvesVisible( plotAxis ) )
|
||||
else if ( ( plotAxis.axis() == RiaDefines::PlotAxis::PLOT_AXIS_LEFT ||
|
||||
plotAxis.axis() == RiaDefines::PlotAxis::PLOT_AXIS_RIGHT ) &&
|
||||
isOnlyWaterCutCurvesVisible( plotAxis ) )
|
||||
{
|
||||
plotWidget()->setAxisScale( yAxisProps->plotAxisType(), 0.0, 1.0 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user