graph: yet one tooltip tweaking
authorJens Axboe <axboe@kernel.dk>
Wed, 21 Mar 2012 20:55:21 +0000 (21:55 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 21 Mar 2012 20:55:21 +0000 (21:55 +0100)
commitb7a69ad89e65cb4f38ccf164ae7c00bb4efe0ef5
treea320bce774f9b8bd63f7bdd8221d14a2f32f6199
parentb552682725e8269e4977d3a11317ec27c1720ea2
graph: yet one tooltip tweaking

Don't use a percentage of the data value as the check point, that
makes it increasingly difficult to pin point a tooltip for a graph
that is near the bottom end of the range. Instead use a fixed
percentage of the first tickmark, that makes it equally fair
across the range.

Also switch to using the X axis as the prio tree index, since that
should be increasing nicely all the time.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
graph.c