#11148: Set default name to Accumulated Flow Chart

This commit is contained in:
Magne Sjaastad committed 2024-02-02 10:27:20 +01:00
1 parent 4dd43a14a0
commit 883622c71d
3 files changed
+6 -1

No files matched your search

@@ -49,6 +49,7 @@
#include "RimWellLogCurveCommonDataSource.h"
#include "RimWellLogLasFile.h"
#include "RimWellLogPlot.h"
#include "RimWellLogPlotNameConfig.h"
#include "RimWellLogTrack.h"
#include "RimWellPlotTools.h"
@@ -130,6 +131,9 @@ RimWellAllocationPlot::RimWellAllocationPlot()
RiaDefines::DepthTypeEnum::PSEUDO_LENGTH } );
m_accumulatedWellFlowPlot->setCommonDataSourceEnabled( false );
m_accumulatedWellFlowPlot->nameConfig()->setCustomName( "Accumulated Flow Chart" );
m_accumulatedWellFlowPlot->setNamingMethod( RiaDefines::ObjectNamingMethod::CUSTOM );
m_accumulatedWellFlowPlot->updateAutoName();
m_showWindow = false;
setDeletable( true );
@@ -109,7 +109,7 @@ protected:
void onLoadDataAndUpdate() override;
private:
void setCase( RimEclipseResultCase* eclipseCase);
void setCase( RimEclipseResultCase* eclipseCase );
void updateFromWell();
void updateWellFlowPlotXAxisTitle( RimWellLogTrack* plotTrack );