#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:
Kristian Bendiksen 2022-08-12 15:40:27 +02:00 committed by Magne Sjaastad
parent 3d06edc0a9
commit b134419544

View File

@ -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