Team:Groningen/Graphs/PromoterActivation
From 2009.igem.org
{ script: "var data = document.getElementById('promoterActivationData').data;\
var d=[{title:'()',data:[],args:{plot:'in'}},\ {title:'(pro=0)',data:[],args:{plot:'in'}}];\ if (!data) data = {time:[]};\ for(var i=0; i<data.time.length; i++) {\ var f=data.time[i]/60;\ d[0].data.push({x:f,y:data.ars[i]*100});\ d[1].data.push({x:f,y:data.arsNP[i]*100});\ }\ d;",
width: '10cm', height: '8cm', axes: {x: {title: "Time (min)", minorLabels: false}, y: {title: "Unbound ars (%)", vertical: true, min: 0, max: 100}}, plots: { 'in': {type: 'Lines', vAxis: 'y'} } }