TrendViewer, 차트 LegendText 변경한 셀이름으로 표시

This commit is contained in:
shark219-hub
2024-11-27 11:55:33 +09:00
parent cb6a25f0a2
commit 3781977741
9 changed files with 161 additions and 142 deletions

View File

@@ -578,8 +578,9 @@ namespace vmsnet
}
else myScatter.LineColor = ScottPlot.Colors.Red;
myScatter.Color = myScatter.LineColor;
myScatter.LegendText = $"CH{i + 1}";
this.myPlots[i] = myScatter; //visible 변경및 데이터 접근을 위해 변수에 따로 저장해둔다.
/* 작성자: 이재웅, 작성일: 2024-11-27, 내용: 변경한 셀이름으로 차트범례 표시 */
myScatter.LegendText = chinfo.ItemArray[1].ToString(); //$"CH{i + 1}";
this.myPlots[i] = myScatter; //visible 변경 및 데이터 접근을 위해 변수에 따로 저장해둔다.
}
formsPlot1.Plot.Axes.DateTimeTicksBottom();