akshayk954 Posted November 14, 2016 Share Posted November 14, 2016 I am using Jaspersoft Studio for creating charts and exporting purpose. I am passing data to the report through bean instead of database.So for creating a chart, i have two Array Lists, one for category and one for its respective count. When i use arraylist in the category expression, it gives a casting error as "java.lang.ClassCastException: java.util.ArrayList cannot java.lang.Comparable.So can anyone help me for solving this or suggesting an alternative to create charts through Java ArrayLists? Link to comment Share on other sites More sharing options...
dhruvil.27392 Posted November 14, 2016 Share Posted November 14, 2016 Check this reference blog I also had similar problemhttps://issue-and-solution.blogspot.co.uk/2016/08/multiple-xy-line-chart-in-jasper.html 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