mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2136 PLT plot curve appearance improved. First group gets solid fill. If Observed data is available, it will be first. The other groups are drawn with a gentle transparency on the last curve to "connect" the groups visually.
This commit is contained in:
@@ -613,12 +613,20 @@ void RimWellPltPlot::addStackedCurve(const QString& curveName,
|
||||
|
||||
curve->setColor(color);
|
||||
curve->setGroupId(curveGroupId);
|
||||
curve->setDoFillCurve(doFillCurve);
|
||||
curve->setSymbol(RimSummaryCurveAppearanceCalculator::cycledSymbol(curveGroupId));
|
||||
|
||||
if (curveGroupId == 0)
|
||||
{
|
||||
curve->setDoFillCurve(true);
|
||||
curve->setSymbol(RimPlotCurve::SYMBOL_NONE);
|
||||
}
|
||||
else
|
||||
{
|
||||
curve->setDoFillCurve(false);
|
||||
curve->setSymbol(RimSummaryCurveAppearanceCalculator::cycledSymbol(curveGroupId));
|
||||
}
|
||||
|
||||
curve->setSymbolSkipDinstance(10);
|
||||
plotTrack->addCurve(curve);
|
||||
|
||||
curve->loadDataAndUpdate(true);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user