Boulea7 commented on PR #21883: URL: https://github.com/apache/echarts/pull/21883#issuecomment-7292356233
I ran the new `getPercentSeats` test on `e0a5a29`. The assertion for `[1e308, 1e308, 2e308]` gets `[]` because JavaScript parses `2e308` as `Infinity`. `[8e307, 8e307, 1.6e308]` keeps all three inputs finite while the sum still overflows. I verified the PR produces `25% / 25% / 50%` for those values in both the SVG labels and the label formatter callback. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
