Skip to content
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

combinePaths not implemented in HTML renderer #1272

Closed
tomasweigenast opened this issue Feb 23, 2023 · 1 comment
Closed

combinePaths not implemented in HTML renderer #1272

tomasweigenast opened this issue Feb 23, 2023 · 1 comment
Labels
duplicate This issue or pull request already exists Pie Chart

Comments

@tomasweigenast
Copy link

When creating a PieChart with more than one PieChartSectionData, on Flutter web using the HTML renderer throws the following error:

combinePaths not implemented in HTML renderer.
The relevant error-causing widget was:
  PieChart
PieChart:file:team_reports_view.dart:169:24
When the exception was thrown, this was the stack:
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 266:49      throw_
lib/_engine/engine/html/renderer.dart 222:5                                       combinePaths
lib/ui/path.dart 54:21                                                            combine
packages/fl_chart/src/chart/pie_chart/pie_chart_painter.dart 200:26               generateSectionPath
packages/fl_chart/src/chart/pie_chart/pie_chart_painter.dart 133:27               drawSections
packages/fl_chart/src/chart/pie_chart/pie_chart_painter.dart 49:5                 paint
packages/fl_chart/src/chart/pie_chart/pie_chart_renderer.dart 142:13              paint

I know this is a Flutter issue, but maybe an alternative can be found while the Flutter team solves this issue (which is opened since 2020, so I don't think so lol)

Versions

  • Flutter version 3.7.5
  • fl_chart 0.61.0
@imaNNeo
Copy link
Owner

imaNNeo commented Mar 2, 2023

Hi. You are right. We can implement a solution until Flutter gets it fixed.
Can you please continue in #955? Because having two different issues about one issue is not working.
Thanks!

@imaNNeo imaNNeo closed this as completed Mar 2, 2023
@imaNNeo imaNNeo added duplicate This issue or pull request already exists Pie Chart labels Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists Pie Chart
Projects
None yet
Development

No branches or pull requests

2 participants