mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#9131 Summary Plot: Show area fill also when line style is 'None'.
Fixes #9131. Fixed by drawing the line with Qt::NoPen (invisible).
This commit is contained in:
parent
3d06edc0a9
commit
b134419544
@ -226,7 +226,7 @@ void RiuQwtPlotCurve::setAppearance( RiuQwtPlotCurveDefines::LineStyleEnum
|
||||
const QColor& curveColor,
|
||||
const QBrush& fillBrush /* = QBrush( Qt::NoBrush )*/ )
|
||||
{
|
||||
QwtPlotCurve::CurveStyle curveStyle = QwtPlotCurve::NoCurve;
|
||||
QwtPlotCurve::CurveStyle curveStyle = QwtPlotCurve::Lines;
|
||||
Qt::PenStyle penStyle = RiuQwtPlotCurveDefines::convertToPenStyle( lineStyle );
|
||||
|
||||
// Qwt bug workaround (#4135): need to set 0 curve thickness for STYLE_NONE
|
||||
|
Loading…
Reference in New Issue
Block a user