aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/type
diff options
context:
space:
mode:
authorPim van den Berg2013-05-18 21:30:01 +0200
committerPim van den Berg2013-05-18 22:02:33 +0200
commit2d6672dad4e59cfaa55dce87a9b5c0656f7645fc (patch)
tree1815453b4ad7ac28c955771156bd2c476d73f1a7 /type
parentadd support for graphing I/O using the negative X-axis (diff)
downloadapt-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 'type')
0 files changed, 0 insertions, 0 deletions