JavaScript error in visualize.js on AWS


After the default instance setup on EC2 (V6.4.0), a simple sample visualize.js example with an exisiting ad-hoc report failed  (also on jsfiddle).

Caused by a javascript "TypeError: t is null" visualize.js:52:24553 . Actually it should work out of the box, or?


dribbusch's picture
Joined: Nov 15 2012 - 4:02am
Last seen: 1 year 4 months ago

OK, ad-hoc reports are currently not supported. But with basic reports the problem remains. It turns out, that the exception occurs if the code is embedded in an HTML file. In jsfiddle it works as expected.

dribbusch - 3 years 4 months ago

I found the answer here

In section "Testing your JavaScript" is mentioned, "... HTML page containing your Javascript must be accessed through a web server. Opening a static file with a web browser does not properly load the iFrames needed by the script " .



dribbusch - 3 years 4 months ago

0 Answers:

No answers yet