Parcourir la source

Merge branch 'feature/eta1.9.6_chart_series' into debug

xyxie il y a 8 mois
Parent
commit
5f39d873db
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      services/data/chart_theme.go

+ 1 - 0
services/data/chart_theme.go

@@ -148,6 +148,7 @@ func GetThemePreviewChartEdbData(chartType int, calendar, startDate, endDate str
 			xEdbIdValue = append(xEdbIdValue, v.EdbInfoId)
 		}
 		for k, _ := range sectionConf.SeriesList {
+			sectionConf.SeriesList[k].NoDataEdbIndex = make([]int, 0)
 			if k == 0 {
 				sectionConf.SeriesList[k].DataList = []float64{1455, 1076, 2532, 3729}
 				sectionConf.SeriesList[k].MaxData = 3729