Bug 180689 [Regression]Chart with flipped axes doesn't display properly [0001]
Chart with flipped axes doesn't display properly [0001] Build number: 2.2.0.v20070403-1345 Steps to reproduce: 1.new a sample DB data source and set CUSTOMERS as data set 2.new a bar chart using the data set,set CUSTOMERNAME as X-series,CREDITLIMIT as Y-series,click Ok 3.preview in html 4.double click the chart in layout and check "Flip axes" 5.preview in html Expected result: Chart with flipped axes is displayed in html Actual result: Chart with flipped axes isn't displayed in html Error log: N/A
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/withaxes/PlotWith2DAxes.java
oaxPrimaryOrthogonal.set( getOrientation( IConstants.ORTHOGONAL ),
				transposeLabelPosition( IConstants.ORTHOGONAL,
						getLabelPosition( !isTransposed ? switchPosition( axPrimaryOrthogonal.getLabelPosition( ) )
								: axPrimaryOrthogonal.getLabelPosition( ) ) ),
				transposeLabelPosition( IConstants.ORTHOGONAL,
						getLabelPosition( !isTransposed ? switchPosition( axPrimaryOrthogonal.getTitlePosition( ) )
								: axPrimaryOrthogonal.getTitlePosition( ) ) ),
				axPrimaryOrthogonal.isSetCategoryAxis( )
						&& axPrimaryOrthogonal.isCategoryAxis( ),
				axPrimaryOrthogonal.getScale( ).isTickBetweenCategories( ) );
		oaxPrimaryOrthogonal.setGridProperties( axPrimaryOrthogonal.getMajorGrid( )
				.getLineAttributes( ),
				axPrimaryOrthogonal.getMinorGrid( ).getLineAttributes( ),
				axPrimaryOrthogonal.getMajorGrid( ).getTickAttributes( ),
				axPrimaryOrthogonal.getMinorGrid( ).getTickAttributes( ),
				transposeTickStyle( IConstants.ORTHOGONAL,
						!isTransposed ? switchTickStyle( getTickStyle( axPrimaryOrthogonal,
								MAJOR ) )
								: getTickStyle( axPrimaryOrthogonal, MAJOR ) ),
				transposeTickStyle( IConstants.ORTHOGONAL,
						!isTransposed ? switchTickStyle( getTickStyle( axPrimaryOrthogonal,
								MINOR ) )
								: getTickStyle( axPrimaryOrthogonal, MINOR ) ),
				axPrimaryOrthogonal.getScale( ).getMinorGridsPerUnit( ) );
		oaxPrimaryOrthogonal.set( axPrimaryOrthogonal.getLabel( ),
				axPrimaryOrthogonal.getTitle( ) );
		oaxPrimaryOrthogonal.set(
		
		switchIntersection( getIntersection( axPrimaryOrthogonal ) )