Limit on number of charts on one page?

54 views
Skip to first unread message

Matt W

unread,
Jul 14, 2020, 4:47:49 AM7/14/20
to Google Visualization API
Hi,

I’m noticing that I can only get 10 charts on my page at once before the whole page turns white and doesn’t load (with no error logs)

Here is an example of a working page, with 10 charts
Here is an example of more (with the page not loading)

I am currently running the Visualizer: Tables and Charts Manager for WordPress plugin for ease of access. 

No error logs coming up on the page. 

Daniel LaLiberte

unread,
Jul 14, 2020, 12:12:09 PM7/14/20
to Google Visualization API
There is no limit from the Google Charts side of the equation.  Trying to load your page that is not loading, I don't see that it has made it very far, using the Chrome devtools, looking at the Network tab.    I would guess there is some problem on your server side, but there is no evidence of what that might be on the browser side.

--
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-visualizati...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/bf716a44-794d-4bfb-9a8d-f205ec444f26n%40googlegroups.com.


--

Matt W

unread,
Jul 15, 2020, 4:45:23 AM7/15/20
to Google Visualization API
Hi Daniel, thanks for your response.

I submitted a ticket with the host, but none of the processes generated an error on the server. Here was the response

Neither the apache logs nor the application logs report anything when the problem comes up. Debug mode doesn't show anything, and the browser console remains empty as the page just seems to return an empty result as well.
The process was traced, but nothing problematic came up, as the process appears to exit normally. Without any errors there is not much they can do since nothing appears to be failing as far as the process execution.

I am using the Visualizer: Tables and Charts Manager for WordPress plugin, but they claim its not an issue with their plugin. (Support chat with them found here)

Daniel LaLiberte

unread,
Jul 15, 2020, 9:15:32 AM7/15/20
to Google Visualization API
Looking again at your page that is not loading, there really is nothing being loaded in the browser except for an empty document, no attempt to load either the old jsapi loader or the new gstatic loader.   So I would push back on the server guys to look further.  If they don't have any error log, whatever log they do have might help.  The problem is a complete failure to do much of anything, so if the only thing you are changing is the number of charts, then I would suspect the plugin is the cause.

I doubt it will help, but revisiting the page that loads, I do see that you (via the visualizer plugin) are loading both old jsapi loader and the new loader with:

        <script defer="defer" src='//www.gstatic.com/charts/loader.js'></script>
        <script defer="defer" src='//www.google.com/jsapi'></script>

This is not a good idea, even if it works.  The jsapi loader will always redirect the new loader now, so there is no benefit in loading it, and it might cause confusion in the loader.   So you should point that out to the plugin guys to get them to fix it.

Good luck.


Reply all
Reply to author
Forward
0 new messages