How to get those Angled BWLABELs??
Moderators: Developers, Moderators
How to get those Angled BWLABELs??
Maybe I've missed this somewhere in all the documentation and the configuration page of the manual...
How does one make the angled BW labels as depicted in this map? http://www.network-weathermap.com/node/78
I want to be cool like Howie too!!
Thanks,
Brian
How does one make the angled BW labels as depicted in this map? http://www.network-weathermap.com/node/78
I want to be cool like Howie too!!
Thanks,
Brian
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: How to get those Angled BWLABELs??
Two steps:bmestep wrote:Maybe I've missed this somewhere in all the documentation and the configuration page of the manual...
How does one make the angled BW labels as depicted in this map? http://www.network-weathermap.com/node/78
I want to be cool like Howie too!!
Thanks,
Brian
Code: Select all
# define a truetype-based font (the 7 is the size)
FONTDEFINE 101 sometrutypefont.ttf 7
# set your default link (or specific ones) to use that font, and change the BWSTYLE
LINK DEFAULT
BWSTYLE angled
BWFONT 101
(sorry brian, I forgot to reply to your PM )
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!)
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!)
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Can't you do "BWBOXCOLOR none" too? Yes, I think you can...bmestep wrote:Got it.
The angled text is just about the coolest thing...
When you angle the text how do you "modify" the LABEL so it blends into the link itself?
I've done the 'BWOUTLINECOLOR none' to remove the outline, but can't blend the background color on the label itself.
Thanks again!
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!)
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!)
That's the trick, but now I've got a feature request!
Would be helpful to be able to rotate the text another 180degrees. I can make the text flip by changing the order of the nodes specified in the LINK section but that means that in & out have to flip too.
(hint hint) BWSTYLE classic, angled, angled180
I have a Logical map similar to the walkthrough map you have with the VLANs where I'm using this feature.
Minor point, great feature.
THANKS HOWIE!!!
------------------------------
sample for others:
FONTDEFINE 21 /usr/include/Fonts/arial.ttf 7
LINK DEFAULT
BWLABEL bits
BWFONT 21
WIDTH 6
BANDWIDTH 1000M
BWSTYLE angled
BWOUTLINECOLOR none
BWBOXCOLOR none
(I turn on the outline and box color for specific links and set BWSTYLE to classic)
Would be helpful to be able to rotate the text another 180degrees. I can make the text flip by changing the order of the nodes specified in the LINK section but that means that in & out have to flip too.
(hint hint) BWSTYLE classic, angled, angled180
I have a Logical map similar to the walkthrough map you have with the VLANs where I'm using this feature.
Minor point, great feature.
THANKS HOWIE!!!
------------------------------
sample for others:
FONTDEFINE 21 /usr/include/Fonts/arial.ttf 7
LINK DEFAULT
BWLABEL bits
BWFONT 21
WIDTH 6
BANDWIDTH 1000M
BWSTYLE angled
BWOUTLINECOLOR none
BWBOXCOLOR none
(I turn on the outline and box color for specific links and set BWSTYLE to classic)
Hello Howie,
what is the font you are using in this example map:
http://www.network-weathermap.com/node/78
Thanks & Brgds,
Khooker
what is the font you are using in this example map:
http://www.network-weathermap.com/node/78
Thanks & Brgds,
Khooker
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Probably Vera. It's in the docs/examples folder of your weathermap installation.khooker wrote:Hello Howie,
what is the font you are using in this example map:
http://www.network-weathermap.com/node/78
Thanks & Brgds,
Khooker
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!)
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!)
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
I thought I'd added the same logic to angled labels as I did to link comments - they automatically flip over if they would be upside down otherwise. I will do that. So no need for angled180.bmestep wrote:That's the trick, but now I've got a feature request!
Would be helpful to be able to rotate the text another 180degrees. I can make the text flip by changing the order of the nodes specified in the LINK section but that means that in & out have to flip too.
(hint hint) BWSTYLE classic, angled, angled180
I have a Logical map similar to the walkthrough map you have with the VLANs where I'm using this feature.
Minor point, great feature.
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!)
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!)
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Actually, I just tested it, and they are all the right way up, anyway...Howie wrote:I thought I'd added the same logic to angled labels as I did to link comments - they automatically flip over if they would be upside down otherwise. I will do that. So no need for angled180.bmestep wrote:That's the trick, but now I've got a feature request!
Would be helpful to be able to rotate the text another 180degrees. I can make the text flip by changing the order of the nodes specified in the LINK section but that means that in & out have to flip too.
(hint hint) BWSTYLE classic, angled, angled180
I have a Logical map similar to the walkthrough map you have with the VLANs where I'm using this feature.
Minor point, great feature.
- Attachments
-
- Angled BWLABELs. None are upside-done.
- angles.png (17.3 KiB) Viewed 6505 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!)
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!)
Who is online
Users browsing this forum: No registered users and 1 guest