Your datatable should look like this
 { cols: [{id: 'task', label: 'Task', type: 'string'}, {id: 'hours', label:
'Hours per Day', type: 'number'}], rows: [{c:[{v: 'Work'}, {v: 11}]},
{c:[{v: 'Eat'}, {v: 2}]}, {c:[{v: 'Commute'}, {v: 2}]}, {c:[{v: 'Watch
TV'}, {v:2}]}, {c:[{v: 'Sleep'}, {v:7, f:'7.000'}]} ] }, 0.6 )



On 4 בנוב 2011, at 07:18, Oscar Migueis <[email protected]> wrote:

Could you please help me debug this JSON code to see why i cannot make
a motion chart?

{cols: [{id: 'user', type: 'string'},{id: 'date', type: 'date'},{id:
'value', type: 'number'}],rows: [{c:[{v: 'frank'}, {v: '2010-03-01'},
{v: '20'}]},{c:[{victor: 'u'}, {v: '2010-03-01'}, {v: '20'}]},{c:[{v:
'mike'}, {v: '2010-03-01'}, {v: '1'}]}]}

-- 
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To post to this group, send email to
[email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-visualization-api?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.

Reply via email to