Stacked Chart color bug

13 views
Skip to first unread message

asif javed

unread,
Sep 19, 2011, 10:35:10 AM9/19/11
to Google Chart API
Hi,

I found bug in google stack bar charts, what is the color of last bar
has wrong.

https://chart.googleapis.com/chart?chs=550x400&chds=0,3&chxt=y&chts=000000,15&cht=bhs&chd=t:2,-1,-1,-1,-1,-1|-1,2,-1,-1,1,-1|-1,-1,2,1,-1,-1|1,-1,-1,2,-1,-1|-1,1,-1,-1,2,1|-1,-1,-1,-1,-1,-1|-1,-1,-1,-1,-1,-1|-1,-1,-1,-1,-1,-1|-1,-1,-1,-1,-1,1|-1,-1,1,-1,-1,1&chco=A91E2A,E95251,E41D38,E24733,E28B50,EEC41A,EFD050,5C573D,686450,A7AF5D|A91E2A,E95251,E41D38,E24733,E28B50,EEC41A,EFD050,5C573D,686450,A7AF5D|A91E2A,E95251,E41D38,E24733,E28B50,EEC41A,EFD050,5C573D,686450,A7AF5D|A91E2A,E95251,E41D38,E24733,E28B50,EEC41A,EFD050,5C573D,686450,A7AF5D|A91E2A,E95251,E41D38,E24733,E28B50,EEC41A,EFD050,5C573D,686450,A7AF5D|A91E2A,E95251,E41D38,E24733,E28B50,EEC41A,EFD050,5C573D,686450,A7AF5D|A91E2A,E95251,E41D38,E24733,E28B50,EEC41A,EFD050,5C573D,686450,A7AF5D|A91E2A,E95251,E41D38,E24733,E28B50,EEC41A,EFD050,5C573D,686450,A7AF5D|A91E2A,E95251,E41D38,E24733,E28B50,EEC41A,EFD050,5C573D,686450,A7AF5D|A91E2A,E95251,E41D38,E24733,E28B50,EEC41A,EFD050,5C573D,686450,A7AF5D&chbh=r,.1,.5&chm=N,000000,0,,12,,c|N,000000,1,,12,,c|N,000000,2,,12,,c|N,000000,3,,12,,c|N,000000,4,,12,,c|N,000000,5,,12,,c|N,000000,6,,12,,c|N,000000,7,,12,,c|N,000000,8,,12,,c|N,000000,9,,12,,c&chxl=0:|Option+6|Option+5|Option+4|Option+3|Option+2|Option+1&chdl=Rate+1|Rate+2|Rate+3|Rate+4|Rate+5|Rate+6|Rate+7|Rate+8|Rate+9|No+Answer


in last bar Option 6 Last stack should be colored No answer.

let me know if I am doing wrong of something wrong with Google image
chart api.
Message has been deleted

duniyadnd

unread,
Sep 19, 2011, 5:35:43 PM9/19/11
to google-c...@googlegroups.com
Do you have the data in a tabular format so I can test it with that?

asif javed

unread,
Sep 20, 2011, 8:21:44 AM9/20/11
to Google Chart API
not really because I am making chart URL,

but you can test the data

https://chart.googleapis.com/chart?chs=550x400&chds=0,3&chxt=y&chts=000000,15&cht=bhs&chd=t:
2,-1,-1,-1,-1,-1|
-1,2,-1,-1,1,-1|
-1,-1,2,1,-1,-1|
1,-1,-1,2,-1,-1|
-1,1,-1,-1,2,1|
-1,-1,-1,-1,-1,-1|
-1,-1,-1,-1,-1,-1|
-1,-1,-1,-1,-1,-1|
-1,-1,-1,-1,-1,1|
-1,-1,1,-1,-1,1
&chco=
A91E2A,E95251,E41D38,E24733,E28B50,EEC41A,EFD050,5C573D,686450,A7AF5D|
A91E2A,E95251,E41D38,E24733,E28B50,EEC41A,EFD050,5C573D,686450,A7AF5D|
A91E2A,E95251,E41D38,E24733,E28B50,EEC41A,EFD050,5C573D,686450,A7AF5D|
A91E2A,E95251,E41D38,E24733,E28B50,EEC41A,EFD050,5C573D,686450,A7AF5D|
A91E2A,E95251,E41D38,E24733,E28B50,EEC41A,EFD050,5C573D,686450,A7AF5D|
A91E2A,E95251,E41D38,E24733,E28B50,EEC41A,EFD050,5C573D,686450,A7AF5D|
A91E2A,E95251,E41D38,E24733,E28B50,EEC41A,EFD050,5C573D,686450,A7AF5D|
A91E2A,E95251,E41D38,E24733,E28B50,EEC41A,EFD050,5C573D,686450,A7AF5D|
A91E2A,E95251,E41D38,E24733,E28B50,EEC41A,EFD050,5C573D,686450,A7AF5D|
A91E2A,E95251,E41D38,E24733,E28B50,EEC41A,EFD050,5C573D,686450,A7AF5D
&chbh=r,.1,.5&chm=N,000000,0,,12,,c|N,000000,1,,12,,c|N,
000000,2,,12,,c|N,000000,3,,12,,c|N,000000,4,,12,,c|N,000000,5,,12,,c|
N,000000,6,,12,,c|N,000000,7,,12,,c|N,000000,8,,12,,c|N,
000000,9,,12,,c&chxl=0:|Option+6|Option+5|Option+4|Option+3|Option+2|
Option+1&chdl=Rate+1|Rate+2|Rate+3|Rate+4|Rate+5|Rate+6|Rate+7|Rate+8|
Rate+9|No+Answer

now you can read it,

asif javed

unread,
Sep 23, 2011, 5:29:00 AM9/23/11
to google-c...@googlegroups.com
any one understand this bug ?
Reply all
Reply to author
Forward
0 new messages