提交 a7dd06ab 编写于 作者: S sushuang

tweak.

上级 426fb392
......@@ -335,6 +335,9 @@ function makeRenderItem(customSeries, data, ecModel, api) {
}, prepareResult.api || {});
var userParams = {
// The life cycle of context: current round of rendering.
// The global life cycle is probably not necessary, because
// user can store global status by themselves.
context: {},
seriesId: customSeries.id,
seriesName: customSeries.name,
......@@ -582,7 +585,7 @@ function mergeChildren(el, dataIndex, elOption, animatableModel, data) {
var notMerge = mergeChildren === false;
// For better performance on roam update, only enter if necessary.
if (!newChildren.length && !byName && !notMerge) {
if (!newLen && !byName && !notMerge) {
return;
}
......
......@@ -58,6 +58,6 @@ echarts.registerAction(
* }
*/
echarts.registerAction(
{type: 'brushSelect', event: 'brushSelected', update: 'none'},
{type: 'brushSelect', event: 'brushSelected', update: 'none'},
function () {}
);
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册