zwxi 8 months ago
parent
commit
2b0729d714
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

@@ -1433,7 +1433,7 @@ func (this *ChartInfoController) PreviewChartInfoDetail() {
 			return
 		}
 		for i := range markerLines {
-			if markerLines[i].EdbType == 0 && markerLines[i].TimeIntervalType == 0 {
+			if markerLines[i].EdbType == 0 && markerLines[i].TimeIntervalType == 0 && markerLines[i].Axis != 3 {
 				// 图上第一个指标且时间区间跟随图表
 				if edbList[0].IsAxis == 1 {
 					value, err := data.MarkerLineCalculate(markerLines[i], edbList[0].DataList, chartInfo)