Hi,
where can I adjust the width of a graph or the font size? All standard templates "in/out bits/s and total bandwidth" do not show "total in", the legend is cut off the right side of the graph.
Thanks, Helmut
"Total in" cut off
Moderators: Developers, Moderators
-
- Cacti User
- Posts: 151
- Joined: Mon Feb 05, 2007 3:57 am
- Location: Munich, Germany
"Total in" cut off
- Attachments
-
- graph_image.png (22.11 KiB) Viewed 1516 times
thers a bug in how cacti outputs the --font parameter to rrdtool.
the only time cacti sends the --font parameter to rrdtool is when you have specified a font file.
if you read the rrdtool documentation at http://oss.oetiker.ch/rrdtool/doc/rrdgraph.en.html for the --font parameter you can see that you don't have to specify a font file
so --font LEGEND:7: is perfectly legal and will work (cacti never outputs --font without a filename).
there is several places in lib/rrd.php that checks for the font file that needs fixing.
the only time cacti sends the --font parameter to rrdtool is when you have specified a font file.
if you read the rrdtool documentation at http://oss.oetiker.ch/rrdtool/doc/rrdgraph.en.html for the --font parameter you can see that you don't have to specify a font file
so --font LEGEND:7: is perfectly legal and will work (cacti never outputs --font without a filename).
there is several places in lib/rrd.php that checks for the font file that needs fixing.
-
- Cacti User
- Posts: 151
- Joined: Mon Feb 05, 2007 3:57 am
- Location: Munich, Germany
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Please open a bug report /feature request at http://bugs.cacti.net. But you won't be happy without mono spaced fonts in legends.TobbeJ wrote:thers a bug in how cacti outputs the --font parameter to rrdtool.
the only time cacti sends the --font parameter to rrdtool is when you have specified a font file.
if you read the rrdtool documentation at http://oss.oetiker.ch/rrdtool/doc/rrdgraph.en.html for the --font parameter you can see that you don't have to specify a font file
so --font LEGEND:7: is perfectly legal and will work (cacti never outputs --font without a filename).
there is several places in lib/rrd.php that checks for the font file that needs fixing.
At least it may require using the tabbing chars available since rrdtool 1.2.x
Reinhard
i've created a bug at http://bugs.cacti.net/view.php?id=920
but looks like noone have had time to look at it yet.
but looks like noone have had time to look at it yet.
Who is online
Users browsing this forum: No registered users and 1 guest