mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Set grouping by formations and category colors as default for Grid Cross Plots if formations are available
This commit is contained in:
parent
3a91412d6c
commit
c2032fd948
@ -1265,6 +1265,13 @@ void RimGridCrossPlotDataSet::setDefaults()
|
|||||||
|
|
||||||
m_yAxisProperty->setResultType(RiaDefines::STATIC_NATIVE);
|
m_yAxisProperty->setResultType(RiaDefines::STATIC_NATIVE);
|
||||||
m_yAxisProperty->setResultVariable("PERMX");
|
m_yAxisProperty->setResultVariable("PERMX");
|
||||||
|
|
||||||
|
m_grouping = NO_GROUPING;
|
||||||
|
if (eclipseCase->activeFormationNames())
|
||||||
|
{
|
||||||
|
m_grouping = GROUP_BY_FORMATION;
|
||||||
|
m_groupingProperty->legendConfig()->setColorRange(RimRegularLegendConfig::CATEGORY);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user