mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Setter methods for grid lines, plot title visibility and tick intervals
* Allows us to set them programatically.
This commit is contained in:
@@ -992,6 +992,34 @@ void RimWellLogTrack::updateEditors()
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimWellLogTrack::setVisibleXRange(double minValue, double maxValue)
|
||||
{
|
||||
this->setAutoScaleXEnabled(false);
|
||||
m_visibleXRangeMin = minValue;
|
||||
m_visibleXRangeMax = maxValue;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimWellLogTrack::setTickIntervals(double majorTickInterval, double minorTickInterval)
|
||||
{
|
||||
m_explicitTickIntervals = true;
|
||||
m_majorTickInterval = majorTickInterval;
|
||||
m_minorTickInterval = minorTickInterval;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimWellLogTrack::enableGridLines(GridLines gridLines)
|
||||
{
|
||||
m_showXGridLines = gridLines;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user