docs: private void initGraphics() {
          if (Double.compare(getPrefWidth(), 0.0) <= 0 || Double.compare(getPrefHeight(), 0.0) <= 0 ||
              Double.compare(getWidth(), 0.0) <= 0 || Double.compare(getHeight(), 0.0) <= 0) {
              if (getPrefWidth() > 0 && getPrefHeight() > 0) {
                  setPrefSize(getPrefWidth(), getPrefHeight());
              } else {
                  setPrefSize(PREFERRED_WIDTH, PREFERRED_HEIGHT);
              }
          }
  
          nameText = new Text(getName());
          nameText.setTextOrigin(VPos.TOP);
  
          valueText = new Text(String.format(locale, formatString, getValue()));
          valueText.setTextOrigin(VPos.TOP);
  
          barBackground = new Rectangle();
  
          bar = new Rectangle();
  
          pane = new Pane(nameText, valueText, barBackground, bar);
          pane.setBackground(new Background(new BackgroundFill(Color.TRANSPARENT, CornerRadii.EMPTY, Insets.EMPTY)));
  
          getChildren().setAll(pane);
      }