Sfoglia il codice sorgente

预览截面组合图

xyxie 9 mesi fa
parent
commit
1c53724a99
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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