a:10:{s:9:"#provides";s:38:"dojox.charting.plot2d.ClusteredColumns";s:9:"#resource";s:35:"charting/plot2d/ClusteredColumns.js";s:9:"#requires";a:4:{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:29:"dojox.charting.plot2d.Columns";}i:2;a:2:{i:0;s:6:"common";i:1;s:21:"dojox.lang.functional";}i:3;a:2:{i:0;s:6:"common";i:1;s:30:"dojox.lang.functional.reversed";}}s:38:"dojox.charting.plot2d.ClusteredColumns";a:4:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:29:"dojox.charting.plot2d.Columns";}s:4:"call";a:1:{i:0;s:29:"dojox.charting.plot2d.Columns";}}s:9:"classlike";b:1;s:7:"summary";s:0:"";}s:45:"dojox.charting.plot2d.ClusteredColumns.render";a:5:{s:9:"prototype";s:38:"dojox.charting.plot2d.ClusteredColumns";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:2088:" 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, thickness, 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, this.series.length); gap = f.gap; width = thickness = f.size; this.resetEvents(); for(var i = 0; i < this.series.length; ++i){ var run = this.series[i], shift = thickness * 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 shape = s.createRect({ x: offsets.l + ht(j + 0.5) + gap + shift, y: dim.height - offsets.b - (v > baseline ? vv : baselineHeight), width: width, height: h }).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:44:"dojox.charting.plot2d.ClusteredColumns.dirty";a:2:{s:8:"instance";s:38:"dojox.charting.plot2d.ClusteredColumns";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:"";}}