request = new SourceBean("");
} catch (SourceBeanException e1) {
e1.printStackTrace();
}
RequestContainer reqContainer = new RequestContainer();
SpagoBIChartInternalEngine sbcie=new SpagoBIChartInternalEngine();
// Call chart engine
File file=sbcie.executeChartCode(reqContainer, biObject, null, profile);
// read input from file
InputStream is = new FileInputStream(file);
// Get the size of the file