Team:Groningen/Graphs/PromoterActivation
From 2009.igem.org
(Difference between revisions)
(New page: { script: "var data = document.getElementById('promoterActivationData').data;\ var d=[{title:'()',data:[],args:{plot:'in'}},\ {title:'(pro=0)',data:[],args:{plot:'...) |
(Different data structure.) |
||
Line 1: | Line 1: | ||
{ | { | ||
script: "var data = document.getElementById('promoterActivationData').data;\ | script: "var data = document.getElementById('promoterActivationData').data;\ | ||
- | var d=[{title:'()',data: | + | if (!data) data = {ars:[],arsNP:[]};\ |
- | {title:'(pro=0)',data: | + | var d=[{title:'()',data:data.ars,args:{plot:'in'}},\ |
- | + | {title:'(pro=0)',data:data.arsNP,args:{plot:'in'}}];\ | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
d;", | d;", | ||
width: '10cm', | width: '10cm', |
Revision as of 11:30, 21 September 2009
{ script: "var data = document.getElementById('promoterActivationData').data;\
if (!data) data = {ars:[],arsNP:[]};\ var d=[{title:'()',data:data.ars,args:{plot:'in'}},\ {title:'(pro=0)',data:data.arsNP,args:{plot:'in'}}];\ 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'} } }