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