JCAxis firstXAxis = levelChart.getFirstXAxis();
JCAxis firstXAxis = getFirstXAxis();
  public void setData(InventoryData data) {    removeAllChartListeners();    inventory = data;    baseCDayTime = data.getStartCDay();    bucketSize = data.getBucketSize();    if (bucketSize < MILLIS_IN_DAY) {      cdaysModeCheck.setText(CHOUR_MODE);    } else {      cdaysModeCheck.setText(CDAY_MODE);    }    levelChart.setData(data);    refillChart.setData(data);    demandChart.setData(data);    JCAxis firstXAxis = levelChart.getFirstXAxis();    firstXAxis.recalc();    reallignChartsByXAxis(firstXAxis);    pointLabel.setText(INITIAL_POINT_LABEL);    if ((updateShortfallCheckBox()) &&        (showInitialShortfall)) {      setDisplayShortfall(true);      shortfallModeCheck.setSelected(true);    } else {      shortfallModeCheck.setSelected(false);    }    addAllChartListeners();  }