cameron.urquhart_1 Posted November 20, 2019 Share Posted November 20, 2019 Hi,Currently I have a number of graphs, and I am basing these off a report made using different software. Along the bottom I have dates (which are actually stored as strings) however I am showing a range of three months, meaning there's about 90 dates along the bottom, and they're very overlapped and unreadable. Is there a way to stagger which ones are displayed?I tried implementing this bit of XML: "<property name="net.sf.jasperreports.chart.range.axis.tick.interval" value="1"/>" which seems to be the most common answer online for how to approach this, however when I include this, for any number put in the 'value' section, my x-axis remains the same, and the values on my y-axis dissapears completely.If anyone has any idea how to approach this it would be much appreciated.Kind Regards,Cameron Link to comment Share on other sites More sharing options...
C-Box Posted November 22, 2019 Share Posted November 22, 2019 You will have to implement a custom ChartCustomizer for that. I've done something similar several years ago when I had too much dates overlapping on x-axis and I just wanted to display some of them (e.g.) weekly but without loosing the tick marks itself.So the blog entries from MDahlmann could probabely help! :-)https://mdahlman.wordpress.com/2011/04/17/chart-customizers-2/ or https://mdahlman.wordpress.com/2010/08/18/chart-customizers-1/hth + regardsC-Box 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