code: public void addTimeChart(String chartID, String xAxisLabel,
              String yAxisLabel) throws ShanksException {
          Scenario2DPortrayal scenarioPortrayal = (Scenario2DPortrayal) this
                  .getSimulation().getScenarioPortrayal();
          scenarioPortrayal.addTimeChart(chartID, xAxisLabel, yAxisLabel);
      }
docs: Add a time chart to the simulation
  
  @param chartID
  @param xAxisLabel
  @param yAxisLabel
  @throws ShanksException