FAQ
Search
Memberlist
Register
Profile
Log in to check your private messages
Log in
Drawing problem : Colour are not where they shoud be
Cacti Forum Index
->
Plugin: (Network Weather Map)
Author
Message
totosh
Joined: 10 Mar 2008
Posts: 11
Posted: Tue Apr 08, 2008 10:37 am
Post subject: Drawing problem : Colour are not where they shoud be
Hi,
i'm using WM 0.95b and everything is fine except some color graphs seem to be inverted :
example on one node :
Code:
LINK FG300A_LY1-LY1-SI1-4503-002-2
INFOURL /graph.php?rra_id=all&local_graph_id=8005
OVERLIBGRAPH /graph_image.php?local_graph_id=8005&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
BWLABELPOS 35 68
TARGET /var/www/html/rra/ly1-si1-4503-002_traffic_in_8295.rrd
NODES FG300A_LY1 LY1-SI1-4503-002-2
BANDWIDTH 1000M
Code:
SCALE DEFAULT 0 0 255 255 255
SCALE DEFAULT 0 50 0 255 0 255 255 0
SCALE DEFAULT 50 100 255 255 0 255 0 0
data is correct on the link but color is inverted (white shoud be 0 and 1.5K green) . if i invert the link (from nodeA-nodeB to nodeB-nodeA) then the color is right but the data wrong.
i probably messed up somewhere really don't have a clue.
wm_vp.JPG
Description:
Filesize:
6.38 KB
Viewed:
717 Time(s)
Back to top
Howie
Cacti Guru User
Joined: 16 Sep 2004
Posts: 2135
Location: United Kingdom
Posted: Tue Apr 08, 2008 11:30 am
Post subject:
The colours are in the right places. The *LABELs* are in the wrong places.
The 'in' label is the one furthest from 'Node A' (with it's arrow pointing towards Node A), so it's offset is higher.
Quote:
BWLABELPOS 35 68
should be
Code:
BWLABELPOS 68 35
I am planning to add a warning for when in<out, because lots of people get caught by it.
Back to top
totosh
Joined: 10 Mar 2008
Posts: 11
Posted: Tue Apr 08, 2008 11:44 am
Post subject:
It does make sense now
seems i did that on all my links *sigh*
Thx a mil !
Back to top
Display posts from previous:
All Posts
1 Day
7 Days
2 Weeks
1 Month
3 Months
6 Months
1 Year
Oldest First
Newest First
Cacti Forum Index
->
Plugin: (Network Weather Map)
All times are GMT - 5 Hours
Page
1
of
1
Powered by
phpBB
© 2001, 2005 phpBB Group