code: public void addHistogram(String histogramID, String xAxisLabel, String yAxisLabel) throws ShanksException {
          if (!this.histograms.containsKey(histogramID)) {
              HistogramGenerator histogram = new HistogramGenerator();
              histogram.setTitle(histogramID);
              histogram.setXAxisLabel(xAxisLabel);
              histogram.setYAxisLabel(yAxisLabel);
              this.histograms.put(histogramID, histogram);
          } else {
              throw new DuplicatedChartIDException(histogramID);
          }
      }
docs: Add a histogram to the simulation
  
  @param histogramID
  @param xAxisLabel
  @param yAxisLabel
  @throws ShanksException