/**Show the series according to the points get from file.*/ private void showSeries() { if (points == null) { MessageShow.show("The points to show is null", "用于显示的点为null"); return; } points.addPointsToLine(ft, goodPoints, badPoints); maxAllowFt.Add(tchart.Axes.Bottom.MaxXValue, AscanMeasureMap.MaxSingleGateValue); minAllowFt.Add(tchart.Axes.Bottom.MaxXValue, AscanMeasureMap.MinSingleGateValue); updataCountShow(); }
/**Show the series according to the points get from file.*/ private void showSeries() { if ((maxPoints == null) || (minPoints == null)) { MessageShow.show("The points to show is null", "用于显示的点为null"); return; } maxPoints.addPointsToLine(maxFt, maxGoodPoints, maxBadPoints); minPoints.addPointsToLine(minFt, minGoodPoints, minBadPoints); maxAllowFt.Add(tchart.Axes.Bottom.MaxXValue, AscanMeasureMap.MaxDoubleGatesValue); minAllowFt.Add(tchart.Axes.Bottom.MaxXValue, AscanMeasureMap.MinDoubleGatesValue); updataCountShow(); }