if (types[xCol-1] == Test.TYPE_STRING)
if (types[xCol-1] == Test.TYPE_STRING) {
		protected int populateValues (ResultSet rs, Graphable graphableTest,									   List legendList, 									   List labels, double [][] valueMatrix) {		  boolean hasThirdDim = graphableTest.hasThirdDimension();		  int xCol = graphableTest.getXAxisColumn ();		  int yCol = graphableTest.getYAxisColumn ();		  int zCol = graphableTest.getZAxisColumn ();		  int types[]=((Test)graphableTest).getTypes();		  String lastX = "";		  int currentColumn=-1; // values for each z axis of data		  try {			while(rs.next()){			  // X axis labels			  String label = "?";			  if (types[xCol-1] == Test.TYPE_STRING)				label = rs.getString(xCol);			  else if (types[xCol-1] == Test.TYPE_DATETIME)				label = rs.getTimestamp(xCol).toString();			  if (!label.equals(lastX)) {				labels.add (label);				currentColumn++;			  } 			  lastX = label;			  			  // Z axis index			  int zAxisIndex = (hasThirdDim) ?				legendList.indexOf(rs.getString(zCol)) : 0;			  			  if (zAxisIndex == -1)				System.out.println ("GraphPane.construct - huh? " + 									"zAxisIndex is undefined. legend List " + legendList + 									" does not contain z col " + rs.getString(zCol));			  // Y axis values			  // if (debug)			  //System.out.println ("[" + zAxisIndex + "]["+currentColumn+"] = " + rs.getInt(yCol));			  			  valueMatrix[zAxisIndex][currentColumn] = getDoubleValue(rs, yCol);			}		  } catch(SQLException e){			logger.logMessage(Logger.ERROR,Logger.DB_WRITE,							  "Could not produce HTML from validation table",e);		  }		  return currentColumn;		}