Bug 152948 Print as pdf not working for bar chart having Y-Series interactivity.
In BIRT2.1 release, a bar chart having a drill-through set on its Y-Series when rendered works fine, but on clicking the print as pdf option, produces a blank page. In the same report, if the drill-through is set on the chart area interactivity, everything including the print as pdf option works fine.
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/ViewerHTMLActionHandler.java
String baseURL = null;
		Object renderContext = getRenderContext( context );
		if ( renderContext instanceof HTMLRenderContext )
		{
			baseURL = ( (HTMLRenderContext) renderContext ).getBaseURL( );
		}
		if ( renderContext instanceof PDFRenderContext )
		{
			baseURL = ( (PDFRenderContext) renderContext ).getBaseURL( );
		}
		if ( baseURL == null )
			return null;
		
		String bookmark = action.getBookmark( );
		
		
		if ( baseURL.lastIndexOf( IBirtConstants.SERVLET_PATH_FRAMESET ) > 0 )
		{
			return "javascript:catchBookmark('" + bookmark + "')"; 
		}
		
		StringBuffer link = new StringBuffer( );
		boolean realBookmark = false;
		if ( this.document != null )
		{
			long pageNumber = this.document
					.getPageNumber( action.getBookmark( ) );
			realBookmark = ( pageNumber == this.page && !isEmbeddable );
		}
		try