You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2019/09/20 10:31:17 UTC
[incubator-echarts] branch fix-polar-line-clip created (now 73e507a)
This is an automated email from the ASF dual-hosted git repository.
shenyi pushed a change to branch fix-polar-line-clip
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git.
at 73e507a fix(clip): fix line disappears on polar with clip enabled
This branch includes the following new commits:
new 73e507a fix(clip): fix line disappears on polar with clip enabled
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
[incubator-echarts] 01/01: fix(clip): fix line disappears on polar
with clip enabled
Posted by sh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
shenyi pushed a commit to branch fix-polar-line-clip
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git
commit 73e507aa3882d1f2266d341c55f66685d1a06d77
Author: pissang <bm...@gmail.com>
AuthorDate: Fri Sep 20 17:38:37 2019 +0800
fix(clip): fix line disappears on polar with clip enabled
---
src/chart/helper/createClipPathFromCoordSys.js | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/chart/helper/createClipPathFromCoordSys.js b/src/chart/helper/createClipPathFromCoordSys.js
index 9759ca2..0a6fcd0 100644
--- a/src/chart/helper/createClipPathFromCoordSys.js
+++ b/src/chart/helper/createClipPathFromCoordSys.js
@@ -66,7 +66,7 @@ function createPolarClipPath(polar, hasAnimation, seriesModel) {
cx: round(polar.cx, 1),
cy: round(polar.cy, 1),
r0: round(sectorArea.r0, 1),
- r: round(sectorArea.r1, 1),
+ r: round(sectorArea.r, 1),
startAngle: sectorArea.startAngle,
endAngle: sectorArea.endAngle,
clockwise: sectorArea.clockwise
@@ -81,7 +81,6 @@ function createPolarClipPath(polar, hasAnimation, seriesModel) {
}
}, seriesModel);
}
-
return clipPath;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org