Cannot read property ‘Qa’ of undefined error for WordTree

Cannot read propertyThis is just for colleagues that has experience the following error. I was not able to find any post in the web and would like to share the solution.

The error is Cannot read property ‘Qa’ of undefined or Cannot read property ‘Pu’ of undefined and it appears in google.visualization.WordTree.

After some time for analyzing the problem and playing with data and settings I found that the chart require the root node to be with ID 0.

An demo example is available on jsFiddle  and here is  the embeded code:

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Captcha Captcha Reload