IRotation3D.setRotationY() sets X.
IRotation3D.setRotationX() sets Y.
Not sure how this made it past testing? Output attached.
public static void main(String[] args) throws Exception {
final Presentation pres = new Presentation();
final IChart c = pres.getSlides()
.get_Item(0)
.getShapes()
.addChart(
ChartType.Pie3D,
0, 0, 720, 540);
// Sets X
c.getRotation3D().setRotationY(90);
// Sets Y
c.getRotation3D().setRotationX((byte)40);
pres.save(“D:/test.pptx”, SaveFormat.Pptx);
Desktop.getDesktop().open(new File(“D:/test.pptx”));
}