I made a little test, but it's not working:
var table=[['Year', 'Votes'],
['item 1', {v: 387, f: 'test'}],
['item 2', {v: 465, f: 'test'}],
['item 3', {v: 610, f: 'test'}]];
var data = google.visualization.arrayToDataTable(table);
var chart = new
google.visualization.BarChart(document.getElementById('chart_div'));
chart.draw(data, options);
I just get a empty chart (without any item).
--
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/-/U7DjBFAPVk4J.
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.