mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 16:32:12 -05:00
Change to point to point for Accumulated Flow Volume Percentage
This commit is contained in:
1 parent
eb8c0c1de7
commit
b1e94adffd
1 file changed
+2
-1
@@ -373,7 +373,8 @@ void RimWellAllocationOverTimePlot::updateFromWell()
|
|||||||
const auto qColor = QColor( color.rByte(), color.gByte(), color.bByte() );
|
const auto qColor = QColor( color.rByte(), color.gByte(), color.bByte() );
|
||||||
const auto fillColor = RiaColorTools::blendQColors( qColor, QColor( Qt::white ), 3, 1 );
|
const auto fillColor = RiaColorTools::blendQColors( qColor, QColor( Qt::white ), 3, 1 );
|
||||||
const QBrush fillBrush( fillColor, Qt::BrushStyle::SolidPattern );
|
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_POINT_TO_POINT
|
||||||
: RiuQwtPlotCurveDefines::CurveInterpolationEnum::INTERPOLATION_STEP_LEFT;
|
: RiuQwtPlotCurveDefines::CurveInterpolationEnum::INTERPOLATION_STEP_LEFT;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user