Here is a brand new sample, under:
http://code.google.com/apis/ajax/playground/?type=visualization#chart_wrapper

function drawVisualization() {
  var wrapper = new google.visualization.ChartWrapper({
    chartType: 'ColumnChart',
    dataTable: [['Germany', 'USA', 'Brazil', 'Canada', 'France', 'RU'],
                [700, 300, 400, 500, 600, 800]],
    options: {'title': 'Countries', 'colors':['red','blue','green']},
    containerId: 'visualization'
  });
  wrapper.draw();
}

For coloring scheme, change and fill the colors array.

Good luck,


On Thu, Oct 6, 2011 at 11:17 AM, Andrea <[email protected]> wrote:

> Hi everybody,
>
>      I need to draw a Column Chart choosing the color of every bar,
> like here:
> http://code.google.com/apis/ajax/playground/?type=visualization#image_multicolor_bar_chart
> .
>
> I'm drawing the chart by google.visualization.ChartWrapper technique,
> so I'm passing to Constructor 'chartType' : 'ColumnChart'. If I try to
> follow the example above, passing to Constructor  'chartType' : 'bvs',
> my chart doesn't work.
>
> Is there a way to draw a multicolor bar chart, using ChartWrapper?
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Visualization API" group.
> 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.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
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