|
@@ -235,6 +235,7 @@ type EditChartInfoReq struct {
|
|
|
RightMax string `description:"图表右侧最大值"`
|
|
|
Right2Min string `description:"图表右侧最小值"`
|
|
|
Right2Max string `description:"图表右侧最大值"`
|
|
|
+ MinMaxSave int `description:"是否手动保存过上下限:0-否;1-是"`
|
|
|
BarChartInfo BarChartInfoReq `description:"柱方图的配置"`
|
|
|
CorrelationChartInfo CorrelationChartInfoReq `description:"相关性图表配置"`
|
|
|
ExtraConfig string `description:"图表额外配置信息,json字符串"`
|
|
@@ -781,6 +782,9 @@ func EditChartInfoAndMapping(req *EditChartInfoReq, edbInfoIdStr string, calenda
|
|
|
sql += `,right2_max = ? `
|
|
|
pars = append(pars, req.Right2Max)
|
|
|
|
|
|
+ sql += `,min_max_save = ? `
|
|
|
+ pars = append(pars, req.MinMaxSave)
|
|
|
+
|
|
|
sql += `WHERE chart_info_id = ?`
|
|
|
|
|
|
pars = append(pars, req.ChartInfoId)
|
|
@@ -1094,6 +1098,7 @@ type AddChartInfoReq struct {
|
|
|
RightMax string `description:"图表右侧最大值"`
|
|
|
Right2Min string `description:"图表右侧2最小值"`
|
|
|
Right2Max string `description:"图表右侧2最大值"`
|
|
|
+ MinMaxSave int `description:"是否手动保存过上下限:0-否;1-是"`
|
|
|
BarChartInfo BarChartInfoReq `description:"柱方图的配置"`
|
|
|
CorrelationChartInfo CorrelationChartInfoReq `description:"相关性图表配置"`
|
|
|
ExtraConfig string `description:"图表额外配置信息,json字符串"`
|