Bug 188235 [Regression]Chart legend position is incorrect
Steps to reproduce: 1. Set plot width = 150; height = 150; 2. Set legend position = right; Expected result: Legend is in the right side of plot. Actual result: Legend position is not plot left offset + plot width; but only plot width. So plot and legend are overlapped together.
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/internal/layout/LayoutManager.java
/**
 * A default layout policy implementation
 */
public final class LayoutManager
{
	/**
	 * The constructor.
	 * 
	 * @param _blRoot
	 */
	public LayoutManager( Block _blRoot )
	{
	}
	private void doLayout_tmp( IDisplayServer xs, Chart cm, Bounds boFull,
			RunTimeContext rtc ) throws ChartException
	{
		final boolean isRightToLeft = rtc.isRightToLeft( );
		Block bl = cm.getBlock( );
		bl.setBounds( boFull );
		Insets ins = bl.getInsets( );
		Bounds bo = boFull.adjustedInstance( ins );
		Legend lg = cm.getLegend( );
		Plot pl = cm.getPlot( );
		TitleBlock tb = cm.getTitle( );
		Size szTitle = ( !tb.isVisible( ) ) ? SizeImpl.create( 0, 0 )
				: tb.getPreferredSize( xs, cm, rtc );
		Bounds boPlot = pl.getBounds( );
		Bounds boLegend = lg.getBounds( );