var data = new google.visualization.DataTable(dataTbl);
var table = new google.visualization.Table(document.getElementById('google-chart'));
table.draw(data, {frozenColumns: 1, alternatingRowStyle: true, width: '100%', height: '600'});--
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/c6893fca-1085-49a5-bf40-232bdb52cdcf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
• | Sergey Grabkovsky | |
• | Software Engineer | |
• | Google, Inc | |
• |
var milliseconds = Date.parse(schedules[i]['startTime']);
row[0] = {
'v': 'Date(milliseconds)'
}'Date(milliseconds)' and I'm still getting the error. Here's some prettified JSON that might make things easier:{
"cols": [
{
"id": "day",
"label": "Day",
"type": "date"
},
{
"id": "Left",
"label": "Left",
"type": "string"
},
{
"id": "Center",
"label": "Center",
"type": "string"
},
{
"id": "Right",
"label": "Right",
"type": "string"
}
],
"rows": [
[
{
"v": "Date(milliseconds)"
},
{
"v": "unscheduled"
},
{
"v": "unscheduled"
},
{
"v": "6"
}
],
...]}--
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/e0fde195-fab9-4c5f-b4bd-8e3c3d8d397b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
var milliseconds = Date.parse(schedules[i]['startTime']);
row[0] = {
'v': 'Date(' + milliseconds + ')'
}--
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/e0fde195-fab9-4c5f-b4bd-8e3c3d8d397b%40googlegroups.com.
"rows": [
[
{
"v": "Date(milliseconds)"
},
{
"v": "unscheduled"
},
{
"v": "unscheduled"
},
{
"v": "6"
}
]rows: [{c:[{v: 'a'},
{v: 1.0, f: 'One'},
{v: new Date(2008, 1, 28, 0, 31, 26), f: '2/28/08 12:31 AM'}
]},