#4167 Implement option for inverting axes

This commit is contained in:
Gaute Lindkvist
2019-03-07 14:34:47 +01:00
parent d2393cb8a5
commit 804a196ce3
3 changed files with 14 additions and 1 deletions

View File

@@ -621,6 +621,7 @@ void RimGridCrossPlot::updateAxisInQwt(RiaDefines::PlotAxis axisType)
m_qwtPlot->setAxisMaxMinor(axisProperties->qwtPlotAxisType(), 3);
}
}
m_qwtPlot->axisScaleEngine(axisProperties->qwtPlotAxisType())->setAttribute(QwtScaleEngine::Inverted, axisProperties->isAxisInverted());
if (axisProperties->isAutoZoom())
{