mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix RFT segment plot issues
* RFT curves: Disable auto color by default * RFT curves: Fix wiggling legend caused by too many plot updates * RFT Curves: Search multiple layers for CONFAC data * Move plot orientation to Depth Axis, Advanced group
This commit is contained in:
@@ -832,10 +832,7 @@ void RimWellLogRftCurve::defineUiOrdering( QString uiConfigName, caf::PdmUiOrder
|
||||
else
|
||||
{
|
||||
curveDataGroup->add( &m_segmentResultName );
|
||||
if ( isSegmentResult( m_segmentResultName() ) )
|
||||
{
|
||||
curveDataGroup->add( &m_segmentBranchType );
|
||||
}
|
||||
curveDataGroup->add( &m_segmentBranchType );
|
||||
curveDataGroup->add( &m_segmentBranchIndex );
|
||||
curveDataGroup->add( &m_curveColorByPhase );
|
||||
}
|
||||
|
||||
@@ -1095,20 +1095,6 @@ void RimWellLogTrack::onAxisSelected( RiuPlotAxis axis, bool toggle )
|
||||
void RimWellLogTrack::updateAxes()
|
||||
{
|
||||
updatePropertyValueZoom();
|
||||
|
||||
if ( m_plotWidget )
|
||||
{
|
||||
RimDepthTrackPlot* wellLogPlot;
|
||||
this->firstAncestorOrThisOfTypeAsserted( wellLogPlot );
|
||||
if ( wellLogPlot->isDepthMarkerLineEnabled() )
|
||||
{
|
||||
m_plotWidget->createAnnotationsInPlot( wellLogPlot->depthAxisAnnotations() );
|
||||
}
|
||||
else
|
||||
{
|
||||
m_plotWidget->createAnnotationsInPlot( {} );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -1359,6 +1345,28 @@ bool RimWellLogTrack::isCurveHighlightSupported() const
|
||||
return false;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimWellLogTrack::updateDepthMarkerLine()
|
||||
{
|
||||
if ( m_plotWidget )
|
||||
{
|
||||
RimDepthTrackPlot* wellLogPlot;
|
||||
this->firstAncestorOrThisOfTypeAsserted( wellLogPlot );
|
||||
if ( wellLogPlot->isDepthMarkerLineEnabled() )
|
||||
{
|
||||
m_plotWidget->createAnnotationsInPlot( wellLogPlot->depthAxisAnnotations() );
|
||||
}
|
||||
else
|
||||
{
|
||||
m_plotWidget->createAnnotationsInPlot( {} );
|
||||
}
|
||||
|
||||
m_plotWidget->scheduleReplot();
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -241,6 +241,7 @@ public:
|
||||
void setEnsembleWellLogCurveSet( RimEnsembleWellLogCurveSet* curveSet );
|
||||
void updateAxesVisibility( RiaDefines::Orientation orientation, bool isFirstTrack, bool isLastTrack );
|
||||
bool isCurveHighlightSupported() const override;
|
||||
void updateDepthMarkerLine();
|
||||
|
||||
protected:
|
||||
// RimViewWindow overrides
|
||||
|
||||
Reference in New Issue
Block a user