From ee562aed97f27d2bff55bb4dd70192372c6d918f Mon Sep 17 00:00:00 2001
From: Sofia Antony <sofia.antony@stfc.ac.uk>
Date: Wed, 9 Jun 2010 13:03:46 +0000
Subject: [PATCH] re#954 fix for color axis scaling

---
 Code/qtiplot/qtiplot/src/Graph.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Code/qtiplot/qtiplot/src/Graph.cpp b/Code/qtiplot/qtiplot/src/Graph.cpp
index 3d369ca3195..5e49d197320 100644
--- a/Code/qtiplot/qtiplot/src/Graph.cpp
+++ b/Code/qtiplot/qtiplot/src/Graph.cpp
@@ -5471,9 +5471,11 @@ void Graph::enablePanningMagnifier(bool on)
 	if (on){
 		cnvs->setCursor(Qt::pointingHandCursor);
 		d_magnifier = new QwtPlotMagnifier(cnvs);
+		d_magnifier->setAxisEnabled(QwtPlot::yRight,false);
 		d_magnifier->setZoomInKey(Qt::Key_Plus, Qt::ShiftModifier);
 
 		d_panner = new QwtPlotPanner(cnvs);
+		d_panner->setAxisEnabled(QwtPlot::yRight,false);
 		connect(d_panner, SIGNAL(panned(int, int)), multiLayer(), SLOT(notifyChanges()));
 	} else {
 		cnvs->setCursor(Qt::arrowCursor);
-- 
GitLab