Jump to content

Recommended Posts

Posted

Hi!

I'm new to visualize js, i am following the visualize js video tutorials 

and not getting a simple report to display. 

I have checked URL = http://localhost:8080/jasperserver-pro/client/visualize.js is showing visualize.js file.

Output container showing :   Loading.....

HTML :

    <script>http://localhost:8080/jasperserver-pro/client/visualize.js</script>
    <div id="container">Loading.....<div>

JavaScript :

    visualize({
           auth: {
              name: "jasperadmin",
              password: "jasperadmin"
            }
          }, function(v) {

            var report = v.report({
            resource: "/public/Samples/Reports/9.CustomerDetailReport",
            container: "#container",
            params: {"customerId": [4021]}
            });
          });

 

 

 

 

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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...