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.reportitem/src/org/eclipse/birt/chart/reportitem/ChartReportItemUtil.java
public static final String PROPERTY_CHART = "chart.instance"; 
	public static final String PROPERTY_SCALE = "chart.scale"; 
	public static final String PROPERTY_SCRIPT = "script"; 
	public static final String PROPERTY_ONRENDER = "onRender"; 
	public static final String PROPERTY_OUTPUT = "outputFormat"; 
	/**
	 * Checks current chart is within cross tab.
	 * 
	 * @param chartHandle
	 *            the handle holding chart
	 * @return true means within cross tab, false means not
	 */
	public static boolean isChartInXTab( DesignElementHandle chartHandle )
	{
		DesignElementHandle container = chartHandle.getContainer( );
		if ( container instanceof ExtendedItemHandle )
		{
			String exName = ( (ExtendedItemHandle) container ).getExtensionName( );
			if ( ICrosstabConstants.CROSSTAB_CELL_EXTENSION_NAME.equals( exName ) )
			{
				return true;
			}
		}
		return false;
	}
	/**
	 * Returns the element handle which can save binding columns the given
	 * element
	 * 
	 * @param handle