summaryrefslogtreecommitdiffstats
path: root/grapher/Graph.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'grapher/Graph.cxx')
-rw-r--r--grapher/Graph.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/grapher/Graph.cxx b/grapher/Graph.cxx
index 57f1dc9a..b3429ef7 100644
--- a/grapher/Graph.cxx
+++ b/grapher/Graph.cxx
@@ -210,6 +210,6 @@ namespace systemtap
double& xgraph, double& ygraph)
{
xgraph = x -_xOffset;
- ygraph = -y + _yOffset + _graphHeight;
+ ygraph = -(y - _graphY) + _yOffset + _graphHeight;
}
}