Hello,
I have an array populating my DataTable. I tryed different date formats
with date, datetime and string (only to test!).
Whats is the best approach and format to bring my time data to plot in a
column chart? (I can manipulate time before loading into Google Chart)
Thanks.
My code:
var data = new google.visualization.DataTable();
data.addColumn('datetime', '_time'); //
...
var rows = Data13.data().rows.slice();
...
data.addRows(rows);
...
My Array:
0: Array[7]0: "2015-02-10T00:00:00.000+00:00"1: 82: 523: 104: 15: 864006:
1length: 7__proto__: Array[0]1: Array[7]
Tried date formats:
2015-02-10T00:00:00+0000
2015-02-10T00:00:00.000+00:00
EPOCH+Milliseconds
My Console:
Uncaught Error: Type mismatch. Value 2015-02-10T00:00:00.000+00:00 does not
match type datetime in column index 0
--
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 http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.