[rrd-developers] auto-scale symbol width problem
Stanislav Sinyagin
ssinyagin at yahoo.com
Wed Jun 23 20:22:51 MEST 2004
Hi,
I couldn't yet find where to look for the bug resolution, maybe you give
me a hint. In attachment, r1.png is made with 1.0.45, and r2.png with
recent 1.1.0 snapshot. The arguments used for r2.png are given below.
Problem: "GPRINT:B00000002:MIN:%8.2lf%s" occupies one position less
when the value is within [1000,-1000] and the scaling character is a space.
Thanks,
Stan.
Complete command line:
[23-Jun-2004 20:13:00 ] 77192 RRDs::graph arguments: --width 500 --height 250
--
end now --start -7days --imgformat PNG --title --vertical-label
DEF:B0000000
001=/var/snmpcollector/A00000003.rrd:B00000000:AVERAGE
CDEF:B00000000=B000000000
1 DEF:B0000000101=/var/snmpcollector/A00000003.rrd:B00000001:AVERAGE
CDEF:B00000
001=B0000000101
DEF:B0000000201=/var/snmpcollector/A00000003.rrd:B00000002:AVERA
GE CDEF:B00000002=B0000000201
DEF:B0000000301=/var/snmpcollector/A00000003.rrd:B
00000003:AVERAGE CDEF:B00000003=B0000000301
DEF:B0000000401=/var/snmpcollector/A
00000003.rrd:B00000004:AVERAGE CDEF:B00000004=B0000000401
DEF:B0000000501=/var/s
nmpcollector/A00000003.rrd:B00000005:AVERAGE CDEF:B00000005=B0000000501
DEF:B000
0000601=/var/snmpcollector/A00000003.rrd:B00000006:AVERAGE
CDEF:B00000006=B00000
00601 DEF:B0000000701=/var/snmpcollector/A00000003.rrd:B00000007:AVERAGE
CDEF:B0
0000007=B0000000701
DEF:B0000000801=/var/snmpcollector/A00000003.rrd:B00000008:A
VERAGE CDEF:B00000008=B0000000801
DEF:B0000000901=/var/snmpcollector/A00000003.r
rd:B00000009:AVERAGE CDEF:B00000009=B0000000901
CDEF:night=B00000000,POP,LTIME,8
6400,%,DUP,79200,GE,EXC,21600,LE,+,INF,UNKN,IF
CDEF:evening=B00000000,POP,LTIME,
86400,%,DUP,61200,GE,EXC,79200,LE,*,INF,UNKN,IF
CDEF:busday=B00000000,POP,LTIME,
86400,%,DUP,28800,GE,EXC,61200,LE,*,INF,UNKN,IF AREA:night#E6E6FA
AREA:evening#F
5FFFA AREA:busday#ffffff COMMENT:Current Average Maximum Minimum\l
GPRI
NT:B00000000:LAST:%8.2lf%s GPRINT:B00000000:AVERAGE:%8.2lf%s
GPRINT:B00000000:MA
X:%8.2lf%s GPRINT:B00000000:MIN:%8.2lf%s LINE1:B00000000#000000:B00000000\l
GPRI
NT:B00000001:LAST:%8.2lf%s GPRINT:B00000001:AVERAGE:%8.2lf%s
GPRINT:B00000001:MA
X:%8.2lf%s GPRINT:B00000001:MIN:%8.2lf%s LINE1:B00000001#0000FF:B00000001\l
GPRI
NT:B00000002:LAST:%8.2lf%s GPRINT:B00000002:AVERAGE:%8.2lf%s
GPRINT:B00000002:MA
X:%8.2lf%s GPRINT:B00000002:MIN:%8.2lf%s LINE1:B00000002#00FF00:B00000002\l
GPRI
NT:B00000003:LAST:%8.2lf%s GPRINT:B00000003:AVERAGE:%8.2lf%s
GPRINT:B00000003:MA
X:%8.2lf%s GPRINT:B00000003:MIN:%8.2lf%s LINE1:B00000003#FF0000:B00000003\l
GPRI
NT:B00000004:LAST:%8.2lf%s GPRINT:B00000004:AVERAGE:%8.2lf%s
GPRINT:B00000004:MA
X:%8.2lf%s GPRINT:B00000004:MIN:%8.2lf%s LINE1:B00000004#00FFFF:B00000004\l
GPRI
NT:B00000005:LAST:%8.2lf%s GPRINT:B00000005:AVERAGE:%8.2lf%s
GPRINT:B00000005:MA
X:%8.2lf%s GPRINT:B00000005:MIN:%8.2lf%s LINE1:B00000005#FF00FF:B00000005\l
GPRI
NT:B00000006:LAST:%8.2lf%s GPRINT:B00000006:AVERAGE:%8.2lf%s
GPRINT:B00000006:MA
X:%8.2lf%s GPRINT:B00000006:MIN:%8.2lf%s LINE1:B00000006#FFFF00:B00000006\l
GPRI
NT:B00000007:LAST:%8.2lf%s GPRINT:B00000007:AVERAGE:%8.2lf%s
GPRINT:B00000007:MA
X:%8.2lf%s GPRINT:B00000007:MIN:%8.2lf%s LINE1:B00000007#000080:B00000007\l
GPRI
NT:B00000008:LAST:%8.2lf%s GPRINT:B00000008:AVERAGE:%8.2lf%s
GPRINT:B00000008:MA
X:%8.2lf%s GPRINT:B00000008:MIN:%8.2lf%s LINE1:B00000008#008000:B00000008\l
GPRI
NT:B00000009:LAST:%8.2lf%s GPRINT:B00000009:AVERAGE:%8.2lf%s
GPRINT:B00000009:MA
X:%8.2lf%s GPRINT:B00000009:MIN:%8.2lf%s LINE1:B00000009#800000:B00000009\l
-- Attached file removed by Ecartis and put at URL below --
-- Type: image/x-png
-- Desc: r1.png
-- Size: 2k (2850 bytes)
-- URL : http://www.ee.ethz.ch/~slist/p/r1.png
-- Attached file removed by Ecartis and put at URL below --
-- Type: image/x-png
-- Desc: r2.png
-- Size: 19k (20479 bytes)
-- URL : http://www.ee.ethz.ch/~slist/p/r2.png
--
Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-developers
mailing list