mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix area fill for Well Log Curves
This commit is contained in:
@@ -165,6 +165,20 @@ const RigWellLogCurveData* RimWellLogCurve::curveData() const
|
||||
return m_curveData.p();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimWellLogCurve::updateCurveAppearance()
|
||||
{
|
||||
RimPlotCurve::updateCurveAppearance();
|
||||
if ( m_fillStyle != Qt::BrushStyle::NoBrush )
|
||||
{
|
||||
m_qwtPlotCurve->setOrientation( Qt::Horizontal );
|
||||
m_qwtPlotCurve->setBaseline( -std::numeric_limits<double>::infinity() );
|
||||
m_qwtPlotCurve->setCurveAttribute( QwtPlotCurve::Inverted, true );
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -35,7 +35,6 @@ class RimWellLogCurve : public RimPlotCurve
|
||||
{
|
||||
CAF_PDM_HEADER_INIT;
|
||||
|
||||
public:
|
||||
public:
|
||||
RimWellLogCurve();
|
||||
~RimWellLogCurve() override;
|
||||
@@ -66,6 +65,8 @@ public:
|
||||
|
||||
const RigWellLogCurveData* curveData() const;
|
||||
|
||||
void updateCurveAppearance() override;
|
||||
|
||||
virtual QString wellName() const = 0;
|
||||
virtual QString wellLogChannelUiName() const = 0;
|
||||
virtual QString wellLogChannelName() const;
|
||||
|
||||
Reference in New Issue
Block a user