SimpleDateFormat sdf = new SimpleDateFormat( "yyyy/MM/dd" );
SimpleDateFormat sdf = new SimpleDateFormat( "MM/dd/yyyy" );
	public String toString( Object[] columnData ) throws ChartException	{		if ( columnData == null || columnData.length == 0 )		{			throw new ChartException( ChartEnginePlugin.ID,					ChartException.DATA_SET,					"exception.base.orthogonal.null.datadefinition", //$NON-NLS-1$					ResourceBundle.getBundle( Messages.ENGINE, getLocale( ) ) );		}		StringBuffer buffer = new StringBuffer( );		SimpleDateFormat sdf = new SimpleDateFormat( "yyyy/MM/dd" ); //$NON-NLS-1$		// Gets the data type first		int dataType = 0;		for ( int i = 0; i < columnData.length; i++ )		{			if ( dataType > 0 )			{				break;			}			// Unwrap array			if ( columnData[i] instanceof Object[] )			{				columnData[i] = ( (Object[]) columnData[i] )[0];			}			if ( columnData[i] instanceof String )			{				dataType = 1;			}			else if ( columnData[i] instanceof Date )			{				dataType = 2;			}			else if ( columnData[i] instanceof Number )			{				dataType = 3;			}		}		// If data is null		if ( dataType == 0 )		{			throw new ChartException( ChartEnginePlugin.ID,					ChartException.DATA_SET,					"exception.base.orthogonal.null.datadefinition", //$NON-NLS-1$					ResourceBundle.getBundle( Messages.ENGINE, getLocale( ) ) );		}		// Generates a string reprensentation		for ( int i = 0; i < columnData.length; i++ )		{			// Unwrap array			if ( columnData[i] instanceof Object[] )			{				columnData[i] = ( (Object[]) columnData[i] )[0];			}			if ( dataType == 1 )			{				buffer.append( "'" + formatString( (String) columnData[i] ) + "'" ); //$NON-NLS-1$ //$NON-NLS-2$			}			else if ( dataType == 2 )			{				buffer.append( sdf.format( (Date) columnData[i] ) );			}			else if ( dataType == 3 )			{				buffer.append( String.valueOf( columnData[i] ) );			}			if ( i < columnData.length - 1 )			{				buffer.append( DELIMITER );			}		}		return buffer.toString( );	}