Retrieve data from database for Google Chart data

624 views
Skip to first unread message

mefara

unread,
Sep 9, 2008, 1:27:39 AM9/9/08
to Google Chart API
hi.. im new in here..
Im currently developing a gadget to submit in iGoogle...
My question are :
i) is my gadget can connect to database? or it only for stand alone
gadget...
ii) i want ask wether the google chart can retrieve a data from
database

i would like to use MySql database

Graham Watson

unread,
Sep 9, 2008, 8:41:53 AM9/9/08
to Google Chart API
I can't give any advice about your 'gadget', because I don't know what
variety you're using.
But as for Google Charts, those charts are merely images that render
according to the GET data appended to their source addresses. The
images themselves don't do any retrieving of data, but rather they
must have all data supplied to them upon request. To use Google Charts
with a database, you must build an intermediary layer that reads from
that database and constructs the chart's URL.

All of this information is available at http://code.google.com/apis/chart/.

decibel.places

unread,
Sep 9, 2008, 9:46:23 AM9/9/08
to Google Chart API
Hi mefara,

I developed an implementation of Google Charts for Drupal Userpoints
including querying the mysql database.

Some of the code may be unfamiliar because I am using a Drupal module
that imports the Google Charts API to Drupal.

http://snippets.dzone.com/posts/show/5985

On Sep 9, 1:27 am, mefara <farahra...@gmail.com> wrote:
Reply all
Reply to author
Forward
0 new messages