mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-15 01:42:13 -05:00
Area Fill: Fix are fill issue related to stacking of curves
This commit is contained in:
1 parent
35d0be6b62
commit
12794f80f2
5 files changed
+7
-26
No files matched your search
@@ -1831,12 +1831,6 @@ bool RimSummaryPlot::updateStackedCurveDataForAxis( RiuPlotAxis plotAxis )
|
||||
std::map<RiaDefines::PhaseType, size_t> curvePhaseCount;
|
||||
for ( RimSummaryCurve* curve : stackedCurves )
|
||||
{
|
||||
// Apply a area filled style if it isn't already set
|
||||
if ( curve->fillStyle() == Qt::NoBrush )
|
||||
{
|
||||
curve->setFillStyle( Qt::SolidPattern );
|
||||
}
|
||||
|
||||
curve->loadDataAndUpdate( false );
|
||||
|
||||
curvePhaseCount[curve->phaseType()]++;
|
||||
|
||||
Reference in new issue
Block a user