Bug 213827 Axis title rotation lose effect after flip axis.
description: Axis label rotation lose effect after flip axis. build version: 2.2.2 v20071225-0630 steps to reproduce: 1. New a report. 2. New a chart. 3. On Format Chart page, select Chart Area->Axis->X-Axis node, tick Title as visible. Click Title button and set rotation to 45 degree. 4. Switch to Select Chart Type page, tick Flip Axis and then untick. Expected result: Title rotation should work when Flip Axis is selected and deselected. Actual result: Title rotation lose effect when Flip Axis is selected and deselected.
chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/wizard/TaskSelectType.java
boolean bRender = false;
		ChartAdapter.beginIgnoreNotifications( );
		boolean bVertical = orientation.getValue( ) == Orientation.VERTICAL;
		Axis aX = ChartUIUtil.getAxisXForProcessing( cwa );
		if ( aX.getTitle( ).isVisible( ) )
		{
			bRender = true;
		}
		aX.getTitle( )
				.getCaption( )
				.getFont( )
				.setRotation( bVertical ? 0 : 90 );
		EList aYs = aX.getAssociatedAxes( );
		for ( int i = 0; i < aYs.size( ); i++ )
		{
			Axis aY = (Axis) aYs.get( i );
			if ( aY.getTitle( ).isVisible( ) )
			{
				bRender = true;
			}
			aY.getTitle( ).getCaption( ).getFont( ).setRotation( bVertical ? 90
					: 0 );
		}
		ChartAdapter.endIgnoreNotifications( );
		if ( bRender )
		{
			previewPainter.renderModel( chartModel );
		}
	}
}