int rows = da.getRowDescriptions().length;
tEnv.addObjRelation("ROWAMOUNT", new Integer(rows));
tEnv.addObjRelation("COLAMOUNT", new Integer(cols));
SOfficeFactory SOF = SOfficeFactory.getFactory( (XMultiServiceFactory)Param.getMSF());
Object stock = SOF.createDiagram(xChartDoc,"StockDiagram");
tEnv.addObjRelation("STOCK",stock);
Object bar = SOF.createDiagram(xChartDoc,"BarDiagram");
tEnv.addObjRelation("BAR",bar);
Object line = SOF.createDiagram(xChartDoc,"XYDiagram");
tEnv.addObjRelation("LINE",line);
Object stack = SOF.createDiagram(xChartDoc,"LineDiagram");
tEnv.addObjRelation("STACK",stack);
return tEnv;
} // finish method getTestEnvironment