提交 ee4a9344 编写于 作者: C cuijian

New Feature--add Event "brushEnd"

上级 6c32b3c3
......@@ -107,6 +107,12 @@ export default echarts.extendComponentView({
areas: zrUtil.clone(areas),
$from: modelId
});
opt.isEnd && this.api.dispatchAction({
type: 'brushEnd',
brushId: modelId,
areas: zrUtil.clone(areas),
$from: modelId
});
}
});
......
......@@ -60,4 +60,9 @@ echarts.registerAction(
echarts.registerAction(
{type: 'brushSelect', event: 'brushSelected', update: 'none'},
function () {}
);
\ No newline at end of file
);
echarts.registerAction(
{type: 'brushEnd', event: 'brushEnd', update: 'none'},
function () {}
);
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册