@ChartsExplorer: It sounds like you're running the page simply from your
desktop. For that to work, you need to do what jon_pdx did, except that I'd
make it https://www.google.com/jsapi.

- Sergey


On Sun, Apr 20, 2014 at 2:31 AM, jon_pdx <[email protected]> wrote:

> Hi, I'm just figuring this out myself.
>
> I noticed in the code snippit that the uri for the google ajax api? is
> incomplete:
>
> <!--
> You are free to copy and use this sample in accordance with the terms of
> the
> Apache license (http://www.apache.org/licenses/LICENSE-2.0.html)
> -->
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "
> http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
> <html xmlns="http://www.w3.org/1999/xhtml";>
>   <head>
>     <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
>     <title>
>       Google Visualization API Sample
>     </title>
>     <script type="text/javascript" src="//www.google.com/jsapi"></script>
>     <script type="text/javascript">
>       google.load('visualization', '1.1', {packages: ['corechart',
> 'controls']});
>     </script>
>
> I changed it to "http://www.google.com/jsapi"; and it seemed to work for
> me, beyond that I can't say.
>
>    jon
>
> On Saturday, April 19, 2014 9:36:31 PM UTC-7, ChartsExplorer wrote:
>>
>> Hello,
>>
>> I need some help on this. I was playing around with the example thats
>> provided here.
>> https://code.google.com/apis/ajax/playground/?type=visualization#
>> chartrangefilter_control
>>
>> And wanted to modify it and run it locally on my browser. But if i take
>> this sample and save it as html and open it on the browser,
>> nothing shows up. If i check the trace, this is what it shows.  With my
>> limited knowledge/experience on JS/html, could not figure what this meant.
>> Anyone can suggest, how do i get started to make this work locally (not
>> on the google playground) ?
>>
>>
>> [Error] ReferenceError: Can't find variable: google
>>
>> global code (rangefilter.html, line 15)
>>
>> [Error] ReferenceError: Can't find variable: google
>>
>> global code (rangefilter.html, line 96)
>>
>> [Error] Failed to load resource: The requested URL was not found on this
>> server. (jsapi, line 0)
>> Thanks
>> Athreya
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "Google Visualization API" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to
> [email protected].
> Visit this group at
> http://groups.google.com/group/google-visualization-api.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.

Reply via email to