code: public String[] getAxisLabels() {
          String[] labels = new String[base.dimension];
          for (int i = 0; i < base.dimension; i++) {
              labels[i] = baseGrid.getAxis(i).getAxisLabel();
          }
          return labels;
      }
docs: Returns the labels/legends of axes.