mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Improve user interface for axis linking
Several adjustments to UI as discussed with Håkon and Alireza. * add link/unlink command to right-click menu of axis * select curve in project tree when clicking on legend item * make sure internal legend is always visible when toggling plot * fix issue when using sub plot as data source for axis range
This commit is contained in:
@@ -755,7 +755,10 @@ void RiuMultiPlotPage::updateLegendVisibility( RiuPlotWidget* plotWid
|
||||
legend->show();
|
||||
|
||||
if ( m_plotDefinition->legendPosition() == RimPlotWindow::LegendPosition::INSIDE )
|
||||
{
|
||||
plotWidget->addOverlayFrame( legendFrame );
|
||||
legendFrame->show();
|
||||
}
|
||||
else
|
||||
{
|
||||
plotWidget->removeOverlayFrame( legendFrame );
|
||||
|
||||
Reference in New Issue
Block a user