Add support for placing legend at several positions

Show legends on top of preview plot
This commit is contained in:
Magne Sjaastad
2023-11-23 17:13:47 +01:00
parent 243b07c42f
commit 4b0f2b362e
10 changed files with 35 additions and 43 deletions

View File

@@ -103,7 +103,7 @@ RiuSummaryQwtPlot::RiuSummaryQwtPlot( RimSummaryPlot* plot, QWidget* parent /*=
// PERFORMANCE NOTE
// Do not set internal legends visible, as this will cause a performance hit.
m_plotWidget->setInternalLegendVisible( false );
m_plotWidget->clearLegend();
m_annotationTool = std::unique_ptr<RiuPlotAnnotationTool>( new RiuPlotAnnotationTool() );
}