提交 39c401d9 编写于 作者: S susiwen8 提交者: Yi Shen

fix(axis): use scale to check if data were contained #11300 (#11484)

* Fix #11300

* Using scale to check if data were contained
上级 0f90a732
......@@ -85,7 +85,7 @@ Axis.prototype = {
* @return {boolean}
*/
containData: function (data) {
return this.contain(this.dataToCoord(data));
return this.scale.contain(data);
},
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册