mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-13 17:02:13 -05:00
#7711 Statistics Plot: Remove border when gap width is zero.
This commit is contained in:
1 parent
ae2af64c24
commit
5d703b2a08
1 file changed
+6
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user