[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/bbcode.php on line 112: 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 - Generating image only graphs (&page=image)
Cheshire Cat Computing
http://www.steveshipway.org/forum/

Generating image only graphs (&page=image)
http://www.steveshipway.org/forum/viewtopic.php?f=15&t=792
Page 1 of 1

Author:  bneste [ Tue Jan 17, 2006 9:28 am ]
Post subject:  Generating image only graphs (&page=image)

I'm creating some usage images that will be displayed on our intranet. I found the section of the how to that tells how to do this, and it is working just fine. However, I am having a difficult time getting the image to display the graph the way I want it.

From playing around, I found that I can make the graph smaller by using "xgstyle=s" in the url. My problem is that I don't want to display the legend and max values at the bottom of the image. Is there anything I can add/change in the url for the graph so these items are not generated?

Here's the image I'm currently getting - I removed the title for security reasons.


Here's how I would like it to look. It is the same image you see on the summary page for the device:


Any suggestions?

Author:  stevesh [ Wed Jan 18, 2006 9:14 am ]
Post subject: 

Where you specify the time period, add an extra 's' (for summary graph).

EG: &xgtype=ds&xgstyle=s

This specifies a short graph (gstyle=s) and a daily summary graph (xgtype=ds).

Steve

Author:  bneste [ Wed Jan 18, 2006 9:46 am ]
Post subject: 

Steve,

Thanks for the reply :)

When using the following versions of the url I get the same image, the one with the legend.

http://server/cgi-bin/routers2.pl?rtr=r ... page=image

http://server/cgi-bin/routers2.pl?rtr=r ... page=image

I'm using version 2.16beta7 of routers.cgi. Thanks for your assistance!

-Brent

Author:  stevesh [ Wed Jan 18, 2006 11:57 am ]
Post subject: 

(Steve goes and checks)

Ah... I should have checked before. Actually, the 'ds' gtype code is used internally to the script. But, now I come to check, the script won't let you pass this as a parameter since it is not a valid standalone type -- dwmys is valid, but only for a full page, not for an individual graph. Internally, this is broken down to 4 requests for ds, ws, ms and ys. This was not a problem until you needed to be able to request just a graph without a legend :(

You could add it to the list of valid gtypes, however this would then result in it appearing in the Types menu.

I guess you want this for use in popup frames over a network map?

This won't be an easy one to get around after all, as I need some way to bypass the tests.... watch this space....

Author:  stevesh [ Wed Jan 18, 2006 12:17 pm ]
Post subject: 


Author:  yasiru [ Mon Dec 17, 2012 4:00 pm ]
Post subject:  Re: Generating image only graphs (&page=image)

I'm trying to show 34 hours history from the image. :?
I is hard to figure out how to defined it in above script.
Could you give any help.

Thank you!

Author:  stevesh [ Mon Dec 31, 2012 1:54 pm ]
Post subject:  Re: Generating image only graphs (&page=image)

You would need to define a new style, and the additional code to define how to handle it (data width, image width, etc) in the various functions. Not simple...
If your Perl knowledge is not up to making the changes then you are recommended to find someone who can help you out...

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