Google Charts are broken with Cannot read propert '___closure_events_fn_NUMBER' of null

35 views
Skip to first unread message

Siddharth Dalal

unread,
Jun 8, 2017, 12:01:54 PM6/8/17
to Google Visualization API
This morning a customer of ours reported that google charts are broken: See example here: 

Same thing is happening on our site too:

Thanks!
Sidd

Siddharth Dalal

unread,
Jun 8, 2017, 12:14:16 PM6/8/17
to Google Visualization API
More details:

- Rolling back to 45 (which I'm going to roll out on the public sites fixes it).
- It only seems to happen when more than one chart is loaded

Daniel LaLiberte

unread,
Jun 8, 2017, 1:13:52 PM6/8/17
to Google Visualization API
Hi Sidd,

I'm not seeing a problem now, though I don't know where to look on the advisorhub.com site.  Can you point to a page where there is a problem?  Were you using 'current' before changing to '45'?

If you are calling google.charts.setOnLoadCallback more than once, be sure you call it only *after* the corresponding google.charts.load call.

--
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 google-visualization-api+unsub...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/39653a1b-9af4-466b-8b11-f4f64225767a%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--

Siddharth Dalal

unread,
Jun 8, 2017, 1:20:26 PM6/8/17
to google-visua...@googlegroups.com
I rolled them back to 45. I'll setup a demo for you a little bit to show you the error.

On Thu, Jun 8, 2017 at 1:13 PM, 'Daniel LaLiberte' via Google Visualization API <google-visua...@googlegroups.com> wrote:
Hi Sidd,

I'm not seeing a problem now, though I don't know where to look on the advisorhub.com site.  Can you point to a page where there is a problem?  Were you using 'current' before changing to '45'?

If you are calling google.charts.setOnLoadCallback more than once, be sure you call it only *after* the corresponding google.charts.load call.
On Thu, Jun 8, 2017 at 12:14 PM, Siddharth Dalal <si...@chartiq.com> wrote:
More details:

- Rolling back to 45 (which I'm going to roll out on the public sites fixes it).
- It only seems to happen when more than one chart is loaded


On Thursday, June 8, 2017 at 12:01:54 PM UTC-4, Siddharth Dalal wrote:
This morning a customer of ours reported that google charts are broken: See example here: 

Same thing is happening on our site too:

Thanks!
Sidd

--
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 google-visualization-api+unsubscr...@googlegroups.com.



--

--
You received this message because you are subscribed to a topic in the Google Groups "Google Visualization API" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-visualization-api/fmdlGnRAizM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-visualization-api+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--

Siddharth Dalal
Product Manager
Portals and Widgets
ChartIQ
p:800-821-8147
w:www.chartiq.com  e: si...@chartiq.com

Siddharth Dalal

unread,
Jun 8, 2017, 1:36:38 PM6/8/17
to Google Visualization API
Here is a demo site to show the error: http://demo.chartiq.com/widgets/symphonyqa.html

Daniel LaLiberte

unread,
Jun 8, 2017, 2:11:43 PM6/8/17
to Google Visualization API
I see the error, but I can't tell why it is happening.  It is handling a resize event, and it appears the element it is trying to detach event handlers from is missing (null).   Perhaps that is enough of a clue about what is happening.  You may be able to work around this by making sure the elements associated with charts remain in existence throughout the life of the chart, and that ids are not used more than once.

Nothing was changed recently except the loader, so perhaps this is not really a new problem, but the timing of how charts are loaded has changed such that a previously unexposed timing problem is now exposed.  

--
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 google-visualization-api+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Siddharth Dalal

unread,
Jun 8, 2017, 2:25:13 PM6/8/17
to Google Visualization API
The ids are only used once and the elements stay on the page for the life of the chart. However, the elements may not all load simultaneously. Each element loads independently and uses requirejs to require the google chart library.


On Thursday, June 8, 2017 at 2:11:43 PM UTC-4, Daniel LaLiberte wrote:
I see the error, but I can't tell why it is happening.  It is handling a resize event, and it appears the element it is trying to detach event handlers from is missing (null).   Perhaps that is enough of a clue about what is happening.  You may be able to work around this by making sure the elements associated with charts remain in existence throughout the life of the chart, and that ids are not used more than once.

Nothing was changed recently except the loader, so perhaps this is not really a new problem, but the timing of how charts are loaded has changed such that a previously unexposed timing problem is now exposed.  
On Thu, Jun 8, 2017 at 1:36 PM, Siddharth Dalal <si...@chartiq.com> wrote:
Here is a demo site to show the error: http://demo.chartiq.com/widgets/symphonyqa.html

On Thursday, June 8, 2017 at 1:20:26 PM UTC-4, Siddharth Dalal wrote:
I rolled them back to 45. I'll setup a demo for you a little bit to show you the error.

--
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 google-visualization-api+unsub...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.



--
Reply all
Reply to author
Forward
0 new messages