Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions webapp/TargetedMS/js/QCTrendPlotPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
Loading