It is difficult to guess why you are seeing any of these errors without 
details of your data and how it is being processed by your code.  The Table 
chart itself is very simple, but there have been a few changes in recent 
versions, especially regarding the safety of html that might be derived 
from your data.

You should also switch all of the mechanisms for loading to use the new 
loader.  See instructions at:   
https://developers.google.com/chart/interactive/docs/basic_load_libs#update-library-loader-code

But updating your loader will probably not fix these problems.  If can 
point me at your web site, I can have a look.   Email me directly if you 
wish.

On Wednesday, May 20, 2020 at 9:39:43 AM UTC-4, Claudio wrote:
>
> Hi,
> I'm managing some old sites, done by others, that use the Google Chart 
> library to draw Tables and Charts.
> Charts still work, but the Tables are not working anymore.
> I think something changed this month because some days ago I'm sure the 
> sites were working.
> These are sites that have been running for 5-6 years.
> Because the problem is on all sites and on many of them the data have not 
> changed this month I think that the problem is with the version of the 
> library.
>
>
> I can see that the code to load the library is:
>
> google.load('visualization', '1.0', {'packages':['controls', 
> "corechart"]});
> google.setOnLoadCallback(drawDashboard);
>
> And I have this error:
>
> --> Table has no columns
>
> The loaded version of the library is 48.1.
>
>
> Reading the Google documentation I've seen that I can load another version 
> of the library with this code:
>
> google.load('visualization', '47', {'packages':['controls', 'corechart']});
> google.setOnLoadCallback(drawDashboard);
>
> but with this version I have the  same error: "Table has no columns".
>
> With the version 46  I can see the rows of the tables but the filter of 
> the table generates the error:
> jsapi_compiled_format_module.js:45 Uncaught TypeError: Array.prototype.map 
> called on null or undefined
>
> With the version 45.2 I can see the rows of the tables but I have the 
> error:
> "Maximum call stack size exceeded".
>
>
> So the problems are:
>
> - Why the previous versions of the library doesn't work?
>
> - The right way to load the library is with the command:
>
> google.load('visualization', '47', {'packages':['controls', 'corechart']});
> or the command:
> google.charts.load('47', {packages: ['controls', 'corechart']}); ?
>
>
> Thank you for your help
>
> Claudio Battaglino
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/8caa4a43-8752-4943-9535-ab6e94663377%40googlegroups.com.

Reply via email to