Bug 198031 Legend interactivity does not work correctly for drill-throughs
Under Value (Y) Series enable interactivity for the event "Mouse Click" Set action to Hyperlink The type of the hyperlink is Drill-through and the target is the a sub-report Pass parameter to sub-report as row["value_of_the_legend_item"] Suppose there are 3 values, x,y and z No matter which legend item you click (x, y or z), z gets passed as param to the subreport
chart/org.eclipse.birt.chart.reportitem.ui/src/org/eclipse/birt/chart/reportitem/ui/ChartReportItemBuilderImpl.java
item = eih.getReportItem( );
				if ( item == null )
				{
					eih.loadExtendedElement( );
					item = eih.getReportItem( );
				}
			}
			catch ( ExtendedElementException exception )
			{
				logger.log( exception );
			}
			if ( item == null )
			{
				logger.log( ILogger.ERROR,
						Messages.getString( "ChartReportItemBuilderImpl.log.UnableToLocate" ) ); 
				return Window.CANCEL;
			}
			final CommandStack commandStack = eih.getRoot( ).getCommandStack( );
			final String TRANS_NAME = "chart builder internal transaction"; 
			commandStack.startTrans( TRANS_NAME );
			final ChartReportItemImpl crii = ( (ChartReportItemImpl) item );
			final Chart cm = (Chart) crii.getProperty( "chart.instance" ); 
			final Chart cmClone = ( cm == null ) ? null
					: (Chart) EcoreUtil.copy( cm );
			
			
			final Object[] applyData = new Object[2];
			
			
			this.extendedHandle = eih;