astha.thorecha Posted November 2, 2015 Share Posted November 2, 2015 I am using Jasper studio 6.1.1.I have some NULL values in the data which is causing error "category series s null " while previewing.I want to display chart with the NULL values,how can I make it possible? Link to comment Share on other sites More sharing options...
hozawa Posted November 2, 2015 Share Posted November 2, 2015 You'll need to convert your nulls to a 0. Link to comment Share on other sites More sharing options...
astha.thorecha Posted November 3, 2015 Author Share Posted November 3, 2015 Thanks for your solution but can you tell me how can I do this?I am still getting error as 'category series name is null' Link to comment Share on other sites More sharing options...
carlos2015 Posted November 3, 2015 Share Posted November 3, 2015 What is your datasource? . If you use MySQL, you can use the function IFNULL(): "SELECT IFNULL(`MyValue`,0), FROM MyTable"See this: http://www.w3schools.com/sql/sql_isnull.asp 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