Chart is missing while creating report using Visualize.js

Hi am using Visualize.js to render  jasper reports, am getting report with images but its not showing the charts. Given below is my code

 

visualize({
server:"http://************/reportservice",
auth:{
name:"*****",
password:"****"
}
},function(v){
var report=v.report({
server:"http://***********/reportservice",
resource:"/organizations/Organization*******Projectboard3",
container:"#container",
});
report.params({
"projectKey_2":"5001082",
})
report.run();
},function(err){
alert(err.message);
}
);
 
Do i need to include any js other than Visualize.js to render the charts. Please help me. Thanks in Advance
 
anoopllknpy's picture
Joined: Oct 19 2015 - 7:28am
Last seen: 6 years 1 month ago

Interesting, if you are getting images then you should be getting the charts as well..

Is there any error in your Javascript console?

ernestoo - 6 years 9 months ago

Its working... i forgot to give parameters as array thats why its not showing charts. Anyways thank you for your feed back

anoopllknpy - 6 years 9 months ago

@ernestoo i have another doubt. If we give server details and authenrtication information in js anyone can read it and access the server

. So is there any way to prevent this rather than using SSO tocken

anoopllknpy - 6 years 9 months ago

0 Answers:

No answers yet
Feedback