Hello,
I`m trying add rows to a DataTable() but my column headers have spacing and
special symbols like Meat/Poultry, Dairy Products, etc.,
var Data = new google.visualization.DataTable();
Data.addColumn('number', '[Meat/Poultry]');
Data.addColumn('number', '[Dairy Products]');
Data.addRow([DBdata[i].ShippingYear, DBdata[i].Confections, DBdata[i].Meat/
Poultry, DBdata[i].Condiments, DBdata[i].Dairy Products]);
I can`t add column names which are different. Please help me to achieve
this.
Thanks
--
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/a1bab7ce-6e4b-4ede-8612-0581bd7e97a7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.