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
PolygonRenderEvent pre;
		if ( cd.getValue( ) == ChartDimension.TWO_DIMENSIONAL )
		{
			
			pre = (PolygonRenderEvent) ( (EventObjectCache) ipr ).getEventObject( oSource,
					PolygonRenderEvent.class );
			pre.setPoints( loaFront );
			pre.setBackground( f );
			pre.setOutline( lia );
			ipr.fillPolygon( pre );
			ipr.drawPolygon( pre );
			return;
		}
		final boolean bSolidColor = f instanceof ColorDefinition;
		Fill fDarker = null, fBrighter = null;
		if ( cd.getValue( ) == ChartDimension.TWO_DIMENSIONAL_WITH_DEPTH
				|| cd.getValue( ) == ChartDimension.THREE_DIMENSIONAL )
		{
			fDarker = f;
			if ( fDarker instanceof ColorDefinition )
			{
				fDarker = ( (ColorDefinition) fDarker ).darker( );
			}
			fBrighter = f;
			if ( fBrighter instanceof ColorDefinition )
			{
				fBrighter = ( (ColorDefinition) fBrighter ).brighter( );
			}
		}
		final int nSides = loaFront.length;