(#861) Summary Plot : Add support for autogenerated plot name

This commit is contained in:
Magne Sjaastad
2017-11-24 15:33:50 +01:00
parent 20b3de9f7a
commit 5e3467a5f6
11 changed files with 264 additions and 123 deletions
@@ -99,11 +99,8 @@ void RicPlotProductionRateFeature::onActionTriggered(bool isChecked)
description = "Well Injection Rates : ";
}
RimSummaryPlot* plot = new RimSummaryPlot();
summaryPlotColl->summaryPlots().push_back(plot);
description += well->name();
plot->setDescription(description);
RimSummaryPlot* plot = summaryPlotColl->createNamedSummaryPlot(description);
if (isInjector(well))
{