graphing multiple lines to single image file

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

graphing multiple lines to single image file

Daniel Schlifka
Hi,

i'm trying to create a graph from two files.
If i open the image there is one line, i expected two.

Where is my mistake?
Thanks in advance.

regards,

Daniel


This is my command:
rrdtool graph my.png \
        -h 150 \
        -w 600 \
        -a PNG \
        --start 20190801 \
        --end 20190901 \
        DEF:val_A=val_A.rrd:1:AVERAGE LINE1:val_A#0000EE:"val_a" \
        DEF:val_b=val_B.rrd:1:AVERAGE LINE1:val_b#FF0000:"val_b" \
        --vertical-label "percent" \
        --lower-limit 0 --upper-limit 100  \
~                                                                      
                                                                       
                                 
~                                                                      
                                                                       
                                 
~                                                                      
                                                                       
                                 
~                                  


_______________________________________________
rrd-users mailing list
[hidden email]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
Reply | Threaded
Open this post in threaded view
|

Re: graphing multiple lines to single image file - solved

Daniel Schlifka
Hi,

layer8 problem. Command is correct, data wasn't.
Sorry for wasting your time.

regards,

Daniel


Am 2019-10-17 13:43, schrieb Daniel Schlifka:

> Hi,
>
> i'm trying to create a graph from two files.
> If i open the image there is one line, i expected two.
>
> Where is my mistake?
> Thanks in advance.
>
> regards,
>
> Daniel
>
>
> This is my command:
> rrdtool graph my.png \
>         -h 150 \
>         -w 600 \
>         -a PNG \
>         --start 20190801 \
>         --end 20190901 \
>         DEF:val_A=val_A.rrd:1:AVERAGE LINE1:val_A#0000EE:"val_a" \
>         DEF:val_b=val_B.rrd:1:AVERAGE LINE1:val_b#FF0000:"val_b" \
>         --vertical-label "percent" \
>         --lower-limit 0 --upper-limit 100  \
> ~
>
>
> ~
>
>
> ~
>
>
> ~

_______________________________________________
rrd-users mailing list
[hidden email]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users