Changing the code as the names of the long category are shown and used, I see the diagram below. It seems to work with complex rendering. Is this the desired effect?BarChartDemo1
private static JFreeChart createChart(CategoryDataset dataset) {
...
domainAxis.setMaximumCategoryLabelLines(2);
...
}
