| Cheshire Cat Computing https://steveshipway.org/forum/ |
|
| Sort grahs https://steveshipway.org/forum/viewtopic.php?f=2&t=3838 |
Page 1 of 1 |
| Author: | dspcarlos [ Wed Jul 08, 2009 10:38 am ] |
| Post subject: | Sort grahs |
Hello, Would like to know if there is a way to choose which order display graphs in summary or custom summary page. At this moment, the graphs are not shown the same sequence they appear in the file, and at least I would like to show them this order, is it possible? thanks |
|
| Author: | stevesh [ Wed Jul 08, 2009 11:09 am ] |
| Post subject: | Re: Sort grahs |
The graphs are sorted according to the default sort order, the same sort order used to sort the Targets menu. This can be chosen in the routers2.conf [targetnames] section, by setting the ifsort parameter. Unfortunately you do not have the option of the same order as in the cfg file because the system holds the interfaces in a hash and so loses this sequence. I suggest you make the target short descriptions (the ones used in the Targets menu) start with a number, eg '01. first target', '02. second target' etc and then they will be sorted (alphabetically) in this order? Use 'routers.cgi*ShortDesc[xxx]: yyy' to set the short description and override the default. |
|
| Page 1 of 1 | All times are UTC + 12 hours [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|