You need to load the visualization API to your page for your code to run
properly.
On Dec 30, 2011 1:48 PM, "Enio" <[email protected]> wrote:
> Hi and thanks
>
> I tried this file and runs on compiler. The compiler is complaining
> about a few things:
> - there is no google.visualization.errors
> - and there is no constructores...
>
> then I do some changes
>
> google.visualization.errors = {};
> /**
> * Construtor
> * @param {*=} opt_data
> * @param {*=} opt_version
> * @constructor
> */
> google.visualization.DataTable = function(opt_data, opt_version){};
> /**
> * @param {*=} container
> * @constructor
> */
> google.visualization.PieChart = function(container){};
>
> Then compiler works without errors.
> But when runs the web page I receive: "google.visualization is
> undefined".
> I put in my html file
> <script type="text/javascript" src="https://www.google.com/jsapi"></
> script>
> is this the correct way? I missed any thing?
>
> Thanks again;
>
>
> On 30 dez, 03:47, ChartMan <[email protected]> wrote:
> > Try using this file:http://www.google.com/uds/modules/gviz/gviz-api.js
> > And read about it here:
> http://code.google.com/apis/chart/interactive/docs/dev/index.html
> >
> > Note that it may be missing some of the newest methods and classes.
> >
> > HTH
> > ChartMan
> >
> >
> >
> >
> >
> >
> >
> > On Fri, Dec 30, 2011 at 12:13 AM, Enio <[email protected]> wrote:
> > > Hi to all.
> > > I would like to know how use Gviz on google closure.
> > > To use gmaps, for example, there are a .js file to use with complirer
> > > --externs ../closure-compiler/contrib/externs/maps/
> > > google_maps_api_v3.js
> >
> > > Are there some thing like that to gviz work with closure compiler?
> >
> > > Thanks to all
> >
> > > --
> > > 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.
>
> --
> 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.
>
>
--
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.