Issue 6 in plotkit: pie graphs skip colors for zero-value slices

1 view
Skip to first unread message

codesite...@google.com

unread,
Mar 17, 2010, 3:44:30 PM3/17/10
to plotk...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 6 by fgas...@freeshell.org: pie graphs skip colors for zero-value
slices
http://code.google.com/p/plotkit/issues/detail?id=6

If I specify these color values and data:

colorScheme: [ red, green, blue, yellow ]
data: [ 10, 5, 0, 10 ]

...what PlotKit will give is red, green, and blue slices; it skips the zero
value without accounting for this in the color scheme.

This is a problem when applications display dynamic data along with
custom-generated legends for the pie colors.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

codesite...@google.com

unread,
Mar 17, 2010, 4:04:32 PM3/17/10
to plotk...@googlegroups.com

Comment #1 on issue 6 by fgas...@freeshell.org: pie graphs skip colors for
zero-value slices
http://code.google.com/p/plotkit/issues/detail?id=6

This patch addresses the issue.

Attachments:
issue6.patch 4.0 KB

Reply all
Reply to author
Forward
0 new messages