Team:TU-Eindhoven/Template:UseGraphs
From 2013.igem.org
(Difference between revisions)
Pascalaldo (Talk | contribs) |
Pascalaldo (Talk | contribs) |
||
Line 16: | Line 16: | ||
var data = []; | var data = []; | ||
var select_value = $('#graph_value_select').val(); | var select_value = $('#graph_value_select').val(); | ||
- | + | $.each(datasets[select_value].series, function(key, val) { | |
- | + | data.push(datasets[select_value].series[key]); | |
- | + | }); | |
- | } | + | |
if (data.length > 0) { | if (data.length > 0) { |
Revision as of 10:44, 17 August 2013