Bug 132031 access to chart scripting methods and related documentation
It's very strange that access to chart scipting methods available only from script tab related to whole chart item. This approach is not consistent comparing to how script defined for such report items as table or dataset. That why inside of chart's script tab we see comment out bunch of chart scripting methods. I suggest that every component on chart item that have corresponding scripting methods must have separate script tab with set predefined methods. Beside that it would be nice to have at least some documentation and axamples on this topic.
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/script/ScriptHandler.java
/**
	 * @deprecated Call IChartScriptContext.getLocale() instead. This is kept
	 *             for backward compatibility only.
	 * @return The locale associated with the generation request
	 */
	public final Object jsFunction_getLocale( )
	{
		return lcl;
	}
	/**
	 * @deprecated Note used anymore. This is kept for backward compatibility
	 *             only.
	 * @param eo
	 *            An EMF generated model object to be cloned
	 * @return A cloned instance of the specified EMF generated model object
	 */
	public final Object jsFunction_clone( Object eo )
	{
		if ( !( eo instanceof EObject ) )
		{
			return null;
		}
		return EcoreUtil.copy( (EObject) eo );
	}
	/**
	 * @deprecated Not used anymore. This is kept for backward compatibility
	 *             only.
	 * @param cm
	 */
	public final void setDesignTimeModel( Chart cmDesignTime )