The second requirement is fixing the domain categorylabel. My dataset columns have labels that are longer than 10 characters. Hence the graph has clipped category labels . I want to be able to set that i want 30 % graph and 70% label. This should not include the ItemCollection.
I have tried the below code
Code: Select all
chartObject.getCategoryPlot().getRangeAxis().setMinorTickCount(3);
//chartObject.getCategoryPlot().getRangeAxis().setRange(0, 20);//FixedAutoRange(20);
//chartObject.getCategoryPlot().getDomainAxis().setCategoryLabelWidthRatio(50);
chartObject.getCategoryPlot().getDomainAxis().setCategoryLabelPositions(
CategoryLabelPositions.UP_90);