[visualization-api] Re: Using Spreadsheet Data source for Timeline charts

2015-07-29 Thread lakshmi . m
This is my coding. But i can't get any ouput. Is the snippet correct?? https://www.google.com/jsapi";> http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js";> function drawSheetName() { var queryString = encodeURIComponent('SELECT A, H, O, Q, R, U LIMIT 5

[visualization-api] Re: Using Spreadsheet Data source for Timeline charts

2015-06-26 Thread Julius Müller
I mean http://jsfiddle.net/UUmQh/26/ or http://jsfiddle.net/qwsazvdr/ On Friday, 26 June 2015 09:31:52 UTC+2, Julius Müller wrote: > > Hi, > > I am new to JavaScript. > > I tried to use your code (http://jsfiddle.net/UUmQh) as a baseline for > what I am trying to do (http://jsfiddle.net/UUmQh/25/

[visualization-api] Re: Using Spreadsheet Data source for Timeline charts

2015-06-26 Thread Julius Müller
Hi, I am new to JavaScript. I tried to use your code (http://jsfiddle.net/UUmQh) as a baseline for what I am trying to do (http://jsfiddle.net/UUmQh/25/) But it seems not to work. I am trying to get this spreadsheet into a Timeline Chart with the twist that each header row is a timeslot http

[visualization-api] Re: Using Spreadsheet Data source for Timeline charts

2014-01-02 Thread asgallant
If you provide an example spreadsheet with the appropriate data structure (either 3 columns [1 string and 2 dates] or 4 columns [2 strings and 2 dates]), I will create an example using your spreadsheet. The spreadsheet has to be published for it to work with the Visualization API. On Wednesday

Re: [visualization-api] Re: Using Spreadsheet Data source for Timeline charts

2013-11-26 Thread Matt Lightbourn
dude, that is absolutely fantastic! thank you so much for helping with this, awesome! I have digested every bit of it, it's amazing how just a few mistakes can make all the difference to it working or not, like capital G :) I'm still learning this stuff, getting my confidence up doing this. Inter

[visualization-api] Re: Using Spreadsheet Data source for Timeline charts

2013-11-26 Thread asgallant
Tackling things in order: 1) Google.setOnLoadCallback should not have a capital "g" in "google": google.setOnLoadCallback 2) many of your quotes are not really quotes (this usually is caused by editing code in a MS Office product, which converts ' into ’ - a completely different character that

[visualization-api] Re: Using Spreadsheet Data source for Timeline charts

2013-11-26 Thread Matt Lightbourn
Here's my latest version of the script - it just doesn't get any better - it still doesn't do anything at all :( Google.setOnLoadCallback(drawchart); function drawChart() { // Set Data Source var query = new google.visualization.Query(‘[visualization-api] Re: Using Spreadsheet Data source for Timeline charts
Here's a tidied up version of my script - which of course does nothing at all. I want to step through and find out what it does do and see where it fails - a result which shows nothing to me means no error just, it has abandoned displaying its results. Very odd: < script type = ”text / javascr

[visualization-api] Re: Using Spreadsheet Data source for Timeline charts

in the browser On Wednesday, 27 November 2013 09:34:35 UTC+13, asgallant wrote: > > Where did you see that? > > On Tuesday, November 26, 2013 3:12:56 PM UTC-5, Matt Lightbourn wrote: >> >> Thanks for your reply, I copied and pasted the script contained in your >> reply and it resulted in the belo

[visualization-api] Re: Using Spreadsheet Data source for Timeline charts

In my web browser. I have since modified my script three times and settled on this as being as near true to the scripts I have seen but now, NOTHING - again! QUOTE https://www.google.com/isapi?autoload={‘modules’:[{‘name’:’visualisation’,[visualization-api] Re: Using Spreadsheet Data source for Timeline charts
Where did you see that? On Tuesday, November 26, 2013 3:12:56 PM UTC-5, Matt Lightbourn wrote: > > Thanks for your reply, I copied and pasted the script contained in your > reply and it resulted in the below message. I will work through and work > out what happened :) Thanks, Matt > > function

[visualization-api] Re: Using Spreadsheet Data source for Timeline charts

Thanks for your reply, I copied and pasted the script contained in your reply and it resulted in the below message. I will work through and work out what happened :) Thanks, Matt function drawChart() { var container = document.getElementById('example3.1'); var chart = new google.visualization

[visualization-api] Re: Using Spreadsheet Data source for Timeline charts

You likely have a scope issue. Your handleQueryResponse function is referencing the chart variable that was created in drawChart, but since drawChart and handleQueryFunction are both in the global scope, handleQueryFunction can't access drawChart's internal variables. Move handleQueryResponse