Tability / 0.6 Example
This CSV and graph were generated from the table by including this line in the <head> tag of the page
<script> type="text/javascript" src="http://jeffpalm.com/tability/0.6/tability.user.js"> </script>
and including this code after the table.
<span tability="true" table="theTable"> <type>CSV</type> <series>true</series> </span> <span tability="true" table="theTable"> <type>Line</type> <series>true</series> </span>
(Note the difference in the type tags). This instructs
our script to replace this span with an image of the
graph created from the table with id theTable. The API is
basically the same from the previous
version, except that instead of making an explicit call to a funtion
with options in javascript, you can simply include a span
with the attribute tability set to true (or any
value, really), and include the graph options as children of this
span. Again, I'll expand on the options later, they are pretty
minimal now.
The CSV
The Graph
Where theTable is the id of the table.
Numbers Values Other Values More Values 0 64 178 262 1 77 109 226 2 13 150 215 3 29 124 269 4 91 169 219 5 80 163 299 6 21 131 232 7 5 104 244 8 27 129 231 9 74 116 284
