How to create a dynamic chart in flutter?

370 views
Skip to first unread message

Marcus

unread,
Mar 6, 2020, 2:03:25 PM3/6/20
to Flutter Development (flutter-dev)

Hello!


May I ask something in this community:

I want to create a pie chart in flutter which users can edit manually. More detailed: Users should be able to edit the pie chart by clicking on it, so they can change the value and or the name of some parts of the chart. I don't know how to do this and I can't find a solution on the internet.


All in all I want to build a pie chart which uses data from the user. So he or she can create this pie chart with some information.
Unfortunately I don't have any code provided since I don't even know how to connect data with charts.



Thank you in advance

Justin McCandless

unread,
Mar 6, 2020, 2:27:06 PM3/6/20
to Marcus, Flutter Development (flutter-dev)
There was some brief discussion about pie charts in general in another thread a few days ago that might help: https://groups.google.com/g/flutter-dev/c/29Y481JL48Y/m/fRDXzxz_HAAJ?pli=1

If you do build a custom pie chart like that, then you should be able to use a GestureDetector to get the input from the user and make changes to your pie chart based on that.


Justin


--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/e58c05a9-e8d1-4965-88e1-aef9ea2bdd81%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages