Browse Source

Merge branch 'Release2.3' of http://36.129.163.148:10080/gaoshipeng/OTS2_0 into Release2.3

zhangjiaxin 3 years ago
parent
commit
27075a62cf

+ 2 - 2
OTSIncAReportApp/1-UI/Control_Graph/OTSIncAReportGraphFuncation/OTSImageDisHelp.cs

@@ -219,9 +219,9 @@ namespace OTSIncAReportGraph.OTSIncAReportGraphFuncation
 
             //需要针对第二大的值,获取时进行判断,感觉这里应该如果并未找到第二大的值的情况下,赋于0值,便于以后进行计算
             if (width_max2 == -10000000)
-                width_max2 = 0;
+                width_max2 = width_max;
             if (height_max2 == -10000000)
-                height_max2 = 0;
+                height_max2 = height_max;
 
             RectangleF ret_rect = new RectangleF(0, 0, width_max - width_max2, height_max - height_max2);