From c18a296b760df73e2c233077aa0b863f67ed725f Mon Sep 17 00:00:00 2001 From: Tim Moore Date: Tue, 4 Aug 2009 23:46:02 +0200 Subject: more multiple graph fixes * grapher/Graph.cxx (Graph constructor): set _drawX, _drawY * grapher/GraphWidget.cxx (addGraph): Fix graph layout (on_button_press_event): Fix test of play button in multiple graphs --- grapher/Graph.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'grapher/Graph.cxx') diff --git a/grapher/Graph.cxx b/grapher/Graph.cxx index 7f9b2607..496b85b1 100644 --- a/grapher/Graph.cxx +++ b/grapher/Graph.cxx @@ -17,6 +17,8 @@ namespace systemtap _left(0.0), _right(1.0), _top(5.0), _bottom(0.0) { setOrigin(x, y); + _graphX = x; + _graphY = y; } -- cgit