Skip to content
Merged
Changes from 1 commit
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
2 changes: 1 addition & 1 deletion src/coord/axisHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ function adjustScaleForOverflow(

// Get Axis Length
const axisExtent = model.axis.getExtent();
const axisLength = axisExtent[1] - axisExtent[0];
const axisLength = Math.abs(axisExtent[1] - axisExtent[0]);

// Get bars on current base axis and calculate min and max overflow
const barsOnCurrentAxis = retrieveColumnLayout(barWidthAndOffset, model.axis);
Expand Down