mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Make it possible to exclude partial delta curves
Make sure statistics curves are recomputed on flag change When toggling "Discard Missing or Incomplete Realizations", make sure the statistics is recomputed and the ensemble plots updated.
This commit is contained in:
@@ -341,6 +341,9 @@ void RimEnsembleCurveSet::loadDataAndUpdate( bool updateParentPlot )
|
||||
{
|
||||
m_yValuesSummaryAddressUiField = m_yValuesSummaryAddress->address();
|
||||
|
||||
// Recreate the statistics case, as the statistics data is cached internally
|
||||
m_ensembleStatCaseY = std::make_unique<RimEnsembleStatisticsCase>();
|
||||
|
||||
m_curveFilters->loadDataAndUpdate();
|
||||
|
||||
updateAddressesUiField();
|
||||
@@ -1168,6 +1171,13 @@ void RimEnsembleCurveSet::defineUiOrdering( QString uiConfigName, caf::PdmUiOrde
|
||||
|
||||
m_statistics->defaultUiOrdering( isXAxisSummaryVector(), *statGroup );
|
||||
|
||||
bool enableIncomplete = true;
|
||||
if ( dynamic_cast<RimDeltaSummaryEnsemble*>( m_yValuesSummaryEnsemble() ) )
|
||||
{
|
||||
enableIncomplete = false;
|
||||
}
|
||||
m_statistics->enableIncludeIncompleteCurves( enableIncomplete );
|
||||
|
||||
caf::PdmUiGroup* statAppearance = statGroup->addNewGroupWithKeyword( "Appearance", "StatisticsAppearance" );
|
||||
statAppearance->add( &m_statisticsUseCustomAppearance );
|
||||
if ( m_statisticsUseCustomAppearance() == AppearanceMode::CUSTOM )
|
||||
|
||||
Reference in New Issue
Block a user