Fix doughnut graph bug