PropertyHandle computedSet = eih.getColumnBindings( ); cs1.setExpression( "dataSetRow[\"Month\"]" ); computedSet.addItem( cs1 ); cs2.setExpression( "dataSetRow[\"Product\"]" ); computedSet.addItem( cs2 ); cs3.setExpression( "dataSetRow[\"Amount\"]" ); computedSet.addItem( cs3 );
	private void createBody( ) throws SemanticException	{		ExtendedItemHandle eih = elementFactory.newExtendedItem( null, "Chart" );//$NON-NLS-1$		try		{			eih.setHeight( "288pt" );//$NON-NLS-1$			eih.setWidth( "252pt" );//$NON-NLS-1$			eih.setProperty( ExtendedItemHandle.DATA_SET_PROP, "Data Set" );//$NON-NLS-1$		}		catch ( SemanticException e )		{			e.printStackTrace( );		}		reportDesignHandle.getBody( ).add( eih );		ChartReportItemImpl crii;		try		{			// Add ChartReportItemImpl to ExtendedItemHandle			crii = (ChartReportItemImpl) eih.getReportItem( );			// Add chart instance to ChartReportItemImpl			crii.setProperty( "chart.instance", createMeterChart( ) );//$NON-NLS-1$		}		catch ( ExtendedElementException e )		{			e.printStackTrace( );		}	}