mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -108,6 +108,8 @@ public:
|
||||
RifEclipseSummaryAddress summaryAddress() const;
|
||||
std::vector<RimSummaryCurve*> curves() const;
|
||||
|
||||
int ensembleId() const;
|
||||
|
||||
RimCustomObjectiveFunctionCollection* customObjectiveFunctionCollection();
|
||||
|
||||
void deleteEnsembleCurves();
|
||||
|
||||
Reference in New Issue
Block a user