-
-
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
PieChart centerSpace disapearing #1617
Labels
Comments
Can you please provide a reproducible code? (a simple main.dart file content) |
Tried with minimum possible and the bug didn't occur. |
This problem occurred when --web-renderer html was specified in Flutter web. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a pieChart with only 2 sections where the section values are calculated dynamically.
I saw that the innerCircle disappears when the first section's value is 0.
I tested with switching the values, i.e. first section has a value and second section value = 0, then the bug is not there, the innerCircle is drawn as normal.
(PieChartSectionData radius and PieChartData centerSpaceRadius is been given explicitly in all instances)
Steps to Reproduce
create a PieChart with 2 PieChartSectionData( ) in sections parameter.
provide value = 0 to first section and any value to 2nd section
Screenshots
When values provided to both sections
value = 0, in 1st section (value > 0 given to 2nd section)
value = 0, in 2nd section (value > 0 given to 1st section)
Versions
flutter version
Flutter 3.19.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision ba39319843 (3 weeks ago) • 2024-03-07 15:22:21 -0600
Engine • revision 2e4ba9c6fb
Tools • Dart 3.3.1 • DevTools 2.31.1
fl_chart version
fl_chart: ^0.66.2
FYI: I didn't check behavior with any other number of sections
The text was updated successfully, but these errors were encountered: