[visualization-api] Re: Need help with TimeLine visualization - data from JSON file.

2016-01-16 Thread Gurpreet Nagi
Thank you ! this worked for me too ! {"v":"Date(2013,10,10,01,46,0)","f":null} On Thursday, November 7, 2013 at 9:51:46 PM UTC+5:30, SAP wrote: > > Hi.. > > I am looking to pull data for timeline from a JSON file. I get below > error. Please help in fixing this. > > ERROR: > > Uncaught Error:

[visualization-api] Re: Need help with TimeLine visualization - data from JSON file.

2014-08-14 Thread Ákos Kovács
How can I generate a json file like that you have pasted? 2013. november 7., csütörtök 17:21:46 UTC+1 időpontban SAP a következőt írta: Hi.. I am looking to pull data for timeline from a JSON file. I get below error. Please help in fixing this. ERROR: Uncaught Error: Invalid JSON

[visualization-api] Re: Need help with TimeLine visualization - data from JSON file.

2014-08-14 Thread Andrew Gallant
Do you want to generate the JSON dynamically (like from a database query)? If you do, what is your server environment like (database, scripting or programming language, etc)? On Thursday, August 14, 2014 4:12:24 AM UTC-4, Ákos Kovács wrote: How can I generate a json file like that you have

[visualization-api] Re: Need help with TimeLine visualization - data from JSON file.

2013-11-07 Thread asgallant
Date objects are not valid inside JSON strings. The Visualization API uses a custom string format for handling dates; you need to remove the new keyword and wrap the Date(...) in quotes: {v:Date(2013,10,10,01,46,0),f:null} On Thursday, November 7, 2013 11:21:46 AM UTC-5, Sandeep Ambekar

Re: [visualization-api] Re: Need help with TimeLine visualization - data from JSON file.

2013-11-07 Thread Sandy
asgallant, I made changes as you mentioned. I still get the same error. Please suggest. 1. Uncaught Error: Invalid JSON string: { cols: [ {id:Room,label:Room,pattern:,type:string}, {id:Name,label:Name,pattern:,type:string} {id:Start,label:Start,pattern:,type:date},

Re: [visualization-api] Re: Need help with TimeLine visualization - data from JSON file.

2013-11-07 Thread asgallant
You are missing a comma after the name column's object: {id:Name,label:Name,pattern:,type:string}, -- missing this comma On Thursday, November 7, 2013 11:43:28 AM UTC-5, Sandeep Ambekar wrote: asgallant, I made changes as you mentioned. I still get the same error. Please suggest. 1.

Re: [visualization-api] Re: Need help with TimeLine visualization - data from JSON file.

2013-11-07 Thread Sandy
asgallant!! Thank you very much..!! not sure how I missed it!! *not good*!! On Thu, Nov 7, 2013 at 11:57 PM, asgallant drew_gall...@abtassoc.comwrote: You are missing a comma after the name column's object: {id:Name,label:Name,pattern:,type:string}, -- missing this comma On