Team:Groningen/Graphs/TestScript
From 2009.igem.org
(Difference between revisions)
(Initial attempt at using a script as datasource) |
m |
||
Line 1: | Line 1: | ||
{ | { | ||
- | script: "var data=[{title:'As',data:[],args:[]}]; for( | + | script: "var data=[{title:'As',data:[],args:[]}]; for(var i=0; i<4; i++) data[0].data.push({x:i,y:i*i}); data;", |
width: '8cm', | width: '8cm', | ||
height: '5cm', | height: '5cm', |
Latest revision as of 14:13, 7 July 2009
{ script: "var data=[{title:'As',data:[],args:[]}]; for(var 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'} } }