Change Color on the bars

47 views
Skip to first unread message

Kevin Teoh

unread,
May 19, 2016, 3:00:22 AM5/19/16
to Google Visualization API
Hello Everyone,

I not familiar with programming but manage to come out with the column chart but I was unable  to change the color of each of the bar, tried many options but it just wont reflect on the chart. Could anyone shine some light on this. 


https://jsfiddle.net/fhoutzz2/1/

Daniel LaLiberte

unread,
May 19, 2016, 10:19:17 AM5/19/16
to Google Visualization API
Hi Kevin,

The color changes you are trying don't work with the material charts, along with many other options.  Switch back to the classic ColumnChart and it should work better.

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/579bad58-63dc-430c-a8bc-ae3a3f4c002c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Kevin Teoh

unread,
May 19, 2016, 11:44:56 PM5/19/16
to google-visua...@googlegroups.com
How to do I change to classic column chart. Do mean the frozen versions?. Please let me know what should I modifie  as I want to set the numbers on each bar as well.  

--
You received this message because you are subscribed to a topic in the Google Groups "Google Visualization API" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-visualization-api/GSNJfxxEAMc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-visualizati...@googlegroups.com.

To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.

For more options, visit https://groups.google.com/d/optout.



--
Yours Sincerely,
Kevin Teoh

Vankross
Tel: 603.6142 3727
Fax: 603.6142 3726
Mobile: 012-6818510
http://www.vankross.com

Follow me on Twitter
http://twitter.com/kevtck
http://twitter.com/vankross



Daniel LaLiberte

unread,
May 20, 2016, 6:52:14 AM5/20/16
to Google Visualization API
Like this:  https://jsfiddle.net/fhoutzz2/4/

Note, I did not change your options, so the axes.x options need to be changed to different options.


For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages