Font size on graph

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
Beaujolais
Posts: 30
Joined: Fri Apr 15, 2005 7:34 am
Location: Canada

Font size on graph

Post by Beaujolais »

Is there a way how to make fonts on graps smaller so all the info would fit in?
I'm missing the Total In info (see attached picture).

thx
Attachments
cacti.jpg
cacti.jpg (88.15 KiB) Viewed 3810 times
ehall
Cacti User
Posts: 246
Joined: Fri Dec 09, 2005 3:42 pm

Post by ehall »

Settings menu -> Visual tab

I knocked everything but title down to 7 pts here
Beaujolais
Posts: 30
Joined: Fri Apr 15, 2005 7:34 am
Location: Canada

Post by Beaujolais »

I've tried that but the font size settings seemd to be ingnored.
Any idea is it not working?
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

If you have altered or saved your users graph settings, you need to change them there as well.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Beaujolais
Posts: 30
Joined: Fri Apr 15, 2005 7:34 am
Location: Canada

Post by Beaujolais »

I did that as well, but no effect.

I'm not sure what am I doing wrong. Any other ideas?

thx
nugai
Posts: 49
Joined: Thu Nov 03, 2005 10:48 pm

Post by nugai »

Make sure you have the font path set explicitly to a TrueType font.
tman
Cacti User
Posts: 97
Joined: Thu Oct 14, 2004 4:14 pm

Post by tman »

I've noticed this 'wrapping' problem since upgrading to 0.8.6h. All the graphs with longer legend strings that previously displayed correctly in 0.8.6g, started falling off the right had side when running under 0.8.6h. Same font, same paths, same rrdtool.

Sounds like a bug to me.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

I don't recall that code being change in 0.8.6h.

And I do recall people having this issue in 0.8.6g. This is mostly related to the version of rrdtool, the font and the font size selected.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
philc
Posts: 1
Joined: Wed Jan 11, 2006 11:54 pm

I have this problem too

Post by philc »

and have had it for some time. I've tried changing the font size down, but it also seems to have no effect....

Has anyone had any luck using an alternative TTF font??
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

I use VeraMono.ttf
megaman
Posts: 3
Joined: Sat Feb 11, 2006 10:01 am

Post by megaman »

Hi people,

like you I got this annoying problem since the update in 0.8.6h if I remember well.

Here is finally the solution I found :
in the visual settings, you need to fill the "Legend Font File" setting, and your font size will be used ^^

here is what I put :
legend font size : 7
legend font file : /usr/local/share/rrdtool/fonts/DejaVuSansMono-Roman.ttf

That strange that the "RRDTool Default Font Path" isn't used :/
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Beaujolais wrote:I've tried that but the font size settings seemd to be ingnored.
Any idea is it not working?
You surely are using rrdtool-1.2.x and did change the Settings for that? No ttf fonts supported for rrdtool 1.0.x!
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests