| | |
| | | if (coordinateParas.StartLineNoP < downGridNum) |
| | | { |
| | | int diff_num = downGridNum - coordinateParas.StartLineNoP; |
| | | /*coordinateParas.GridNumberY += diff_num; |
| | | coordinateParas.EndLineNoH += diff_num; //æ§ä»£ç 没ææä¹ |
| | | coordinateParas.StartLineNoH += diff_num;*/ |
| | | coordinateParas.GridNumberY += diff_num; //æ§ä»£ç ææä¹ nsx |
| | | coordinateParas.EndLineNoH += diff_num; //æ§ä»£ç ææä¹ nsx |
| | | coordinateParas.StartLineNoH += diff_num; //æ§ä»£ç ææä¹ nsx |
| | | coordinateParas.EndLineNoP += diff_num; |
| | | coordinateParas.StartLineNoP += diff_num; |
| | | } |
| | |
| | | } |
| | | } |
| | | |
| | | double optimalSpace = GetOptimalSpace((maxValue - minValue) / (double)spaceNum,true); |
| | | double optimalSpace = GetOptimalSpace((maxValue - minValue) / (double)spaceNum, true); |
| | | maxDisplay = Math.Ceiling(maxValue / optimalSpace) * optimalSpace; |
| | | minDisplay = maxDisplay - (double)spaceNum * optimalSpace; |
| | | return optimalSpace; |