}
if (index > -1) {
String text = null;
if (index == labels.size()) {
text = titleSprite.getText();
ensureHandlers().fireEvent(new AxisItemOverEvent(titleSprite.getText(), index, event));
} else if (index > -1) {
text = labels.get(index).getText();
ensureHandlers().fireEvent(new AxisItemOverEvent(labels.get(index).getText(), index, event));
}
if (toolTip != null) {
LabelProvider<? super M> custom = toolTipConfig.getCustomLabelProvider();
if (custom != null) {
toolTipConfig.setBodyText(custom.getLabel(chart.getCurrentStore().get(index)));