manuelluis/jsrrdgraph — pull request #6 by pommi (2013-05-18 19:50:39+00:00)
Title: VDEF doesn't show up in the legend

The GPRINT of a VDEF doesn't have a CF. For example:
> "GPRINT:avg:LAST:%5.1lf%s Last"
> "GPRINT:tot:%5.1lf%s Total\l"

The format will be passed via the cf variable, so format is not defined. But it
didn't show up in the legend. Firebug showed variable format isn't undefined,
but an empty string in case of VDEF. So just check for falsy.