{"id":0,"registry":{"0":{"shape":{"__isSmartRef__":true,"id":1},"submorphs":[],"scripts":[],"_ClipMode":"visible","derivationIds":["AB2CD9B1-B8A7-488A-8677-EF55AEBC35C7","E6003058-4623-47B9-84B3-2455E1235474","9668B417-0690-4B52-8E2F-8024C3EEF8DD"],"id":"3E48F444-FC2F-485A-BC26-1D890AAA5FDD","droppingEnabled":true,"halosEnabled":true,"_StyleClassNames":["Morph","HtmlWrapperMorph","selectable"],"name":"d3MultiLineChart","eventHandler":{"__isSmartRef__":true,"id":2},"layout":{"__isSmartRef__":true,"id":3},"showsHalos":false,"isBeingDragged":false,"prevScroll":[0,0],"_StyleSheet":{"__isSmartRef__":true,"id":4},"canvasId":"d3-3E48F444FC2F485ABC261D890AAA5FDD","__serializedExpressions__":["_Position","distanceToDragEvent"],"_Rotation":0,"_Scale":1,"data":[{"__isSmartRef__":true,"id":25},{"__isSmartRef__":true,"id":26},{"__isSmartRef__":true,"id":27},{"__isSmartRef__":true,"id":28},{"__isSmartRef__":true,"id":29},{"__isSmartRef__":true,"id":30},{"__isSmartRef__":true,"id":31},{"__isSmartRef__":true,"id":32},{"__isSmartRef__":true,"id":33},{"__isSmartRef__":true,"id":34},{"__isSmartRef__":true,"id":35},{"__isSmartRef__":true,"id":36},{"__isSmartRef__":true,"id":37},{"__isSmartRef__":true,"id":38},{"__isSmartRef__":true,"id":39},{"__isSmartRef__":true,"id":40}],"partsBinMetaInfo":{"__isSmartRef__":true,"id":41},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":43},"__LivelyClassName__":"lively.morphic.HtmlWrapperMorph","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(0.0,0.0)","distanceToDragEvent":"lively.pt(360.0,-13.0)"},"1":{"_BorderWidth":0,"stringifiedShapeNode":"<div data-lively-morphid=\"3E48F444-FC2F-485A-BC26-1D890AAA5FDD\" class=\"Morph HtmlWrapperMorph selectable\" id=\"null\" style=\"overflow: visible; border: 0px solid rgb(95, 94, 95); padding: 0px; width: 534px; height: 409px; position: absolute; left: 0px; top: 0px; background-color: rgb(255, 255, 255);\"><div id=\"d3-3E48F444FC2F485ABC261D890AAA5FDD\"><svg width=\"534\" height=\"409\"><g transform=\"translate(35,30)\"><g class=\"x axis\" transform=\"translate(0,329)\"><g class=\"tick\" transform=\"translate(66.47485303723057,0)\" style=\"opacity: 1;\"><line y2=\"-329\" x2=\"0\"></line><text y=\"3\" x=\"0\" dy=\".71em\" style=\"text-anchor: middle;\">16:34</text></g><g class=\"tick\" transform=\"translate(219.64271717831483,0)\" style=\"opacity: 1;\"><line y2=\"-329\" x2=\"0\"></line><text y=\"3\" x=\"0\" dy=\".71em\" style=\"text-anchor: middle;\">16:34</text></g><g class=\"tick\" transform=\"translate(372.8105813193991,0)\" style=\"opacity: 1;\"><line y2=\"-329\" x2=\"0\"></line><text y=\"3\" x=\"0\" dy=\".71em\" style=\"text-anchor: middle;\">16:35</text></g><path class=\"domain\" d=\"M0,-329V0H469V-329\"></path></g><g class=\"y axis\"><g class=\"tick\" transform=\"translate(0,329)\" style=\"opacity: 1;\"><line x2=\"-6\" y2=\"0\"></line><text x=\"-9\" y=\"0\" dy=\".32em\" style=\"text-anchor: end;\">0</text></g><g class=\"tick\" transform=\"translate(0,211.5)\" style=\"opacity: 1;\"><line x2=\"-6\" y2=\"0\"></line><text x=\"-9\" y=\"0\" dy=\".32em\" style=\"text-anchor: end;\">50</text></g><g class=\"tick\" transform=\"translate(0,94)\" style=\"opacity: 1;\"><line x2=\"-6\" y2=\"0\"></line><text x=\"-9\" y=\"0\" dy=\".32em\" style=\"text-anchor: end;\">100</text></g><path class=\"domain\" d=\"M-6,0H0V329H-6\"></path></g><g class=\"group\"><path class=\"line\" d=\"M0,64.92267158709922L14.908338776398868,81.97847660737713C29.816677552797735,99.03428162765506,59.63335510559547,133.1458916682109,85.67189200957979,125.27814601236047C111.71042891356413,117.41040035651004,133.97082516873505,67.56329900425331,156.8438928804703,47.88829676269654C179.71696059220554,28.213294521139762,203.2026997605051,38.71039139028293,224.33986501197472,58.55797039041648C245.47703026344436,78.40554939055002,264.265621598084,107.60361052167394,283.1052688874374,110.06130612318488C301.94491617679074,112.51900172469581,320.8356194208578,88.23633179659377,340.8495536686262,75.55758890686367C360.86348791639455,62.878846017133576,382.00065316786413,61.80403016577542,403.54626605704334,59.2390336479926C425.0918789462225,56.67403713020979,447.0459394731112,52.61885994600231,458.0229697365555,50.59127135389856L469,48.56368276179484\"></path><text transform=\"translate(469,48.56368276179484)\" x=\"3\" dy=\".35em\">1</text></g><g class=\"group\"><path class=\"line\" d=\"M0,93.5483533443234L14.908338776398868,82.99323979574342C29.816677552797735,72.43812624716345,59.63335510559547,51.32789915000351,85.67189200957979,58.77745821368981C111.71042891356413,66.22701727737612,133.97082516873505,102.23636250190867,156.8438928804703,111.14674032249609C179.71696059220554,120.0571181430835,203.2026997605051,101.86852855972579,224.33986501197472,88.72037173673591C245.47703026344436,75.57221491374602,264.265621598084,67.46449085112398,283.1052688874374,66.28959847629923C301.94491617679074,65.1147061014745,320.8356194208578,70.87264541444705,340.8495536686262,73.72371413685552C360.86348791639455,76.57478285926399,382.00065316786413,76.51898099110838,403.54626605704334,71.57937222335694C425.0918789462225,66.63976345560552,447.0459394731112,56.816347788258255,458.0229697365555,51.90463995458463L469,46.99293212091101\"></path><text transform=\"translate(469,46.99293212091101)\" x=\"3\" dy=\".35em\">2</text></g></g></svg></div></div>","__serializedExpressions__":["_Padding","_BorderColor","_Fill","_Position","_Extent","extent"],"__LivelyClassName__":"lively.morphic.Shapes.External","__SourceModuleName__":"Global.lively.morphic.Shapes","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(95,94,95)","_Fill":"Color.rgb(255,255,255)","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(534.0,409.0)","extent":"lively.pt(534.0,409.0)"},"2":{"morph":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3":{"resizeWidth":true,"resizeHeight":true},"4":{"rules":[{"__isSmartRef__":true,"id":5},{"__isSmartRef__":true,"id":8},{"__isSmartRef__":true,"id":12},{"__isSmartRef__":true,"id":14},{"__isSmartRef__":true,"id":18},{"__isSmartRef__":true,"id":20},{"__isSmartRef__":true,"id":22}],"originMorph":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.StyleSheet","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"5":{"declarations":[{"__isSmartRef__":true,"id":6},{"__isSmartRef__":true,"id":7}],"styleSheet":{"__isSmartRef__":true,"id":4},"selector":".Morph","__LivelyClassName__":"lively.morphic.StyleSheetRule","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"6":{"values":["10px","sans-serif"],"rule":{"__isSmartRef__":true,"id":5},"property":"font","priority":false,"__LivelyClassName__":"lively.morphic.StyleSheetDeclaration","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"7":{"values":["0"],"rule":{"__isSmartRef__":true,"id":5},"property":"margin","priority":false,"__LivelyClassName__":"lively.morphic.StyleSheetDeclaration","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"8":{"declarations":[{"__isSmartRef__":true,"id":9},{"__isSmartRef__":true,"id":10},{"__isSmartRef__":true,"id":11}],"styleSheet":{"__isSmartRef__":true,"id":4},"selector":".Morph path.line","__LivelyClassName__":"lively.morphic.StyleSheetRule","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"9":{"values":["none"],"rule":{"__isSmartRef__":true,"id":8},"property":"fill","priority":false,"__LivelyClassName__":"lively.morphic.StyleSheetDeclaration","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"10":{"values":["#666"],"rule":{"__isSmartRef__":true,"id":8},"property":"stroke","priority":false,"__LivelyClassName__":"lively.morphic.StyleSheetDeclaration","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"11":{"values":["1.5px"],"rule":{"__isSmartRef__":true,"id":8},"property":"stroke-width","priority":false,"__LivelyClassName__":"lively.morphic.StyleSheetDeclaration","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"12":{"declarations":[{"__isSmartRef__":true,"id":13}],"styleSheet":{"__isSmartRef__":true,"id":4},"selector":".Morph .axis","__LivelyClassName__":"lively.morphic.StyleSheetRule","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"13":{"values":["crispEdges"],"rule":{"__isSmartRef__":true,"id":12},"property":"shape-rendering","priority":false,"__LivelyClassName__":"lively.morphic.StyleSheetDeclaration","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"14":{"declarations":[{"__isSmartRef__":true,"id":15},{"__isSmartRef__":true,"id":16},{"__isSmartRef__":true,"id":17}],"styleSheet":{"__isSmartRef__":true,"id":4},"selector":".Morph .x.axis line","__LivelyClassName__":"lively.morphic.StyleSheetRule","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"15":{"values":["#fff"],"rule":{"__isSmartRef__":true,"id":14},"property":"stroke","priority":false,"__LivelyClassName__":"lively.morphic.StyleSheetDeclaration","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"16":{"comment":"/*stroke: #000;*/","values":[""],"rule":{"__isSmartRef__":true,"id":14},"property":"","priority":false,"__LivelyClassName__":"lively.morphic.StyleSheetInlineComment","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"17":{"comment":"/*fill: none;*/","values":[""],"rule":{"__isSmartRef__":true,"id":14},"property":"","priority":false,"__LivelyClassName__":"lively.morphic.StyleSheetInlineComment","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"18":{"declarations":[{"__isSmartRef__":true,"id":19}],"styleSheet":{"__isSmartRef__":true,"id":4},"selector":".Morph .x.axis .minor","__LivelyClassName__":"lively.morphic.StyleSheetRule","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"19":{"values":[".5"],"rule":{"__isSmartRef__":true,"id":18},"property":"stroke-opacity","priority":false,"__LivelyClassName__":"lively.morphic.StyleSheetDeclaration","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"20":{"declarations":[{"__isSmartRef__":true,"id":21}],"styleSheet":{"__isSmartRef__":true,"id":4},"selector":".Morph .x.axis path","__LivelyClassName__":"lively.morphic.StyleSheetRule","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"21":{"values":["none"],"rule":{"__isSmartRef__":true,"id":20},"property":"display","priority":false,"__LivelyClassName__":"lively.morphic.StyleSheetDeclaration","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"22":{"declarations":[{"__isSmartRef__":true,"id":23},{"__isSmartRef__":true,"id":24}],"styleSheet":{"__isSmartRef__":true,"id":4},"selector":".Morph .y.axis line, .y.axis path","__LivelyClassName__":"lively.morphic.StyleSheetRule","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"23":{"values":["none"],"rule":{"__isSmartRef__":true,"id":22},"property":"fill","priority":false,"__LivelyClassName__":"lively.morphic.StyleSheetDeclaration","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"24":{"values":["#000"],"rule":{"__isSmartRef__":true,"id":22},"property":"stroke","priority":false,"__LivelyClassName__":"lively.morphic.StyleSheetDeclaration","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"25":{"group":1,"__serializedExpressions__":["x"],"y":112.37333123953225,"x":"new Date(\"Thu May 01 2014 00:16:33 GMT-0700 (PDT)\")"},"26":{"group":2,"__serializedExpressions__":["x"],"y":100.19219006624536,"x":"new Date(\"Thu May 01 2014 00:16:33 GMT-0700 (PDT)\")"},"27":{"group":1,"__serializedExpressions__":["x"],"y":68.82659501754605,"x":"new Date(\"Thu May 01 2014 00:16:34 GMT-0700 (PDT)\")"},"28":{"group":2,"__serializedExpressions__":["x"],"y":127.14141614772615,"x":"new Date(\"Thu May 01 2014 00:16:34 GMT-0700 (PDT)\")"},"29":{"group":1,"__serializedExpressions__":["x"],"y":132.4611924885121,"x":"new Date(\"Thu May 01 2014 00:16:34 GMT-0700 (PDT)\")"},"30":{"group":2,"__serializedExpressions__":["x"],"y":81.17203926534417,"x":"new Date(\"Thu May 01 2014 00:16:34 GMT-0700 (PDT)\")"},"31":{"group":1,"__serializedExpressions__":["x"],"y":119.06064329386123,"x":"new Date(\"Thu May 01 2014 00:16:34 GMT-0700 (PDT)\")"},"32":{"group":2,"__serializedExpressions__":["x"],"y":104.39151532920508,"x":"new Date(\"Thu May 01 2014 00:16:34 GMT-0700 (PDT)\")"},"33":{"group":1,"__serializedExpressions__":["x"],"y":81.78652270093708,"x":"new Date(\"Thu May 01 2014 00:16:34 GMT-0700 (PDT)\")"},"34":{"group":2,"__serializedExpressions__":["x"],"y":114.74180136659491,"x":"new Date(\"Thu May 01 2014 00:16:34 GMT-0700 (PDT)\")"},"35":{"group":1,"__serializedExpressions__":["x"],"y":112.78567580064181,"x":"new Date(\"Thu May 01 2014 00:16:34 GMT-0700 (PDT)\")"},"36":{"group":2,"__serializedExpressions__":["x"],"y":107.39124054152357,"x":"new Date(\"Thu May 01 2014 00:16:34 GMT-0700 (PDT)\")"},"37":{"group":1,"__serializedExpressions__":["x"],"y":114.15778114280116,"x":"new Date(\"Thu May 01 2014 00:16:35 GMT-0700 (PDT)\")"},"38":{"group":2,"__serializedExpressions__":["x"],"y":107.46247696895628,"x":"new Date(\"Thu May 01 2014 00:16:35 GMT-0700 (PDT)\")"},"39":{"group":1,"__serializedExpressions__":["x"],"y":119.3346030800873,"x":"new Date(\"Thu May 01 2014 00:16:35 GMT-0700 (PDT)\")"},"40":{"group":2,"__serializedExpressions__":["x"],"y":120.00300760812299,"x":"new Date(\"Thu May 01 2014 00:16:35 GMT-0700 (PDT)\")"},"41":{"partName":"d3MultiLineChart","requiredModules":[],"partsSpaceName":"PartsBin/Visualization","comment":"no comment","changes":[{"__isSmartRef__":true,"id":42}],"migrationLevel":8,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"42":{"__serializedExpressions__":["date"],"author":"robertkrahn","message":"no comment","id":"106E62BE-4107-455C-BE88-A35560B78826","date":"new Date(\"Thu May 01 2014 00:18:12 GMT-0700 (PDT)\")"},"43":{"loadD3":{"__isSmartRef__":true,"id":44},"render":{"__isSmartRef__":true,"id":47},"reset":{"__isSmartRef__":true,"id":50},"onLoad":{"__isSmartRef__":true,"id":53},"testTick":{"__isSmartRef__":true,"id":56}},"44":{"varMapping":{"__isSmartRef__":true,"id":45},"source":"function loadD3(loadAttemptCount, thenDo) {\n    var self = this;\n    var maxLoadAttemptCount = 5;\n    var d3URL = '//cdnjs.cloudflare.com/ajax/libs/d3/3.4.6/d3.js';\n    if (!loadAttemptCount) loadAttemptCount = 1;\n    $('script[src=\"' + d3URL + '\"]').remove();\n    JSLoader.loadJs(d3URL);\n    Functions.waitFor(\n        5*1000,\n        function() { return typeof d3 !== 'undefined'; },\n        function(err) {\n            var msg;\n            if (err && loadAttemptCount < maxLoadAttemptCount) {\n                msg = Strings.format(\n                    \"Loading d3, attempt %s timed out.\\nTrying again...\",\n                    loadAttemptCount);\n                $world.setStatusMessage(msg, Color.yellow, 5);\n                self.loadD3(loadAttemptCount + 1);\n                return;\n            }\n            if (err) {\n                msg = Strings.format(\n                    \"Cannot load d3 library.\\nSorry, d3 isn't available right now.\",\n                    loadAttemptCount);\n                $world.setStatusMessage(msg, Color.red, 10);\n                return;\n            }\n            msg = Strings.format(\n                \"d3 loaded!\",\n                loadAttemptCount);\n            $world.setStatusMessage(msg, Color.green, 4);\n            thenDo && thenDo();\n            lively.bindings.signal(this, 'd3Loaded');\n        });\n}","funcProperties":{"__isSmartRef__":true,"id":46},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"45":{"this":{"__isSmartRef__":true,"id":0}},"46":{"user":"robertkrahn","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Apr 30 2014 19:42:03 GMT-0700 (PDT)\")"},"47":{"varMapping":{"__isSmartRef__":true,"id":48},"source":"function render(data) {\n    // data = Array.range(0, 300).map(function(n) { return {x: n, y: Numbers.normalRandom(100, 20)} })\n    // this.render(data)\n\n    var morphBounds = this.innerBounds();\n    var margin = {top: 30, right: 30, bottom: 50, left: 35};\n    var width = morphBounds.width - margin.left - margin.right;\n    var height = morphBounds.height - margin.top - margin.bottom;\n\n    // Scales and axes. Note the inverted domain for the y-scale: bigger is up!\n    // x = d3.scale.linear().range([0, width]);\n    var x = d3.time.scale().domain([new Date, new Date]).nice(d3.time.second).range([0, width]);\n    var y = d3.scale.linear().range([height, 0]);\n    var xAxis = d3.svg.axis().scale(x).ticks(3).tickSize(-height).tickSubdivide(true).tickFormat(d3.time.format(\"%M:%S\"));\n    // xAxis = d3.svg.axis().scale(x).ticks(3)\n    var yAxis = d3.svg.axis().scale(y).ticks(4).orient(\"left\");\n    \n    // A line generator, for the dark stroke.\n    var line = d3.svg.line()\n        // .interpolate(\"monotone\")\n        // .interpolate(\"linear\")\n        .interpolate(\"basis\")\n        // .interpolate(\"step-before\")\n        .x(function(d) { return x(d.x); })\n        .y(function(d) { return y(d.y); });\n\n    \n    // Compute the minimum and maximum x, and the maximum y.\n    x.domain([data[0].x, data[data.length - 1].x]);\n    y.domain([0, d3.max(data, function(d) { return d.y; })]).nice();\n    \n    // Add an SVG element with the desired dimensions and margin.\n    d3.select(\"#\" + this.canvasId + \" svg\").remove();\n    \n    var svg = d3.select(\"#\" + this.canvasId).append(\"svg\")\n        .attr(\"width\", width + margin.left + margin.right)\n        .attr(\"height\", height + margin.top + margin.bottom)\n      .append(\"g\")\n        .attr(\"transform\", \"translate(\" + margin.left + \",\" + margin.top + \")\")\n    \n    // Add the x-axis.\n    svg.append(\"g\")\n        .attr(\"class\", \"x axis\")\n        .attr(\"transform\", \"translate(0,\" + height + \")\")\n        .call(xAxis);\n    \n    // Add the y-axis.\n    svg.append(\"g\")\n        .attr(\"class\", \"y axis\")\n        .call(yAxis);\n\n    var groups = data.groupByKey('group').mapGroups(function(groupName, group) {\n        return {values: group, name: groupName, color: 'red'}\n    }).toArray();\n\n    var group = svg.selectAll(\".group\")\n      .data(groups)\n    .enter().append(\"g\")\n      .attr(\"class\", \"group\");\n\n    group.append(\"path\")\n        .attr(\"class\", \"line\")\n        .attr(\"d\", function(d) { return line(d.values); })\n    //   .style(\"stroke\", function(d) { return color(d.name); });\n\n    group.append(\"text\")\n      .datum(function(d) { return {name: d.name, value: d.values[d.values.length - 1]}; })\n      .attr(\"transform\", function(d) { return \"translate(\" + x(d.value.x) + \",\" + y(d.value.y) + \")\"; })\n      .attr(\"x\", 3)\n      .attr(\"dy\", \".35em\")\n      .text(function(d) { return d.name; });\n\n}","funcProperties":{"__isSmartRef__":true,"id":49},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"48":{"this":{"__isSmartRef__":true,"id":0}},"49":{"__serializedExpressions__":["timestamp"],"user":"robertkrahn","tags":[],"timestamp":"new Date(\"Thu May 01 2014 00:16:22 GMT-0700 (PDT)\")"},"50":{"varMapping":{"__isSmartRef__":true,"id":51},"source":"function reset() {\n    this.data = [];\n    this.stopStepping();\n    this.canvasId = 'd3-' + this.id.replace(/-/g, '');\n    this.setHTML('<div id=\"' + this.canvasId + '\"></div>')\n    this.setClipMode('visible');\n}","funcProperties":{"__isSmartRef__":true,"id":52},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"51":{"this":{"__isSmartRef__":true,"id":0}},"52":{"__serializedExpressions__":["timestamp"],"user":"robertkrahn","tags":[],"timestamp":"new Date(\"Thu May 01 2014 00:15:00 GMT-0700 (PDT)\")"},"53":{"varMapping":{"__isSmartRef__":true,"id":54},"source":"function onLoad() {\n    this.loadD3();\n}","funcProperties":{"__isSmartRef__":true,"id":55},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"54":{"this":{"__isSmartRef__":true,"id":0}},"55":{"user":"robertkrahn","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Apr 30 2014 22:04:12 GMT-0700 (PDT)\")"},"56":{"varMapping":{"__isSmartRef__":true,"id":57},"source":"function testTick() {\n    // this.data = []\n    // this.startStepping(1000, 'testTick')\n    \n    this.data = this.data.slice(-20);\n    // this.data.push({x: this.data.last() ? this.data.last().x + 1 : 0, y: Numbers.normalRandom(100, 20)})\n    this.data.push({group: 1, x: new Date(), y: Numbers.normalRandom(100, 20)})\n    this.data.push({group: 2, x: new Date(), y: Numbers.normalRandom(100, 20)})\n    this.render(this.data)\n}","funcProperties":{"__isSmartRef__":true,"id":58},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"57":{"this":{"__isSmartRef__":true,"id":0}},"58":{"__serializedExpressions__":["timestamp"],"user":"robertkrahn","tags":[],"timestamp":"new Date(\"Thu May 01 2014 00:15:23 GMT-0700 (PDT)\")"},"isSimplifiedRegistry":true}}