See this page, for example:
Depending on a browser we see one of errors as follows:
Uncaught ReferenceError: Hh is not defined
(in Chrome)TypeError: chart.draw is not a function
(in Firefox)
JSFiddle examples linked from the documentation and attempts to work with charts manually fail with the same diagnostics.
Is there any way to work around this?
See this page, for example: https://developers.google./chart/interactive/docs/quick_start
Depending on a browser we see one of errors as follows:
Uncaught ReferenceError: Hh is not defined
(in Chrome)TypeError: chart.draw is not a function
(in Firefox)
JSFiddle examples linked from the documentation and attempts to work with charts manually fail with the same diagnostics.
Is there any way to work around this?
Share Improve this question asked Feb 26, 2016 at 9:57 Alexander GladyshAlexander Gladysh 41.5k33 gold badges110 silver badges164 bronze badges 2- groups.google./forum/#!topic/google-visualization-api/… Seems to be a recent breakage. – Alexander Gladysh Commented Feb 26, 2016 at 10:00
- See also: github./google/google-visualization-issues/issues/2182 – Alexander Gladysh Commented Feb 26, 2016 at 13:50
1 Answer
Reset to default 13Seems to be a bad release (v44). Until it is fixed, the workaround is to explicitly specify previous version of the API to load instead of using current:
- google.charts.load('current', {'packages':['gantt']});
+ google.charts.load('43', {'packages':['gantt']});
Please note that this will indeed freeze your charts version and you will not get new features and bugfixes unless you will revert the changes.