JS Error while embedding chart with hyperlinks using Visualize.js

Here's the HTML file am testing on a separate tomcat server -

<html>
    <head>
        <meta charset="utf-8">
        <title>Exp 02 - Embed Visualize.js</title>
        <script type="text/javascript" src="http://<ip-address>:8080/jasperserver-pro/client/visualize.js?"></script>
        <Script type="text/javascript">
            visualize({
                auth: {
                    name:"joeuser",
                    password:"joeuser",
                    organization:"organization_1"
                }
            }, function(v){
                var report=v.report({
                    resource : "/public/Samples/Reports/cti02link",
                    container:"#container",
                    error: function(err) {
                        alert(err.message);
                    }
                });
            });
        </script>
    </head>
    <body>
        <div id="container">
        </div>
    </body>
</html>

Here's the error am seeing: ReferenceError: highchartsOptions is not defined -

Without the hyperlinks configured on this chart in Jaspersoft Studio, the same report runs just fine. Here's a screenshot of the hyperlink configuration in Jasperspft Studio -

Your hyelp in resolving this issue is highly appreciated! Thanks!

raj_d's picture
2
Joined: Nov 17 2014 - 11:55am
Last seen: 8 years 10 months ago

Hi Experts,

Really appreciate your help in resolving this!

Thanks!

raj_d - 8 years 10 months ago

0 Answers:

No answers yet
Feedback