Using the Toolbar requires your data being served from a server.

On Tue, Dec 22, 2009 at 11:35 PM, Daniele <[email protected]> wrote:

> Unfortunately in the documentation I found this:
>
> To use a toolbar, your visualization must get its data from a URL; you
> cannot pass in hand-populated DataTable or DataView objects. You will
> pass the URL of the data used to populate your visualization into the
> drawToolbar() method.
>
> So i think you should change approach.
> Good luck :)
>
>
>
> On Dec 22, 9:13 pm, Mark in A2 <[email protected]> wrote:
> > Thanks.  Yes, I looked at this.  It seems to require that the source
> > data is provided in the form of a URL (or at least those are all of
> > the examples it shows.)  Could be my inexperience, but I don't get
> > it.  I have the data in rows and columns within a datatable within the
> > dashboard page where the javascript is running.  Why should I need to
> > (or how would I) supply a URL that the toolbar can use to export the
> > data?  I'll take another look at it to see if I can figure out how to
> > use.  If you have any tips on my question, they would be greatly
> > appreciated.  Thanks again.
> >
> > On Dec 20, 4:20 am, Daniele <[email protected]> wrote:
> >
> >
> >
> > > You can use the tool bar:
> http://code.google.com/apis/visualization/documentation/gallery/toolb...
> >
> > > to export as csv.
> >
> > > On Dec 19, 9:02 pm, Mark in A2 <[email protected]> wrote:
> >
> > > > Relatively inexperienced, but finished my first real web-app that is
> a
> > > > dashboard utilizing Google visualizations.  I have six datatables
> used
> > > > to support the visualizations.  I would like to provide the option to
> > > > the user to export the datatables to text or xls.  I'm looking for
> the
> > > > most straightforward way to do this.  I've read through all of the
> > > > relevant material I can find on the topic, but cannot find anything
> > > > that appears to do the job (either that, or I just don't get it.)
> >
> > > > Any help is greatly appreciated.  The visualizations have been great
> > > > to work with (and learn some basic Javascript) and just need this
> > > > final piece!
> >
> > > > Thanks,
> >
> > > > Mark in Ann Arbor
>
> --
>
> 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]<google-visualization-api%[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.


Reply via email to