mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#965 Fixed invalid rescale of right y-asix
This commit is contained in:
parent
cfe9b5626d
commit
77cfa25a19
@ -117,6 +117,8 @@ RiuSummaryQwtPlot::RiuSummaryQwtPlot(RimSummaryPlot* plotDefinition, QWidget* pa
|
|||||||
m_zoomerRight = new QwtPlotZoomer(canvas());
|
m_zoomerRight = new QwtPlotZoomer(canvas());
|
||||||
m_zoomerRight->setAxis(xTop, yRight);
|
m_zoomerRight->setAxis(xTop, yRight);
|
||||||
m_zoomerRight->setTrackerMode(QwtPicker::AlwaysOff);
|
m_zoomerRight->setTrackerMode(QwtPicker::AlwaysOff);
|
||||||
|
m_zoomerRight->initMousePattern(1);
|
||||||
|
|
||||||
|
|
||||||
RiuQwtScalePicker* scalePicker = new RiuQwtScalePicker(this);
|
RiuQwtScalePicker* scalePicker = new RiuQwtScalePicker(this);
|
||||||
connect(scalePicker, SIGNAL(clicked(int, double)), this, SLOT(onAxisClicked(int, double)));
|
connect(scalePicker, SIGNAL(clicked(int, double)), this, SLOT(onAxisClicked(int, double)));
|
||||||
|
Loading…
Reference in New Issue
Block a user