#9357 StimPlanModelPlot: Plot visibility and logic updates

- update project tree after plot is generated
- set default text tracker orientation to vertical
- call base class fieldChangedByUi to handle hiding of Stimplan plot
This commit is contained in:
Magne Sjaastad
2022-10-13 07:09:44 +02:00
parent e7a486c802
commit 7591b480a3
3 changed files with 7 additions and 3 deletions

View File

@@ -73,13 +73,13 @@ protected:
RimWellLogPlot* wlp = nullptr;
m_wellLogTrack->firstAncestorOfType( wlp );
if ( wlp && wlp->depthOrientation() == RimDepthTrackPlot::DepthOrientation::VERTICAL )
if ( wlp && wlp->depthOrientation() == RimDepthTrackPlot::DepthOrientation::HORIZONTAL )
{
str = QString( "%1\nDepth: %2" ).arg( xAxisValueString ).arg( depthAxisValueString );
str = QString( "%1\nDepth: %2" ).arg( depthAxisValueString ).arg( xAxisValueString );
}
else
{
str = QString( "%1\nDepth: %2" ).arg( depthAxisValueString ).arg( xAxisValueString );
str = QString( "%1\nDepth: %2" ).arg( xAxisValueString ).arg( depthAxisValueString );
}
if ( !curveInfoText.isEmpty() )