提交 b1d1941c 编写于 作者: D deqingli

refactor: update code and annottation in SankeyView.js and graphic

上级 52880a8c
......@@ -458,8 +458,7 @@ function createGridClipShape(rect, seriesModel, cb) {
});
graphic.initProps(rectEl, {
shape: {
width: rect.width + 20,
height: rect.height + 20
width: rect.width + 20
}
}, seriesModel, cb);
......
......@@ -1124,7 +1124,7 @@ function animateOrSetProps(isUpdate, el, props, animatableModel, dataIndex, cb)
* configuration in series.
*
* Caution: this method will stop previous animation.
* So if do not use this method to one element twice before
* So do not use this method to one element twice before
* animation starts, unless you know what you are doing.
*
* @param {module:zrender/Element} el
......@@ -1150,7 +1150,7 @@ export function updateProps(el, props, animatableModel, dataIndex, cb) {
* configuration in series.
*
* Caution: this method will stop previous animation.
* So if do not use this method to one element twice before
* So do not use this method to one element twice before
* animation starts, unless you know what you are doing.
*
* @param {module:zrender/Element} el
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册