On Thu, Feb 26, 2009 at 8:25 AM, VizBoy <[email protected]> wrote: > Hi, > > 1. If you render your html on a server that has access to the postgre > database, you can create the html already with javascript that > has the data in it. > > 2. Use the query mechanism. This means you expose your data in some url, say > using java Servlets, or another mechanism. > > To summarize, [...]
... you can feed any data to any widget built on GViz API ... using JSON format. Things that matter ... - If your data is «stored» in an RDBMS you cannot access it directly ... you should implement a piece of code to retrieve the data from your specific tables (i.e. in your Postgre DB) and convert this data to JSON ... GViz API is about open access (directly from your web browser) to data, therefore it is based on Internet stds ... and there is no std way you can access traditional RDBMS directly ... AFAIK - Take care about how to structure the data so that the visualization be able to render the information you want to show ... - The data should be accessible using HTTP protocol ... AFAIK - In case choice (2.) is the one you prefer, if the end users cannot access the URL where you have published your data, they wont see the results rendered in the web pages ... perhaps a visualization gadget or option (1.) is better in this case ... ;) - If the end users cannot access the URL to visualization code then they wont see it ... ;) ... I know, this is obvious, but I tell you anyway ;). -- Regards, Olemis. Blog ES: http://simelo-es.blogspot.com/ Blog EN: http://simelo-en.blogspot.com/ Featured article: --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
