Using latest version.
The tick label spacing method doesn’t seem to do anything:
public static void main(String[] args) throws Exception {
final Presentation pres = new Presentation();
final IChart c = pres.getSlides()
.get_Item(0)
.getShapes()
.addChart(
ChartType.ClusteredColumn,
0, 0, 720, 540);
c.getAxes().getHorizontalAxis().setTickLabelSpacing(2);
pres.save(“D:/test.pptx”, SaveFormat.Pptx);
Desktop.getDesktop().open(new File(“D:/test.pptx”));
}
In this example it does not change from 1 to 2 (output attached).
I have another example where the automatic value is 2 but I want it to be 1.
In both cases calling setTickLabelSpacing() doesn’t seem to do anything. Any advice?
Thanks.