zwxi 7 months ago
parent
commit
7a42179d49
1 changed files with 1 additions and 1 deletions
  1. 1 1
      controllers/data_manage/chart_info.go

+ 1 - 1
controllers/data_manage/chart_info.go

@@ -1435,7 +1435,7 @@ func (this *ChartInfoController) PreviewChartInfoDetail() {
 		for i := range markerLines {
 			if markerLines[i].EdbType == 0 && markerLines[i].TimeIntervalType == 0 && markerLines[i].Axis != 3 {
 				// 图上第一个指标且时间区间跟随图表
-				if edbList[0].IsAxis == 1 {
+				if edbList[0].IsAxis == 1 && markerLines[i].MarkLineType == 2 {
 					value, err := data.MarkerLineCalculate(markerLines[i], edbList[0].DataList, chartInfo)
 					if err != nil {
 						br.Msg = "标识线配置异常"