Split summary plot into multiple plots (#8910)

* Support splitting a summary plot with multiple curves into a new multiplot with one plot per curve
* Make sure the correct plot is deleted if using the plot context menu.
This commit is contained in:
jonjenssen
2022-05-13 16:36:30 +02:00
committed by GitHub
parent 6f26f8e462
commit 3b927e1c09
9 changed files with 214 additions and 6 deletions

View File

@@ -2001,6 +2001,16 @@ void RimEnsembleCurveSet::updateEnsembleLegendItem()
m_plotCurveForLegendText->setVisibleInLegend( showLegendItem );
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
int RimEnsembleCurveSet::ensembleId() const
{
if ( m_yValuesSummaryCaseCollection() != nullptr ) return m_yValuesSummaryCaseCollection()->ensembleId();
return -1;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------

View File

@@ -108,6 +108,8 @@ public:
RifEclipseSummaryAddress summaryAddress() const;
std::vector<RimSummaryCurve*> curves() const;
int ensembleId() const;
RimCustomObjectiveFunctionCollection* customObjectiveFunctionCollection();
void deleteEnsembleCurves();