onRender
/**
* Called before generation of chart model to GeneratedChartState.
*
* @param chart
* Chart
* @param icsc
* IChartScriptContext
*/
function beforeGeneration( chart, icsc )
{
var myTitle = chart.getTitle().getLabel().getCaption().getValue();
var title = icsc.getExternalContext().getScriptable().getPersistentGlobalVariable("title")
chart.getTitle().getLabel().getCaption().setValue( BirtDateTime.year(BirtDateTime.today())+ " " + title +" " + myTitle)
}
It appears getPersistentGlobalVariable() is no longer a choice
