#1169 Added text on the x-axis

This commit is contained in:
Jacob Støren
2017-02-08 13:23:52 +01:00
parent d5ec760ddd
commit a736d41eb7
5 changed files with 37 additions and 2 deletions

View File

@@ -251,6 +251,7 @@ void RimWellLogTrack::loadDataAndUpdate()
if (wellLogPlot && m_wellLogTrackPlotWidget)
{
m_wellLogTrackPlotWidget->setDepthTitle(wellLogPlot->depthPlotTitle());
m_wellLogTrackPlotWidget->setXTitle(m_xAxisTitle);
}
for (size_t cIdx = 0; cIdx < curves.size(); ++cIdx)
@@ -259,6 +260,14 @@ void RimWellLogTrack::loadDataAndUpdate()
}
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimWellLogTrack::setXAxisTitle(const QString& text)
{
m_xAxisTitle = text;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------