#3165 Plot source stepping. Reset error bars when stepping through vectors

This commit is contained in:
Bjørn Erik Jensen
2018-07-09 09:09:51 +02:00
parent 60146be146
commit 93af11f934
3 changed files with 14 additions and 0 deletions

View File

@@ -286,6 +286,14 @@ void RiuLineSegmentQwtPlotCurve::detach()
m_attachedToPlot = nullptr;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RiuLineSegmentQwtPlotCurve::clearErrorBars()
{
m_errorBars->setSamples(nullptr);
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------

View File

@@ -79,6 +79,7 @@ public:
void attach(QwtPlot *plot);
void detach();
void clearErrorBars();
void showErrorBars(bool show);
void setErrorBarsColor(QColor color);