[rrd-users] SVG output problems in 1.4.4/1.4.5 under CentOS 5

Vladimir Vuksan vlists at veus.hr
Thu Apr 14 01:48:07 CEST 2011

I compiled both 1.4.4 and 1.4.5 and everything seems to work fine except 
the SVG output ie. following

# /usr/bin/rrdtool graph - -a SVG --start '-3600' --end N --width 480 
--height 150 --title 'CPU aidle' --vertical-label '%' --font LEGEND:10 
AREA:'sum'#555555:' last hour\n' 
CDEF:sum_pos=sum,0,LT,0,sum,IF VDEF:sum_last=sum_pos,LAST 
VDEF:sum_min=sum_pos,MINIMUM VDEF:sum_avg=sum_pos,AVERAGE 
VDEF:sum_max=sum_pos,MAXIMUM GPRINT:'sum_last':'Now\:%7.2lf%s' 
GPRINT:'sum_min':'Min\:%7.2lf%s' GPRINT:'sum_avg':'Avg\:%7.2lf%s' 

Results in this

<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" 
xmlns:xlink="http://www.w3.org/1999/xlink" width="562pt" height="248pt" 
viewBox="0 0 562 248" version="1.1">
<clipPath id="clip0">
   <rect width="562" height="248"/>

Even though PNG graph generates the proper graph. Anyone else have this 
problem ?


More information about the rrd-users mailing list