Debian Codegraph @

dojox/charting/plot2d/ClusteredColumns.js

raw symbols SCIP
1 define(["dojo/_base/declare", "dojo/_base/array", "./Columns", "./common"],
2 function(declare, array, Columns, dc){
3
4 return declare("dojox.charting.plot2d.ClusteredColumns", Columns, {
5 // summary:
6 // A plot representing grouped or clustered columns (vertical bars)
7 getBarProperties: function(){
8 var length = this.series.length;
9 array.forEach(this.series, function(serie){if(serie.hidden){length--;}});
10 var f = dc.calculateBarSize(this._hScaler.bounds.scale, this.opt, length);
11 return {gap: f.gap, width: f.size, thickness: f.size, clusterSize: length};
12 }
13 });
14 });