提交 e6b85d99 编写于 作者: O Ovilia

fix negative radius #56

上级 96a1a64c
......@@ -76,7 +76,7 @@ echarts.extendChartView({
innerRadius = outterRadius - outlineBorderWidth / 2;
paddingRadius = parsePercent(outlineDistance, size);
radius = innerRadius - paddingRadius;
radius = Math.max(innerRadius - paddingRadius, 0);
}
if (showOutline) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册