| Cheshire Cat Computing http://www.steveshipway.org/forum/ |
|
| Any Plans for user definable graphs? http://www.steveshipway.org/forum/viewtopic.php?f=2&t=86 |
Page 1 of 1 |
| Author: | magic7s [ Wed Nov 26, 2003 6:08 am ] |
| Post subject: | Any Plans for user definable graphs? |
Are there any plans for user definable graphs (via web interface)? It would be a great feature if you could allow custom combined graphs. The user could select the elements and produce a defined graph. If not I would be willing to help write the code, could you point me in the direction (so I don't have to read through all of the code). brad |
|
| Author: | stevesh [ Wed Nov 26, 2003 9:48 pm ] |
| Post subject: | |
This would be extremely complex... for a start you would have to allow selection of targets from the entire available list, and then override all the available options. These would have to be passed through the CGI unless you want to save state on the server, which has its own problems. This would be close to the work of making a web-based .cfg file editor. I would expect that most people who want a custom graph will be able to create it in the .cfg files, since they would want it regularly anyway. I may be wrong, but I don't forsee much demand for an on-the-fly userdefined graph feature. However... please feel free to try. It would need to be almost a separate program, although it could use the same routers2.conf file format and CGI parameters. The actual generation code inside uses data stored in the %interfaces hash (the various Targets,including userdefineds) and so you could create a new entry in this hash for a custom graph, then call the make_graph function as current userdefineds do. Passed parameters should be embedded in the xgopts variable. Steve |
|
| Page 1 of 1 | All times are UTC + 12 hours [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|