Skip to content

Commit

Permalink
fixed #1269 noDataOption
Browse files Browse the repository at this point in the history
  • Loading branch information
kener committed Feb 12, 2015
1 parent 42dc85b commit ba5811c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/echarts.js
Original file line number Diff line number Diff line change
Expand Up @@ -626,8 +626,6 @@ define(function (require) {
return false; // 存在任意数据则为非空数据
}
}
// 空数据
this.clear();
var loadOption = (this._option && this._option.noDataLoadingOption)
|| this._themeConfig.noDataLoadingOption
|| ecConfig.noDataLoadingOption
Expand All @@ -639,6 +637,8 @@ define(function (require) {
|| this._themeConfig.noDataEffect
|| ecConfig.noDataEffect
};
// 空数据
this.clear();
this.showLoading(loadOption);
return true;
},
Expand Down

0 comments on commit ba5811c

Please sign in to comment.