A basic standalone HTMLTable reader example
Data |
3 |
8 |
5 |
1 |
3 |
8 |
7 |
Labels |
Leyla |
Bill |
Neil |
Olga |
Peter |
Billy |
Mini |
This goes in the documents header:
<script src="RGraph.common.table.js"></script>
Put this where you want the chart to show up:
<table id="myTable" border="1">
<tr>
<td>Data</td>
<td>3</td>
<td>8</td>
<td>5</td>
<td>1</td>
<td>3</td>
<td>8</td>
<td>7</td>
</tr>
<tr>
<td>Labels</td>
<td>Leyla</td>
<td>Bill</td>
<td>Neil</td>
<td>Olga</td>
<td>Peter</td>
<td>Billy</td>
<td>Mini</td>
</tr>
</table>
This is the code that generates the chart - it should be placed AFTER the canvas tag(s):