Stop using gradient for AccumulatedPhaseFractionsPlot

This commit is contained in:
Gaute Lindkvist committed 2019-10-24 09:06:05 +02:00
1 parent d39e31b982
commit af72538516
1 file changed
-11
@@ -282,15 +282,4 @@ void RiuTofAccumulatedPhaseFractionsPlot::setCommonPlotBehaviour( QwtPlot* plot
void RiuTofAccumulatedPhaseFractionsPlot::setCurveColor( QwtPlotCurve* curve, QColor color )
{
curve->setBrush( QBrush( color ) );
QLinearGradient gradient;
gradient.setCoordinateMode( QGradient::StretchToDeviceMode );
gradient.setColorAt( 0, color.darker( 110 ) );
gradient.setColorAt( 0.15, color );
gradient.setColorAt( 0.25, color );
gradient.setColorAt( 0.4, color.darker( 110 ) );
gradient.setColorAt( 0.6, color );
gradient.setColorAt( 0.8, color.darker( 110 ) );
gradient.setColorAt( 1, color );
curve->setBrush( gradient );
}