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
break;
				}
				boPlot.setLeft( plotLeft );
				boPlot.setTop( plotTop );
				boLegend.set( 0, 0, szLegend.getWidth( ), szLegend.getHeight( ) );
				break;
			case Position.RIGHT :
			case Position.OUTSIDE :
				boPlot.setWidth( plotWidthHint < 0 ? ( bo.getWidth( ) - szLegend.getWidth( ) )
						: plotWidthHint );
				boPlot.setHeight( plotHeightHint < 0 ? ( bo.getHeight( ) - szTitle.getHeight( ) )
						: plotHeightHint );
				boLegend.setTop( bo.getTop( ) );
				boLegend.setWidth( szLegend.getWidth( ) );
				boLegend.setHeight( bo.getHeight( ) - szTitle.getHeight( ) );
				plotLeft = bo.getLeft( );
				plotTop = bo.getTop( );
				switch ( titleAnchor.getValue( ) )
				{
					case Anchor.EAST :
						boPlot.setWidth( plotWidthHint < 0 ? ( bo.getWidth( )
								- boLegend.getWidth( ) - szTitle.getWidth( ) )
								: plotWidthHint );
						boPlot.setHeight( plotHeightHint < 0 ? bo.getHeight( )
								: plotHeightHint );
						if ( szTitle.getWidth( )
								+ boPlot.getWidth( )
								+ boLegend.getWidth( ) > bo.getWidth( ) )
						{
							boLegend.setWidth( bo.getWidth( )