Bug 208373 Auto resize Chart to have a single axis without blank
When Chart is within Cross tab, chart axis image should have a single axis only, but there may be much blank in other area. Chart engine should auto resize the image to have the axis with fit size. Meanwhile, report engine should not set size for chart image.
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/factory/Generator.java
/* The following code can cause exceptions with bad script. no meaning
		 * to register the script in prepare until we can make the prepare call work
		 
		 
		 final String sScriptContent = cmRunTime.getScript( );
		if ( sScriptContent != null )
		{
			sh.register( sScriptContent );
		}
		// Call the onPrepare script event function.
		// not supported yet
		/*
		 * ScriptHandler.callFunction( sh, ScriptHandler.ON_PREPARE, cmRunTime,
		 * rtc.getScriptContext( ) );
		 */
		return rtc;
	}
	/**
	 * Builds and computes preferred sizes of various chart components offscreen
	 * using the provided display server.
	 * 
	 * @param ids
	 *            A display server using which the chart may be built.
	 * @param cmDesignTime
	 *            The design time chart model (bound to a dataset).
	 * @param scParent
	 *            A parent script handler that may be attached to the existing
	 *            chart model script handler.
	 * @param bo
	 *            The bounds associated with the chart being built.