Fix for labelThreshold attribute in pie chart