mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#8536 Summary Plot: Fix axis position for legacy projects.
The axis property position has to be reassigned for all axis types.
This commit is contained in:
parent
3d6b7bdb0e
commit
a8a3d3332b
@ -1961,11 +1961,8 @@ void RimSummaryPlot::initAfterRead()
|
||||
// This operation will overwrite the plot axis side, default is left
|
||||
axisProperties->readObjectFromXmlString( data, caf::PdmDefaultObjectFactory::instance() );
|
||||
|
||||
if ( axis.axis() == RiaDefines::PlotAxis::PLOT_AXIS_RIGHT )
|
||||
{
|
||||
// Reset the plot axis for the right axis
|
||||
axisProperties->setNameAndAxis( "Right", RiaDefines::PlotAxis::PLOT_AXIS_RIGHT, 0 );
|
||||
}
|
||||
// Reset the plot axis for the axis property
|
||||
axisProperties->setNameAndAxis( axisProperties->name(), axis.axis(), 0 );
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user