#6514 Dark Theme : Fix curve colors for oil, water, gas

This commit is contained in:
Magne Sjaastad
2020-09-16 13:38:06 +02:00
committed by Gaute Lindkvist
parent 26ff3e28c8
commit 9bbbfc5088
4 changed files with 12 additions and 9 deletions

View File

@@ -12,8 +12,9 @@ $quaternaryColor: #36b27e; // Quaternary color
$quinaryColor: #0ce5d5; // Quinary color
$senaryColor: #a54ce5; // Senary color
$borderColor: #394046; // Main border color
$curveColorGas: #2196f3; // Curve color for gas plot
$curveColorOil: #4caf50; // Curve color for oil plot
$curveColorGas: #a91210; // Curve color for gas plot
$curveColorOil: #7ba700; // Curve color for oil plot
$curveColorWater: #3e7aa7; // Curve color for water plot
$markerColor: #e6e7ea; // Marker color
$lineMarkerColor: #eeeeee; // Color of line marker
$plotGridColor: #394046; // Plot grid color

View File

@@ -12,8 +12,9 @@ $quaternaryColor: #36b27e; // Quaternary color
$quinaryColor: #0ce5d5; // Quinary color
$senaryColor: #a54ce5; // Senary color
$borderColor: #394046; // Main border color
$curveColorGas: #2196f3; // Curve color for gas plot
$curveColorOil: #4caf50; // Curve color for oil plot
$curveColorGas: #a91210; // Curve color for gas plot
$curveColorOil: #7ba700; // Curve color for oil plot
$curveColorWater: #3e7aa7; // Curve color for water plot
$markerColor: #e6e7ea; // Marker color
$lineMarkerColor: #eeeeee; // Color of line marker
$plotGridColor: #394046; // Plot grid color

View File

@@ -12,8 +12,9 @@ $quaternaryColor: #36b27e; // Quaternary color
$quinaryColor: #0ce5d5; // Quinary color
$senaryColor: #a54ce5; // Senary color
$borderColor: #cccccc; // Main border color
$curveColorGas: #2196f3; // Curve color for gas plot
$curveColorOil: #4caf50; // Curve color for oil plot
$curveColorGas: #a91210; // Curve color for gas plot
$curveColorOil: #7ba700; // Curve color for oil plot
$curveColorWater: #3e7aa7; // Curve color for water plot
$markerColor: #e6e7ea; // Marker color
$lineMarkerColor: #eeeeee; // Color of line marker
$plotGridColor: #394046; // Plot grid color

View File

@@ -69,19 +69,19 @@ RiuTofAccumulatedPhaseFractionsPlot::RiuTofAccumulatedPhaseFractionsPlot( RimTof
setTitle( title );
m_watCurve = new QwtPlotCurve;
setCurveColor( m_watCurve, RiuGuiTheme::getColorByVariableName( "waterCurveColor" ) );
setCurveColor( m_watCurve, RiuGuiTheme::getColorByVariableName( "curveColorWater" ) );
m_watCurve->setZ( 0.9 );
m_watCurve->setTitle( "Water" );
m_watCurve->setRenderHint( QwtPlotItem::RenderAntialiased, true );
m_oilCurve = new QwtPlotCurve;
setCurveColor( m_oilCurve, RiuGuiTheme::getColorByVariableName( "oilCurveColor" ) );
setCurveColor( m_oilCurve, RiuGuiTheme::getColorByVariableName( "curveColorOil" ) );
m_oilCurve->setZ( 0.8 );
m_oilCurve->setTitle( "Oil" );
m_oilCurve->setRenderHint( QwtPlotItem::RenderAntialiased, true );
m_gasCurve = new QwtPlotCurve;
setCurveColor( m_gasCurve, RiuGuiTheme::getColorByVariableName( "gasCurveColor" ) );
setCurveColor( m_gasCurve, RiuGuiTheme::getColorByVariableName( "curveColorGas" ) );
m_gasCurve->setZ( 0.7 );
m_gasCurve->setTitle( "Gas" );
m_gasCurve->setRenderHint( QwtPlotItem::RenderAntialiased, true );