Hi Asgallant:
I believe its being returned as an object:
google.visualization.Query.setResponse({version:'0.5',reqId:'0',status:'ok',table:
{p:{totalrows:-1},cols:[{id:'col2>>1',label:'date',type:'datetime'},
{id:'col3>>1',label:'average_gr',type:'number'}],rows:[{c:[{v:null},
{v:null}]},{c:[{v:null},{v:null}]},{c:[{v:new Date('Sep 11, 1965
12:00:00 PM')},{v:381.636}]},{c:[{v:new Date('Sep 15, 1965 12:00:00
PM')},{v:381.636}]},{c:[{v:new Date('Sep 24, 1965 12:00:00 PM')},{v:
381.648}]},{c:[{v:new Date('Oct 10, 1965 12:00:00 PM')},{v:381.669}]},
{c:[{v:new Date('Oct 17, 1965 12:00:00 PM')},{v:381.679}]},{c:[{v:new
Date('Oct 24, 1965 12:00:00 PM')},{v:381.679}]},{c:[{v:new Date('Oct
30, 1965 12:00:00 PM')},{v:381.69}]},{c:[{v:new Date('Nov 7, 1965
12:00:00 PM')},{v:381.69}]},{c:[{v:new Date('Nov 14, 1965 12:00:00
PM')},{v:381.688}]},{c:[{v:new Date('Nov 20, 1965 12:00:00 PM')},{v:
381.69}]},{c:[{v:new Date('Nov 27, 1965 12:00:00 PM')},{v:381.679}]},
{c:[{v:new Date('Dec 4, 1965 12:00:00 PM')},{v:381.688}]},{c:[{v:new
Date('Dec 12, 1965 12:00:00 PM')},{v:381.679}]},{c:[{v:new Date('Dec
18, 1965 12:00:00 PM')},{v:381.669}]},{c:[{v:new Date('Dec 26, 1965
12:00:00 PM')},{v:381.667}]},{c:[{v:new Date('Jan 2, 1966 12:00:00
PM')},{v:381.658}]},{c:[{v:new Date('Jan 9, 1966 12:00:00 PM')},{v:
381.658}]},{c:[{v:new Date('Jan 16, 1966 12:00:00 PM')},{v:381.636}]},
{c:[{v:new Date('Jan 22, 1966 12:00:00 PM')},{v:381.636}]},{c:[{v:new
Date('Jan 29, 1966 12:00:00 PM')},{v:381.627}]},{c:[{v:new Date('Feb
5, 1966 12:00:00 PM')},{v:381.627}]},{c:[{v:new Date('Feb 13, 1966
12:00:00 PM')},{v:381.617}]},
On Oct 28, 10:32 am, asgallant <[email protected]> wrote:
> Is the date column being returned as a javascript Date or as a string? I
> don't think the time scalar functions work on strings, but I could be wrong.
--
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.