yeah, for example, I want to have 100 horizontal bars in the Horizontal Stacked Bars Chart.
When they show up, each bar is really thin (don't look good).
How do I tell each bar to keep the minimum or prefered size?
Also, category labels (my labes are little bit long) are overlapped.
How do I avoid this?
Thanks in advance!
Regards,
Q
how to deal with 100+ bars in Horizontal Stacked Bar Chart?
I´ve got the same problem - i need to display around 50 bars. The only thing that worked for me is to use vertical labels and smaller font type. I would prefer a solution that allows to define wich labels are shown but i guess there is nothing like that - am i wrong?
CategoryAxis domainAxis = plot.getDomainAxis();
Font xFont = new Font("Arial", Font.TRUETYPE_FONT,6);
domainAxis.setTickLabelFont(xFont);
domainAxis.setCategoryLabelPositions(CategoryLabelPositions.UP_90);
CategoryAxis domainAxis = plot.getDomainAxis();
Font xFont = new Font("Arial", Font.TRUETYPE_FONT,6);
domainAxis.setTickLabelFont(xFont);
domainAxis.setCategoryLabelPositions(CategoryLabelPositions.UP_90);