Bug 180249 BPS39 - Centralized Chart Engine API
Centralized and clearer Engine API -Create one single entry point class ChartEngine in an api package so it's easy to find (with access to IGenerator, Serializer, Device Renderers) -Create a new IGenerator interface instead of exposing the Generator class.
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/factory/Generator.java
cm,
						gcs.getRunTimeContext( ) );
			}
			else if ( iType == WITHOUT_AXES )
			{
				Bounds bo = ( (PlotWithoutAxes) gcs.getComputations( ) ).getBounds( );
				updateLegendInside( bo,
						lg,
						idr.getDisplayServer( ),
						cm,
						gcs.getRunTimeContext( ) );
			}
		}
		final LinkedHashMap lhm = gcs.getRenderers( );
		final int iSize = lhm.size( );
		BaseRenderer br;
		final Collection co = lhm.values( );
		final LegendItemRenderingHints[] lirha = (LegendItemRenderingHints[]) co.toArray( new LegendItemRenderingHints[co.size( )] );
		final DeferredCache dc = new DeferredCache( idr, cm ); 
		
		
		
		
		
		
		final Bounds bo = gcs.getChartModel( ).getBlock( ).getBounds( );
		idr.setProperty( IDeviceRenderer.EXPECTED_BOUNDS,
				bo.scaledInstance( idr.getDisplayServer( ).getDpiResolution( ) / 72d ) );