a:24:{s:9:"#provides";s:29:"dojox.charting.plot2d.Columns";s:9:"#resource";s:26:"charting/plot2d/Columns.js";s:9:"#requires";a:5:{i:0;a:2:{i:0;s:6:"common";i:1;s:28:"dojox.charting.plot2d.common";}i:1;a:2:{i:0;s:6:"common";i:1;s:26:"dojox.charting.plot2d.Base";}i:2;a:2:{i:0;s:6:"common";i:1;s:16:"dojox.lang.utils";}i:3;a:2:{i:0;s:6:"common";i:1;s:21:"dojox.lang.functional";}i:4;a:2:{i:0;s:6:"common";i:1;s:30:"dojox.lang.functional.reversed";}}s:29:"dojox.charting.plot2d.Columns";a:6:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:26:"dojox.charting.plot2d.Base";}s:4:"call";a:1:{i:0;s:26:"dojox.charting.plot2d.Base";}}s:10:"parameters";a:2:{s:5:"chart";a:1:{s:4:"type";s:0:"";}s:6:"kwArgs";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:236:" this.opt = dojo.clone(this.defaultParams); du.updateWithObject(this.opt, kwArgs); du.updateWithPattern(this.opt, kwArgs, this.optionalParams); this.series = []; this.hAxis = this.opt.hAxis; this.vAxis = this.opt.vAxis;";s:9:"classlike";b:1;s:7:"summary";s:0:"";}s:43:"dojox.charting.plot2d.Columns.defaultParams";a:3:{s:9:"prototype";s:29:"dojox.charting.plot2d.Columns";s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}s:44:"dojox.charting.plot2d.Columns.optionalParams";a:3:{s:9:"prototype";s:29:"dojox.charting.plot2d.Columns";s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}s:43:"dojox.charting.plot2d.Columns.calculateAxes";a:5:{s:9:"prototype";s:29:"dojox.charting.plot2d.Columns";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:3:"dim";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:137:" var stats = dc.collectSimpleStats(this.series); stats.hmin -= 0.5; stats.hmax += 0.5; this._calc(dim, stats); return this;";s:7:"summary";s:0:"";}s:36:"dojox.charting.plot2d.Columns.render";a:5:{s:9:"prototype";s:29:"dojox.charting.plot2d.Columns";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:3:"dim";a:1:{s:4:"type";s:0:"";}s:7:"offsets";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:2043:" this.dirty = this.isDirty(); if(this.dirty){ dojo.forEach(this.series, purgeGroup); this.cleanGroup(); var s = this.group; df.forEachRev(this.series, function(item){ item.cleanGroup(s); }); } var t = this.chart.theme, color, stroke, fill, f, gap, width, ht = this._hScaler.scaler.getTransformerFromModel(this._hScaler), vt = this._vScaler.scaler.getTransformerFromModel(this._vScaler), baseline = Math.max(0, this._vScaler.bounds.lower), baselineHeight = vt(baseline), events = this.events(); f = dc.calculateBarSize(this._hScaler.bounds.scale, this.opt); gap = f.gap; width = f.size; this.resetEvents(); for(var i = this.series.length - 1; i >= 0; --i){ var run = this.series[i]; if(!this.dirty && !run.dirty){ continue; } run.cleanGroup(); var s = run.group; if(!run.fill || !run.stroke){ // need autogenerated color color = run.dyn.color = new dojo.Color(t.next("color")); } stroke = run.stroke ? run.stroke : dc.augmentStroke(t.series.stroke, color); fill = run.fill ? run.fill : dc.augmentFill(t.series.fill, color); for(var j = 0; j < run.data.length; ++j){ var v = run.data[j], vv = vt(v), height = vv - baselineHeight, h = Math.abs(height); if(width >= 1 && h >= 1){ var rect = { x: offsets.l + ht(j + 0.5) + gap, y: dim.height - offsets.b - (v > baseline ? vv : baselineHeight), width: width, height: h }, shape = s.createRect(rect).setFill(fill).setStroke(stroke); run.dyn.fill = shape.getFill(); run.dyn.stroke = shape.getStroke(); if(events){ var o = { element: "column", index: j, run: run, plot: this, hAxis: this.hAxis || null, vAxis: this.vAxis || null, shape: shape, x: j + 0.5, y: v }; this._connectEvents(shape, o); } } } run.dirty = false; } this.dirty = false; return this;";s:7:"summary";s:0:"";}s:49:"dojox.charting.plot2d.Columns.defaultParams.hAxis";a:1:{s:7:"summary";s:0:"";}s:49:"dojox.charting.plot2d.Columns.defaultParams.vAxis";a:1:{s:7:"summary";s:0:"";}s:47:"dojox.charting.plot2d.Columns.defaultParams.gap";a:1:{s:7:"summary";s:0:"";}s:51:"dojox.charting.plot2d.Columns.defaultParams.shadows";a:1:{s:7:"summary";s:0:"";}s:55:"dojox.charting.plot2d.Columns.optionalParams.minBarSize";a:1:{s:7:"summary";s:0:"";}s:55:"dojox.charting.plot2d.Columns.optionalParams.maxBarSize";a:1:{s:7:"summary";s:0:"";}s:35:"dojox.charting.plot2d.Columns.dirty";a:2:{s:8:"instance";s:29:"dojox.charting.plot2d.Columns";s:7:"summary";s:0:"";}s:33:"dojox.charting.plot2d.Columns.opt";a:2:{s:8:"instance";s:29:"dojox.charting.plot2d.Columns";s:7:"summary";s:0:"";}s:36:"dojox.charting.plot2d.Columns.series";a:2:{s:8:"instance";s:29:"dojox.charting.plot2d.Columns";s:7:"summary";s:0:"";}s:35:"dojox.charting.plot2d.Columns.hAxis";a:2:{s:8:"instance";s:29:"dojox.charting.plot2d.Columns";s:7:"summary";s:0:"";}s:35:"dojox.charting.plot2d.Columns.vAxis";a:2:{s:8:"instance";s:29:"dojox.charting.plot2d.Columns";s:7:"summary";s:0:"";}s:2:"dc";a:1:{s:7:"summary";s:0:"";}s:10:"purgeGroup";a:1:{s:7:"summary";s:0:"";}s:21:"dojox.charting.plot2d";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}s:14:"dojox.charting";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}s:5:"dojox";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}}