Subsequently I have found that the code works when a registered user logs in. I dont' think this is a bug with the google code, but rather a conflict caused by javascript code that Joomla is adding to the document.onload event. In my situation, javascript code is added when anyone higher than a registered user logs in (Manager, Author, Administrator, etc...). Now using firebug to track this down...
...btw, I can't believe how much js code is now attached to a page! On Mar 30, 4:04 pm, ES <[email protected]> wrote: > Hi, I have the same problem. > The only difference is that here doesn't matter if I'm logged or not: there > is the same error.. > > I think the problem is in: > > // Define a table > var tabella = new google.visualization.ChartWrapper({ > 'chartType': 'Table', > 'containerId': 'tab2', > 'options': { > 'width': '300px' > } > }); > > because the error is written in the table div, and the controls and the > PieChart are represented in the right way. > > In Chrome the error is "e[jd] is not a function" > In Firefox the error is "Object [object Object] has no method 'draw'" > > I use Joomla 2.5. > > Could you help us? > > Many thanks! > ES > > Il giorno giovedì 29 marzo 2012 22:40:20 UTC+2, T-Roy ha scritto: > > > > > > > Hello, > > > I duplicated the dashboard javascript code provided here: > > >http://code.google.com/apis/chart/interactive/docs/gallery/controls.html > > > within a Joomla article as an experiment and had no problems, > > except... > > > ...except after I logged into the joomla site. Now two error messages > > are shown when viewing the Joomla article: > > > 1. Gender Selection Filter visualization error: "One or more > > participants failed to draw()" > > > 2. Table visualization error: "e[ld] is not a function" > > > I expect both errors are related to the same cause and cascade, and > > I'm guessing there is a pretty simple explanation why the example > > works when I'm not logged in. > > > Any ideas out there? > > > Kind thanks! T-Roy- Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
