File tree Expand file tree Collapse file tree 5 files changed +377
-7
lines changed Expand file tree Collapse file tree 5 files changed +377
-7
lines changed Original file line number Diff line number Diff line change @@ -95,8 +95,11 @@ define(function(require) {
95
95
// Find if any auto calculated bar exceeded maxBarWidth
96
96
zrUtil . each ( stacks , function ( column , stack ) {
97
97
var maxWidth = column . maxWidth ;
98
- if ( ! column . width && maxWidth && maxWidth < autoWidth ) {
98
+ if ( maxWidth && maxWidth < autoWidth ) {
99
99
maxWidth = Math . min ( maxWidth , remainedWidth ) ;
100
+ if ( column . width ) {
101
+ maxWidth = Math . min ( maxWidth , column . width ) ;
102
+ }
100
103
remainedWidth -= maxWidth ;
101
104
column . width = maxWidth ;
102
105
autoWidthCount -- ;
Original file line number Diff line number Diff line change 226
226
describe ( suiteName , function ( ) {
227
227
var start = isTestAll ? 0 : cases . length - 1 ;
228
228
for ( var cid = start ; cid < cases . length ; ++ cid ) {
229
+ if ( cases [ cid ] . ignore ) {
230
+ continue ;
231
+ }
232
+
229
233
var name = specName + ' - ' + suiteName + ': '
230
234
+ cases [ cid ] . name ;
231
235
if ( cases [ cid ] . cases ) {
236
240
if ( cases [ cid ] . test === 'equalOption' ) {
237
241
helper . expectEqualOption ( name , cases [ cid ] . option1 ,
238
242
cases [ cid ] . option2 ) ;
239
- helper . testOption ( name + ', same as last version' ,
240
- cases [ cid ] . option1 ) ;
243
+ // helper.testOption(name + ', same as last version',
244
+ // cases[cid].option1);
241
245
} else if ( cases [ cid ] . test === 'notEqualOption' ) {
242
246
helper . expectNotEqualOption ( name , cases [ cid ] . option1 ,
243
247
cases [ cid ] . option2 ) ;
244
- helper . testOption ( name + ', same as last version' ,
245
- cases [ cid ] . option1 ) ;
248
+ // helper.testOption(name + ', same as last version',
249
+ // cases[cid].option1);
246
250
} else {
247
251
helper . testOption ( name , cases [ cid ] . option ) ;
248
252
}
Original file line number Diff line number Diff line change 1
1
require . config ( {
2
2
paths : {
3
- 'oldEcharts' : 'tmp/oldEcharts ' ,
3
+ 'oldEcharts' : 'tmp/echarts-v3.4.0 ' ,
4
4
'newEcharts' : '../../dist/echarts'
5
5
}
6
6
} ) ;
You can’t perform that action at this time.
0 commit comments