Bug 159514 BPS66 - Chart Simple API
This project aims to simplify the chart model API and make it accessible from scripting. It will only expose a set of clear interfaces that determine what can be changed using scripting.
chart/org.eclipse.birt.chart.reportitem/src/org/eclipse/birt/chart/reportitem/ChartReportItemImpl.java
ICompatibleReportItem
{
	private Chart cm = null;
	private Object oDesignerRepresentation = null;
	private static final List liLegendPositions = new LinkedList( );
	private static final List liLegendAnchors = new LinkedList( );
	private static final List liChartDimensions = new LinkedList( );
	private transient DesignElementHandle handle = null;
	private static ILogger logger = Logger.getLogger( "org.eclipse.birt.chart.reportitem/trace" ); 
	static
	{
		
		
		
		List li = Position.VALUES;
		Iterator it = li.iterator( );
		IChoiceDefinition icd;
		String sName, sLowercaseName;
		while ( it.hasNext( ) )
		{
			sName = ( (Position) it.next( ) ).getName( );
			sLowercaseName = sName.toLowerCase( Locale.US );
			if ( sLowercaseName.equals( "outside" ) ) 
			{
				continue;
			}
			icd = new ChartChoiceDefinitionImpl( "choice.legend.position." + sLowercaseName, sName, null ); 
			liLegendPositions.add( icd );