class TrackingCartesianChartModel extends LineChartModel {

    public void addDate(Date d) {
        if (this.minDate == null || d.before(this.minDate)) {
            this.minDate = d;
        }
        if (this.maxDate == null || d.after(this.maxDate)) {
            this.maxDate = d;
        }

    }

}