Team:TU-Eindhoven/Template:UseGraphs

From 2013.igem.org

(Difference between revisions)
Line 3: Line 3:
<script>
<script>
$(function() {
$(function() {
 +
                var i = 0;
 +
$.each(datasets, function(key, val) {
 +
val.color = i;
 +
++i;
 +
});
$.plot("#placeholder", datasets["usa"],{yaxis: { min: 0 }, xaxis: { tickDecimals: 0 }});
$.plot("#placeholder", datasets["usa"],{yaxis: { min: 0 }, xaxis: { tickDecimals: 0 }});
});
});
</script>
</script>
</html>
</html>

Revision as of 23:34, 16 August 2013