diff --git a/webapp/TargetedMS/js/QCTrendPlotPanel.js b/webapp/TargetedMS/js/QCTrendPlotPanel.js index 57ddfa022..4fe3c9499 100644 --- a/webapp/TargetedMS/js/QCTrendPlotPanel.js +++ b/webapp/TargetedMS/js/QCTrendPlotPanel.js @@ -2391,8 +2391,7 @@ Ext4.define('LABKEY.targetedms.QCTrendPlotPanel', { // shared with the jitter band so bar/rect widths match it, and neither overruns the closest day spacing return LABKEY.vis.calendarSlotWidth(plot.scales.x, plot.grid.rightEdge - plot.grid.leftEdge); } - // floored at 10 slots, matching calendarSlotWidth - the ordinal axis is no longer padded, so a sparse plot would give a rect the width of the grid - return (plot.grid.rightEdge - plot.grid.leftEdge) / Math.max(plot.scales.x.scale.domain().length, 10); + return (plot.grid.rightEdge - plot.grid.leftEdge) / plot.scales.x.scale.domain().length; }, toggleGuideSetMsgDisplay : function() {