new Rotate(90d, lbl.getBoundsInParent().getMinX() + lbl.getBoundsInParent().getWidth() / 2d,
0));
*/
final Text lbl = new Text(x, y, label);
lbl.setFont(tickValueFont);
Bindings.bindBidirectional(lbl.fillProperty(), tickMarkLabelFillProperty);
// center text horizontally
lbl.setLayoutX((lbl.getBoundsInLocal().getWidth() / 2d) * -1);
// center text vertically
lbl.setTextOrigin(VPos.CENTER);
return lbl;