浏览代码

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

xyxie 8 月之前
父节点
当前提交
5f39d873db
共有 1 个文件被更改,包括 1 次插入0 次删除
  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