summaryrefslogtreecommitdiffstats
path: root/grapher/Graph.cxx
diff options
context:
space:
mode:
authorTim Moore <timoore@redhat.com>2009-08-04 23:46:02 +0200
committerTim Moore <timoore@redhat.com>2009-09-30 20:25:36 +0200
commitc18a296b760df73e2c233077aa0b863f67ed725f (patch)
treedf0d6c9da9570f952e3b1c81681363a88990762e /grapher/Graph.cxx
parentbb91631807ad833a92d011895ad7ca1872e02745 (diff)
downloadsystemtap-steved-c18a296b760df73e2c233077aa0b863f67ed725f.tar.gz
systemtap-steved-c18a296b760df73e2c233077aa0b863f67ed725f.tar.xz
systemtap-steved-c18a296b760df73e2c233077aa0b863f67ed725f.zip
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
Diffstat (limited to 'grapher/Graph.cxx')
-rw-r--r--grapher/Graph.cxx2
1 files changed, 2 insertions, 0 deletions
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;
}