2992 Summary plot. Do not display error bars in legend

This commit is contained in:
Bjørn Erik Jensen 2018-05-28 13:45:30 +02:00
parent 278c8b672b
commit d799f9c0fd

View File

@ -45,6 +45,7 @@ RiuLineSegmentQwtPlotCurve::RiuLineSegmentQwtPlotCurve(const QString &title)
m_errorBars = new QwtPlotIntervalCurve();
m_errorBars->setStyle(QwtPlotIntervalCurve::CurveStyle::NoCurve);
m_errorBars->setSymbol(new QwtIntervalSymbol(QwtIntervalSymbol::Bar));
m_errorBars->setItemAttribute(QwtPlotItem::Legend, false);
m_showErrorBars = true;
m_attachedToPlot = nullptr;