Sfoglia il codice sorgente

修改报告谱图元素图标最大数量由4个增加至10个

zhangjiaxin 5 mesi fa
parent
commit
42802463d2

+ 1 - 1
OTSIncAReportApp/1-UI/Control_Graph/Controls/Control_XRayTable.cs

@@ -316,7 +316,7 @@ namespace OTSIncAReportGraph.Controls
                 m_list_twopoint2.Add(tp);
             }
             List<ShowElementInfo> in_list_showelementinfo2 = new List<ShowElementInfo>();
-            if (in_list_showelementinfo.Count > 4) in_list_showelementinfo2 = in_list_showelementinfo.GetRange(0, 4);
+            if (in_list_showelementinfo.Count > 10) in_list_showelementinfo2 = in_list_showelementinfo.GetRange(0, 10);
             else in_list_showelementinfo2 = in_list_showelementinfo;
             //重新实现的计算峰值上显示元素的计算方法
             CalcKMLFPoint(in_list_showelementinfo2);