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
{
			switch ( plotAnchor.getValue( ) )
			{
				case Anchor.EAST :
					plotAnchor = Anchor.WEST_LITERAL;
					break;
				case Anchor.NORTH_EAST :
					plotAnchor = Anchor.NORTH_WEST_LITERAL;
					break;
				case Anchor.SOUTH_EAST :
					plotAnchor = Anchor.SOUTH_WEST_LITERAL;
					break;
				case Anchor.WEST :
					plotAnchor = Anchor.EAST_LITERAL;
					break;
				case Anchor.NORTH_WEST :
					plotAnchor = Anchor.NORTH_EAST_LITERAL;
					break;
				case Anchor.SOUTH_WEST :
					plotAnchor = Anchor.SOUTH_EAST_LITERAL;
					break;
			}
		}
		switch ( lgPos.getValue( ) )
		{
			case Position.INSIDE :
				boPlot.setWidth( plotWidthHint < 0 ? bo.getWidth( )
						: plotWidthHint );
				boPlot.setHeight( plotHeightHint < 0 ? ( bo.getHeight( ) - szTitle.getHeight( ) )
						: plotHeightHint );