How can I restrict the width of the selection on a barChart?
I don't want allow the user to select more than 4 bars (in my case each bar = week)
var moveDays = ndx.dimension(function (d) {return d.week;});
var volumeByMonthGroup = moveDays.group();
dateRangeChart
.width(1360)
.height(35)
.margins({top: 0, right: 50, bottom: 20, left: 80})
.dimension(moveDays)
.group(volumeByMonthGroup)
.gap(2)
.x(d3.time.scale().domain([minDate,maxDate]))
.xUnits(d3.time.mondays)
.alwaysUseRounding(true)
.round(d3.time.monday.round);