Team:Groningen/Graphs/model

From 2009.igem.org

{ script: "var modelData=document.getElementById('modelData').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: "Dit is de X as", minorLabels: false}, y: {title: "Dit is de Y as", vertical: true} }, plots: { 'default': {type: 'Lines'} } }