Answer the question
In order to leave comments, you need to log in
How to align text in rrdtool?
#1 - My Graph
#2 - Example
Question:
How do I right-align the text in each column as in example #2?
here is a code snippet
COMMENT:'Avr' \
GPRINT:inTCP:AVERAGE:'%0.1lf %sB/s' \
GPRINT:inHTTP:AVERAGE:'%0.1lf %sB/s' \
GPRINT:inFTP:AVERAGE:'%0.1lf %sB/s' \
GPRINT:inUDP:AVERAGE:'%0.1lf %sB/s' \
GPRINT:inCSGO:AVERAGE:'%0.1lf %sB/s' \
GPRINT:inCSSOLD:AVERAGE:'%0.1lf %sB/s' \
GPRINT:inCSS:AVERAGE:'%0.1lf %sB/s' \
GPRINT:inCS:AVERAGE:'%0.1lf %sB/s\j' \
COMMENT:'Cur' \
GPRINT:inTCP:LAST:'%0.1lf %sB/s' \
GPRINT:inHTTP:LAST:'%0.1lf %sB/s' \
GPRINT:inFTP:LAST:'%0.1lf %sB/s' \
GPRINT:inUDP:LAST:'%0.1lf %sB/s' \
GPRINT:inCSGO:LAST:'%0.1lf %sB/s' \
GPRINT:inCSSOLD:LAST:'%0.1lf %sB/s' \
GPRINT:inCSS:LAST:'%0.1lf %sB/s' \
GPRINT:inCS:LAST:'%0.1lf %sB/s\j' \
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question