code: public Axis addLabel(String label, double location) {
          if (labels == null) {
              labels = new HashMap<>();
          }
  
          labels.put(label, location);
          setSlice();
          initGridLines();
          initGridLabels();
          return this;
      }
docs: Add a label to the axis at given location.