Fix poll results chart type switching