docs/a.js
function() {
			var me = this;
			var barCount = 0;
			helpers.each(me.chart.data.datasets, function(dataset, datasetIndex) {
				var meta = me.chart.getDatasetMeta(datasetIndex);
				if (meta.bar && me.chart.isDatasetVisible(datasetIndex)) {
					++barCount;
				}
			}, me);
			return barCount;
		}
function() {
			var me = this;
			var barCount = 0;
			helpers.each(me.chart.data.datasets, function(dataset, datasetIndex) {
				var meta = me.chart.getDatasetMeta(datasetIndex);
				if (meta.bar && me.chart.isDatasetVisible(datasetIndex)) {
					++barCount;
				}
			}, me);
			return barCount;
		}
function ( ) { var me = this ; var barCount = 0 ; helpers . each ( me . chart . data . datasets , function ( dataset , datasetIndex ) { var meta = me . chart . getDatasetMeta ( datasetIndex ) ; if ( meta . bar && me . chart . isDatasetVisible ( datasetIndex ) ) { ++ barCount ; } } , me ) ; return barCount ; }
Get the number of datasets that display bars. We use this to correctly calculate the bar width
Get the number of datasets that display bars . We use this to correctly calculate the bar width