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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-visualization-api/0fabaeb9-b7ee-41b7-9391-312f9af7c30c%40googlegroups.com.