@@ -279,7 +279,7 @@ namespace OTSIncAReportApp.Control_ECharts
case "DMIN":
po = "DMIN";
break;
- case "Area":
+ case "CIRCLE":
po = "Area";
case "FERET":
@@ -207,7 +207,10 @@ namespace OTSIncAReportApp.DataOperation.DataAccess
}
DataTable DT = dbHelper.ExecuteDataTable(sqlp, null);
-
+ for (int i = 0; i < DT.Rows.Count; i++)
+ {
+ DT.Rows[i]["Area"] = Math.Sqrt((double)DT.Rows[i]["Area"] / Math.PI) * 2;
+ }
return DT;