idr.setProperty( IDeviceRenderer.FILE_IDENTIFIER, "d:/temp/test.pdf" );
idr.setProperty( IDeviceRenderer.FILE_IDENTIFIER, "test.pdf" );
	public static void generateChart(){		//Tell chart engine that we are running in stand alone mode.  Note running in an eclipse environment.		System.setProperty("STANDALONE", "true"); //$NON-NLS-1$ //$NON-NLS-2$				//Create the chart we want to render		Chart cm = ChartModels.createHSChart( );				//Create the pdf renderer		IDeviceRenderer idr = new PDFRendererImpl();		try		{			RunTimeContext rtc = new RunTimeContext( );			rtc.setULocale( ULocale.getDefault( ) );			final Generator gr = Generator.instance( );			GeneratedChartState gcs = null;			//Set the chart size			Bounds bo = BoundsImpl.create( 0, 0, 450, 300 );			gcs = gr.build( idr.getDisplayServer( ), cm, bo, null, rtc, null );			//Specify the file to write to. 			idr.setProperty( IDeviceRenderer.FILE_IDENTIFIER, "d:/temp/test.pdf" ); //$NON-NLS-1$			//generate the chart			gr.render( idr, gcs );		}		catch ( ChartException ce )		{			ce.printStackTrace( );		}			}	