]> granicus.if.org Git - sysstat/commit
sadf: SVG: Don't display "No data" over the table of contents
authorSebastien GODARD <sysstat@users.noreply.github.com>
Mon, 9 Jul 2018 13:35:47 +0000 (15:35 +0200)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Mon, 9 Jul 2018 13:35:47 +0000 (15:35 +0200)
commitba2ed566903fa229ce3f25d56a130398db8ebb47
treed71d232939e4fd709bb27002049d83db289026a4
parent3d5f5190a8ed0e3a26e3378005bad564783e3658
sadf: SVG: Don't display "No data" over the table of contents

Sometimes, when all the selected activities have only zero values and
the skipempty option has been used with "sadf -g", the "No data" message
is displayed instead of the graphs.
In these conditions make sure that it doesn't get printed over the table
of contents entries.
Here is how to reproduce the problem on my system (I don't have any
network filesystems):

$ sadf -g -O showtoc,skipempty -- -n NFS,NFSD > output.svg

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