TypeError: google.visualization.Dashboard is not a constructor

403 views
Skip to first unread message

senthil raja

unread,
Aug 26, 2015, 12:29:01 PM8/26/15
to Google Visualization API

I have used the following constructor to load the Dashboard 

google.load('visualization', '1.0', {'packages':['controls']});

From yesterday we are facing the issue , the graph not loading with below error

TypeError: google.visualization.Dashboard is not a constructor.


Then we have changed the version from 1.0 to 1.1 temporarily

google.load('visualization', '1.1', {'packages':['controls']});

After that issue resolved.

We would like to know the reason for older version (1.0) why not getting supported.

Thanks,
Senthil

Daniel LaLiberte

unread,
Aug 26, 2015, 1:21:12 PM8/26/15
to Google Visualization API
It is difficult to tell what you are trying to do.  Here is an example that shows how you can use the Dashboard constructor.  http://jsfiddle.net/rjnys187/   Change 1.0 to 1.1 and it works there too.

If you can create a jsfiddle example or post enough of your code that we can see the same problem you are seeing, then we might be able to help more.

--
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 google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/3148d6c8-5afa-4504-a667-a25ea321879d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
dlaliberte@Google.com   5CC, Cambridge MA
daniel.laliberte@GMail.com 9 Juniper Ridge Road, Acton MA
Reply all
Reply to author
Forward
0 new messages