Re: Adding DataView() to program using dashboard() and ChartWrapper() fails in https://www.google.com/uds/api/visualization/... /format+en,default,controls.I.js

36 views
Skip to first unread message

asgallant

unread,
Dec 31, 2012, 1:16:49 PM12/31/12
to google-visua...@googlegroups.com
That error could be caused by any number of things (none of which are likely to be simply adding a DataView to your code).  If you can post your code, I'll take a look and see what might be going on.

On Monday, December 31, 2012 1:51:38 AM UTC-5, Ian Worthington wrote:
I'm getting an javascript error "a is undefined" thrown from https://www.google.com/uds/api/visualization/1.1/e04a81b4460946146f168bf2e3919d19/format+en,default,controls.I.js

This appears to generated from google.load('visualization', '1', ... and has only started since I added a

var dofview = new google.visualization.DataView( dofdata );

call to my program.

My program uses ChartWrapper() (which, iiuc autoloads any required packages) and Dashboard() (which does seem to require an explicit package load).  I've tried various package combinations in the .load() without managing to fix the problem, the most recent version being:

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

Any ideas about how to fix this error?

Ian

Reply all
Reply to author
Forward
0 new messages