Team:Groningen/Graphs/TestScript

From 2009.igem.org

(Difference between revisions)
Jaspervdg (Talk | contribs)
(Initial attempt at using a script as datasource)
Newer edit →

Revision as of 14:00, 7 July 2009

{ script: "var data=[{title:'As',data:[],args:[]}]; for(int i=0; i<4; i++) data[0].data.push({x:i,y:i*i}); data;", width: '8cm', height: '5cm', axes: {x: {title: "time (s)" }, y: {title: "concentration (µM)", vertical: true} }, plots: { 'default': {type: 'Lines'} } }