Oops, my mistake...that only works with the addRow() and addRows() methods
and JSON input. So:
data.addRow([{v: 'TV', f: 'My TV'}, {v: 325, f: 'A lot ;-)'}]);
works, as does:
data.addRows([
[{v: 'TV', f: 'My TV'}, {v: 325, f: 'A lot ;-)'}],
[{v: 'PC', f: 'My PC'}, {v: 900, f: 'Even more ;-)'}]
]);
--
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.