#3098 Show depth axis only for left-most plot. They all share the same depth axis anyway.

This commit is contained in:
Gaute Lindkvist
2018-06-26 10:38:44 +02:00
parent f0bd7c726a
commit 405d470eda
5 changed files with 34 additions and 4 deletions

View File

@@ -628,6 +628,16 @@ void RimWellLogTrack::setXAxisTitle(const QString& text)
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
QString RimWellLogTrack::depthPlotTitle() const
{
RimWellLogPlot* parent;
this->firstAncestorOrThisOfTypeAsserted(parent);
return parent->depthPlotTitle();
}
///
//--------------------------------------------------------------------------------------------------
void RimWellLogTrack::setFormationWellPath(RimWellPath* wellPath)

View File

@@ -81,6 +81,7 @@ public:
size_t curveIndex(RimWellLogCurve* curve);
size_t curveCount() { return curves.size(); }
void setXAxisTitle(const QString& text);
QString depthPlotTitle() const;
void setFormationWellPath(RimWellPath* wellPath);
void setFormationSimWellName(const QString& simWellName);