| Cheshire Cat Computing http://www.steveshipway.org/forum/ |
|
| Colors of custom graphs http://www.steveshipway.org/forum/viewtopic.php?f=15&t=1176 |
Page 1 of 1 |
| Author: | Rednarb [ Tue Jul 17, 2007 10:31 am ] |
| Post subject: | Colors of custom graphs |
I've created a custom graph. On the routers2.cgi*graph line I've put in the two colors for the I and the O and this works great. But how do I set the color of the total and/or average lines generated? TIA, Eric Brander |
|
| Author: | stevesh [ Tue Jul 17, 2007 10:39 am ] |
| Post subject: | |
Use the routers.cgi*Colours[] statement to define more colours. The system will work through the colour list, and start again at the beginning if it runs out. Once all the lines on the graph are done, then it uses the next colour for the total and the next one for the average. So, if there are 2 lines and an average, then routers.cgi*Colours[usergraphname]: #0000ff #00ff00 #ff0000 will get a blue line, a green line, and the total line in red. |
|
| Author: | Rednarb [ Thu Jul 26, 2007 8:57 am ] |
| Post subject: | |
| Author: | Rednarb [ Thu Jul 26, 2007 9:11 am ] |
| Post subject: | |
| Author: | Rednarb [ Thu Jul 26, 2007 9:28 am ] |
| Post subject: | |
| Author: | stevesh [ Thu Jul 26, 2007 10:47 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/ |
|