fix issue of pie chart being invisible when total group value is 0