Team:TU-Eindhoven/Template:UseGraphs

From 2013.igem.org

(Difference between revisions)
Line 3: Line 3:
function loadGraphLibrary(){
function loadGraphLibrary(){
   $.getScript('https://2013.igem.org/Team:TU-Eindhoven/JS:Flot?action=raw&ctype=text/js', function(data, textStatus){
   $.getScript('https://2013.igem.org/Team:TU-Eindhoven/JS:Flot?action=raw&ctype=text/js', function(data, textStatus){
-
                console.log(textStatus, data);
+
          console.log(textStatus, data);
 +
          $.getScript('https://2013.igem.org/Team:TU-Eindhoven/Data:</html>{{{data}}}</html>?action=raw&ctype=text/js', function(data2, textStatus2){
 +
                console.log(textStatus2, data2);
                 var data = [];
                 var data = [];
                 choiceContainer = $('#graph_value_select');
                 choiceContainer = $('#graph_value_select');
Line 35: Line 37:
                 plotAccordingToChoices();
                 plotAccordingToChoices();
});
});
 +
    }
}
}
</script>
</script>
</html>
</html>

Revision as of 11:47, 17 August 2013