Bug 208449 crosstab/chart integration framework
In order to enable charts inside crosstab, some specific logic needs to be written for that particular scenario. This enhancement aims to - Design how to add this new logic in a modular way by either creating a new plugin org.eclipse.birt.chart.reportitem.crosstab (needs extension?) or using OO design. - Implement the framework structure that will contain the business logic to render charts in crosstabs.
chart/org.eclipse.birt.chart.reportitem/src/org/eclipse/birt/chart/reportitem/ChartReportItemPresentationImpl.java
* (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.engine.extension.IReportItemPresentation#deserialize(java.io.InputStream)
	 */
	public void deserialize( InputStream is )
	{
		try
		{
			ObjectInputStream ois = new ObjectInputStream( is );
			Object o = ois.readObject( );
			if ( o instanceof RunTimeContext )
			{
				RunTimeContext drtc = (RunTimeContext) o;
				if ( rtc != null )
				{
					drtc.setULocale( rtc.getULocale( ) );
				}
				rtc = drtc;
				cm = rtc.getScriptContext( ).getChartInstance( );
				
				
				
				
				
				
				if ( cm != null && handle != null )
				{
					IReportItem item = handle.getReportItem( );
					( (ChartReportItemImpl) item ).setModel( cm );
				}