mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Multiaxis: Use correct mapping from PlotAxis to QwtAxisId.
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
#include "RiuQtChartsPlotCurveSymbol.h"
|
||||
#include "RiuQwtPlotLegend.h"
|
||||
|
||||
#include "qwt_axis.h"
|
||||
#include "qwt_date_scale_draw.h"
|
||||
#include "qwt_date_scale_engine.h"
|
||||
#include "qwt_graphic.h"
|
||||
@@ -39,9 +40,6 @@
|
||||
#include "qwt_plot_shapeitem.h"
|
||||
#include "qwt_scale_widget.h"
|
||||
|
||||
#include "qwt_axis.h"
|
||||
#include <QRegExp>
|
||||
|
||||
#include <vector>
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -245,16 +243,6 @@ QwtPlotShapeItem* RiuQwtPlotTools::createBoxShape( const QString& label,
|
||||
return createBoxShapeT<QwtPlotShapeItem>( label, startX, endX, startY, endY, color, brushStyle );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
QwtAxisId RiuQwtPlotTools::toQwtPlotAxis( RiuPlotAxis axis )
|
||||
{
|
||||
QwtAxis::Position qwtPosition = toQwtPlotAxisEnum( axis.axis() );
|
||||
|
||||
return { qwtPosition, axis.index() };
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user