Tability / 0.5 Example
This graph was 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.5/tability.user.js"> </script>
and including this code after the table.
<span tability="true" table="theTable"> <type>Line</type> <series>true</series> </span>
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 Graph
Where theTable is the id of the table.
Numbers Values Other Values More Values 0 30 169 224 1 65 134 235 2 18 144 280 3 68 106 210 4 91 176 295 5 86 144 291 6 87 147 238 7 46 195 289 8 66 144 289 9 73 148 202
