From 37d6a44b2a5ff60ee7da818b8bbc9739d8d2dea8 Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Mon, 15 Aug 2022 16:02:47 +0200 Subject: [PATCH] #9194 Area Fill : Area filled curves should use zero as base line --- .../ProjectDataModel/WellLog/RimWellLogCurve.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ApplicationLibCode/ProjectDataModel/WellLog/RimWellLogCurve.cpp b/ApplicationLibCode/ProjectDataModel/WellLog/RimWellLogCurve.cpp index 108161fa21..eadf11f853 100644 --- a/ApplicationLibCode/ProjectDataModel/WellLog/RimWellLogCurve.cpp +++ b/ApplicationLibCode/ProjectDataModel/WellLog/RimWellLogCurve.cpp @@ -250,12 +250,12 @@ void RimWellLogCurve::updateCurveAppearance() if ( orientation == RimDepthTrackPlot::DepthOrientation::VERTICAL ) { qwtPlotCurve->setOrientation( Qt::Horizontal ); - qwtPlotCurve->setBaseline( -std::numeric_limits::infinity() ); + qwtPlotCurve->setBaseline( 0.0 ); } else { qwtPlotCurve->setOrientation( Qt::Vertical ); - qwtPlotCurve->setBaseline( -std::numeric_limits::infinity() ); + qwtPlotCurve->setBaseline( 0.0 ); } } }