osd.setDataSetRepresentation( ChartUIUtil.getConvertedSampleDataRepresentation( getAxisForProcessing( ).getType( ), osd.getDataSetRepresentation( ) ) );
OrthogonalSampleData osd = (OrthogonalSampleData) getChart( ).getSampleData( ) .getOrthogonalSampleData( ) .get( i ); if ( osd.getSeriesDefinitionIndex( ) >= iStartIndex && osd.getSeriesDefinitionIndex( ) <= iEndIndex ) { osd.setDataSetRepresentation( ChartUIUtil.getConvertedSampleDataRepresentation( axisType, osd.getDataSetRepresentation( ) ) ); }
	private void convertSampleData( )	{		// Run the conversion routine for ALL orthogonal sample data entries		// related to series definitions for this axis		// Get the start and end index of series definitions that fall under		// this axis		int iStartIndex = getFirstSeriesDefinitionIndexForAxis( );		int iEndIndex = iStartIndex				+ getAxisForProcessing( ).getSeriesDefinitions( ).size( );		// for each entry in orthogonal sample data, if the series index for the		// entry is in this range...run conversion		// routine		int iOSDSize = getChart( ).getSampleData( )				.getOrthogonalSampleData( )				.size( );		for ( int i = 0; i < iOSDSize; i++ )		{			OrthogonalSampleData osd = (OrthogonalSampleData) getChart( ).getSampleData( )					.getOrthogonalSampleData( )					.get( i );			if ( osd.getSeriesDefinitionIndex( ) >= iStartIndex					&& osd.getSeriesDefinitionIndex( ) <= iEndIndex )			{				osd.setDataSetRepresentation( ChartUIUtil.getConvertedSampleDataRepresentation( getAxisForProcessing( ).getType( ),						osd.getDataSetRepresentation( ) ) );			}		}	}