change the legend

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
User avatar
timi
Cacti User
Posts: 240
Joined: Wed Nov 09, 2005 8:35 am
Location: Timisoara, Romania
Contact:

change the legend

Post by timi »

hi, is it possible to change the leged look ? like having the percent in 5 units instead on 15 unit percent ? and have it more thiner ?:)
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: change the legend

Post by Howie »

timi wrote:hi, is it possible to change the leged look ? like having the percent in 5 units instead on 15 unit percent ? and have it more thiner ?:)
You can make whatever steps you like. See the SCALE command in the manual :-) You don't even need to make it fixed steps - you can make a gradient.

The box changes size depending on what is in it, so to make it thinner: Use a different shorter title for the box (KEYPOS), and use a smaller font (KEYFONT).

In 0.9 (sometime in the future), there is a new style of legend that is always the same size, so this is less of a problem.
Attachments
new-scale.png
new-scale.png (1.75 KiB) Viewed 3849 times
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
User avatar
timi
Cacti User
Posts: 240
Joined: Wed Nov 09, 2005 8:35 am
Location: Timisoara, Romania
Contact:

Post by timi »

sorry, I dont get it, can you post an example of how to do a bar ? like the bar above
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

timi wrote:sorry, I dont get it, can you post an example of how to do a bar ? like the bar above
No. That is not in the 0.82 version, as I said.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
User avatar
timi
Cacti User
Posts: 240
Joined: Wed Nov 09, 2005 8:35 am
Location: Timisoara, Romania
Contact:

Post by timi »

Howie wrote:
timi wrote:sorry, I dont get it, can you post an example of how to do a bar ? like the bar above
No. That is not in the 0.82 version, as I said.
hah, darn so i need to make many scales ?:)
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

timi wrote:
Howie wrote:
timi wrote:sorry, I dont get it, can you post an example of how to do a bar ? like the bar above
No. That is not in the 0.82 version, as I said.
hah, darn so i need to make many scales ?:)

No, you can make the gradients. You just can't make the bar on the map.

To make the gradients, you can give two colours on the SCALE line. See the manual Config Reference, under SCALE.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests