Hello,
I am embedding a report from JasperReports Server using Visualize.js. The report gets embedded only within a height of 400px. This is an inline style which is most likely coming from Visualize.js. Has anyone come across such issues? Is there a way to override these styles?
Thanks,
Teja
1 Answer:
Posted on September 17, 2015 at 11:56am
That inline style you are talking about is probably coming form the report itself and not form visualize; Is the table or object (or page size) of the report set to 400px?
If you want your report to scale of fit to the container (either height or width) you can use the report scaling features of Visualize.js; like:
report = v.report({ resource: "/public/Samples/Reports/AllAccounts", container: "#mydiv", <strong>scale: "container",</strong> .... }
look at this JSFiddle as an example: http://jsfiddle.net/marianol/k8sq1hde/