}
// add an entity for the item...
if ( entities != null ) {
String tip = null;
XYToolTipGenerator generator = getToolTipGenerator( series, item );
if ( generator != null ) {
tip = generator.generateToolTip( dataset, series, item );
}
String url = null;
if ( getURLGenerator() != null ) {
url = getURLGenerator().generateURL( dataset, series, item );
}