mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Clean up after review
* Disable grid lines and tick marks if x range is empty. * Rename intervals to intervalCount when it is an integer count. * Fix some compile warnings.
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
QwtScaleDiv RiuQwtLinearScaleEngine::divideScale(double x1, double x2, double majorStepInterval, double minorStepInterval)
|
||||
QwtScaleDiv RiuQwtLinearScaleEngine::divideScaleWithExplicitIntervals(double x1, double x2, double majorStepInterval, double minorStepInterval)
|
||||
{
|
||||
QwtInterval interval(x1, x2);
|
||||
QwtInterval roundedInterval = this->align(interval, majorStepInterval);
|
||||
|
||||
Reference in New Issue
Block a user