Browse Source

预览截面组合图

xyxie 7 months ago
parent
commit
1c53724a99
1 changed files with 3 additions and 0 deletions
  1. 3 0
      services/data/chart_theme.go

+ 3 - 0
services/data/chart_theme.go

@@ -142,6 +142,9 @@ func GetThemePreviewChartEdbData(chartType int, calendar, startDate, endDate str
 		}
 		for k, _ := range sectionConf.SeriesList {
 			sectionConf.SeriesList[k].NoDataEdbIndex = make([]int, 0)
+			sectionConf.SeriesList[k].ChartStyle = ""
+			sectionConf.SeriesList[k].ChartColor = ""
+			sectionConf.SeriesList[k].ChartWidth = 0
 			if k == 0 {
 				sectionConf.SeriesList[k].DataList = []float64{1455, 1076, 2532, 3729}
 				sectionConf.SeriesList[k].MaxData = 3729