using Google Visualization

2008-12-09 Thread Juan
I'm trying to use the Google Visualization API with my CakePHP app. The two first obstacles are: - how to link an external JS library? I try this in my view: $javascript-link('http://www.google.com/jsapi', false); but it's not working. I see in the CakePHP source code that it doesn't seem

Re: using Google Visualization

2008-12-09 Thread Tony Thomas
http://www.google.com/jsapi; doesn't appear to be a valid URL for the library you're trying to use. On Dec 9, 7:30 am, Juan [EMAIL PROTECTED] wrote: I'm trying to use the Google Visualization API with my CakePHP app. The two first obstacles are: - how to link an external JS library? I try

Re: using Google Visualization

2008-12-09 Thread Juan
why not? http://www.google.com/jsapi returns javascript code. and this is the url to load the api according to google. From the chart sample above: !--Load the AJAX API-- script type=text/javascript src=http://www.google.com/jsapi;/ script