Standard process/Method that google chart follows

13 views
Skip to first unread message

Davincy

unread,
Dec 30, 2011, 7:49:00 AM12/30/11
to Google Visualization API
Good Day,
I am new to this forum and also ne in the development area, I would
like to know the following,
1. what rules or standard or procedure does the Google chart follow in
gettitng information from datasource to widget to graph?
2. Do they have a standard way that someone can follow or implement
when designing dashboards?
3. Is it advisable to pass userdetails on the URL or only the session
id?
4.How can I make one ID to map down to a certain report, certain
query, and return that report with results in a dashboard?

I am still new in this, so I want to build dashboard and to also
document the process i followed, and to cite where I got the
information.
You help will be highly appreciated.

Yours,
Davincy

asgallant

unread,
Dec 30, 2011, 11:54:41 AM12/30/11
to google-visua...@googlegroups.com
Welcome!

1) There is no one standard way of feeding data to the charts.  You can have a fixed data set, implemented in javascript; you can query a Google Spreadsheet for data; you can use server-side scripting (php, java, python, etc) to dynamically generate data sets on page load (pulling data from, for example, a SQL database); you can use AJAX to pull data from a data source and feed it to your charts.  Use whichever method works best for you.
2) It's not exactly a standard, but you can use this as a guideline: http://code.google.com/apis/ajax/playground/?type=visualization#full_dashboard
3) In general, best practice is to not pass any sensitive information as a URL parameter.
4) I'm not quite sure what you want here, can you expand on this a bit?

I would recommend starting with something simple.  Play around with the charts on the Visualization Playground; experiment with the different ways of constructing them and how the options change the way they look.  When you have a feel for the way things work, try building your own from scratch.  Dashboards are a bit more complex to implement than individual charts, so I would stick to just the charts to begin with.
Reply all
Reply to author
Forward
0 new messages