Change the graph title length

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

Moderators: Developers, Moderators

Post Reply
mikygee
Cacti User
Posts: 88
Joined: Thu Jul 30, 2009 3:13 am

Change the graph title length

Post by mikygee »

Hello,
There's a title within the graph which is generated by libgd.
Personnally I use
|host_description| |query_ifName| - |query_ifAlias|
The problem is that only 39 characters are displayed.

I did search for a solution where people advice to change the value in
Configuration > Settings > Visual > Maximum Title Length
But it doesn't seem to be the right setting because I used to have a value of 80 and I just changed it to 82 but nothing changed, the titles of my graphs are still chopped.

Any idea ?
Some info about my system
- Cacti: 0.8.8g / OpenBSD 6.6
- Third Party: Nginx 1.16.1 / PHP 7.3.10 / MariaDB 10.3.18v1 / NET-SNMP version 5.8p2 / RRDTool 1.7.2
- Plugins: Weathermap 0.97c / Settings 0.71 / Thold 0.5 / Flowview 1.1 / Realtime 0.5.2 / Predict 1.0
litviak
Posts: 3
Joined: Wed Aug 07, 2013 4:28 am

Re: Change the graph title length

Post by litviak »

Hi!

Check graph management
Are chopped titles met only in graphs (in png pictures generated by rrdtool) or both in managment and in graphs?

If only on pictures, you need to change title font size in Settings->Visual
mikygee
Cacti User
Posts: 88
Joined: Thu Jul 30, 2009 3:13 am

Re: Change the graph title length

Post by mikygee »

Hello,
In Managegement > Graph Management column Graph Title, it's also truncated
It seems |query_ifAlias| is truncated after the 15th character.
Some info about my system
- Cacti: 0.8.8g / OpenBSD 6.6
- Third Party: Nginx 1.16.1 / PHP 7.3.10 / MariaDB 10.3.18v1 / NET-SNMP version 5.8p2 / RRDTool 1.7.2
- Plugins: Weathermap 0.97c / Settings 0.71 / Thold 0.5 / Flowview 1.1 / Realtime 0.5.2 / Predict 1.0
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests