RFT plot improvements

* Make curve selection optional to avoid flickering in depth plots
* Replace undefined with zero for some curves
* Add spacing factor for min and max depth
This commit is contained in:
Magne Sjaastad
2022-10-28 15:37:45 +02:00
committed by GitHub
parent 26dd61a604
commit 0d3347d4d7
13 changed files with 85 additions and 27 deletions
@@ -601,7 +601,11 @@ bool RiuQwtPlotWidget::eventFilter( QObject* watched, QEvent* event )
!m_clickPosition.isNull() )
{
endZoomOperations();
selectClosestPlotItem( mouseEvent->pos(), toggleItemInSelection );
if ( m_plotDefinition->isCurveHighlightSupported() )
{
selectClosestPlotItem( mouseEvent->pos(), toggleItemInSelection );
}
m_clickPosition = QPoint();
return true;
}
@@ -181,4 +181,5 @@ void RiuWellLogPlot::performUpdate( RiaDefines::MultiPlotPageUpdateType /* whatT
int axisShift = alignCanvasTops();
alignScrollbar( axisShift );
alignAxes();
updatePlotLayouts();
}