Ovilia commented on code in PR #18820:
URL: https://github.com/apache/echarts/pull/18820#discussion_r1251792038


##########
src/chart/pie/pieLayout.ts:
##########
@@ -113,12 +116,19 @@ export default function pieLayout(
         const extent = data.getDataExtent(valueDim);
         extent[0] = 0;
 
+        const dir = clockwise ? 1 : -1;
+        const angles = [startAngle, endAngle];
+        normalizeArcAngles(angles, !clockwise);
+
+        [startAngle, endAngle] = angles;
+
+        const angleRange = Math.abs(endAngle - startAngle);

Review Comment:
   Thanks for correction. I think you are right. I've tested and it works as 
expected.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org

Reply via email to