Flutter Pie Chart labelAccessorFn is not working
问题 Note: I used this answer How to add label to pieChart flutter as a reference to implement labelAccessorFn. I am using charts_flutter package to display charts in my flutter app, as far as I know, we use labelAccessorFn to show labels in Pie Chart but it's not working in my case. App Overview: It's a mood checker app where user chose its mood every day using one of 5 emojis and in charts, we display data of emoji vs num of days it's been chosen. chart file (labelAccessorFn is defined in