| Cheshire Cat Computing http://www.steveshipway.org/forum/ |
|
| size the graph http://www.steveshipway.org/forum/viewtopic.php?f=2&t=505 |
Page 1 of 1 |
| Author: | load [ Thu Feb 17, 2005 12:57 am ] |
| Post subject: | size the graph |
What can I do to create graph more then 413px x 172px? Thanks for attention |
|
| Author: | stevesh [ Thu Feb 17, 2005 11:49 am ] |
| Post subject: | |
It is not possible to use variable graph sizes using standard routers2.cgi. The graph sizes are defined based on the gstyle parameter, and there are only set values that this can be. If you select different sizes in the Styles menu at the side, you can get graphs up to a much larger size than the normal 400x100px (try the 'huge' option, 800x300px). WARNING: DO NOT DO THIS NEXT BIT UNLESS YOU REALLY UNDERSTAND PERL! To change the style graph sizes, you would need to modify the code itself. Look in the make_graph function, and change the $gwidth and $gheight variables (this is the graph size in pixels, which is smaller than the final image size). The $width variable is the number of data points in the graph, usually 400. Making it more will not give you more data than you have stored, though. |
|
| Author: | load [ Fri Feb 18, 2005 2:50 am ] |
| Post subject: | resize my graph |
thank you very much , everything is all right! |
|
| Page 1 of 1 | All times are UTC + 12 hours [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|