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
: plotHeightHint );
						boTitle.setLeft( bo.getLeft( )
								+ bo.getWidth( )
								- szTitle.getWidth( ) );
						boTitle.setHeight( bo.getHeight( ) );
						boLegend.setWidth( bo.getWidth( ) - szTitle.getWidth( ) );
						break;
					case Anchor.WEST :
						boPlot.setWidth( plotWidthHint < 0 ? ( bo.getWidth( ) - szTitle.getWidth( ) )
								: plotWidthHint );
						boPlot.setHeight( plotHeightHint < 0 ? ( bo.getHeight( ) - boLegend.getHeight( ) )
								: plotHeightHint );
						boTitle.setHeight( bo.getHeight( ) );
						boLegend.setWidth( bo.getWidth( ) - szTitle.getWidth( ) );
						boLegend.setLeft( bo.getLeft( ) + szTitle.getWidth( ) );
						plotLeft = bo.getLeft( ) + szTitle.getWidth( );
						break;
					case Anchor.SOUTH :
					case Anchor.SOUTH_EAST :
					case Anchor.SOUTH_WEST :
						boTitle.setTop( bo.getTop( )
								+ bo.getHeight( )
								- szTitle.getHeight( ) );
						boTitle.setWidth( bo.getWidth( ) );
						break;
					case Anchor.NORTH :
					case Anchor.NORTH_EAST :
					case Anchor.NORTH_WEST :
						plotTop = bo.getTop( )
								+ boLegend.getHeight( )