diff options
author | Chris Mason <chris.mason@fusionio.com> | 2012-08-27 13:00:30 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2012-08-27 13:00:30 -0400 |
commit | f106953d41597722efd068e67eaae5664ef5034d (patch) | |
tree | 36c78ef4c060944ca8c8741e698c839c23ba9739 | |
parent | 49d17e16fc977e01baf018f7c4af20e6b594fbba (diff) | |
download | blktrace-f106953d41597722efd068e67eaae5664ef5034d.tar.gz |
iowatcher: Fix io line graphs at the edge of the X axis
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
-rw-r--r-- | iowatcher/plot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/iowatcher/plot.c b/iowatcher/plot.c index 536c638..d59c5c7 100644 --- a/iowatcher/plot.c +++ b/iowatcher/plot.c @@ -734,7 +734,7 @@ int svg_line_graph(struct plot *plot, struct graph_line_data *gld, char *color, } /* otherwise, we just print a bar up there to show this one data point */ - if (i == gld->stop_seconds) + if (i >= gld->stop_seconds - 2) len = -10; /* |