summaryrefslogtreecommitdiff
path: root/tickmarks.h
AgeCommit message (Collapse)Author
2012-03-14gfio: graphing updatesJens Axboe
- Don't draw tickmark labels for an empty graph - Remove Y-axis label. It was a bit awkward and hard to read. - Ensure that we always put proper units on the Y-axis graph. - Ensure that we always include the top most Y-axis tickmark and make that the ceiling, not the highest Y value. It's hard to visually understand a graph that is drawing somewhere above the last labeled tickmark. - Fix rounding errors in graph.c Signed-off-by: Jens Axboe <axboe@kernel.dk>
2012-03-11gfio: add graph axis unit change notification callbacksStephen M. Cameron
This enables code that uses the graph functions to change the axis titles on the fly to display unit information which matches how the tick labels are shortened. Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
2012-03-07gfio: Add mini library to draw bar graphs and line graphsStephen M. Cameron
Signed-off-by: Stephen M. Cameron <stephenmcameron@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>