The datasource URL you use in your code is wrong. You specify:
var query = new google.visualization.Query('
http://www.google.com/fusiontables/DataSource?dsrcid=1171273');
while it should be:
var query = new google.visualization.Query('
http://www.google.com/fusiontables/gvizdata');
(the actual table to pull the data from is declared via the setQuery() call
immediately afterward:
query.setQuery('SELECT Grade, Place, Student, School, ImageURL FROM
1171273');
/R.
On 26 July 2011 18:49, Addison <[email protected]> wrote:
> Okay, I replaced the information in the link you sent me, and it does
> seem to work on my datasource, but do you know what was wrong with my
> original script?
>
> On Jul 26, 9:49 am, Riccardo Govoni ☢ <[email protected]> wrote:
> > Do you have an example of the code failing for you that we can look at?
> > If you copy paste the example provided from the Fusion Tables
> documentation
> > (http://code.google.com/apis/chart/interactive/docs/fusiontables.html)
> into
> > an html file and open it, does it work for you?
> >
> > /R.
> >
> > On 25 July 2011 21:31, Addison <[email protected]> wrote:
> >
> > > I've read Google's walkthrough instructions over and over again, and
> > > for ?? reason, when I try to test the code (query + handler:
> > > visualizer) in Google's Code Playground and run the code, it comes up
> > > with a blank response.
> >
> > > I have no idea where to start fixing my patchwork. Help?
> >
> > > --
> > > 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.
>
> --
> 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.
>
>
--
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.