mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#783 Summary: Make legend show all aspects of the curve
This commit is contained in:
parent
5c09935ac5
commit
f581c172f6
@ -336,10 +336,17 @@ void RimPlotCurve::updateCurveAppearance()
|
||||
break;
|
||||
}
|
||||
}
|
||||
QPen curvePen(curveColor);
|
||||
curvePen.setWidth(m_curveThickness);
|
||||
curvePen.setStyle(penStyle);
|
||||
|
||||
m_qwtPlotCurve->setPen(curveColor, m_curveThickness, penStyle);
|
||||
m_qwtPlotCurve->setPen(curvePen);
|
||||
m_qwtPlotCurve->setStyle(curveStyle);
|
||||
m_qwtPlotCurve->setSymbol(symbol);
|
||||
|
||||
m_qwtPlotCurve->setLegendAttribute(QwtPlotCurve::LegendShowLine, true);
|
||||
m_qwtPlotCurve->setLegendAttribute(QwtPlotCurve::LegendShowSymbol, true);
|
||||
m_qwtPlotCurve->setLegendAttribute(QwtPlotCurve::LegendShowBrush, true);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user