Team:TU-Eindhoven/Template:UseGraphs
From 2013.igem.org
(Difference between revisions)
Pascalaldo (Talk | contribs) |
Pascalaldo (Talk | contribs) |
||
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){ | ||
- | |||
$.getScript('https://2013.igem.org/Team:TU-Eindhoven/Data:</html>{{{data}}}<html>?action=raw&ctype=text/js', function(data2, textStatus2){ | $.getScript('https://2013.igem.org/Team:TU-Eindhoven/Data:</html>{{{data}}}<html>?action=raw&ctype=text/js', function(data2, textStatus2){ | ||
- | |||
var data = []; | var data = []; | ||
choiceContainer = $('#graph_value_select'); | choiceContainer = $('#graph_value_select'); | ||
Line 13: | Line 11: | ||
}); | }); | ||
- | $('#graph_value_select'). | + | $('#graph_value_select').change(plotAccordingToChoices); |
function plotAccordingToChoices() { | function plotAccordingToChoices() { |
Latest revision as of 13:02, 17 August 2013