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

This commit is contained in:
Magne Sjaastad 2022-08-15 16:02:47 +02:00
parent 0e45a90e1f
commit e6af123094

View File

@ -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 );
}
}
}