#9194 Area Fill : Area filled curves should use zero as base line

This commit is contained in:
Magne Sjaastad committed 2022-09-15 08:19:41 +02:00
1 parent d6ab69a154
commit 37d6a44b2a
1 file changed
+2 -2
@@ -250,12 +250,12 @@ void RimWellLogCurve::updateCurveAppearance()
if ( orientation == RimDepthTrackPlot::DepthOrientation::VERTICAL )
{
qwtPlotCurve->setOrientation( Qt::Horizontal );
qwtPlotCurve->setBaseline( -std::numeric_limits<double>::infinity() );
qwtPlotCurve->setBaseline( 0.0 );
}
else
{
qwtPlotCurve->setOrientation( Qt::Vertical );
qwtPlotCurve->setBaseline( -std::numeric_limits<double>::infinity() );
qwtPlotCurve->setBaseline( 0.0 );
}
}
}