Team:Groningen/Graphs/PromoterActivation

From 2009.igem.org

(Difference between revisions)
m
(Splitting in two graphs)
Line 1: Line 1:
{
{
script: "var data = document.getElementById('promoterActivationData').data;\
script: "var data = document.getElementById('promoterActivationData').data;\
-
         if (!data) data = {ars:[],arsNP:[]};\
+
         if (!data) data = {ars:[]};\
-
         var d=[{title:'()',data:data.ars,args:{plot:'in'}},\
+
         var d=[{title:'ars',data:data.ars,args:{plot:'in'}}];\
-
                {title:'(pro=0)',data:data.arsNP,args:{plot:'in'}}];\
+
         d;",
         d;",
width: '10cm',
width: '10cm',

Revision as of 12:10, 21 September 2009

{ script: "var data = document.getElementById('promoterActivationData').data;\

        if (!data) data = {ars:[]};\
        var d=[{title:'ars',data:data.ars,args:{plot:'in'}}];\
        d;",

width: '10cm', height: '8cm', axes: {x: {title: "Time (min)", minorLabels: false}, y: {title: "Unbound ars (%)", vertical: true, min: 0}}, plots: { 'in': {type: 'Lines', vAxis: 'y'} } }