try {
oChart = (XTableChart) (UnoRuntime.queryInterface(
XTableChart.class, ((XNameAccess)UnoRuntime.queryInterface(
XNameAccess.class, oCharts)).getByName("Example")));
XEmbeddedObjectSupplier oEOS = (XEmbeddedObjectSupplier)
UnoRuntime.queryInterface(XEmbeddedObjectSupplier.class, oChart);
XInterface oInt = oEOS.getEmbeddedObject();
XChartDocument xChart = (XChartDocument) UnoRuntime.queryInterface(
XChartDocument.class,oInt);
XDiagram oDiag = (XDiagram) xChart.getDiagram();
System.out.println("Change Diagramm to 3D");
XPropertySet oCPS = (XPropertySet)UnoRuntime.queryInterface(