@Override public String generateLabel(XYDataset dataset,int series,int category){
  return null;
}

@ Override public String generateLabel ( XYDataset dataset , int series , int category ) { return null ; }
generates a label for the specified item . the label is typically a formatted version of the data value , but any text can be used .
