-
-
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
After upgrading to flutter 2.0, pie chart is not displayed #591
Comments
I came here to report the same bug. It does render in the web version, it doesn't in Android.
|
Guys if you don't provide me a reproducible code (As I mentioned in the issues guideline) I cannot test it. Thanks! |
I have the same issue, my piechart is gone! As you can see, the titles still render. I'm on Flutter stable 2.0.1.
|
Yes it could be a lot of trouble. After this new release(0.20.0) for fl_chart, the pie chart is not getting loaded for the earlier versions up to 0.12.1. I tried it is working again with the old version 0.12.1. Could you please check this team asap. |
As I wrote, it does render in the web. It doesn't on Android. |
You are right. I'm on it |
I think something is changed in the Flutter SDK. |
Pie chart has become unstable after v0.12.1, looks like an exception was fixed in PR #535 but it introduced new bugs. Don't think there is any issue with Flutter 2 since it works just fine with Flutter 2.0.1 and fl_chart: 0.12.0 |
Please checkout this stackoverflow question/answer: To sum it up, the pie chart doesn't work by default in web due to a error The fix (for web at least) is to build using Somebody please @ me if there is a solution better than a canvaskit build. Here is my working chart code if anybody is curious as it seems it won't work at all for some people:
|
Hi, at the moment, we have changed our draw approach. Now we use RenderObjects for drawing, sizing, and touches. (previously, we used CustomPainter). |
It's working for me in 0.30.0 Thank you |
Great! |
commit ff0897f Author: imaN Khoshabi <[email protected]> Date: Sat May 15 02:08:54 2021 +0430 Update line_chart.md commit d9d78ed Author: imaN Khoshabi <[email protected]> Date: Sat May 15 01:44:40 2021 +0430 Add LineChartSample10 commit 0f3fe01 Author: imaN Khoshabi <[email protected]> Date: Sat May 15 01:33:23 2021 +0430 Migrate all samples to dart null safety, and enabled linter for all samples. commit c05301a Author: mathmetal <[email protected]> Date: Fri May 7 02:36:30 2021 +0530 migrated to sound null safety commit 149d8ad Author: mathmetal <[email protected]> Date: Fri May 7 01:55:45 2021 +0530 formatted with line length=100 commit 5f70ed4 Author: mathmetal <[email protected]> Date: Fri May 7 01:50:45 2021 +0530 formatted commit 99c262e Author: Iman khoshabi <[email protected]> Date: Fri May 14 03:26:49 2021 +0430 Update FUNDING.yml commit 6ad6d60 Author: Iman khoshabi <[email protected]> Date: Fri May 14 03:12:34 2021 +0430 Create FUNDING.yml commit ed40357 Merge: c6fbd1a 9188181 Author: Iman khoshabi <[email protected]> Date: Mon May 10 14:14:38 2021 +0430 Merge pull request imaNNeo#670 from imaNNeoFighT/dev Dev 0.36.1 commit 9188181 Author: imaNNeoFighT <[email protected]> Date: Fri May 7 23:43:40 2021 +0430 Bump version to 0.36.1 commit fef8529 Author: imaNNeoFighT <[email protected]> Date: Fri May 7 23:41:45 2021 +0430 Fix line index problem in LineChart, imaNNeo#665. (It has appeared in `0.36.0`, we had to revert 2nd change of `0.36.0`) commit b490c3a Merge: a9907a9 fafa356 Author: Iman khoshabi <[email protected]> Date: Thu May 6 20:51:06 2021 +0430 Merge pull request imaNNeo#666 from elpablete/patch-1 specify that it uses the short scale for bilions commit fafa356 Author: Juan Pablo Tamayo <[email protected]> Date: Thu May 6 11:01:06 2021 -0500 specify that it uses the short scale for bilions There are two definitions for the number billion (in short scale and in long scale) as stated in https://en.wikipedia.org/wiki/Billion commit a9907a9 Author: imaN Khoshabi <[email protected]> Date: Wed May 5 21:55:16 2021 +0430 Update handle_animations.md commit 220f5f2 Author: imaN Khoshabi <[email protected]> Date: Wed May 5 21:50:36 2021 +0430 Update README.md commit 120d052 Merge: 7b900d7 9a2a292 Author: Iman khoshabi <[email protected]> Date: Mon May 3 22:41:39 2021 +0430 Merge pull request imaNNeo#654 from ValentinVignal/action/check-code-style-in-pull-requests Code style check on pull request commit 7b900d7 Merge: 3f74af4 e265619 Author: Iman khoshabi <[email protected]> Date: Mon May 3 01:48:08 2021 +0430 Merge pull request imaNNeo#655 from imaNNeoFighT/imaNNeoFighT-patch-1 Update issue templates commit e265619 Author: Iman khoshabi <[email protected]> Date: Mon May 3 01:47:37 2021 +0430 Update issue templates commit 3f74af4 Author: imaNNeoFighT <[email protected]> Date: Mon May 3 01:40:30 2021 +0430 Fix NPE crash in our renderers touchCallback, imaNNeo#651. commit 27a283f Author: imaNNeoFighT <[email protected]> Date: Mon May 3 01:14:49 2021 +0430 Allow to set zero value on PieChartSectionData (we remove zero sections instead of crashing), imaNNeo#640. commit 9a2a292 Author: ValentinVignalNovade <[email protected]> Date: Sun May 2 19:33:10 2021 +0800 Code style check on pull request commit c6fbd1a Merge: 2d42fdb 0d232a9 Author: Iman khoshabi <[email protected]> Date: Fri Apr 30 23:43:59 2021 +0430 Merge pull request imaNNeo#653 from imaNNeoFighT/dev Dev 0.36.0 commit 0d232a9 Author: imaNNeoFighT <[email protected]> Date: Fri Apr 30 23:32:28 2021 +0430 Bump version to 0.36.0 commit 9976d53 Author: imaNNeoFighT <[email protected]> Date: Fri Apr 30 23:04:27 2021 +0430 Update CHANGELOG.md commit d7ef7e2 Author: imaNNeoFighT <[email protected]> Date: Fri Apr 30 22:47:48 2021 +0430 Now SideTitles.interval is working correctly in bottomTitles in the BarChart, imaNNeo#648 commit 3f00f13 Author: imaNNeoFighT <[email protected]> Date: Fri Apr 30 22:11:28 2021 +0430 Fixed showing tooltip problem when animating chart, imaNNeo#647. commit 82b63ca Author: imaNNeoFighT <[email protected]> Date: Fri Apr 30 21:06:28 2021 +0430 Fix FlSpot.null spot problem in lerping, imaNNeo#487. commit 590351e Author: Payam Zahedi <[email protected]> Date: Tue Apr 6 21:28:52 2021 +0430 fix issue imaNNeo#627 commit 2d42fdb Merge: 6876bdc f83fb8c Author: Iman khoshabi <[email protected]> Date: Thu Apr 1 17:46:46 2021 +0430 Merge pull request imaNNeo#615 from imaNNeoFighT/dev Dev 0.35.0 commit f83fb8c Author: imaN Khoshabi <[email protected]> Date: Thu Apr 1 17:39:36 2021 +0430 Bump version to 0.35.0 commit 719a9b9 Author: imaN Khoshabi <[email protected]> Date: Thu Apr 1 17:38:47 2021 +0430 Update changelog style commit bea8a02 Author: imaN Khoshabi <[email protected]> Date: Thu Apr 1 17:35:13 2021 +0430 Upgrade pedantic dependency version. commit 5b3bdc1 Author: imaN Khoshabi <[email protected]> Date: Thu Apr 1 17:34:19 2021 +0430 Add `textDirection` property in AxisTitles class. commit 72afa50 Author: imaN Khoshabi <[email protected]> Date: Thu Apr 1 17:27:38 2021 +0430 Add `textDirection` property in SideTitles class, imaNNeo#531. commit 5701a3e Author: imaN Khoshabi <[email protected]> Date: Thu Apr 1 17:15:38 2021 +0430 Add textDirection property in LineTooltipItem, BarTooltipItem and ScatterTooltipItem classes to support rtl languages. commit d438b2e Author: imaN Khoshabi <[email protected]> Date: Thu Apr 1 16:59:49 2021 +0430 Add FlDotCrossPainter commit 634843a Author: imaNNeoFighT <[email protected]> Date: Wed Mar 24 18:43:34 2021 +0430 Hide PieChart border by default. commit 18b10fb Author: imaNNeoFighT <[email protected]> Date: Wed Mar 24 18:25:51 2021 +0430 Fix pieChart empty state. commit e6fcea1 Author: imaNNeoFighT <[email protected]> Date: Tue Mar 23 22:52:10 2021 +0430 Add Makefile to support `make checkstyle`, `make format`, `make runTests` commands commit 9b2814e Author: imaNNeoFighT <[email protected]> Date: Tue Mar 23 22:30:50 2021 +0430 Fix checkstyle problems. commit 984f431 Author: imaNNeoFighT <[email protected]> Date: Tue Mar 23 22:24:35 2021 +0430 Enabled sectionsSpace in PieChart for the web commit b4e5064 Author: imaNNeoFighT <[email protected]> Date: Tue Mar 23 22:23:26 2021 +0430 Fix pie_chart_sample3.dart in web commit 241132a Author: imaNNeoFighT <[email protected]> Date: Tue Mar 23 22:03:56 2021 +0430 Update CHANGELOG.md commit 643d4d4 Author: imaNNeoFighT <[email protected]> Date: Tue Mar 23 21:15:20 2021 +0430 Update CHANGELOG.md commit 7c7ebe8 Author: imaNNeoFighT <[email protected]> Date: Tue Mar 23 21:09:45 2021 +0430 Fixed PieChart draw problem, imaNNeo#582. commit 4d67c99 Author: imaNNeoFighT <[email protected]> Date: Tue Mar 23 21:04:02 2021 +0430 prevent setting zero value on PieChartSectionData. commit 74851f7 Author: imaNNeoFighT <[email protected]> Date: Tue Mar 23 20:05:45 2021 +0430 Performance optimization on calculating centerRadius of pieChart. commit 8d14819 Author: imaNNeoFighT <[email protected]> Date: Tue Mar 23 18:01:47 2021 +0430 Draw pieChartSections using a path. commit 16def60 Author: imaNNeoFighT <[email protected]> Date: Tue Mar 23 12:10:50 2021 +0430 Update CHANGELOG.md commit 8a69f5f Author: imaNNeoFighT <[email protected]> Date: Tue Mar 23 12:09:24 2021 +0430 Add line_chart_sample_9 in line_chart.md commit 7519a2f Author: imaNNeoFighT <[email protected]> Date: Tue Mar 23 11:41:43 2021 +0430 fixed line_chart_page3.dart scroll problem commit dbb43de Merge: e19ffc7 d9c7af8 Author: Iman khoshabi <[email protected]> Date: Tue Mar 23 11:39:40 2021 +0430 Merge pull request imaNNeo#604 from terryl1900/line-start-end Setting start/end point of the TouchLine commit d9c7af8 Author: terryl1900 <[email protected]> Date: Mon Mar 22 13:50:42 2021 -0700 Remove touchLineEndAtDot. commit e19ffc7 Author: imaNNeoFighT <[email protected]> Date: Tue Mar 23 01:15:41 2021 +0430 Update CHANGELOG.md, bar_chart_sample_1 and scatter_chart_sample_2 commit 22c206e Author: imaNNeoFighT <[email protected]> Date: Tue Mar 23 00:50:31 2021 +0430 Fixed bar_chart_sample1.dart problem commit a4ee3a7 Merge: e136667 1132716 Author: Iman khoshabi <[email protected]> Date: Tue Mar 23 00:49:32 2021 +0430 Merge pull request imaNNeo#610 from jrc2139/improvement/tooltipitem-inlinespan-null-safety Add optional List<InlineSpan> parameter to BarTooltipItem, LineTooltipItem, ScatterTooltipItems for enhanced styling. commit e136667 Author: imaNNeoFighT <[email protected]> Date: Tue Mar 23 00:38:29 2021 +0430 Add assert(debugHandleEvent(event, entry)) at the begining of handleEvent functions. commit 84cf25d Merge: 0d4c584 965fff9 Author: terryl1900 <[email protected]> Date: Mon Mar 22 12:51:35 2021 -0700 Merge remote-tracking branch 'upstream/dev' into line-start-end commit 1132716 Author: John Castronuovo <[email protected]> Date: Mon Mar 22 17:59:30 2021 +0100 refactor(scatter_chart): switch InlineSpan to TextSpan commit 4a2b248 Author: John Castronuovo <[email protected]> Date: Mon Mar 22 17:58:31 2021 +0100 refactor(line_chart): switch InlineSpan to TextSpan commit efa75b3 Author: John Castronuovo <[email protected]> Date: Mon Mar 22 17:58:00 2021 +0100 refactor(bar_chart): switch InlineSpan to TextSpan commit c707514 Merge: 4a4d920 965fff9 Author: John Castronuovo <[email protected]> Date: Mon Mar 22 17:54:53 2021 +0100 Merge remote-tracking branch 'upstream/dev' into improvement/tooltipitem-inlinespan-null-safety commit 965fff9 Author: imaNNeoFighT <[email protected]> Date: Thu Mar 18 15:40:07 2021 +0330 Pass CanvasWrappers to painters instead of direct Canvas, and Size. (to make the code testable) commit 6876bdc Merge: 56edb2c f65499c Author: Iman khoshabi <[email protected]> Date: Mon Mar 22 15:25:04 2021 +0430 Merge pull request imaNNeo#613 from imaNNeoFighT/dev Dev 0.30.0 commit f65499c Author: imaN Khoshabi <[email protected]> Date: Mon Mar 22 15:14:31 2021 +0430 Bump version to 0.30.0 commit 3b43764 Author: imaN Khoshabi <[email protected]> Date: Mon Mar 22 15:14:21 2021 +0430 Update github publish action commit fc64cde Author: imaN Khoshabi <[email protected]> Date: Mon Mar 22 15:14:01 2021 +0430 Remove path_drawing dependency, we now use the dashPath() code directly. commit 962b1e5 Author: imaN Khoshabi <[email protected]> Date: Mon Mar 22 14:48:02 2021 +0430 Fix analyze issue. commit 32f1080 Author: imaN Khoshabi <[email protected]> Date: Mon Mar 22 14:44:54 2021 +0430 Wrapped all charts with GestureDetector and `onLongPressStart` callback, because we wanted to lock the widget from being scrolled when user long presses on it. commit 4a4d920 Author: John Castronuovo <[email protected]> Date: Sun Mar 21 11:03:48 2021 +0100 fix(radar_chart): formatting commit 8f34741 Author: John Castronuovo <[email protected]> Date: Sun Mar 21 11:02:21 2021 +0100 chore(scatter_chart_data): fix doc commit 3e8d7c9 Merge: 08c0eb5 f158939 Author: John Castronuovo <[email protected]> Date: Sun Mar 21 11:00:12 2021 +0100 Merge branch 'dev' into improvement/tooltipitem-inlinespan-null-safety commit f158939 Author: imaN Khoshabi <[email protected]> Date: Sun Mar 21 03:07:23 2021 +0330 Add `swapAnimationCurve` property to all chart widgets to handle the built-in animation curve. imaNNeo#436. commit 8294f4d Author: imaN Khoshabi <[email protected]> Date: Sun Mar 21 02:30:26 2021 +0330 Update CHANGELOG.md commit 29239e9 Author: imaN Khoshabi <[email protected]> Date: Sun Mar 21 01:52:25 2021 +0330 Update CHANGELOG.md commit 08c0eb5 Author: John Castronuovo <[email protected]> Date: Sat Mar 20 17:07:24 2021 +0100 fix(): rm unused file commit 8154731 Author: John Castronuovo <[email protected]> Date: Sat Mar 20 16:56:43 2021 +0100 chore(example): add example of how to use the children parameter of the BarTooltipItem, LineTooltipItem, and ScatterTooltipItem commit b299b5c Author: John Castronuovo <[email protected]> Date: Sat Mar 20 16:54:22 2021 +0100 feat(scatter_chart): add List<InlineSpan>? children parameter to ScatterTooltipItem for enhanced styling commit 4437045 Author: John Castronuovo <[email protected]> Date: Sat Mar 20 16:53:52 2021 +0100 feat(line_chart): add List<InlineSpan>? children parameter to LineTooltipItem for enhanced styling commit a521525 Author: John Castronuovo <[email protected]> Date: Sat Mar 20 16:52:21 2021 +0100 feat(bar_chart): add List<InlineSpan>? children parameter to BarTooltipItem for enhanced styling commit e1de73f Author: John Castronuovo <[email protected]> Date: Sat Mar 20 16:49:47 2021 +0100 chore(documentations): add children prop for [bar|scatter|line]tooltipitem commit 3338520 Merge: 2fd94ca eb1f61c Author: Iman khoshabi <[email protected]> Date: Fri Mar 19 14:35:04 2021 +0330 Merge pull request imaNNeo#608 from imaNNeoFighT/improvement/touch-handle-click Improvement/touch handle click commit eb1f61c Author: imaNNeoFighT <[email protected]> Date: Fri Mar 19 14:31:59 2021 +0330 Update docs commit 947dadd Author: imaNNeoFighT <[email protected]> Date: Fri Mar 19 14:08:55 2021 +0330 Remove equality check on all touchResponses (because touchEvent doesn't implement equals method) commit 7428999 Author: imaNNeoFighT <[email protected]> Date: Fri Mar 19 14:01:05 2021 +0330 Reformat files commit 7fafe31 Author: imaNNeoFighT <[email protected]> Date: Fri Mar 19 13:58:35 2021 +0330 Handled click in radar_chart. commit ea72041 Author: imaNNeoFighT <[email protected]> Date: Fri Mar 19 13:57:42 2021 +0330 Handled click in pie_chart. commit b6cc456 Author: imaNNeoFighT <[email protected]> Date: Fri Mar 19 13:56:53 2021 +0330 Handled click in line_chart. commit 256d3d4 Author: imaNNeoFighT <[email protected]> Date: Fri Mar 19 03:42:16 2021 +0330 Handled click in bar_chart. commit 4dde875 Author: imaNNeoFighT <[email protected]> Date: Fri Mar 19 03:39:28 2021 +0330 Handled click in scatter_chart. commit c7a2ae3 Author: imaNNeoFighT <[email protected]> Date: Fri Mar 19 03:36:39 2021 +0330 Add `clickHappened` property in BaseTouchResponse. commit 2fd94ca Author: imaNNeoFighT <[email protected]> Date: Fri Mar 19 02:19:02 2021 +0330 Fix analysis problem. commit f50aaf6 Author: imaNNeoFighT <[email protected]> Date: Fri Mar 19 02:07:49 2021 +0330 Update CHANGELOG.md (RenderObject drawing approach, might fix imaNNeo#556, imaNNeo#582, imaNNeo#584, imaNNeo#591). commit 743ffde Author: imaNNeoFighT <[email protected]> Date: Fri Mar 19 02:04:15 2021 +0330 Fix PieChartData.centerSpaceRadius, double.infinity bug, imaNNeo#584. commit 49f6d72 Merge: 1779d70 5afe9b5 Author: Iman khoshabi <[email protected]> Date: Thu Mar 18 15:21:40 2021 +0330 Merge pull request imaNNeo#600 from imaNNeoFighT/improvement/user-renderer-object Use RenderObject for our drawing system. commit 5afe9b5 Author: imaNNeoFighT <[email protected]> Date: Thu Mar 18 15:07:13 2021 +0330 Fix test problems commit 774890d Author: imaNNeoFighT <[email protected]> Date: Thu Mar 18 01:29:42 2021 +0330 Update CHANGELOG.md commit 8b65da6 Author: imaNNeoFighT <[email protected]> Date: Thu Mar 18 01:25:36 2021 +0330 Update renderers docs. commit c1178e0 Author: imaNNeoFighT <[email protected]> Date: Thu Mar 18 01:09:03 2021 +0330 Update handle_touches.md commit 175f6a0 Author: imaNNeoFighT <[email protected]> Date: Thu Mar 18 01:08:49 2021 +0330 Remove roadmap (because we didn't follow it) commit 9ab6afd Author: imaNNeoFighT <[email protected]> Date: Thu Mar 18 00:52:00 2021 +0330 Migrate all renderers to new functional approach commit f0bfacd Author: imaNNeoFighT <[email protected]> Date: Thu Mar 18 00:45:01 2021 +0330 Migrate scatter_chart_painter to new functional approach commit bbd82d0 Author: imaNNeoFighT <[email protected]> Date: Thu Mar 18 00:40:08 2021 +0330 Migrate radar_chart_painter to new functional approach commit 753e9cf Author: imaNNeoFighT <[email protected]> Date: Thu Mar 18 00:32:46 2021 +0330 Migrate bar_chart_painter to new functional approach commit fdc78df Author: imaNNeoFighT <[email protected]> Date: Thu Mar 18 00:23:49 2021 +0330 Migrate pie_chart_painter to new functional approach commit c35f678 Author: imaNNeoFighT <[email protected]> Date: Thu Mar 18 00:23:28 2021 +0330 Migrate line_chart_painter to new functional approach commit 9d24d09 Author: imaNNeoFighT <[email protected]> Date: Thu Mar 18 00:22:08 2021 +0330 Use functional approach for drawing in painter classes (We don't keep chart's data anymore, instead we pass it through draw functions). commit f5a5b17 Author: imaNNeoFighT <[email protected]> Date: Wed Mar 17 22:47:50 2021 +0330 Draw badges on PieChart using MultiChildRenderObjectWidget in pie_chart_renderer.dart commit 4d4a286 Author: imaNNeoFighT <[email protected]> Date: Mon Mar 15 00:22:57 2021 +0330 Update samples to use new touch system. commit 9b2a556 Author: imaNNeoFighT <[email protected]> Date: Mon Mar 15 00:14:45 2021 +0330 Migrate scatter_chart to use render object for drawing commit 0b515a3 Author: imaNNeoFighT <[email protected]> Date: Mon Mar 15 00:14:06 2021 +0330 Migrate radar_chart to use render object for drawing commit 0cf0064 Author: imaNNeoFighT <[email protected]> Date: Mon Mar 15 00:04:40 2021 +0330 Migrate bar_chart to use render object for drawing commit 3eff788 Author: imaNNeoFighT <[email protected]> Date: Sun Mar 14 00:57:28 2021 +0330 Migrate pie_chart to use RenderObject for drawing. commit 876093a Author: imaNNeoFighT <[email protected]> Date: Sat Mar 13 23:40:12 2021 +0330 Remove CustomPainter and use RenderObjects for our drawing engine in line_chart. Also removed touch_input, we will use Flutter's PointerEvent. commit 1779d70 Author: imaNNeoFighT <[email protected]> Date: Wed Mar 17 00:34:14 2021 +0330 Add textAlign property in ScatterTooltipItem commit 9abf135 Author: imaNNeoFighT <[email protected]> Date: Tue Mar 16 23:34:15 2021 +0330 Update CHANGELOG.md commit 282f4eb Author: imaNNeoFighT <[email protected]> Date: Tue Mar 16 23:01:22 2021 +0330 Prevent to call getTouchedSpotIndicator() if indicators list is empty. commit 1ad3880 Author: imaNNeoFighT <[email protected]> Date: Tue Mar 16 23:00:53 2021 +0330 Return correct value in FlDotCirclePainter.getSize() commit 5c66afc Merge: 15050f8 c41042d Author: Iman khoshabi <[email protected]> Date: Tue Mar 16 22:18:43 2021 +0330 Merge pull request imaNNeo#602 from terryl1900/tooltip-position Control bar chart tooltip direction. commit 15050f8 Merge: 64562c0 d3c9783 Author: Iman khoshabi <[email protected]> Date: Tue Mar 16 22:17:09 2021 +0330 Merge pull request imaNNeo#601 from terryl1900/align Add TextAlign to tooltip. commit 0d4c584 Author: terryl1900 <[email protected]> Date: Mon Mar 15 17:23:10 2021 -0700 Run format. commit c41042d Author: terryl1900 <[email protected]> Date: Mon Mar 15 17:19:16 2021 -0700 Address comments. commit d3c9783 Author: terryl1900 <[email protected]> Date: Mon Mar 15 17:09:45 2021 -0700 Address feedback of document. commit 6f4c6fb Author: terryl1900 <[email protected]> Date: Mon Mar 15 16:09:03 2021 -0700 Fix example. commit d2b7d6f Author: terryl1900 <[email protected]> Date: Mon Mar 15 16:03:01 2021 -0700 Set start/end point of TouchLine commit 85d31ea Author: terryl1900 <[email protected]> Date: Sun Mar 14 23:37:14 2021 -0700 Control bar chart tooltip direction. commit 02727a8 Author: terryl1900 <[email protected]> Date: Sat Mar 13 12:39:58 2021 -0800 Add TextAlign to tooltip. commit 64562c0 Merge: 3d18dd0 424465e Author: Iman khoshabi <[email protected]> Date: Wed Mar 10 20:48:41 2021 +0330 Merge pull request imaNNeo#597 from payam-zahedi/radar-documentation Radar Chart documented commit 424465e Author: Payam Zahedi <[email protected]> Date: Wed Mar 10 20:01:41 2021 +0330 radar_chart.md refactored commit 5f22003 Author: Payam Zahedi <[email protected]> Date: Wed Mar 10 19:56:11 2021 +0330 radar_chart.md documentation links created commit ec2bf51 Author: Payam Zahedi <[email protected]> Date: Thu Mar 4 12:46:18 2021 +0330 radar_chart.md documentations created commit 43d58e6 Author: John Castronuovo <[email protected]> Date: Thu Mar 4 11:12:57 2021 +0100 feat(barTooltipItem): add textSpanChildren parameter for extended formatting commit 56edb2c Merge: 23eeaf7 3d18dd0 Author: Iman khoshabi <[email protected]> Date: Thu Mar 4 02:31:00 2021 +0330 Merge pull request imaNNeo#589 from imaNNeoFighT/dev Dev 0.20.1 commit 3d18dd0 Author: imaNNeoFighT <[email protected]> Date: Thu Mar 4 02:10:58 2021 +0330 Bump version to 0.20.1 commit 72805bf Author: imaNNeoFighT <[email protected]> Date: Thu Mar 4 01:44:19 2021 +0330 Update README.md commit 16e060e Author: imaNNeoFighT <[email protected]> Date: Thu Mar 4 01:34:26 2021 +0330 Update CHANGELOG.md commit 80b0476 Merge: 935340c 099208a Author: Iman khoshabi <[email protected]> Date: Thu Mar 4 01:29:11 2021 +0330 Merge pull request imaNNeo#579 from imaNNeoFighT/dev-nullsafety Dev nullsafety commit 099208a Author: imaNNeoFighT <[email protected]> Date: Thu Mar 4 01:26:33 2021 +0330 Migrate radar_chart commit f00cafb Author: imaNNeoFighT <[email protected]> Date: Fri Feb 19 23:34:14 2021 +0330 Bump version to 0.12.0-nullsafety1 commit 3448209 Author: imaNNeoFighT <[email protected]> Date: Fri Feb 19 23:13:35 2021 +0330 Reformat all classes commit d967cd8 Author: imaNNeoFighT <[email protected]> Date: Fri Feb 19 23:13:00 2021 +0330 Fixed test problems. commit 0866e07 Author: imaNNeoFighT <[email protected]> Date: Thu Feb 18 22:53:15 2021 +0330 Fix tooltips problem commit 07b8701 Author: imaNNeoFighT <[email protected]> Date: Thu Feb 18 22:24:39 2021 +0330 Fixed line_chart_sample8 problem commit dcb2c01 Author: imaNNeoFighT <[email protected]> Date: Thu Feb 18 21:59:13 2021 +0330 Fixed Tween problem. commit 196a051 Author: FIRST_NAME LAST_NAME <[email protected]> Date: Thu Feb 18 21:37:24 2021 +0330 Migrate pie_chart_painter, and scatter_chart_painter commit e4959cb Author: FIRST_NAME LAST_NAME <[email protected]> Date: Thu Feb 18 17:48:26 2021 +0330 Migrate line_chart_painter.dart commit 507557f Author: FIRST_NAME LAST_NAME <[email protected]> Date: Thu Feb 18 17:27:17 2021 +0330 Migrate bar_chart_painter.dart commit cdacdb7 Author: FIRST_NAME LAST_NAME <[email protected]> Date: Thu Feb 18 17:19:47 2021 +0330 Migrate base_chart_painter, axis_chart_painter commit 54cb96d Author: FIRST_NAME LAST_NAME <[email protected]> Date: Thu Feb 18 17:19:13 2021 +0330 Migrate path_extensions, canvas_extensions, touch_input commit 8a3491a Author: FIRST_NAME LAST_NAME <[email protected]> Date: Thu Feb 18 17:11:35 2021 +0330 Migrate scatter_chart.dart commit ca52c3b Author: FIRST_NAME LAST_NAME <[email protected]> Date: Thu Feb 18 17:07:51 2021 +0330 Migrate pie_chart.dart commit 2c95bca Author: FIRST_NAME LAST_NAME <[email protected]> Date: Thu Feb 18 16:58:21 2021 +0330 Migrate line_chart.dart commit 0d550f8 Author: FIRST_NAME LAST_NAME <[email protected]> Date: Thu Feb 18 16:51:16 2021 +0330 Migrate bar_chart.dart commit b796b5e Author: FIRST_NAME LAST_NAME <[email protected]> Date: Thu Feb 18 15:51:48 2021 +0330 Migrate utils.dart, and lerp.dart commit 2de1285 Author: FIRST_NAME LAST_NAME <[email protected]> Date: Thu Feb 18 15:51:14 2021 +0330 Migrate scatter_chart_data commit e55ed8c Author: FIRST_NAME LAST_NAME <[email protected]> Date: Thu Feb 18 15:35:26 2021 +0330 Migrate pie_chart_data to null-safety commit 8169d06 Author: FIRST_NAME LAST_NAME <[email protected]> Date: Thu Feb 18 15:29:26 2021 +0330 Migrate line_chart_data to null-safety commit 533a9f0 Author: FIRST_NAME LAST_NAME <[email protected]> Date: Thu Feb 18 00:39:25 2021 +0330 Migrate base_chart_data, axis_chart_data, bar_chart_data to null-safety commit 49a6e38 Author: FIRST_NAME LAST_NAME <[email protected]> Date: Wed Feb 17 23:25:11 2021 +0330 Upgrade dart version to support nullsafety commit 62e5b7d Author: FIRST_NAME LAST_NAME <[email protected]> Date: Wed Feb 17 23:20:19 2021 +0330 Update dependencies to support null-safety commit 935340c Merge: 1e8d3c1 93eedb2 Author: Iman khoshabi <[email protected]> Date: Thu Mar 4 00:32:39 2021 +0330 Merge pull request imaNNeo#533 from payam-zahedi/radar-chart Radar chart added commit 93eedb2 Author: Payam Zahedi <[email protected]> Date: Thu Mar 4 00:27:38 2021 +0330 RadarChartPage moved to end of example pages commit 34a23b3 Author: Payam Zahedi <[email protected]> Date: Sun Feb 28 22:04:06 2021 +0330 RadarChartData documented radar_chart_data.dart documented radar_chart.dart documented radar_chart_painter.dart documented commit fc77515 Author: Payam Zahedi <[email protected]> Date: Sun Feb 28 21:06:50 2021 +0330 unit test created for RadarChartPainter commit 8eb241a Author: Payam Zahedi <[email protected]> Date: Sun Feb 28 20:59:20 2021 +0330 unit test created for RadarChartData commit a69f926 Author: Payam Zahedi <[email protected]> Date: Tue Feb 23 23:52:58 2021 +0330 radar_chart_data_test.dart created commit cbdf05a Author: Payam Zahedi <[email protected]> Date: Tue Feb 23 23:38:18 2021 +0330 sample RadarChartData added to data_pool.dart file commit 6eb1fba Author: Payam Zahedi <[email protected]> Date: Tue Feb 23 23:25:00 2021 +0330 copyWith method added in RadarChart data class commit 718c8a6 Author: Payam Zahedi <[email protected]> Date: Sun Feb 21 19:23:49 2021 +0330 resolving code review task //..................................... export radar_chart_painter.dart deleted from fl_chart.dart file RadarChart sample renamed to RadarChartSample1 lerpRadarDataSetList and lerpRadarEntryList have been updated and are now using _lerpList function. The final variables were moved to the top of the class. Default Constructor parameters upgraded for new default parameter convention RadarChartData fillColor field renamed to backgroundColor RadarChartData fillColor and chartBorderData fields renamed to radarBackgroundColor and radarBorderData RadarChartData titleCount field removed and converted to getter titleCount and draw issue resolved titleCount and draw issue resolved unnecessary antiAlias removed radar_chart_painter.dart methods converted to private ticksStyle value converted to constructor default value _drawGrids method moved to top of the paint function isAntiAlias removed in _graphBorderPaint & _graphPointPaint code warnings resolved canvasWrapper replaced with Canvas minimum tick count value reduced to 1 and its not required parameter any more code formatted with flutter format command commit 5c37433 Merge: ced6ce2 23eeaf7 Author: Payam Zahedi <[email protected]> Date: Thu Feb 18 22:12:20 2021 +0330 radar-chart branch merge with upstream commit ced6ce2 Author: Payam Zahedi <[email protected]> Date: Sun Jan 3 21:35:48 2021 +0330 Radar Example completed commit 5221f9f Author: Payam Zahedi <[email protected]> Date: Sun Jan 3 21:28:13 2021 +0330 animation functionality added to RadarChart commit 2bc83df Author: Payam Zahedi <[email protected]> Date: Sat Jan 2 23:26:23 2021 +0330 handling touch added to RadarChart commit 22d3bfc Author: Payam Zahedi <[email protected]> Date: Sat Jan 2 10:17:05 2021 +0330 Drawing DataSets value added to RadarChart commit 0517398 Author: Payam Zahedi <[email protected]> Date: Thu Dec 31 11:14:05 2020 +0330 RadarChartData updated and refactored commit 0aa7e58 Author: Payam Zahedi <[email protected]> Date: Tue Dec 29 21:08:01 2020 +0330 RadarChart draw functionality added to radar_chart_painter.dart commit a588c30 Author: Payam Zahedi <[email protected]> Date: Tue Nov 24 12:20:32 2020 +0330 RadarChartData class created commit fd00abe Author: Payam Zahedi <[email protected]> Date: Tue Nov 24 12:15:19 2020 +0330 RadarChart related lerps added to lerp.dart commit 34828f9 Author: Payam Zahedi <[email protected]> Date: Tue Nov 24 11:37:00 2020 +0330 initializing RadarChart workflow commit 23eeaf7 Merge: 9aef98a 1e8d3c1 Author: Iman khoshabi <[email protected]> Date: Wed Feb 17 22:53:32 2021 +0330 Merge pull request imaNNeo#577 from imaNNeoFighT/dev Dev 0.12.3 commit 1e8d3c1 Author: FIRST_NAME LAST_NAME <[email protected]> Date: Wed Feb 17 22:47:14 2021 +0330 Bump version to 0.12.3 commit af68569 Author: FIRST_NAME LAST_NAME <[email protected]> Date: Wed Feb 17 22:46:43 2021 +0330 Update README.md commit 2af726e Author: FIRST_NAME LAST_NAME <[email protected]> Date: Wed Feb 17 22:30:48 2021 +0330 Fixed Bug of drawing lines with strokeWidth zero, imaNNeo#558. commit a8feaf6 Author: FIRST_NAME LAST_NAME <[email protected]> Date: Wed Feb 17 21:58:22 2021 +0330 Update CHANGELOG.md commit ee19025 Merge: 2629fdd 97f263d Author: Iman khoshabi <[email protected]> Date: Wed Feb 17 09:13:50 2021 +0330 Merge pull request imaNNeo#574 from bdlukaa/dev Fixes 'Build function can not return null' commit 97f263d Author: Bruno D'Luka <[email protected]> Date: Sat Feb 13 18:02:35 2021 -0300 Fixes 'Build function can not return null' commit 2629fdd Merge: ac10774 f267194 Author: Iman khoshabi <[email protected]> Date: Sun Jan 31 01:31:23 2021 +0330 Merge pull request imaNNeo#540 from albertms10/fix-list-constructor refactor(bar_chart_painter): change list constructor to filled commit ac10774 Merge: 34d3fe6 80ac1a5 Author: Iman khoshabi <[email protected]> Date: Mon Jan 25 12:39:38 2021 +0330 Merge pull request imaNNeo#545 from shripal17/master Feature/Enable tooltips on Mouse hover in flutter web/desktop commit 80ac1a5 Author: Shripal Jain <[email protected]> Date: Mon Jan 25 13:21:23 2021 +0530 Revert "bar_chart_painter" properly Signed-off-by: Shripal Jain <[email protected]> commit 4fda5a4 Merge: 8f97298 34d3fe6 Author: Shripal Jain <[email protected]> Date: Mon Jan 25 13:12:21 2021 +0530 Merge branch 'dev' into master commit 8f97298 Author: Shripal Jain <[email protected]> Date: Mon Jan 25 13:09:29 2021 +0530 Revert "bar_chart_painter.dart" Signed-off-by: Shripal Jain <[email protected]> commit 34d3fe6 Merge: 7e898b9 00b38fa Author: Iman khoshabi <[email protected]> Date: Mon Jan 25 08:52:06 2021 +0330 Merge pull request imaNNeo#535 from xinoxapps/bugfix/piechart-resize Bugfix/piechart resize commit f267194 Merge: 4f06302 7e898b9 Author: Albert Mañosa <[email protected]> Date: Sun Jan 24 14:24:26 2021 +0100 Merge branch 'dev' into fix-list-constructor commit c48d8dd Author: Shripal Jain <[email protected]> Date: Sat Jan 23 14:25:12 2021 +0530 Format changed files Signed-off-by: Shripal Jain <[email protected]> commit e64de1f Merge: 2c5a3dc 7e898b9 Author: Shripal Jain <[email protected]> Date: Sat Jan 23 14:21:14 2021 +0530 Merge branch 'dev' into master commit 7e898b9 Author: FIRST_NAME LAST_NAME <[email protected]> Date: Fri Jan 22 23:49:16 2021 +0330 Add guide for switch to `dev` branch in CONTRIBUTING.md commit 5dbae54 Merge: e72a1aa af51913 Author: Iman khoshabi <[email protected]> Date: Fri Jan 22 23:12:51 2021 +0330 Merge pull request imaNNeo#547 from mathmetal/patch-1 Correct typo in field name commit e72a1aa Author: FIRST_NAME LAST_NAME <[email protected]> Date: Fri Dec 25 01:29:42 2020 +0330 Add pedantic and resolve all analyze issues commit af51913 Author: Ayush <[email protected]> Date: Mon Jan 18 07:38:47 2021 +0530 Correct typo in field name commit 2c5a3dc Author: Shripal Jain <[email protected]> Date: Sat Jan 16 16:37:04 2021 +0530 Fix deprecated constructor warning in bar_chart_painter Signed-off-by: Shripal Jain <[email protected]> commit 7a951d4 Author: Shripal Jain <[email protected]> Date: Sat Jan 16 16:31:12 2021 +0530 Format files according to project's specification Signed-off-by: Shripal Jain <[email protected]> commit e46d50b Author: Shripal Jain <[email protected]> Date: Sat Jan 16 16:23:36 2021 +0530 Wrap GestureDetector in bar_chart with MouseRegion - This enables tooltip showing on mouse hover for flutter web Signed-off-by: Shripal Jain <[email protected]> commit 6fcf6b4 Author: Shripal Jain <[email protected]> Date: Sat Jan 16 16:17:47 2021 +0530 Fix next/previous buttons in example app causing issue in mobile Signed-off-by: Shripal Jain <[email protected]> commit c5ca631 Author: Shripal Jain <[email protected]> Date: Sat Jan 16 16:15:01 2021 +0530 Wrap GestureDetector in pie_chart with MouseRegion - This enables tooltip showing on mouse hover for flutter web/desktop Signed-off-by: Shripal Jain <[email protected]> commit 5aa24fa Author: Shripal Jain <[email protected]> Date: Sat Jan 16 15:12:26 2021 +0530 Wrap GestureDetector in line_chart with MouseRegion - This enables tooltip showing on mouse hover for flutter web Signed-off-by: Shripal Jain <[email protected]> commit 06c2005 Author: Shripal Jain <[email protected]> Date: Sat Jan 16 15:08:17 2021 +0530 Update example app with next and previous buttons (for web only) - Disable touch scrolling for web only - Handle SVG display for badge for web in pie_chart_sample3 Signed-off-by: Shripal Jain <[email protected]> commit bd1c6c2 Author: Shripal Jain <[email protected]> Date: Sat Jan 16 14:34:14 2021 +0530 Update example app (add flutter web support) Signed-off-by: Shripal Jain <[email protected]> commit 4f06302 Author: albertms10 <[email protected]> Date: Sun Jan 10 00:49:01 2021 +0100 refactor(bar_chart_painter): change list constructor to filled commit 00b38fa Author: Wendel de Witte <[email protected]> Date: Wed Jan 6 15:20:14 2021 +0100 Flutter format commit 4e813ae Author: Wendel de Witte <[email protected]> Date: Wed Jan 6 15:15:27 2021 +0100 Fix issue imaNNeo#514 commit 9aef98a Merge: f397000 ee032e7 Author: Iman khoshabi <[email protected]> Date: Sat Jan 2 00:17:36 2021 +0330 Merge pull request imaNNeo#532 from imaNNeoFighT/Update-BTC-Address Update README.md commit ee032e7 Author: Iman khoshabi <[email protected]> Date: Sat Jan 2 00:17:06 2021 +0330 Update README.md commit f397000 Merge: b46433c 1b70f88 Author: Iman khoshabi <[email protected]> Date: Fri Dec 25 00:57:29 2020 +0330 Merge pull request imaNNeo#526 from imaNNeoFighT/dev Update README.md commit 1b70f88 Author: FIRST_NAME LAST_NAME <[email protected]> Date: Fri Dec 25 00:56:26 2020 +0330 Update README.md commit b46433c Merge: eff8916 aba9464 Author: Iman khoshabi <[email protected]> Date: Fri Dec 25 00:50:06 2020 +0330 Merge pull request imaNNeo#525 from imaNNeoFighT/dev Dev 0.12.2 commit aba9464 Author: FIRST_NAME LAST_NAME <[email protected]> Date: Fri Dec 25 00:41:42 2020 +0330 Bump version to 0.12.2 commit 21b3b78 Merge: 3f83ebd 97f730c Author: Iman khoshabi <[email protected]> Date: Fri Dec 25 00:02:27 2020 +0330 Merge pull request imaNNeo#524 from imaNNeoFighT/hotfix/pie-chart-first-frame Fixed PieChart badges draw in first frame problem, imaNNeo#513. commit 97f730c Author: FIRST_NAME LAST_NAME <[email protected]> Date: Thu Dec 24 23:55:22 2020 +0330 Fixed PieChart badges draw in first frame problem, imaNNeo#513. commit 3f83ebd Merge: 1068e56 7992f73 Author: Iman khoshabi <[email protected]> Date: Mon Dec 14 14:06:46 2020 +0330 Merge pull request imaNNeo#515 from imaNNeoFighT/improvement/context-wrapper Improvement/context wrapper commit 7992f73 Author: FIRST_NAME LAST_NAME <[email protected]> Date: Mon Dec 14 13:59:21 2020 +0330 Updated CONTRIBUTING.md commit 30dc94e Author: imaNNeoFighT <[email protected]> Date: Tue Nov 3 17:40:55 2020 +0330 Use CanvasWrapper instead of direct accessing to canvas draw functions in our painters. commit bc01028 Author: imaNNeoFighT <[email protected]> Date: Tue Nov 3 17:29:45 2020 +0330 Added CanvasWrapper class to proxy all canvas drawing functions through it commit eff8916 Merge: 1d39257 1068e56 Author: Iman khoshabi <[email protected]> Date: Fri Dec 11 15:24:11 2020 +0330 Merge pull request imaNNeo#511 from imaNNeoFighT/dev Dev 0.12.1 commit 1068e56 Author: imaN Khoshabi <[email protected]> Date: Fri Dec 11 14:35:20 2020 +0330 Bump version to 0.12.1 commit dcb22f0 Merge: f98901a b609ec7 Author: Iman khoshabi <[email protected]> Date: Fri Dec 11 14:16:26 2020 +0330 Merge pull request imaNNeo#510 from imaNNeoFighT/improvement/bar-area-spotlines-applycutoffy Added applyCutOffY property in BarAreaSpotsLine to inherit cutOffY pr… commit b609ec7 Author: imaN Khoshabi <[email protected]> Date: Fri Dec 11 14:11:55 2020 +0330 Added applyCutOffY property in BarAreaSpotsLine to inherit cutOffY property of it's parent, imaNNeo#478. commit f98901a Merge: 0d545ce 70b096b Author: Iman khoshabi <[email protected]> Date: Fri Dec 11 13:45:32 2020 +0330 Merge pull request imaNNeo#509 from imaNNeoFighT/hotfix/format-negative-numbers Hotfix/format negative numbers, imaNNeo#486. commit 70b096b Author: imaN Khoshabi <[email protected]> Date: Fri Dec 11 01:10:07 2020 +0330 Fixed formatNumber bug for negative numbers, imaNNeo#486. commit 0d545ce Merge: d127e9f 10b8dfc Author: Iman khoshabi <[email protected]> Date: Fri Dec 11 01:00:56 2020 +0330 Merge pull request imaNNeo#508 from imaNNeoFighT/hotfix/pie-chart-badges Hotfix/pie chart badges, imaNNeo#507 commit 10b8dfc Author: imaN Khoshabi <[email protected]> Date: Fri Dec 11 00:57:48 2020 +0330 Fixed PieChart badges bug with re-implementing the solution, imaNNeo#507. commit d127e9f Merge: f220271 079e92f Author: Iman khoshabi <[email protected]> Date: Fri Nov 20 13:15:17 2020 +0330 Merge pull request imaNNeo#467 from imhafeez/master Fix the setState issue using PieChart in the ListView commit f220271 Merge: 940783b 42d7d29 Author: Iman khoshabi <[email protected]> Date: Sat Oct 17 12:30:00 2020 +0330 Merge pull request imaNNeo#470 from LondonTran/hotfix/FlSpot-toString/londonTran Override toString method for FlSpot commit 42d7d29 Author: LondonTran <[email protected]> Date: Sat Oct 17 02:50:12 2020 -0400 Override toString method for FlSpot. Allows printing of X and Y FlSpot coordinates instead of data type(FlSpot). - London Tran commit 079e92f Author: Hafeez Ahmed <[email protected]> Date: Fri Oct 9 09:37:11 2020 +0500 Fix the setStat issue on the ListView Fix the setStat issue on the ListView # Conflicts: # lib/src/chart/line_chart/line_chart_data.dart
Its not working for me in mobile web. Both android and iOS. version: 0.36.3 Im getting error: Unsupported operation: NaN.ceil() My Code:
|
I used fl_chart version 0.36.4. The PieChart Widget cannot be rendered on the branch of the flutter SDK version flutter-2.5-candidate.9. The stable branch of the flutter SDK version is normal, and once the PieChart Widget is used on the branch of the flutter-2.5-candidate.9, the Widget in the whole dart file cannot be rendered |
After upgrading to flutter 2.0, pie chart is not displayed
It was working previously with this code. (with some computation in abstraction)
flutter: 2.0 stable
fl_chart: ^0.12.2
Is there anything that I am missing or it has to do with some changes in flutter?
The text was updated successfully, but these errors were encountered: