Email conversation
From | Marc-Andre Menard |
To | Me |
Subject | The show graph button how to question |
Date | 4 March 2009 17:43 |
I just see your browser comparaison... I don't care wich browser is the
best, mine suit me fine and have all the gadgets I need to work with
The question is, what is the script or the technique used to take the table
and turn it to beautifull graph ?
Thanks in advance
Marc-andre menard
From | Me |
To | Marc-Andre Menard |
Subject | Re: The show graph button how to question |
Date | 7 March 2009 11:43 |
Marc-Andre,
> The question is, what is the script or the technique used to take the
> table and turn it to beautifull graph ?
A fairly simple DOM script in the source of the main page steps through
the table, collecting browser names from the first TH cell it finds, and
numbers from the various columns. It then sorts the numbers using
array.sort() and then feeds the numbers into my multigraph script which
produces the graphs:
http://www.howtocreate.co.uk/jslibs/script-multigraph
Mark 'Tarquin' Wilton-Jones - author of http://www.howtocreate.co.uk/