The API wasn't designed to make bars of a single series different colors. 
 This is just a hack that I wrote to get around the problem.

On Wednesday, October 10, 2012 7:59:07 PM UTC-4, Raji wrote:
>
> I don't know why it does it have to be so many steps though.. seems like a 
> straight forward requirement.. :)
>
> On Wednesday, October 10, 2012 4:45:42 PM UTC-7, Raji wrote:
>>
>> Yes, this is exactly what I am looking for, thank you!!
>>
>> On Wednesday, October 10, 2012 2:52:28 PM UTC-7, asgallant wrote:
>>>
>>> There are two things in play here:
>>>
>>> 1) bars are colored by data series, so every color needs its own column 
>>> in the DataTable
>>> 2) labels are generated for each row in the DataTable
>>>
>>> Here's an example that takes a DataTable with country name and value 
>>> columns and turns it into the chart you are looking for: 
>>> http://jsfiddle.net/asgallant/zwPuU/
>>>
>>> On Wednesday, October 10, 2012 5:02:38 PM UTC-4, Raji wrote:
>>>>
>>>> The chart wrapper meets my needs of having multi colored single column 
>>>> charts.
>>>>
>>>> https://code.google.com/apis/ajax/playground/?type=visualization#chart_wrapper
>>>>
>>>> 2 questions:
>>>>
>>>> 1. How can I label the x axis to show "Germany", "USA", "Brazil" etc
>>>> 2. How can I increase the space between the charts
>>>>
>>>> Thanks,
>>>> Raji
>>>>
>>>>
>>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-visualization-api/-/wZhJ4CsmdrEJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.

Reply via email to