Devanand, We are curious to learn more about the error you encountered. It seems to us that calling arrayToDataTable as a constructor should result in any different behavior since what 'this' is inside the arrayToDataTable function shouldn't matter regarding what is returned as a result, except there may be a difference in some browsers. So what browser are you using? Are there other js libraries being loaded in your page that could interfere? There might be something very different going on that we can't tell from the code you posted. Can you put up an example of this problem in a jsfiddle?
On Sun, Dec 21, 2014 at 8:17 AM, Daniel LaLiberte <[email protected]> wrote: > Hi Devanand > > Your call of arrayToDataTable should not be preceded by the "new" > keyword. The error message is confusing and we will try to fix that. > -- Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> - 978-394-1058 [email protected] <[email protected]> 5CC, Cambridge MA [email protected] <[email protected]> 9 Juniper Ridge Road, Acton MA -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout.
