Bug 193855 Invoke Script does not work correctly [13]
Description: Invoke Script does not work correctly Build number: 2.2.0.v20070621-1540 Steps to reproduce: 1. New a chart, set output format PNG, set Value series interactivity as Event: Mouse Click, Action: Invoke Script, Script: alert("aaa") or alert('aaa'). 2. Preview, click the series. Expected result: For both scirpt when click, dialogue pops up with "aaa". Actual result: Only alert('aaa') works. Error log: N/A
chart/org.eclipse.birt.chart.examples/src/org/eclipse/birt/chart/examples/api/data/autobinding/AutoDataBindingViewer.java
Series seCategory = SeriesImpl.create( );
		Query query = QueryImpl.create( "Items" );
		seCategory.getDataDefinition( ).add( query );
		SeriesDefinition sdX = SeriesDefinitionImpl.create( );
		xAxisPrimary.getSeriesDefinitions( ).add( sdX );
		sdX.getSeries( ).add( seCategory );
		
		BarSeries bs = (BarSeries) BarSeriesImpl.create( );
		Query query2 = QueryImpl.create( "Amounts" );
		bs.getDataDefinition( ).add( query2 );
		bs.getLabel( ).setVisible( true );
		SeriesDefinition sdY = SeriesDefinitionImpl.create( );
		yAxisPrimary.getSeriesDefinitions( ).add( sdY );
		sdY.getSeries( ).add( bs );
		return cwaBar;
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.swt.events.PaintListener#paintControl(org.eclipse.swt.events.PaintEvent)
	 */
	public void paintControl( PaintEvent e )
	{
		idr.setProperty( IDeviceRenderer.GRAPHICS_CONTEXT, e.gc );
		Composite co = (Composite) e.getSource( );
		Rectangle re = co.getClientArea( );
		Bounds bo = BoundsImpl.create( 0, 0, re.width, re.height );
		bo.scale( 72d / idr.getDisplayServer( ).getDpiResolution( ) );
		
		RunTimeContext context = new RunTimeContext( );