#4517 Implement highlighting function for plot curves

This commit is contained in:
Gaute Lindkvist
2019-08-02 13:13:23 +02:00
parent be40ca25af
commit 25f13122a2
5 changed files with 131 additions and 5 deletions

View File

@@ -398,7 +398,6 @@ void RiuGridCrossQwtPlot::selectSample(QwtPlotCurve* curve, int sampleNumber)
curveLabel.setBorderRadius(2.0);
m_selectedPointMarker->setLabel(curveLabel);
}
replot();
}
//--------------------------------------------------------------------------------------------------
@@ -407,7 +406,6 @@ void RiuGridCrossQwtPlot::selectSample(QwtPlotCurve* curve, int sampleNumber)
void RiuGridCrossQwtPlot::clearSampleSelection()
{
m_selectedPointMarker->detach();
replot();
}
//--------------------------------------------------------------------------------------------------