TextSprite text = (TextSprite) sprite;
if (labelConfig.getLabelProvider() != null) {
text.setText(labelConfig.getLabelProvider().getLabel(chart.getCurrentStore().get(j),
getValueProvider(j)));
}
text.redraw();
}
double offsetY = sprite.getBBox().getHeight() / 2.0;
PrecisePoint point = getPointFromCommand(areasCommands.get(j).get(i));
if (chart.isAnimated() && sprite.getTranslation() != null) {
DrawFx.createTranslationAnimator(sprite, point.getX(), point.getY() - offsetY).run(