Bug 144077 Throw exception when generate SVG chart which has inteactive
There is a program mistake in "org.eclipse.birt.chart.device.svg" project. In "SVGInteractiveRenderer" class, "findCategorySeries" method, "getSeries( ).get( 1 )" should be changed to "getSeries( ).get( 0 )". It will throw exception when generate SVG chart which has inteactive. And i find this in 2.1RC3a.
chart/org.eclipse.birt.chart.device.svg/src/org/eclipse/birt/chart/device/svg/SVGInteractiveRenderer.java
aLink.setAttribute( "xlink:href", "" ); 
				aLink.appendChild( group );
				elm = group;
				hotspotLayer.appendChild( aLink );
			}
			else
				hotspotLayer.appendChild( elm );
			
			for ( int x = 0; x < triggers.length; x++ )
			{
				Trigger tg = triggers[x];
				String scriptEvent = getJsScriptEvent( tg.getCondition( )
						.getValue( ) );
				if ( scriptEvent != null )
				{
					switch ( tg.getAction( ).getType( ).getValue( ) )
					{
						case ActionType.SHOW_TOOLTIP :
							String tooltipText = ( (TooltipValue) tg.getAction( )
									.getValue( ) ).getText( );
							
							if ( ( tooltipText != null )
									&& ( tooltipText.trim( ).length( ) > 0 ) )
							{
								Element title = svg_g2d.dom.createElement( "title" ); 
								title.appendChild( svg_g2d.dom.createTextNode( tooltipText ) );
								elm.appendChild( title );
								
								if (scriptEvent.equals("onmouseover")){