collective/collective.polls — Issue #27: Pie Chart not showing if only one option has votes
Author: frapell
Created: 2012-02-04 21:56:40+00:00
State: open

Steps to reproduce:

1) Add a poll
2) Choose "Pie Chart" under the "Graph" drop down
2) Add a couple of possible answers
3) Save and open the poll
4) Vote for just 1 of the options (you can vote several times but making sure just one of the options has votes)

Result:

Pie chart is not showing

Expected result:

Pie chart showing just one option with 100% coverage