You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’ve been trying to track down a problem with loading of download summary table visualization on abstract pages and I can’t seem to figure it out.
The problem only seems to appear in Google Chrome, on Firefox and Edge all is well.
On Chrome, however, the graph visualizations don’t appear on the abstract pages, most of the time. Clicking on “Reload” will make it appear every now and again, so the issue is intermittent to some extent; but mostly the loader just keeps spinning and it doesn’t appear.
I have tried to track down the issue, and as far as I see, the XHR call to getData works fine, and data is returned without problems, and passed to the correct functions.
The problem appears right at this line:
the call to new google.visulization.DataTable() in EPJS_Stats_GoogleGraph = Class.create(EPJS_Stats,
When I put a “Break” (in the debugger in the browser) on this line, I see that it is reached, and the retrieved data (about downloads) is there in the function, but the browser almost never comes back from this line and reaches no subsequent break points. Sometimes it does come back, reaches the next line, and then stops, and then sometimes, it does keep going to the end and then the graph does display. I tried experimenting with how Google Charts / JSAPI is included/loaded, the version number of the library, but nothing seems to fix it.
The text was updated successfully, but these errors were encountered:
That solves the loading issue in Chrome. It also surfaced the warning from the JavaScript API that the GeoChart requires a Maps API key:
The Map visualization (for Origin of Downloads report) still shows up, for the time being, but this warning means that Google will probably keep up the pressure for us to get an API key (which now requires a method of payment/account on their cloud platform).
I’ve been trying to track down a problem with loading of download summary table visualization on abstract pages and I can’t seem to figure it out.
The problem only seems to appear in Google Chrome, on Firefox and Edge all is well.
On Chrome, however, the graph visualizations don’t appear on the abstract pages, most of the time. Clicking on “Reload” will make it appear every now and again, so the issue is intermittent to some extent; but mostly the loader just keeps spinning and it doesn’t appear.
I have tried to track down the issue, and as far as I see, the XHR call to getData works fine, and data is returned without problems, and passed to the correct functions.
The problem appears right at this line:
line (263):
irstats2/lib/static/javascript/auto/90_irstats2.js
Line 263 in 74ce563
the call to new google.visulization.DataTable() in EPJS_Stats_GoogleGraph = Class.create(EPJS_Stats,
When I put a “Break” (in the debugger in the browser) on this line, I see that it is reached, and the retrieved data (about downloads) is there in the function, but the browser almost never comes back from this line and reaches no subsequent break points. Sometimes it does come back, reaches the next line, and then stops, and then sometimes, it does keep going to the end and then the graph does display. I tried experimenting with how Google Charts / JSAPI is included/loaded, the version number of the library, but nothing seems to fix it.
The text was updated successfully, but these errors were encountered: