Difference between revisions of "Team:China Tongji/test"
Line 19: | Line 19: | ||
<div id=mainContent> | <div id=mainContent> | ||
<!-- maincontent start here --> | <!-- maincontent start here --> | ||
+ | <table id="pieChart1"> | ||
+ | <caption>1.How old are you?</caption> | ||
+ | <thead> | ||
+ | <tr> | ||
+ | <th>option</th> | ||
+ | <th>10-16 years old</th> | ||
+ | <th>17-22 years old</th> | ||
+ | <th>23-30 years old</th> | ||
+ | <th>More than 30 years old</th> | ||
+ | </tr> | ||
+ | </thead> | ||
+ | <tbody> | ||
+ | <tr> | ||
+ | <th>317</th> | ||
+ | <td>4</td> | ||
+ | <td>155</td> | ||
+ | <td>39</td> | ||
+ | <td>119</td> | ||
+ | </tr> | ||
+ | </tbody> | ||
+ | </table> | ||
+ | |||
+ | |||
<div class="cntr mt20"> | <div class="cntr mt20"> | ||
<ul class="pgwSlideshow"> | <ul class="pgwSlideshow"> | ||
Line 37: | Line 60: | ||
<!-- Placed at the end of the document so the pages load faster --> | <!-- Placed at the end of the document so the pages load faster --> | ||
<script src="https://2015.igem.org/Team:China_Tongji/jqueryMultiPicShow_js?action=raw"></script> | <script src="https://2015.igem.org/Team:China_Tongji/jqueryMultiPicShow_js?action=raw"></script> | ||
+ | <script type="text/javascript"> | ||
+ | gvChartInit(); | ||
+ | $(document).ready(function(){ | ||
+ | $('#pieChart1').gvChart({ | ||
+ | chartType: 'PieChart', | ||
+ | gvSettings: { | ||
+ | vAxis: {title: 'No of players'}, | ||
+ | hAxis: {title: 'Month'}, | ||
+ | width: 600, | ||
+ | height: 350 | ||
+ | } | ||
+ | }); | ||
+ | }); | ||
+ | </script> | ||
</body> | </body> | ||
</html> | </html> | ||
{{China_Tongji_Foot}} | {{China_Tongji_Foot}} |
Revision as of 21:34, 7 September 2015
Test
option | 10-16 years old | 17-22 years old | 23-30 years old | More than 30 years old |
---|---|---|---|---|
317 | 4 | 155 | 39 | 119 |
Copyright © China_Tongji iGEM 2015 | Developer: LiJunWu