Bug 211773 Legend entries overlap
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/render/BaseRenderer.java
dBaseX + lih.getLeft( ),
										dBaseY + lih.getTop( ),
										bo.getHeight( ),
										Orientation.VERTICAL_LITERAL );
							}
						}
					}
				}
				else
				{
					throw new ChartException( ChartEnginePlugin.ID,
							ChartException.RENDERING,
							"exception.illegal.legend.direction", 
							new Object[]{
								d.getName( )
							},
							Messages.getResourceBundle( rtc.getULocale( ) ) );
				}
			}
			else if ( o.getValue( ) == Orientation.HORIZONTAL )
			{
				if ( bPaletteByCategory )
				{
					SeriesDefinition sdBase = null;
					if ( cm instanceof ChartWithAxes )
					{
						
						final Axis axPrimaryBase = ( (ChartWithAxes) cm ).getBaseAxes( )[0];
						if ( axPrimaryBase.getSeriesDefinitions( ).isEmpty( ) )
						{