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:

  1. I really like your blog.. very nice colors & theme. Did you design this website yourself or did you hire someone to do
    it for you? Plz reply as I’m looking to design my own blog and would like to know where u got this from.

    kudos

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>