diff options
author | Pim van den Berg | 2013-05-18 21:30:01 +0200 |
---|---|---|
committer | Pim van den Berg | 2013-05-18 22:02:33 +0200 |
commit | 2d6672dad4e59cfaa55dce87a9b5c0656f7645fc (patch) | |
tree | 1815453b4ad7ac28c955771156bd2c476d73f1a7 /conf/config.php | |
parent | add support for graphing I/O using the negative X-axis (diff) | |
download | apt-panopticon_cgp-2d6672dad4e59cfaa55dce87a9b5c0656f7645fc.zip apt-panopticon_cgp-2d6672dad4e59cfaa55dce87a9b5c0656f7645fc.tar.gz apt-panopticon_cgp-2d6672dad4e59cfaa55dce87a9b5c0656f7645fc.tar.bz2 apt-panopticon_cgp-2d6672dad4e59cfaa55dce87a9b5c0656f7645fc.tar.xz |
jsrrdgraph: RrdGraph.js: gprint: fix check for undefined format in case of vdef
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.
Diffstat (limited to 'conf/config.php')
0 files changed, 0 insertions, 0 deletions