linghaoSu commented on code in PR #18820: URL: https://github.com/apache/echarts/pull/18820#discussion_r1250249019
########## src/chart/pie/pieLayout.ts: ########## @@ -91,7 +93,10 @@ export default function pieLayout( const { cx, cy, r, r0 } = getBasicPieLayout(seriesModel, api); - const startAngle = -seriesModel.get('startAngle') * RADIAN; + let startAngle = -seriesModel.get('startAngle') * RADIAN; + let endAngle = startAngle - PI2; + + const endAngleModel = seriesModel.get('endAngle'); Review Comment: fix endAngle. -- 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