diff --git a/src/graphic/shape/arc.js b/src/graphic/shape/arc.js index 03b9ece21..8e86d8d93 100644 --- a/src/graphic/shape/arc.js +++ b/src/graphic/shape/arc.js @@ -26,7 +26,9 @@ class Arc extends Shape { const { x, y, r, startAngle, endAngle, clockwise } = attrs; context.beginPath(); - context.arc(x, y, r, startAngle, endAngle, clockwise); + if (startAngle !== endAngle) { + context.arc(x, y, r, startAngle, endAngle, clockwise); + } } calculateBox() {