Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Is there a way to add "line break" in the label?

 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Network Weather Map)
Author Message
Livio Zanol



Joined: 23 Feb 2006
Posts: 30

PostPosted: Wed May 30, 2007 6:12 am    Post subject: Is there a way to add "line break" in the label? Reply with quote

Can I do this?

Another thing,
I haven't saw in the documentation something about install PEAR. It's interesting to have this added(or I'm getting blind... hehehehe)
Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 2132
Location: United Kingdom

PostPosted: Wed May 30, 2007 7:00 am    Post subject: Re: Is there a way to add "line break" in the labe Reply with quote

Livio Zanol wrote:
Can I do this?

No you can't... the nearest would be a second label under the first, with a relative position. That would only look OK with no border around the labels. Adding line breaks makes a few problems for laying things out too, so it probably won't be a new feature very soon.

Livio Zanol wrote:
I haven't saw in the documentation something about install PEAR. It's interesting to have this added(or I'm getting blind... hehehehe)


It's only required for the command-line weathermap, but you're right, it should be added No need to see your optician
Back to top
Livio Zanol



Joined: 23 Feb 2006
Posts: 30

PostPosted: Wed May 30, 2007 1:10 pm    Post subject: Reply with quote

Thank you
So I can have multiple labels for a node?

I have another question, but is about editor in version 0.91, so I'll open another topic, or use a topic of bugs.
Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 2132
Location: United Kingdom

PostPosted: Wed May 30, 2007 1:13 pm    Post subject: Reply with quote

Livio Zanol wrote:
Thank you
So I can have multiple labels for a node?

I have another question, but is about editor in version 0.91, so I'll open another topic, or use a topic of bugs.


You can't have two labels, but you can have a second node that follows the first one around:
Code:

NODE main_node
    LABEL main label
    POSITION 100 100

NODE sublabel
     LABEL some more information
      POSITION main_node 0 15


The second label will always be 15 pixels below the first one, even as you move it around.

There are also lots of examples of this in the random-bits/suite-1.conf file.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Network Weather Map) All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group