How to force display of data labels in case of empty DataSet

I need to redraw my charts and sometimes some datasets may be empty.

Using an empty DataSet (in PieChart and BarChart) displays an empty chart instead of data labels.

How can I force the labels to be displayed?

Thanks and great job! I really appreciate your work!

+3


source to share


1 answer


Found a solution in library code.

just call the function to clear the chart object



chart.clear();

+3


source







All Articles