kduchacek Posted November 1, 2021 Share Posted November 1, 2021 Hi,Is there any option to display "0 Data Message in HTML5 Chart" when the result set contails only 0's.I would like to find the solution similar to: https://community.jaspersoft.com/wiki/display-no-data-message-html5-chart-if-subdataset-returns-empty-result#Use_case My dataset is below and I would like to display costs in one pie chart and values in the second pie chart (I need to keep order because of sync color between two charts etc,)project name cost valueproject1 0 15project2 0 14 Thanks in Advance. Link to comment Share on other sites More sharing options...
yama818 Posted November 7, 2021 Share Posted November 7, 2021 We were able to achieve the following images.- Display image 1 (with Cost data)- Display image 2 (without Cost data)- Design image 1 (Cost on the left, Value on the right)- Design image 2 (Cost dataset setting)Set '$F{cost}>0' for 'Increment exception'.* I've omitted the screenshot, but I've set up an expression in 'chart.events.load' according to the site you referenced.I hope this is useful to you. 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