#11148: Set default name to Accumulated Flow Chart

This commit is contained in:
Magne Sjaastad
2024-02-02 07:02:49 +01:00
parent 4dd43a14a0
commit 883622c71d
3 changed files with 6 additions and 1 deletions

View File

@@ -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 );

View File

@@ -109,7 +109,7 @@ protected:
void onLoadDataAndUpdate() override;
private:
void setCase( RimEclipseResultCase* eclipseCase);
void setCase( RimEclipseResultCase* eclipseCase );
void updateFromWell();
void updateWellFlowPlotXAxisTitle( RimWellLogTrack* plotTrack );