Team:TU-Eindhoven/Template:UseGraphs

From 2013.igem.org

(Difference between revisions)
Line 16: Line 16:
var data = [];
var data = [];
                         var select_value = $('#graph_value_select').val();
                         var select_value = $('#graph_value_select').val();
-
                         for (var i=0;i</html>{{{series}}}<html>;i++)
+
                         $.each(datasets[select_value].series, function(key, val) {
-
                        {
+
    data.push(datasets[select_value].series[key]);
-
data.push(datasets[select_value + i]);
+
                         });
-
                         }
+
if (data.length > 0) {
if (data.length > 0) {

Revision as of 10:44, 17 August 2013