]> granicus.if.org Git - sysstat/commit
sadf: SVG: Always start id numbers at zero
authorSebastien GODARD <sysstat@users.noreply.github.com>
Fri, 6 Jul 2018 13:02:56 +0000 (15:02 +0200)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Fri, 6 Jul 2018 13:02:56 +0000 (15:02 +0200)
commitd778d7558a2657f6a12b8651624f5b3005f964cd
tree2820b013dbd5346e2960a3f07202aa26430b4367
parent73f23e7eea481eafe3eb81d16f19fd24b9a3df2e
sadf: SVG: Always start id numbers at zero

For actvities with multiple items, make sure that the graph id number
for the first item being displayed is zero ("gXX-0").
If this is not the case then the link from the table of contents will
not work. This could happen when "skipempty" option was used and the
first item in the list didn't have a graph because all its stats were
zero.

$ sadf -g -O showtoc,skipempty -- -A > output.svg

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