Re: graphing multiple lines to single image file - solved
Daniel Schlifka <[email protected]> Thu, 17 Oct 2019 18:09:37 +0200
| Newsgroups | gmane.comp.db.rrdtool.user |
|---|---|
| Message-ID | <[email protected]> |
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 \ > ~ > > > ~ > > > ~ > > > ~