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/-/0T8ex_JoNToJ.
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