bump version to 3.1.30
fix doughnut chart special case and how it is drawn; bump to 3.1.31