| Cheshire Cat Computing http://www.steveshipway.org/forum/ |
|
| See summary as default, D/W/M/Y at level 2? http://www.steveshipway.org/forum/viewtopic.php?f=2&t=343 |
Page 1 of 1 |
| Author: | dstein766 [ Sat Aug 14, 2004 4:59 am ] |
| Post subject: | See summary as default, D/W/M/Y at level 2? |
| Author: | stevesh [ Sun Aug 15, 2004 12:44 pm ] |
| Post subject: | |
You want to make the default graph type 'dwmy' (all graphs) instead of 'd' (daily). This is not currently possible by making any settings in the routers2.conf, but (if you are perl savvy) it is a single line in the routers2.pl script itself. At the moment, the default is to show the highest resolution available -- usually daily, or 6-hour is your target has a 1-min interval. This is set at the end of the script. I will add to the wishlist a routers2.conf option to override this, but in the meantime you just need to change the $defgtype=$xgtypes[0] to be $defgtype='dwmy' (This is the definition of the default graph type, in the absence of anything specified in the parameters). I'll give more detailed instructions once I'm back in the office. However, if all you want to do is to set the default for a single user, then you can use the Personal Preferences to select 'All Graphs' as default. This sets a cookie which overrides all other defaults on this browser to give all the graphs. If you are not happy with editing the code yourself, this will solve your problem until v2.15 comes out. |
|
| Author: | dstein766 [ Wed Aug 18, 2004 11:27 am ] |
| Post subject: | |
| Author: | stevesh [ Wed Aug 18, 2004 1:15 pm ] |
| Post subject: | |
Ah... so, correct me if I'm wrong.... Your default view is 'Summary/Daily' (showing all the graphs in Daily mode). When you click on the graph, it now goes to '[target]/Daily' but you would rather it go to '[target]/All Graphs'? This would require a bit of changing to the code of the do_summary() function. Currently, it keeps the same time period as you are viewing -- so you would want to change from 'd' to 'dwmy' when selecting a summary graph. This might be possible to implement as an option in the routers2.conf for the future, Ill put it in the wishlist |
|
| Author: | dstein766 [ Thu Aug 19, 2004 7:49 am ] |
| Post subject: | |
| Page 1 of 1 | All times are UTC + 12 hours [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|