mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#7711 Statistics Plot: Remove border when gap width is zero.
This commit is contained in:
parent
ae2af64c24
commit
5d703b2a08
@ -260,6 +260,12 @@ void RimStatisticsPlot::updatePlots()
|
||||
double minValue = std::numeric_limits<double>::max();
|
||||
double maxValue = -std::numeric_limits<double>::max();
|
||||
|
||||
// Make border same color as bar when user wants max bar width
|
||||
if ( m_histogramGapWidth() == 0.0 )
|
||||
{
|
||||
set0->setBorderColor( RiaColorTools::toQColor( m_histogramBarColor ) );
|
||||
}
|
||||
|
||||
double sumElements = 0.0;
|
||||
for ( double value : histogramData.histogram )
|
||||
sumElements += value;
|
||||
|
Loading…
Reference in New Issue
Block a user