dominikgr Posted July 1, 2010 Share Posted July 1, 2010 Hallo I use ireport, and I have an horizontal Bar Chart, with labels at the left side of each bar.But the space allocated for labels is too short, and labels are not whole plotted.http://img710.imageshack.us/img710/6715/unbenanntznn.jpgHow can i repair this problem .Post Edited by dominikgr at 07/01/2010 07:42 Link to comment Share on other sites More sharing options...
dominikgr Posted July 1, 2010 Author Share Posted July 1, 2010 Ok so I see that i can use JRChartCustomizer, but how can i set the constrans label with ??? Link to comment Share on other sites More sharing options...
dominikgr Posted July 1, 2010 Author Share Posted July 1, 2010 I found nice solution, I increase lines of lines :) public void customize(JFreeChart chart, JRChart jasperChart) { chart.getCategoryPlot().getDomainAxis().setMaximumCategoryLabelLines(3); } 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