question: @ Override public String generateLabelString ( XYDataset dataset , int series , int item ) { String result ; Object [ ] items ; if ( dataset instanceof XYZDataset ) { items = createItemArray ( ( XYZDataset ) dataset , series , item ) ; } else { items = createItemArray ( dataset , series , item ) ; } result = MessageFormat . format ( getFormatString ( ) , items ) ; return result ; }
target:  Generates a label string for an item in the dataset.