#9202 Summary Multi Plot: add option for having the legend inside the plot

This commit is contained in:
Kristian Bendiksen
2022-08-17 14:38:16 +02:00
parent be236cb644
commit 9d5a4e7939
5 changed files with 48 additions and 11 deletions

View File

@@ -168,6 +168,16 @@ void RiuPlotWidget::removeOverlayFrame( RiuDraggableOverlayFrame* overlayFrame )
m_overlayFrames.removeOne( overlayFrame );
}
//--------------------------------------------------------------------------------------------------
/// Remove all overlay widgets.
//--------------------------------------------------------------------------------------------------
void RiuPlotWidget::clearOverlayFrames()
{
for ( auto p : m_overlayFrames )
p->deleteLater();
m_overlayFrames.clear();
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------