docs: private void resizeDynamicText() {
          double maxWidth = unitText.isManaged() ? size * 0.725 : size * 0.9;
          double fontSize = size * 0.24;
          valueText.setFont(Fonts.latoRegular(fontSize));
          if (valueText.getLayoutBounds().getWidth() > maxWidth) { Helper.adjustTextSize(valueText, maxWidth, fontSize); }
          if (unitText.isVisible()) {
              valueText.relocate(size * 0.925 - valueText.getLayoutBounds().getWidth() - unitText.getLayoutBounds().getWidth(), size * 0.15);
          } else {
              valueText.relocate(size * 0.95 - valueText.getLayoutBounds().getWidth(), size * 0.15);
          }
  
          maxWidth = size * 0.3;
          fontSize = size * 0.05;
          averageText.setFont(Fonts.latoRegular(fontSize));
          if (averageText.getLayoutBounds().getWidth() > maxWidth) { Helper.adjustTextSize(averageText, maxWidth, fontSize); }
          if (averageLine.getStartY() < graphBounds.getY() + graphBounds.getHeight() * 0.5) {
              averageText.setY(averageLine.getStartY() + (size * 0.0425));
          } else {
              averageText.setY(averageLine.getStartY() - (size * 0.0075));
          }
  
          highText.setFont(Fonts.latoRegular(fontSize));
          if (highText.getLayoutBounds().getWidth() > maxWidth) { Helper.adjustTextSize(highText, maxWidth, fontSize); }
          highText.setY(graphBounds.getY() - size * 0.0125);
  
          lowText.setFont(Fonts.latoRegular(fontSize));
          if (lowText.getLayoutBounds().getWidth() > maxWidth) { Helper.adjustTextSize(lowText, maxWidth, fontSize); }
          lowText.setY(size * 0.9);
      }