소스 검색

图表配置

gmy 3 달 전
부모
커밋
8dc90466f2
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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