public final void after( ) throws ChartException
public void after( ) throws ChartException
	public final void after( ) throws ChartException	{		super.after( );				ivRenderer.addInteractivity( );			addScripts();		((SVGGraphics2D)_g2d).flush();						//make sure we add the hotspot layer to the bottom layer of the svg		dom.getDocumentElement().appendChild(ivRenderer.getHotspotLayer( ));				if ( oOutputIdentifier instanceof OutputStream ) // OUTPUT STREAM		{			try			{				writeDocumentToOutputStream( dom,						(OutputStream) oOutputIdentifier );			}			catch ( Exception ex )			{				throw new ChartException( ChartDeviceSVGPlugin.ID,						ChartException.RENDERING,						ex );			}		}		else if ( oOutputIdentifier instanceof String )		{			FileOutputStream fos = null;			try			{				fos = new FileOutputStream( (String) oOutputIdentifier );				writeDocumentToOutputStream( dom, fos );				fos.close( );			}			catch ( Exception ex )			{				throw new ChartException( ChartDeviceSVGPlugin.ID,						ChartException.RENDERING,						ex );			}		}		else		{			throw new ChartException( ChartDeviceSVGPlugin.ID,					ChartException.RENDERING,					"SVGRendererImpl.exception.UnableToWriteChartImage", //$NON-NLS-1$					new Object[]{						oOutputIdentifier					},					null );		}				ivRenderer.clear( );			}