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 undefined
These 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
3 Answers:
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 report
2) 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 report
I have faced the Issue in 14.3 , after Implementing above Solution to my PIE Chart , now its working for me
Hope this helps all.
Regards,
Santosh
I am having this problem as well in jasper studio 6.1
facing the same issue..seems to be a bug in jasper 6.1..any work around for it??
Hopefully it is fixed in the next release.
The below print when expression worked for me.