#12179 Avoid showing unused values in category legend

This commit is contained in:
Magne Sjaastad authored and GitHub committed 2025-02-26 15:21:12 +01:00
1 parent fe417cf40a
commit d05de77748
9 files changed
+61 -40

No files matched your search

@@ -1208,7 +1208,11 @@ void RimGridCrossPlotDataSet::updateLegendRange()
RimEclipseCase* eclipseCase = dynamic_cast<RimEclipseCase*>( m_case() );
if ( eclipseCase )
{
m_groupingProperty->updateRangesForEmbeddedLegends( m_timeStep() );
auto eclipseView = dynamic_cast<RimEclipseView*>( m_cellFilterView() );
m_groupingProperty->updateRangesForExplicitLegends( m_groupingProperty->legendConfig(),
m_groupingProperty->ternaryLegendConfig(),
m_timeStep(),
eclipseView );
}
}
if ( !m_legendOverlayFrame )