projects
/
blktrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49d17e1
)
iowatcher: Fix io line graphs at the edge of the X axis
author
Chris Mason
<chris.mason@fusionio.com>
Mon, 27 Aug 2012 17:00:30 +0000
(13:00 -0400)
committer
Chris Mason
<chris.mason@oracle.com>
Mon, 27 Aug 2012 17:00:30 +0000
(13:00 -0400)
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
iowatcher/plot.c
patch
|
blob
|
blame
|
history
diff --git
a/iowatcher/plot.c
b/iowatcher/plot.c
index 536c638d94c3ca6f950ebe0a59f1766cc6239c35..d59c5c75c8795621c1f238bf5f180f1c0a828e30 100644
(file)
--- 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;
/*