Chart not visible while creating report using Visualize.js
I am using visualize.js to render jasper reports, am getting report with images but its not showing the charts. Ниже приведен мой код
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. Пожалуйста, помогите мне. Заранее спасибо
1 ответ
Решение
Я нашел ответ, мы должны дать параметры как массив, как
{["projectKey_2":"5001082"]}