[rrd-users] How would you handle this?
Karl Fischer
rrd-users at ficos.de
Tue Apr 27 20:21:05 CEST 2010
Am 27.04.2010 20:15, schrieb Jeffrey Zhang:
> thanks, Karl. the code is working , at least no error. but for
> some reasons, I don't see any line got drawed for the tick.
>
> any clue?
Most likely because the value never reaches *exactly* 100 since
it's floating point - so it might be 99.99 or 100.01 etc.
You might get better results when using GT/GE/LE/LT instead of EQ
hth
- Karl
> -----Original Message-----
> From: rrd-users-bounces+xyzhang=salesforce.com at lists.oetiker.ch
> Sent: Tuesday, April 27, 2010 11:07 AM
> To: rrd-users at lists.oetiker.ch
> Subject: Re: [rrd-users] How would you handle this?
>
> Am 27.04.2010 19:39, schrieb Jeffrey Zhang:
>> Hi Can anybody give me clue on -
>>
>> how can I draw a vertical line for time in X-axis which depands on
>> the Y-axis value, e.g, at the time of Y=100?
>> probably I should use VDEF but I don't know how to derive the time?
>>
>> A simple example would be great.
>
> Hi Jeffrey,
>
> try this:
>
> CDEF:yMark=value,100,EQ,1,UNKN,IF
> TICK:yMark#000000:1
>
> hth
>
> - Karl
More information about the rrd-users
mailing list