Ok so basically I added an ID to my JSON format like this:

var data = new 
google.visualization.DataTable({"cols":[{"id":"","label":"objeto","type":"string"},{"id":"","label":"quantidade","type":"number"}],"rows":[{"c":[{"v":"Caixa
 
2"},{"v":3}]},{"c":[{"v":"Caixa 3"},{"v":1}]},{"c":[{"v":"Caixa 
4"},{"v":2}]}]}

And now if I run it on jsfiddle it works ( http://jsfiddle.net/cxq40n17/2/ ). 
But it still will not work using {{data2}} on my actual program.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/2037c75e-0471-4e50-9020-8294adc8bb6b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to