Ver código fonte

图表配置

gmy 3 meses atrás
pai
commit
8dc90466f2
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      services/data/chart_theme.go

+ 1 - 0
services/data/chart_theme.go

@@ -713,6 +713,7 @@ func ConvertOldChartOptions(config string) (newConfig string, err error) {
 		}
 		newTheme.LineOptionList = append(newTheme.LineOptionList, newLineOption)
 	}
+	newTheme.DrawOption = oldTheme.DrawOption
 	newThemeStr, _ := json.Marshal(newTheme)
 	newConfig = string(newThemeStr)
 	return