mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-09 23:53:04 -06:00
Stop using gradient for AccumulatedPhaseFractionsPlot
This commit is contained in:
parent
d39e31b982
commit
af72538516
@ -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 );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user