BarViewer = function() //construct the view { } BarViewer.prototype.init = function(c) { this.ctx = c } BarViewer.prototype.render = function(ascene) { for (var p=0; p