[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Cheshire Cat Computing :: View topic - Want to create an area graph... but not stacked.
Cheshire Cat Computing
http://www.steveshipway.org/forum/

Want to create an area graph... but not stacked.
http://www.steveshipway.org/forum/viewtopic.php?f=15&t=517
Page 1 of 1

Author:  bneste [ Sat Feb 26, 2005 10:28 am ]
Post subject:  Want to create an area graph... but not stacked.

I have created a graph that displays two values - the total available power on a PoE switch and the number of watts currently being used. It works just great, but I would like to have it displayed as an area graph - but not stacked... more of of an "overlay" if that makes any sense. As usual the incoming (total power) is displayed as a green area, and the outgoing (current usage) a single blue line. I would like the blue line to be an area as well.

Any ideas?

Thanks!!
-Brent

Author:  stevesh [ Sat Feb 26, 2005 12:47 pm ]
Post subject: 

Currently, this is not possible using routers2. You can have the standard 1 area/1 line, or stacked areas, or 2 lines, or a floating bar, or a mirrored aread (above/below the x-axis); this is the complete list as of the current version.
Note that, if you have 2 areas, and the second value is > the first value, then the first graph area will be completely obscured. Is this what you want?

Author:  bneste [ Wed Mar 02, 2005 4:09 am ]
Post subject: 

Actually yes, that is what I'm looking for. In my case, value b will never be above value a. Under heavy loads it may reach 90% of a. I'll try a floating bar - that might do the trick. Thanks for the great program and your reply!

-Brent

Author:  bneste [ Thu Mar 03, 2005 4:48 am ]
Post subject: 

Just a quick note to add here - I was able to use the stacked graph afterall. I just determined the "free" watts in MRTG by subtracting the current usage OID from the total watts OID. Then, I stacked the current usage and free watts numbers. Perfect. I should have thought of that earlier.

BTW: Thanks for routers2!!!

- Brent

Author:  stevesh [ Wed Dec 05, 2007 6:16 pm ]
Post subject: 

With a gauge-type, it produces exactly whatever value is retrieved. So, if the SNMP OID is in watts, then the graph is shown in watts.

The Total calculations make the assumption that the value is in something per second, and multiples up appropriately for the time interval. So, if you are garphing watts (joules per second) then the total will be in joules, IE, watt-seconds (or possibly kilowatt seconds if you have not set the fixunit option).

To display totals as kilowatthours would require a second multiplier to be used after the totalling. This is not currently possible using routers2, although you can set the unit descriptor to whatever text you want.

Page 1 of 1 All times are UTC + 12 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/