|
@@ -576,7 +576,7 @@ func BarChartData(edbInfoMapping *models.ChartEdbInfoMapping, futureGoodMappingL
|
|
|
mList := make([]int, 0)
|
|
|
indexList := make([]int, 0)
|
|
|
if regionType == `国内` {
|
|
|
- for i := currMonth; i < 12; i++ {
|
|
|
+ for i := currMonth + 1; i < 12; i++ {
|
|
|
indexList = append(indexList, int(i))
|
|
|
mList = append(mList, int(i-currMonth))
|
|
|
}
|
|
@@ -770,8 +770,8 @@ func handleResultData(regionType string, yDataList []models.YData, futureGoodEdb
|
|
|
break
|
|
|
}
|
|
|
xDataList = append(xDataList, models.XData{
|
|
|
- Name: fmt.Sprint("M+", i),
|
|
|
- NameEn: fmt.Sprint("M+", i),
|
|
|
+ Name: fmt.Sprint("M+", i+1),
|
|
|
+ NameEn: fmt.Sprint("M+", i+1),
|
|
|
})
|
|
|
}
|
|
|
return
|