Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pie chart invisible if all but one datum are 0 #2

Open
henrypijames opened this issue Jun 19, 2012 · 0 comments
Open

Pie chart invisible if all but one datum are 0 #2

henrypijames opened this issue Jun 19, 2012 · 0 comments

Comments

@henrypijames
Copy link

graph.type('pie');
graph.addSeries('A', [0, 1], 'red', 'none');
graph.addSeries('B', [2, 3], 'green', 'none');

The code above should produce two pie charts, the first of which is entirely green (a green circle). In reality, the first pie chart is invisible. Guess the 100% case needs special handling.

twitwi pushed a commit to twitwi/svg that referenced this issue Nov 8, 2013
Getting in Brainbits' changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant