Change to point to point for Accumulated Flow Volume Percentage

This commit is contained in:
Jørgen Herje 2023-02-06 11:23:38 +01:00 committed by Magne Sjaastad
parent eb8c0c1de7
commit b1e94adffd

View File

@ -373,7 +373,8 @@ void RimWellAllocationOverTimePlot::updateFromWell()
const auto qColor = QColor( color.rByte(), color.gByte(), color.bByte() );
const auto fillColor = RiaColorTools::blendQColors( qColor, QColor( Qt::white ), 3, 1 );
const QBrush fillBrush( fillColor, Qt::BrushStyle::SolidPattern );
auto interpolationType = m_flowValueType == FlowValueType::ACCUMULATED_FLOW_VOLUME
auto interpolationType = m_flowValueType == FlowValueType::ACCUMULATED_FLOW_VOLUME ||
m_flowValueType == FlowValueType::ACCUMULATED_FLOW_VOLUME_PERCENTAGE
? RiuQwtPlotCurveDefines::CurveInterpolationEnum::INTERPOLATION_POINT_TO_POINT
: RiuQwtPlotCurveDefines::CurveInterpolationEnum::INTERPOLATION_STEP_LEFT;