Re: Google Visualization Chart API
| From: | Richard Quadling | Date: | Thu, 17 Feb 2011 20:32:38 +0000 |
| Subject: | Re: Google Visualization Chart API | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-311414@lists.php.net to get a copy of this message | ||
On 17 February 2011 20:26, Ashley M. Kirchner <ashley@pcraft.com> wrote:
>> So. Easy peasy.
>
> Not exactly. Those examples are not from the Visualization API - it's two
> different things. The API is written so that one does not have to generate those parameters
> individually and then pass them through POST/GET to Google. It's cleaner and faster to work
> with. The code for the Visualization API is very different from the code the regular Chart API
> uses.
>
>
Yes it is. Ish.
The api generates the URL. Once the URL is generated and the image is
displayed you can grab it using JS and push it to the server to use.
Do you want to do all the work on server and not in the browser? Then
you have to learn the params. That way, you won't need a client to
grab the URL first.
It really isn't very difficult.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY