-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pie chart painter uses Path.combine and breaks in html renderer #955
Comments
…eo#955 - generateSectionPath() does not use combine - uses calculated path that already includes the section space - createRectPathAroundLine removed as it is not needed anymore
Hi @ppetev . Thanks! |
I also have this issue. It doesn't render pie charts when using html web-renderer and the chart has more than one piechartsection.
|
Thank you. I'm waiting for @ppetev PR |
unfortunately my proposal does not work in some corner cases - when section space is big enough to eliminate arc on the inner radius of a donut chart. Will think about different solution. |
Thank you. Please let me know when you found a new solution. |
This is Flutter's issue. |
I have the same issue, The pie chart renders correctly on a desktop browser, but in a mobile browser, only renders when the chart has one pie chart section. PD: I'm testing using Mac OS Chrome and Android Chrome, Greetings! |
Any update on this? |
what about this project? their approach to rendering charts works when using the html renderer |
We can ignore the Will be landed on the next release. |
Describe the bug
PieChartPainter.generateSectionPath()
usesPath.combine()
and it is not support on html renderer for web. I propose removing the need forPath.combine()
.To Reproduce
Run the following as web application with html renderer configured. (CanvasKit works)
Screenshots
Console output:
Versions
FlChart version
The text was updated successfully, but these errors were encountered: