未验证 提交 4d06b725 编写于 作者: Y Yi Shen 提交者: GitHub

Merge pull request #12393 from zhanfang/master

fix(line): fix line clip bug in chromium
......@@ -35,6 +35,10 @@ function createGridClipPath(cartesian, hasAnimation, seriesModel) {
width += lineWidth;
height += lineWidth;
// fix: https://github.com/apache/incubator-echarts/issues/11369
x = Math.floor(x);
width = Math.round(width);
var clipPath = new graphic.Rect({
shape: {
x: x,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册