mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3104 Well Log Plots: Implement variable width for tracks
This commit is contained in:
@@ -275,3 +275,16 @@ void RiuWellLogTrack::enableVerticalAxisLabelsAndTitle(bool enable)
|
||||
this->axisScaleDraw(QwtPlot::yLeft)->enableComponent(
|
||||
QwtAbstractScaleDraw::Labels, enable);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
int RiuWellLogTrack::widthScaleFactor() const
|
||||
{
|
||||
if (m_plotTrackDefinition)
|
||||
{
|
||||
return m_plotTrackDefinition->widthScaleFactor();
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user