diff -r 0386fb9efe27 -r 9f2334598088 client/annotviz/app/js/annotsvizview.js --- a/client/annotviz/app/js/annotsvizview.js Fri Jan 23 00:10:09 2015 +0100 +++ b/client/annotviz/app/js/annotsvizview.js Fri Jan 23 00:43:54 2015 +0100 @@ -32,6 +32,7 @@ this.height= opts.height; this.timeBegin = opts.timeBegin; this.timeEnd = opts.timeEnd; + this.annotCategories = []; Utils.getAnnotCategories(opts.urlCategories, this.annotCategories); @@ -39,6 +40,8 @@ var wsAnnot = opts.wsAnnot; var stageView = opts.stageView; var currentTime = Date.now() + 3600*1000; + var eventCode = opts.eventCode; + var channel = opts.channel; stageView.registerComponent(this); @@ -56,14 +59,15 @@ intervalHeight: 10, maxCellHeight: 70, radius: 200, + eventCode: eventCode, + channel: channel, annotCategories: this.annotCategories }); var timeLineDay1 = new AnnotsTimeLine.AnnotsTimeLine({ stageView : stageView, - logger: logger, - ws: new annotviz.WsWrapper(wsUriAnnotation, logger), + archive: true, xInit: 0, yInit: 0, width: 1024 - 200 - 200, @@ -77,6 +81,8 @@ maxCellHeight: (timeLineDay2.radius - timeLineDay2.radius*2/3)/4, radius: timeLineDay2.radius*2/3, annotCategories: this.annotCategories, + eventCode: eventCode, + channel: channel, showClockGraphics:false }); @@ -152,8 +158,6 @@ .endFill(); this.container.addChild(limiters); -// var doubleRollV = new DoubleRoll.DoubleRoll({}); - this.init = function(){ };