final WrapperExpressionRuntime runtimeWrapper = new WrapperExpressionRuntime();
runtimeWrapper.update(null, getRuntime());
legacyDataRowWrapper.setParent(getDataRow());
try
{
final BSFManager interpreter = new BSFManager();
interpreter.declareBean("chart", originalChart, JFreeChart.class); //$NON-NLS-1$
interpreter.declareBean("runtime", runtimeWrapper, ExpressionRuntime.class); //$NON-NLS-1$
interpreter.declareBean("dataRow", legacyDataRowWrapper, DataRow.class); //$NON-NLS-1$
final Object o = interpreter.eval
(postProcessingLanguage, "expression", 1, 1, postProcessingScript); //$NON-NLS-1$
if (o instanceof JFreeChart)
{
return (JFreeChart) o;
}