diff --git a/projects/Chart/7/org/jfree/data/time/TimePeriodValues.java b/projects/Chart/7/org/jfree/data/time/TimePeriodValues.java index 0a3e7a1..589c7ca 100644 --- a/projects/Chart/7/org/jfree/data/time/TimePeriodValues.java +++ b/projects/Chart/7/org/jfree/data/time/TimePeriodValues.java @@ -297,9 +297,9 @@ private void updateBounds(TimePeriod period, int index) { } if (this.maxMiddleIndex >= 0) { - long s = getDataItem(this.minMiddleIndex).getPeriod().getStart() + long s = getDataItem(this.maxMiddleIndex).getPeriod().getStart() .getTime(); - long e = getDataItem(this.minMiddleIndex).getPeriod().getEnd() + long e = getDataItem(this.maxMiddleIndex).getPeriod().getEnd() .getTime(); long maxMiddle = s + (e - s) / 2; if (middle > maxMiddle) {