unficyp Posted July 14, 2015 Share Posted July 14, 2015 Hi,tried to create a pie chart using this tutorial (http://community.jaspersoft.com/wiki/creating-charts-and-datasets-jaspersoft-studio)but with my own dataset using this query:select status_name label, count(*) value from v_project_detail group by status_name[/code] the "Data preview" in the Dataset and Query Dialog shows the correct data but the Charts shows only "Document empty"after clicking on preview.In the chart i put Value -> $F{VALUE}Label -> $F{LABEL}Key -> $F{LABEL}Max slices to Show 10 Console Output:Start Report ExecutionCompiling report......DONEStartingSetting Data Adapter...DONESetting Virtualizer...DONEFilling Report........DONEReport Execution Finished. No errors. How can i find out whats wrong ? thnanks & regardsgerald Link to comment Share on other sites More sharing options...
asimkin Posted July 14, 2015 Share Posted July 14, 2015 Hi,it seems that the report main query does not return data. That is why you get empty document.Try to specify a dummy SQL for the report main query or setup When No Data Type report property to 'All Sections No Detail' Link to comment Share on other sites More sharing options...
unficyp Posted July 14, 2015 Author Share Posted July 14, 2015 No Report Main Query !Thats the problem - fixed now - thanks ! 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