From d8fbeefb67641e9f63088b329de78a26a69fdbae Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Wed, 14 Mar 2012 10:25:44 +0100 Subject: gfio: graphing updates - 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 --- tickmarks.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tickmarks.h') diff --git a/tickmarks.h b/tickmarks.h index a8c1bf9f..1e310dbb 100644 --- a/tickmarks.h +++ b/tickmarks.h @@ -7,6 +7,6 @@ struct tickmark { }; int calc_tickmarks(double min, double max, int nticks, struct tickmark **tm, - int *power_of_ten, int use_KMG_symbols); + int *power_of_ten, int use_KMG_symbols, int base_off); #endif -- cgit v1.2.3