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
layoutBlock( xs, cm, tb.getBounds( ), tb.getInsets( ), cbl, rtc );
		}
		
		for ( Iterator itr = pl.getChildren( ).iterator( ); itr.hasNext( ); )
		{
			Block cbl = (Block) itr.next( );
			layoutBlock( xs, cm, pl.getBounds( ), pl.getInsets( ), cbl, rtc );
		}
	}
	private void layoutBlock( IDisplayServer xs, Chart cm, Bounds bo,
			Insets ins, Block block, RunTimeContext rtc ) throws ChartException
	{
		if ( !block.isSetAnchor( ) )
		{
			return;
		}
		Bounds cbo = block.getBounds( );
		if ( cbo == null )
		{
			cbo = BoundsImpl.create( 0, 0, 0, 0 );
		}
		else if ( cbo.getLeft( ) != 0
				|| cbo.getTop( ) != 0
				|| cbo.getWidth( ) != 0
				|| cbo.getHeight( ) != 0 )
		{
			return;
		}
		bo = bo.adjustedInstance( ins );
		Anchor anchor = block.getAnchor( );