How to align two/three label in left side

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
jenchingyang
Posts: 18
Joined: Wed Jul 20, 2005 8:44 am

How to align two/three label in left side

Post by jenchingyang »

Hello, I defined two labels for Netscreen (CPU and Session utilization). Defaut status, the two labels seem align by 'center'. how can I align those two labels by 'left' side or 'right' side?
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: How to align two/three label in left side

Post by Howie »

jenchingyang wrote:Hello, I defined two labels for Netscreen (CPU and Session utilization). Defaut status, the two labels seem align by 'center'. how can I align those two labels by 'left' side or 'right' side?
You can't align the text within the label. It is always centred. But the label size is adjusted to 2 pixels wider than the text, so there isn't much point.

Which makes me think I have misunderstood. Please post a picture :-)
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!)
jenchingyang
Posts: 18
Joined: Wed Jul 20, 2005 8:44 am

How to align two/three label in left side (cont.)

Post by jenchingyang »

Hi Howie,

I put the picture below. If I need all labels align in right side. I must add some 'blank' between text and 'value'. let each column have same number of characters. but 'value' is variable. if CPU utilization change from 2% to 19%. the style will change again. Unless I adjust 'blank' between text and 'value'.
Attachments
show the default align status and expect align status.
show the default align status and expect align status.
aligh issue.jpg (73.71 KiB) Viewed 2430 times
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest