We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c33b99 commit 1cb2e55Copy full SHA for 1cb2e55
js/render-google.js
@@ -14,9 +14,18 @@ var isResizeRequest = false;
14
var rendered_charts = [];
15
16
function renderChart(id) {
17
+
18
+ if ( ! all_charts || 0 === Object.keys( all_charts ).length ) {
19
+ return;
20
+ }
21
22
var chart = all_charts[id];
23
var hasAnnotation = false;
24
25
+ if ( ! chart ) {
26
27
28
29
// re-render the chart only if it doesn't have annotations and it is on the front-end
30
// this is to prevent the chart from showing "All series on a given axis must be of the same data type" during resize.
31
// remember, some charts do not support annotations so they should not be included in this.
0 commit comments