Team:Groningen/Graphs/Totalmodel
From 2009.igem.org
{ script: "var modelData=document.getElementById('Totalmodel').data;\
var d=[{title:'AsIn',data:[],args:[]},{title:'AsEx',data:[],args:[]}];\ if (modelData!=undefined) for(var i=0; i<modelData.Time.length; i++) {\ d[0].data.push({x:modelData.Time[i],y:modelData.Asin[i]});\ d[1].data.push({x:modelData.Time[i],y:modelData.Asex[i]});\ } d;",
width: '10cm', height: '8cm', axes: {x: {title: "X-as", minorLabels: false}, y: {title: "Y-as", vertical: true} }, plots: { 'default': {type: 'Lines'} } }