[rrd-users] day of week print error on x-axis

nina wizardpoibe at gmail.com
Wed Aug 22 18:26:17 CEST 2007


Thanks for your reply.
But, I can't still display correctly..

Using -x-grid arg,
print day of week to number is correct,(0 ~ 6 )  :
http://aqua.cnu.ac.kr/~nina/week7.png

But, error occur when I try to print abbreviated weekday name or full
weekday name ,
: http://aqua.cnu.ac.kr/~nina/week12.png

and my box's environment was en_US.UTF-8.

plz~~


2007/8/22, Alex van den Bogaerdt <alex at ergens.op.het.net>:
>
> On Wed, Aug 22, 2007 at 04:57:35PM +0900, nina wrote:
> > I want to make weekly reporting graph.
> > I used command to create weekly graph as follow;
> >
> > rrdtool graph week3.png -s -1week -t test --lazy -h 80 -w 600 -l 0 -a
> > PNG DEF:in=test.rrd:in:AVERAGE AREA:in#32CD32:Incoming
> >
> > but as you can see this url:http://aqua.cnu.ac.kr/~nina/week3.png,
> x-axis
> > printing error is occur, I think.
> >
> > and then I used perl as follow, but result is same(error).
> >
> > daily, monthly, yearly graph's x-axis is printed collectly.
> > only when weekly graph is created, x-axis is not printed "mon,web....".
>
>
> This probably has something to do with an unsupported character set.
> Are you sure month names are displayed correctly?
>
>
> Try a couple of things:
>
> 1: change the environment before RRDtool graph is run.
>   LANG=en_US.UTF-8
>   export LANG
>
> 2: set an X-axis grid and label yourself, using the "-x" option
>   --x-grid HOUR:8:DAY:1:DAY:1:0:%A
>   (copied from TFM)
>   perhaps play a bit with the various elements of this setting
>
>
> --
> Alex van den Bogaerdt
> http://www.vandenbogaerdt.nl/rrdtool/
>
> _______________________________________________
> rrd-users mailing list
> rrd-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20070823/e8648d1e/attachment.html 


More information about the rrd-users mailing list