]> granicus.if.org Git - sysstat/commit
SVG: Set a min value on Y axis
authorSebastien GODARD <sysstat@users.noreply.github.com>
Fri, 25 Mar 2016 12:05:47 +0000 (13:05 +0100)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Fri, 25 Mar 2016 12:05:47 +0000 (13:05 +0100)
commit234d049e3d1a1fff6814d8a65547a6a96c9a8344
treee4fac2dc66a15cc16c609755eef2ab1056ccf8a7
parent8ab624f86faf6b131c04e418d04dfb9a3b324385
SVG: Set a min value on Y axis

Set a min value on Y axis so that graduations remain meaningful.
For instance, if the max value for a graph was 0.01 then the graduations
on the Y axis were 0.01, 0.01 and 0.01 (for 3 horizontal lines). In this
case, this patch will set the max value to 0.03 to get some meaningful
graduations values: 0.01, 0.02 and 0.03.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
svg_stats.c