I tried removing that 'new' but with no change in outcome.
The JSON style data (just a couple of data rows) provided to getPCEstate is as follows:
{"cols":[{"id":"", "label":"Department", "pattern":"","type":"string"},{"id":"", "label":"Type", "pattern":"","type":"string"},{"id":"", "label":"Count", "pattern":"","type":"number"}],"rows":[{"c":[{"v":"Assurance"},{"v":"Win 7"},{"v":1519}]},{"c":[{"v":"Assurance"},{"v":"Win XP"},{"v":61}]},{"c":[{"v":"Assurance"},{"v":"Win XP legacy"},{"v":5}]},{"c":[{"v":"Business Process and Management Information"},{"v":"Win 7"},{"v":3}]},{"c":[{"v":"Business Process and Management Information"},{"v":"Win XP"},{"v":7}]}]}
I've also just tried with arrayToDataTable(), and same error, but in that from, would be as follows:
data = google.visualization.arrayToDataTable([
['Department','Type','Count'],
['Assurance','Win 7', 1519],
['Assurance','Win XP', 61],
['Assurance','Win XP legacy', 5],
['Business Process and Management Information','Win 7',3],
['Business Process and Management Information','Win XP',7]
]);