Bug 197245 Interactivity in Gantt series doesn't work[13]
Description: Inconsistent behaviors occur when (Y) Series and Legend Interactivity [Series Color By: Value Series] Build number: 2.2.1.v20070720-0630 Steps: 1. Create a Gantt Chart, Set Color By: Value Series. 2. Set Interavtivity Event: Mouse Click, Action: Highlight at (Y) Series and Legend. 3. Preview and Click. (Y) Series and Legend. Expected result: (Y) Series change color. Actual result: Chart Area change color. Error log: N/A
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/render/BaseRenderer.java
{
				dX = bo.getLeft( ) + ( bo.getWidth( ) - sz.getWidth( ) ) / 2;
				dY = bo.getTop( ) + ( bo.getHeight( ) - sz.getHeight( ) ) / 2;
			}
		}
		else
		{
			
			
			dX = bo.getLeft( );
			dY = bo.getTop( );
			sz = SizeImpl.create( bo.getWidth( ), bo.getHeight( ) );
		}
		
		final LegendLayoutHints lilh = rtc.getLegendLayoutHints( );
		if ( lilh == null )
		{
			throw new ChartException( ChartEnginePlugin.ID,
					ChartException.RENDERING,
					"exception.null.legend.layout.hints", 
					Messages.getResourceBundle( rtc.getULocale( ) ) );
		}
		
		Label lgTitle = lg.getTitle( );
		double lgTitleWidth = 0, lgTitleHeight = 0;
		double yOffset = 0, xOffset = 0, wOffset = 0, hOffset = 0;
		final boolean bRenderLegendTitle = lgTitle != null
				&& lgTitle.isSetVisible( )
				&& lgTitle.isVisible( );
		int iTitlePos = Position.ABOVE;