You have two syntax errors in your code. The vAxis option needs to open
with the curly braces "{" instead of the parentheses "(", and the options
need a closing curly braces, like this:
new
google.visualization.ColumnChart(document.getElementById('visualization')).draw(data,
{
title:"Yearly Coffee Consumption by Country",
width:600,
height:400,
hAxis: {title: "Year"},
vAxis: {title: "What"}
});
--
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/-/2oQ_ClyUJr0J.
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.