Re: [visualization-api] Google Motion Chart Customization

2017-01-27 Thread Vuk Pejovic
Thank you so much for the quick response! That's unfortunate, but we're looking forward to the eventual replacement. Sincerely, Vuk On Friday, 27 January 2017 10:47:38 UTC-5, Daniel LaLiberte wrote: > > Hi Vuk, > > The MotionChart is written in flash, as you know, and we don't even have > access

[visualization-api] Re: Trendlines and dates on linecharts.

2017-01-27 Thread darren.macl...@internode.on.net
Hi Steve, I am having the same issue with date time and was wondering if you managed to resolve it? As with your experience, the only time I get any result is when I use the datetime in a string format. I decided to echo the json to try and determine what was going on. Out of the whole datetim

[visualization-api] Re: Timezone Offset Error

2017-01-27 Thread darren.macl...@internode.on.net
I think that this is where I need to make the changes to the above code, but just not sure how to change $temp[] = array('v' => (float) $r['Time']); Any suggestions? On Tuesday, January 24, 2017 at 1:57:25 PM UTC+11, darren@internode.on.net wrote: > Hi All, > I am new to Google ch

Re: [visualization-api] Styling Google Chart components from a Google Sheet

2017-01-27 Thread 'Daniel LaLiberte' via Google Visualization API
You will have to do another draw() call, so you will have to handle the resize event to do that. On Fri, Jan 27, 2017 at 12:56 PM, John Martins wrote: > Thanks so much, Daniel. Your DataView suggestion sent me on the right > track, and I was able to style it appropriately >

Re: [visualization-api] Styling Google Chart components from a Google Sheet

2017-01-27 Thread John Martins
Thanks so much, Daniel. Your DataView suggestion sent me on the right track, and I was able to style it appropriately ! Now I'm interested in making it responsive. Is this something I can do entirely via CSS, or should I also add an event list

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

[visualization-api] Re: Google Charts 45.1 in 'upcoming'

2017-01-27 Thread Ravi Sawney
Would be great to know where to look for a reference on such settings as chartArea bottom - cannot seem to find anything on the popular search engine... On Monday, 5 December 2016 21:36:14 UTC, Daniel LaLiberte wrote: > > I have updated Google Charts for 'upcoming' to load v45.1, which contains

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] Styling Google Chart components from a Google Sheet

2017-01-27 Thread 'Daniel LaLiberte' via Google Visualization API
Hi John, After you fetch the data from the spreadsheet, then you can modify it, but it might be better to use a DataView to add a role column. See: https://developers.google.com/chart/interactive/docs/reference#DataView On Fri, Jan 27, 2017 at 10:50 AM, John Martins wrote: > Hi all, > > I'm e

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

[visualization-api] Styling Google Chart components from a Google Sheet

2017-01-27 Thread John Martins
Hi all, I'm embedding a simple bar chart from a Google Sheet onto a web page , and I'm having trouble with styling the components. I need each bar on the Y-axis to be one of five colors, and also some other small style adjustments that I

Re: [visualization-api] Google Motion Chart Customization

2017-01-27 Thread 'Daniel LaLiberte' via Google Visualization API
Hi Vuk, The MotionChart is written in flash, as you know, and we don't even have access to it (that I know of) nor could we use it if we had it. So there is no way to customize it beyond what it already does. We are planning, however, to replace it at some point with a new chart built on top of t

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"];

Re: [visualization-api] Clicking error

2017-01-27 Thread 'Daniel LaLiberte' via Google Visualization API
Hi Simon, Thanks for your report. We do try to sanitize inputs, but this is one we missed. On Fri, Jan 27, 2017 at 5:05 AM, Laughninja wrote: > Hi, > > we had a similar Issue, with leading spaces in the className property. It > used to work fine and it suddenly stopped working. > > var current

Re: [visualization-api] Clicking error

2017-01-27 Thread Laughninja
Hi, we had a similar Issue, with leading spaces in the className property. It used to work fine and it suddenly stopped working. var current = dataTable.getProperty(row, c, 'className') || ""; dataTable.setProperty(row, c, 'className', current + ' currentDate'); table.draw(data, tableOptions);