Re: [visualization-api] Timeline and JSON data doesn't work

2017-01-27 Thread franck danard
H ok thanks. I'll send you what you need. by email On Friday, January 27, 2017 at 5:03:52 PM UTC+1, Daniel LaLiberte wrote: > > Where the error occurs is your addRows() call. You believe you are > passing an array, but since the error message is claiming otherwise, I > would check that wi

Re: [visualization-api] Timeline and JSON data doesn't work

2017-01-27 Thread 'Daniel LaLiberte' via Google Visualization API
Where the error occurs is your addRows() call. You believe you are passing an array, but since the error message is claiming otherwise, I would check that with the debugger. Can you point us to your web page so we can try to debug it? On Fri, Jan 27, 2017 at 10:55 AM, franck danard wrote: > HI

Re: [visualization-api] Timeline and JSON data doesn't work

2017-01-27 Thread franck danard
HI Thanks for your replay [["Room 200","Danard Franck *","DATE(2017,0,28)","DATE(2017,0,31)"], ["Room 200","Danard Franck *","DATE(2017,0,29)","DATE(2017,0,31)"]] No way. Even with DATE, nothing. I don't understand why . Excepted DATE should be new DATE() but even with this, nothing. The erro

Re: [visualization-api] Timeline and JSON data doesn't work

2017-01-27 Thread 'Daniel LaLiberte' via Google Visualization API
Your debug output shows that the format of your date values is incorrect. You'll need to return the dates using the string representation that looks like this: "Date(2017,0,28)". See the documentation here: https://developers.google.com/chart/interactive/docs/datesandtimes#dates-and-times-using-th

[visualization-api] Timeline and JSON data doesn't work

2017-01-27 Thread franck danard
Hi all. I've some problems to get some datas with JSON. I've PHP function which send the value like this. $_booking= $this->getPMSbooking(""); foreach($_booking as $key => $value){ $confirmed= $value["confirmed"];