mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-30 00:50:15 -05:00
Release 2025.09.0
This commit is contained in:
1 parent
c33402f5ea
commit
917136fec8
1053 files changed
+61952
-11833
No files matched your search
@@ -25,6 +25,7 @@
|
||||
#include "RiaNumberFormat.h"
|
||||
#include "RiaNumericalTools.h"
|
||||
#include "RiaPreferences.h"
|
||||
#include "RiaResultNames.h"
|
||||
|
||||
#include "RimCellEdgeColors.h"
|
||||
#include "RimColorLegend.h"
|
||||
@@ -1221,6 +1222,13 @@ void RimRegularLegendConfig::setDefaultConfigForResultName( int caseId, const QS
|
||||
colorRangeType = RimRegularLegendConfig::ColorRangesType::NORMAL;
|
||||
}
|
||||
|
||||
if ( resultName.startsWith( RiaResultNames::convergence() ) )
|
||||
{
|
||||
mappingType = MappingType::LINEAR_DISCRETE;
|
||||
rangeType = RimLegendConfig::RangeModeType::AUTOMATIC_ALLTIMESTEPS;
|
||||
numberFormat = RiaNumberFormat::NumberFormatType::FIXED;
|
||||
}
|
||||
|
||||
resetUserDefinedValues();
|
||||
setRangeMode( rangeType );
|
||||
setMappingMode( mappingType );
|
||||
|
||||
Reference in new issue
Block a user