I took a look at the link you sent me, and I'm stumped.  Scanning over the 
code, the only substantive difference I could identify between the logged 
in/logged out versions of the page was a snippet of mootools code (as you 
pointed out), but it works on elements that don't exist on your page, so it 
shouldn't be having any effect at all.  The page is throwing errors not 
related to the API, however, so perhaps resolving those will clear up this 
issue.

On Saturday, March 31, 2012 9:49:47 AM UTC-4, T-Roy wrote:
>
> 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 view this discussion on the web visit 
https://groups.google.com/d/msg/google-visualization-api/-/QTrZK-rbfaQJ.
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.

Reply via email to