Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion dist/echarts.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -35217,7 +35217,7 @@
barWidthAndOffset) {
// Get Axis Length
var axisExtent = model.axis.getExtent();
var axisLength = axisExtent[1] - axisExtent[0]; // Get bars on current base axis and calculate min and max overflow
var axisLength = Math.abs(axisExtent[1] - axisExtent[0]); // Get bars on current base axis and calculate min and max overflow

var barsOnCurrentAxis = retrieveColumnLayout(barWidthAndOffset, model.axis);

Expand Down
2 changes: 1 addition & 1 deletion dist/echarts.common.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/echarts.common.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/echarts.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -35602,7 +35602,7 @@ function adjustScaleForOverflow(min, max, model, // Only support cartesian coord
barWidthAndOffset) {
// Get Axis Length
var axisExtent = model.axis.getExtent();
var axisLength = axisExtent[1] - axisExtent[0]; // Get bars on current base axis and calculate min and max overflow
var axisLength = Math.abs(axisExtent[1] - axisExtent[0]); // Get bars on current base axis and calculate min and max overflow

var barsOnCurrentAxis = retrieveColumnLayout(barWidthAndOffset, model.axis);

Expand Down
2 changes: 1 addition & 1 deletion dist/echarts.esm.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/echarts.esm.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/echarts.js
Original file line number Diff line number Diff line change
Expand Up @@ -35608,7 +35608,7 @@
barWidthAndOffset) {
// Get Axis Length
var axisExtent = model.axis.getExtent();
var axisLength = axisExtent[1] - axisExtent[0]; // Get bars on current base axis and calculate min and max overflow
var axisLength = Math.abs(axisExtent[1] - axisExtent[0]); // Get bars on current base axis and calculate min and max overflow

var barsOnCurrentAxis = retrieveColumnLayout(barWidthAndOffset, model.axis);

Expand Down
2 changes: 1 addition & 1 deletion dist/echarts.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/echarts.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/echarts.simple.js
Original file line number Diff line number Diff line change
Expand Up @@ -34215,7 +34215,7 @@
barWidthAndOffset) {
// Get Axis Length
var axisExtent = model.axis.getExtent();
var axisLength = axisExtent[1] - axisExtent[0]; // Get bars on current base axis and calculate min and max overflow
var axisLength = Math.abs(axisExtent[1] - axisExtent[0]); // Get bars on current base axis and calculate min and max overflow

var barsOnCurrentAxis = retrieveColumnLayout(barWidthAndOffset, model.axis);

Expand Down
2 changes: 1 addition & 1 deletion dist/echarts.simple.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/echarts.simple.min.js

Large diffs are not rendered by default.

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