mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3826 Summary curves. Draw error bars in front of all curves except from observed data curves
This commit is contained in:
committed by
Magne Sjaastad
parent
0fa5a5b000
commit
d482d3a4ca
@@ -55,6 +55,7 @@ RiuQwtPlotCurve::RiuQwtPlotCurve(const QString &title)
|
||||
m_errorBars->setStyle(QwtPlotIntervalCurve::CurveStyle::NoCurve);
|
||||
m_errorBars->setSymbol(new QwtIntervalSymbol(QwtIntervalSymbol::Bar));
|
||||
m_errorBars->setItemAttribute(QwtPlotItem::Legend, false);
|
||||
m_errorBars->setZ(Z_ERROR_BARS);
|
||||
|
||||
m_showErrorBars = true;
|
||||
m_attachedToPlot = nullptr;
|
||||
|
||||
@@ -63,6 +63,16 @@ public:
|
||||
STYLE_DASH_DOT
|
||||
};
|
||||
|
||||
// Z index. Higher Z is painted in front
|
||||
enum ZIndex
|
||||
{
|
||||
Z_ENSEMBLE_CURVE = 100,
|
||||
Z_ENSEMBLE_STAT_CURVE = 200,
|
||||
Z_SINGLE_CURVE_NON_OBSERVED = 300,
|
||||
Z_ERROR_BARS = 400,
|
||||
Z_SINGLE_CURVE_OBSERVED = 500
|
||||
};
|
||||
|
||||
public:
|
||||
explicit RiuQwtPlotCurve(const QString &title = QString::null);
|
||||
~RiuQwtPlotCurve() override;
|
||||
|
||||
Reference in New Issue
Block a user