Bok
08-09-2006, 09:48 AM
and cI've been tinkering with this and wanted to get some feedback before going further...
Simple at the moment, in statstool there is a new column named 'Chart Color 1'. This is in hex format (as that is what chart director uses, sorry!). It is of the format AAxxyyzz, where AA is a transparency option of 00 to FF (00 is not transparent).
Anyways, this allows you to set the colors of the charts, initially only on the userstats.php page as that's all I've coded, but it's simple to do the others too. It will only show up if you are logged in, otherwise it'll show the default colors. If you are logged in, go here (http://stats.free-dc.org/new/userstats.php?proj=rsi&name=3042) after altering the color in statstool and check the graphs. For instance 800000FF gives a semi-transparent blue color.
It opens up the option to set many custom options within the stats, is there interest in this at all ? What kind of things would you like to be able to control....?
Bok
Simple at the moment, in statstool there is a new column named 'Chart Color 1'. This is in hex format (as that is what chart director uses, sorry!). It is of the format AAxxyyzz, where AA is a transparency option of 00 to FF (00 is not transparent).
Anyways, this allows you to set the colors of the charts, initially only on the userstats.php page as that's all I've coded, but it's simple to do the others too. It will only show up if you are logged in, otherwise it'll show the default colors. If you are logged in, go here (http://stats.free-dc.org/new/userstats.php?proj=rsi&name=3042) after altering the color in statstool and check the graphs. For instance 800000FF gives a semi-transparent blue color.
It opens up the option to set many custom options within the stats, is there interest in this at all ? What kind of things would you like to be able to control....?
Bok