Jump to content
We've recently updated our Privacy Statement, available here ×

JS Error while embedding chart with hyperlinks using Visualize.js


raj_d

Recommended Posts

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>[/code]

 

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

converted-file.png.73fd7f3069dd0d108eee0a4592e8bcc8.png

 

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 -

converted-file.png.9ca386e34755142c2995a7c44441d164.png

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

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...