aax = new AllAxes( cwa.getPlot( ) .getClientArea( ) .getInsets( ) .scaledInstance( dPointToPixel ) );
aax = new AllAxes( null );
	void buildAxes( ) throws IllegalArgumentException, ChartException	{		final Axis[] axa = cwa.getPrimaryBaseAxes( );		final Axis axPrimaryBase = axa[0]; // NOTE: FOR REL 1 AXIS RENDERS, WE		// SUPPORT A SINGLE PRIMARY BASE AXIS		// ONLY		if ( !axPrimaryBase.isSetOrientation( ) )		{			axPrimaryBase.setOrientation( Orientation.HORIZONTAL_LITERAL );		}		validateAxis( axPrimaryBase );		final Axis axPrimaryOrthogonal = cwa.getPrimaryOrthogonalAxis( axPrimaryBase );		if ( !axPrimaryOrthogonal.isSetOrientation( ) )		{			axPrimaryOrthogonal.setOrientation( Orientation.VERTICAL_LITERAL );		}		validateAxis( axPrimaryOrthogonal );		final Axis axAncillaryBase = cwa.getAncillaryBaseAxis( axPrimaryBase );		// if ( !axAncillaryBase.isSetOrientation( ) )		{			axAncillaryBase.setOrientation( Orientation.HORIZONTAL_LITERAL );		}		validateAxis( axAncillaryBase );		if ( axPrimaryBase.getAssociatedAxes( ).size( ) > 1 )		{			throw new ChartException( ChartEnginePlugin.ID,					ChartException.COMPUTATION,					"exception.multi.orthogonal.3D.not.supported", //$NON-NLS-1$ 					Messages.getResourceBundle( rtc.getULocale( ) ) );		}		aax = new AllAxes( cwa.getPlot( )				.getClientArea( )				.getInsets( )				.scaledInstance( dPointToPixel ) ); // CONVERSION		insCA = aax.getInsets( );		aax.swapAxes( cwa.isTransposed( ) );		// SETUP THE PRIMARY BASE-AXIS PROPERTIES AND ITS SCALE		final OneAxis oaxPrimaryBase = new OneAxis( axPrimaryBase,				IConstants.BASE_AXIS );		oaxPrimaryBase.set( getOrientation( IConstants.BASE ),				transposeLabelPosition( IConstants.BASE,						getLabelPosition( axPrimaryBase.getLabelPosition( ) ) ),				transposeLabelPosition( IConstants.BASE,						getLabelPosition( axPrimaryBase.getTitlePosition( ) ) ),				axPrimaryBase.isSetCategoryAxis( )						&& axPrimaryBase.isCategoryAxis( ) );		oaxPrimaryBase.setGridProperties( axPrimaryBase.getMajorGrid( )				.getLineAttributes( ),				axPrimaryBase.getMinorGrid( ).getLineAttributes( ),				axPrimaryBase.getMajorGrid( ).getTickAttributes( ),				axPrimaryBase.getMinorGrid( ).getTickAttributes( ),				transposeTickStyle( IConstants.BASE,						getTickStyle( axPrimaryBase, MAJOR ) ),				transposeTickStyle( IConstants.BASE,						getTickStyle( axPrimaryBase, MINOR ) ),				axPrimaryBase.getScale( ).getMinorGridsPerUnit( ) );		oaxPrimaryBase.set( axPrimaryBase.getLabel( ), axPrimaryBase.getTitle( ) );		oaxPrimaryBase.set( getIntersection( axPrimaryBase ) );		oaxPrimaryBase.set( axPrimaryBase.getLineAttributes( ) );		aax.definePrimary( oaxPrimaryBase ); // ADD TO AXIS SET		// SETUP THE PRIMARY ORTHOGONAL-AXIS PROPERTIES AND ITS SCALE		final OneAxis oaxPrimaryOrthogonal = new OneAxis( axPrimaryOrthogonal,				IConstants.ORTHOGONAL_AXIS );		oaxPrimaryOrthogonal.set( getOrientation( IConstants.ORTHOGONAL ),				transposeLabelPosition( IConstants.ORTHOGONAL,						getLabelPosition( axPrimaryOrthogonal.getLabelPosition( ) ) ),				transposeLabelPosition( IConstants.ORTHOGONAL,						getLabelPosition( axPrimaryOrthogonal.getTitlePosition( ) ) ),				axPrimaryOrthogonal.isSetCategoryAxis( )						&& axPrimaryOrthogonal.isCategoryAxis( ) );		oaxPrimaryOrthogonal.setGridProperties( axPrimaryOrthogonal.getMajorGrid( )				.getLineAttributes( ),				axPrimaryOrthogonal.getMinorGrid( ).getLineAttributes( ),				axPrimaryOrthogonal.getMajorGrid( ).getTickAttributes( ),				axPrimaryOrthogonal.getMinorGrid( ).getTickAttributes( ),				transposeTickStyle( IConstants.ORTHOGONAL,						getTickStyle( axPrimaryOrthogonal, MAJOR ) ),				transposeTickStyle( IConstants.ORTHOGONAL,						getTickStyle( axPrimaryOrthogonal, MINOR ) ),				axPrimaryOrthogonal.getScale( ).getMinorGridsPerUnit( ) );		oaxPrimaryOrthogonal.set( axPrimaryOrthogonal.getLabel( ),				axPrimaryOrthogonal.getTitle( ) );		oaxPrimaryOrthogonal.set( getIntersection( axPrimaryOrthogonal ) );		oaxPrimaryOrthogonal.set( axPrimaryOrthogonal.getLineAttributes( ) );		aax.definePrimary( oaxPrimaryOrthogonal ); // ADD TO AXIS SET		// SETUP THE ANCILLARY BASE-AXIS PROPERTIES AND ITS SCALE		final OneAxis oaxAncillaryBase = new OneAxis( axAncillaryBase,				IConstants.ANCILLARY_AXIS );		oaxAncillaryBase.set( IConstants.HORIZONTAL,				getLabelPosition( axAncillaryBase.getLabelPosition( ) ),				getLabelPosition( axAncillaryBase.getTitlePosition( ) ),				axAncillaryBase.isSetCategoryAxis( )						&& axAncillaryBase.isCategoryAxis( ) );		oaxAncillaryBase.setGridProperties( axAncillaryBase.getMajorGrid( )				.getLineAttributes( ),				axAncillaryBase.getMinorGrid( ).getLineAttributes( ),				axAncillaryBase.getMajorGrid( ).getTickAttributes( ),				axAncillaryBase.getMinorGrid( ).getTickAttributes( ),				getTickStyle( axAncillaryBase, MAJOR ),				getTickStyle( axAncillaryBase, MINOR ),				axAncillaryBase.getScale( ).getMinorGridsPerUnit( ) );		oaxAncillaryBase.set( axAncillaryBase.getLabel( ),				axAncillaryBase.getTitle( ) ); // ASSOCIATE FONT, ETC.		oaxAncillaryBase.set( getIntersection( axAncillaryBase ) );		oaxAncillaryBase.set( axAncillaryBase.getLineAttributes( ) );		aax.defineAncillaryBase( oaxAncillaryBase ); // ADD TO AXIS SET	}