added ref-table to example
authorBruno Trecenti <btrecent@thoughtworks.com>
Wed, 20 May 2015 17:39:29 +0000 (14:39 -0300)
committerBruno Trecenti <btrecent@thoughtworks.com>
Wed, 20 May 2015 17:39:29 +0000 (14:39 -0300)
examples/default.html

index 4a278cb..b1ad51c 100644 (file)
@@ -12,6 +12,7 @@
 <body>
   <div id="radar">
   </div>
+  <div id="ref-table"></div>
 </body>
 <script>
   var adopt = new tr.models.Cycle('Adopt', 0);
 
   var radarGraph = new tr.graphing.Radar(1080, radar);
   radarGraph.init('#radar').plot();
+  var refTable = new tr.graphing.RefTable(radar);
+  refTable.init('#ref-table').render();
 </script>
 </html>