Can you try reproducing this by repeatedly calling draw() without the
server call?

Thanks,

MC Get Vizzy

On Wed, Feb 22, 2012 at 11:28 PM, Dale K <[email protected]> wrote:

> Hey all,
>
> The company I work for is using the Visualization API to display
> client data and statistics in chart form. We have built our charts to
> interact with clicks. For example, clicking a column representing a
> certain user will:
> 1) Return the row number R that the clicked column belongs to the
> select handler
> 2) In the select handler, search the DataTable at row R for that
> user's id in column C
> 3) In the select handler, Make an AJAX request to our servers using
> user's id
> 4) Once the data is returned, we create a new DataTable, add our data
> to it, and re-draw the chart
>
> THE PROBLEM: This interaction will sometimes cause a "Permission
> Denied" error in IE (specifically IE9) as a pop-up box. The chart will
> actually finish drawing in spite of this error, but it would be
> unprofessional to have this error displayed to our clients using IE9.
> I'm unable to catch the error with a catch statement either.
> The error never happens when the chart first loads, only when 'drilled
> down' via interaction or 'drilling back up' via a "Back" button we
> have (We keep track of a chart's state via a "controller" type class.
> The select handler gets information from the controller class)
>
> Because the VisAPI.js is minified, I'm unable to see what exactly is
> causing this problem, but I've managed to decipher some of the code by
> debugging. The errors I've seen are:
> (all from the file: format+en,default,corechart.I.js)
>
> line 482, character 54:
> minified: return this.fh[Db](a);
> unminified (as much as possible): return this.fh['createElement']
> ("v:rect");
>
> line 481, character 284:
> min: qa(c[lb], a);
> un: qa(c["firstChild"], "nameOfColumnClickedInSelectHandler");
>
> line 583: character 16:
> min: return a&&a[Xc]?a[Xc][Ac](a):1;
> un: return a&&a["parentNode"]?a["parentNode"]["removeChild"](a):1;
>
> IE9's debugger/object inspection tool shows objects like a or fh's
> properties to have values of "Access is denied".
> I'm not sure what I'm doing wrong. I've been searching for a few days
> and any possible symptoms I've found have been ruled out.
> We server off of an HTTPS server so it isn't a HTTP<-->HTTPS problem.
> The first error seems like a problem creating a v:rect during the
> draw. Second seems related to the select handler, and I have no idea
> what's happening in the third.
>
> Does anyone have any suggestions for this? I'm absolutely stuck on
> what is causing this issue!
> (I've seen a similar issue at
>
> http://code.google.com/p/google-visualization-api-issues/issues/detail?id=483&can=1&q=permission%20denied&colspec=ID%20Type%20Status%20Priority%20Milestone%20Owner%20Summary%20Stars
> but it doesn't offer a solution, and I do not believe we have the same
> problem with our firewall)
>
> --
> 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.
>
>

-- 
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.

Reply via email to