mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4337 Group grid cross plots created from view by formations
This commit is contained in:
parent
f9e3db6aa6
commit
48c6139cb2
@ -153,6 +153,11 @@ void RimGridCrossPlotDataSet::setCellFilterView(RimGridView* cellFilterView)
|
||||
m_yAxisProperty->setResultVariable("DEPTH");
|
||||
m_timeStep = eclipseView->currentTimeStep();
|
||||
m_grouping = NO_GROUPING;
|
||||
if (eclipseView->eclipseCase() && eclipseView->eclipseCase()->activeFormationNames())
|
||||
{
|
||||
m_grouping = GROUP_BY_FORMATION;
|
||||
m_groupingProperty->legendConfig()->setColorRange(RimRegularLegendConfig::CATEGORY);
|
||||
}
|
||||
|
||||
RimGridCrossPlot* parentPlot = nullptr;
|
||||
firstAncestorOrThisOfType(parentPlot);
|
||||
|
Loading…
Reference in New Issue
Block a user