Browse Source

图表配置

gmy 4 tháng trước cách đây
mục cha
commit
8dc90466f2
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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