mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-15 01:42:13 -05:00
Set grouping by formations and category colors as default for Grid Cross Plots if formations are available
This commit is contained in:
1 parent
3a91412d6c
commit
c2032fd948
1 file changed
+7
@@ -1265,6 +1265,13 @@ void RimGridCrossPlotDataSet::setDefaults()
|
||||
|
||||
m_yAxisProperty->setResultType(RiaDefines::STATIC_NATIVE);
|
||||
m_yAxisProperty->setResultVariable("PERMX");
|
||||
|
||||
m_grouping = NO_GROUPING;
|
||||
if (eclipseCase->activeFormationNames())
|
||||
{
|
||||
m_grouping = GROUP_BY_FORMATION;
|
||||
m_groupingProperty->legendConfig()->setColorRange(RimRegularLegendConfig::CATEGORY);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user