var data = new google.visualization.DataTable({ cols: [{ id: "date", type: "date", p: {} }, { id: "views", label: "Views", type: "number", p: {} }], rows: [{ "c": [{ "v": new Date("2015-12-10T00:00:00.000Z"), "f": "Dec 10, 2015" }, { "v": 30, "f": "3,000" }] }, { "c": [{ "v": new Date("2015-12-11T00:00:00.000Z"), "f": "Dec 11, 2015" }, { "v": 45, "f": "4,500" }] }] });Neither the date or the view count are displayed using their formatted value.
Here's a fiddle: https://jsfiddle.net/gligoran/qxf2zkhu/
--
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 google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
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/8602ab85-601d-48f7-9ddf-140fde6b4d6e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
• • • • | Sergey Grabkovsky Software Engineer Google, Inc |