you have to do use the create() method.

Table matable = matable.create();

On Oct 18, 1:42 am, Eric Ayers <[email protected]> wrote:
> Sounds like a GWT progrma.  I'll bet the API isn't correctly loaded.
> Did you wait for the callback to fire from
> VisualizationUtils.loadVisualizationApi()?
>
> On Fri, Oct 15, 2010 at 6:18 AM, [email protected]
>
>
>
>
>
> <[email protected]> wrote:
> > Hi,
>
> > I got an exception when trying to create a Table of the Google
> > Visualization API. I am working in java with GWT in Eclipse.
>
> > I just write : Table matable = new Table();
>
> > The exception is :
> > com.google.gwt.core.client.JavaScriptException: (TypeError):
> > $wnd.google.visualization.Table is not a constructor
>
> > What can make this exception?
>
> > Christophe.
>
> > --
> > 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 
> > athttp://groups.google.com/group/google-visualization-api?hl=en.
>
> --
> Eric Z. Ayers
> Google Web Toolkit, Atlanta, GA USA

-- 
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.

Reply via email to