Skip to content

Commit

Permalink
release 3.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
100pah committed Apr 5, 2017
1 parent e950aa9 commit 32f5c8e
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 13 deletions.
5 changes: 4 additions & 1 deletion dist/echarts.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -30948,8 +30948,11 @@ return /******/ (function(modules) { // webpackBootstrap
// Find if any auto calculated bar exceeded maxBarWidth
zrUtil.each(stacks, function (column, stack) {
var maxWidth = column.maxWidth;
if (!column.width && maxWidth && maxWidth < autoWidth) {
if (maxWidth && maxWidth < autoWidth) {
maxWidth = Math.min(maxWidth, remainedWidth);
if (column.width) {
maxWidth = Math.min(maxWidth, column.width);
}
remainedWidth -= maxWidth;
column.width = maxWidth;
autoWidthCount--;
Expand Down
2 changes: 1 addition & 1 deletion dist/echarts.common.min.js

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion dist/echarts.js
Original file line number Diff line number Diff line change
Expand Up @@ -30977,8 +30977,11 @@ return /******/ (function(modules) { // webpackBootstrap
// Find if any auto calculated bar exceeded maxBarWidth
zrUtil.each(stacks, function (column, stack) {
var maxWidth = column.maxWidth;
if (!column.width && maxWidth && maxWidth < autoWidth) {
if (maxWidth && maxWidth < autoWidth) {
maxWidth = Math.min(maxWidth, remainedWidth);
if (column.width) {
maxWidth = Math.min(maxWidth, column.width);
}
remainedWidth -= maxWidth;
column.width = maxWidth;
autoWidthCount--;
Expand Down
14 changes: 7 additions & 7 deletions dist/echarts.min.js

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion dist/echarts.simple.js
Original file line number Diff line number Diff line change
Expand Up @@ -30933,8 +30933,11 @@ return /******/ (function(modules) { // webpackBootstrap
// Find if any auto calculated bar exceeded maxBarWidth
zrUtil.each(stacks, function (column, stack) {
var maxWidth = column.maxWidth;
if (!column.width && maxWidth && maxWidth < autoWidth) {
if (maxWidth && maxWidth < autoWidth) {
maxWidth = Math.min(maxWidth, remainedWidth);
if (column.width) {
maxWidth = Math.min(maxWidth, column.width);
}
remainedWidth -= maxWidth;
column.width = maxWidth;
autoWidthCount--;
Expand Down
4 changes: 2 additions & 2 deletions dist/echarts.simple.min.js

Large diffs are not rendered by default.

0 comments on commit 32f5c8e

Please sign in to comment.