Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
100pah committed Apr 5, 2017
2 parents f661ecb + d6e10c7 commit e950aa9
Show file tree
Hide file tree
Showing 13 changed files with 2,634 additions and 1,696 deletions.
1,116 changes: 655 additions & 461 deletions dist/echarts.common.js

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions dist/echarts.common.min.js

Large diffs are not rendered by default.

2,118 changes: 1,173 additions & 945 deletions dist/echarts.js

Large diffs are not rendered by default.

42 changes: 21 additions & 21 deletions dist/echarts.min.js

Large diffs are not rendered by default.

614 changes: 380 additions & 234 deletions dist/echarts.simple.js

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions dist/echarts.simple.min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "echarts",
"version": "3.5.1",
"version": "3.5.2",
"description": "A powerful charting and visualization library for browser",
"keywords": [
"visualization",
Expand Down Expand Up @@ -35,7 +35,7 @@
"prepublish": "node build/amd2common.js"
},
"dependencies": {
"zrender": "^3.4.1"
"zrender": "^3.4.2"
},
"devDependencies": {
"coordtransform": "^2.0.2",
Expand All @@ -45,6 +45,6 @@
"fs-extra": "^0.26.5",
"glob": "^7.0.0",
"webpack": "^1.12.13",
"zrender": "^3.4.1"
"zrender": "^3.4.2"
}
}
4 changes: 2 additions & 2 deletions src/echarts.js
Original file line number Diff line number Diff line change
Expand Up @@ -1508,9 +1508,9 @@ define(function (require) {
/**
* @type {number}
*/
version: '3.5.1',
version: '3.5.2',
dependencies: {
zrender: '3.4.1'
zrender: '3.4.2'
}
};

Expand Down
5 changes: 4 additions & 1 deletion src/layout/barGrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,11 @@ define(function(require) {
// 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
12 changes: 8 additions & 4 deletions test/ut/core/uiHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,10 @@
describe(suiteName, function() {
var start = isTestAll ? 0 : cases.length - 1;
for (var cid = start; cid < cases.length; ++cid) {
if (cases[cid].ignore) {
continue;
}

var name = specName + ' - ' + suiteName + ': '
+ cases[cid].name;
if (cases[cid].cases) {
Expand All @@ -236,13 +240,13 @@
if (cases[cid].test === 'equalOption') {
helper.expectEqualOption(name, cases[cid].option1,
cases[cid].option2);
helper.testOption(name + ', same as last version',
cases[cid].option1);
// helper.testOption(name + ', same as last version',
// cases[cid].option1);
} else if (cases[cid].test === 'notEqualOption') {
helper.expectNotEqualOption(name, cases[cid].option1,
cases[cid].option2);
helper.testOption(name + ', same as last version',
cases[cid].option1);
// helper.testOption(name + ', same as last version',
// cases[cid].option1);
} else {
helper.testOption(name, cases[cid].option);
}
Expand Down
2 changes: 1 addition & 1 deletion test/ut/spec/ui/config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require.config({
paths: {
'oldEcharts': 'tmp/oldEcharts',
'oldEcharts': 'tmp/echarts-v3.4.0',
'newEcharts': '../../dist/echarts'
}
});
Loading

0 comments on commit e950aa9

Please sign in to comment.