#3155 Slightly tweak X-autozoom so it zooms to the nearest outside minor tick.

* Looks much better and makes the problem of having tick labels overlap with neighbour tracks much rarer.
This commit is contained in:
Gaute Lindkvist committed 2018-07-16 08:57:28 +02:00
1 parent ca1f9506b1
commit 714aafc05c
4 files changed
+23 -6

No files matched your search

@@ -643,6 +643,7 @@ void RimWellLogPlot::updateTracks(bool autoScaleXAxis)
{
m_tracks[tIdx]->setAutoScaleXEnabled(true);
m_tracks[tIdx]->calculateXZoomRangeAndUpdateQwt();
m_tracks[tIdx]->updateAxisAndGridTickIntervals();
}
}