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    


Rotate BWLABEL text?

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



Joined: 24 Apr 2007
Posts: 13

PostPosted: Wed Apr 25, 2007 4:31 am    Post subject: Rotate BWLABEL text? Reply with quote

Is it at all possible to rotate the text used for the BWLABEL so that it fits within the link between 2 nodes, rather than it always being horizontal?

Thanks.
Back to top
Howie
Cacti Guru User


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

PostPosted: Wed Apr 25, 2007 5:42 am    Post subject: Re: Rotate BWLABEL text? Reply with quote

Syngress wrote:
Is it at all possible to rotate the text used for the BWLABEL so that it fits within the link between 2 nodes, rather than it always being horizontal?

Thanks.


No, not right now. I have thought about that too...

The nearest you can get for the moment is to use the new LINKCOMMENT stuff:

Code:

INCOMMENT {link:this:inpercent}%
OUTCOMMENT {link:this:outpercent}%


You must set the COMMENTFONT to be a truetype font. Any rotating bwlabel thing would require the same, too.
Back to top
Syngress



Joined: 24 Apr 2007
Posts: 13

PostPosted: Wed Apr 25, 2007 5:53 am    Post subject: Reply with quote

Using the LINKCOMMENT might work for me, but is it possible to move the comment using an offset or move it further along the link than default?
Back to top
Howie
Cacti Guru User


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

PostPosted: Wed Apr 25, 2007 6:12 am    Post subject: Reply with quote

Syngress wrote:
Using the LINKCOMMENT might work for me, but is it possible to move the comment using an offset or move it further along the link than default?


No, not at the moment (again). Not without altering the code for all comments, anyway.
Back to top
Howie
Cacti Guru User


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

PostPosted: Sun May 20, 2007 8:45 am    Post subject: Re: Rotate BWLABEL text? Reply with quote

Syngress wrote:
Is it at all possible to rotate the text used for the BWLABEL so that it fits within the link between 2 nodes, rather than it always being horizontal?

Thanks.


For the next release
Back to top
rfxn



Joined: 08 Jun 2007
Posts: 12

PostPosted: Mon Aug 18, 2008 1:57 am    Post subject: Reply with quote

did this ever get introduced by chance?
Back to top
Howie
Cacti Guru User


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

PostPosted: Mon Aug 18, 2008 12:48 pm    Post subject: Reply with quote

rfxn wrote:
did this ever get introduced by chance?


COMMENTPOS? yes.
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