Roc 2 years ago
parent
commit
ea39c33d71
1 changed files with 1 additions and 1 deletions
  1. 1 1
      services/chart/future_good/chart_info.go

+ 1 - 1
services/chart/future_good/chart_info.go

@@ -703,7 +703,7 @@ func handleResultData(regionType string, yDataList []chart_info.YData, futureGoo
 		}
 	}
 
-	maxI := 100000
+	maxI := len(xDataList)
 	for _, yData := range newYDataList {
 		lenEdb := len(yData.XEdbInfoIdList)
 		for i := lenEdb - 1; i >= 0; i-- {