Areport Posted June 16, 2015 Share Posted June 16, 2015 Hello, in the new jaspersoft 6.1 it is not possible to view HTML 5 charts, if the corresponding data set returns 0 rows.In that case the loading popup of the JasperReport Server doesn't disappear because of an JavaScript error.Uncaught TypeError: Cannot read property 'length' of undefinedThese reports were working in JS 6.0. Is there any "No Data" porperty for charts? Or is it bug in JS 6.1?Best regards Link to comment Share on other sites More sharing options...
srang Posted August 17, 2015 Share Posted August 17, 2015 I am having this problem as well in jasper studio 6.1 Link to comment Share on other sites More sharing options...
nidsbagaria Posted September 4, 2015 Share Posted September 4, 2015 facing the same issue..seems to be a bug in jasper 6.1..any work around for it?? Link to comment Share on other sites More sharing options...
Areport Posted September 7, 2015 Author Share Posted September 7, 2015 Hopefully it is fixed in the next release. Link to comment Share on other sites More sharing options...
nidsbagaria Posted November 2, 2015 Share Posted November 2, 2015 This is solved by adding following print when expression to charts:($V{REPORT_COUNT} > new Integer(0)) Link to comment Share on other sites More sharing options...
beekerc69 Posted December 1, 2015 Share Posted December 1, 2015 i have the same problem in Studio 6.1adding the above code to Print When did not fix it Link to comment Share on other sites More sharing options...
santosh.audi19 Posted March 4, 2016 Share Posted March 4, 2016 Solution for the Issue "when dataset returns zero rows."Hi Everyone , There is a Issue with Jasper HTML 5 chart in Clarity 14.3 version .ISSUE:- When you run a Report which has PIE Chart but the select Project dosent has Data in it , it means PIE chart has Zero Records then The Report will continously show "Please Wait" Loading Window, this wont stop untill you click on cancel.Solution for this Issue :-1)Use your HTML 5 Chart in sub report2) Put some Print when Expression on the Report ( like ex:- $F{ProjectID} !=null ) , so when there are no records your PIE wont appear in the reportI have faced the Issue in 14.3 , after Implementing above Solution to my PIE Chart , now its working for meHope this helps all.Regards,Santosh Link to comment Share on other sites More sharing options...
joseng62 Posted July 12, 2016 Share Posted July 12, 2016 The below print when expression worked for me. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now