]> granicus.if.org Git - sysstat/commit
SVG: Handle files with orphan samples properly
authorSebastien GODARD <sysstat@users.noreply.github.com>
Fri, 19 Feb 2016 13:38:36 +0000 (14:38 +0100)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Fri, 19 Feb 2016 13:38:36 +0000 (14:38 +0100)
commit4a8fde00596c0b07f8c9da98959da1b99b6c4fbe
treea296e944e930bec24c17d7c783f5f665ec511f7d
parenta3ecc7216e2ff3e4445a19c8b250f38f70e21d39
SVG: Handle files with orphan samples properly

If a file has only orphan samples then display "No data" indicating that
the graph cannot be drawn.
An orphan sample is something like:

sadc data        <-- LINUX RESTART
sadc data 1 1    <-- Create an orphan sample
sadc data        <-- LINUX RESTART

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