The pieSizes.onUpdate is neat and works as expected. Got the problem with the Configuration, though, If I add it as you suggest I get an exception at each update. It seems the labels argument is mandatory, even though it is specified as "val labels: List<String>?" in the documentation. If I add an "listOf(") the chart update works as I want.
Lars Erik Rojeras
10/09/2019, 7:26 PM
But, I do not want the labels beside the chart. Take too much space, and I have my own label implementation through a tabulator table. 🤔
Lars Erik Rojeras
10/10/2019, 7:14 AM
Now I got it to work the way I want. To summarise. I took your example, added a listOf() labels, and finally applied the options = ChartOptions(responsive = false, legend = LegendOptions(display = false)) to get rid of the labels beside the charts. Thanks a lot!🙂