code: public void addTimeChart(String chartID, String xAxisLabel, String yAxisLabel) throws ShanksException {
          if (!this.timeCharts.containsKey(chartID)) {
              TimeSeriesChartGenerator chart = new TimeSeriesChartGenerator();
              chart.setTitle(chartID);
              chart.setXAxisLabel(xAxisLabel);
              chart.setYAxisLabel(yAxisLabel);
              this.timeCharts.put(chartID, chart);
          } else {
              throw new DuplicatedChartIDException(chartID);
          }
      }
docs: Add a chart to the simulation
  
  @param chartID
  @param xAxisLabel
  @param yAxisLabel
  @throws ShanksException