#8522 Summary Plot: ensure plot axis are restore when creating plots.

This commit is contained in:
Kristian Bendiksen
2022-02-18 14:59:35 +01:00
parent 2e6795bd1d
commit bd22336ba8
6 changed files with 28 additions and 2 deletions

View File

@@ -2006,6 +2006,11 @@ RiuPlotWidget* RimSummaryPlot::doCreatePlotViewWidget( QWidget* mainWindowParent
m_summaryPlot = std::make_unique<RiuSummaryQwtPlot>( this, mainWindowParent );
#endif
for ( auto axisProperties : m_axisProperties )
{
plotWidget()->ensureAxis( axisProperties->plotAxisType() );
}
for ( RimGridTimeHistoryCurve* curve : m_gridTimeHistoryCurves )
{
curve->setParentPlotNoReplot( plotWidget() );