增加AxisceilRate设置最大最小值的取整倍率

This commit is contained in:
monitor1394
2020-03-29 15:46:01 +08:00
parent f6f43c418f
commit 26e67fb1a2
6 changed files with 61 additions and 31 deletions

View File

@@ -269,7 +269,6 @@ namespace XCharts
brRb = cornerRadius != null && cornerRadius.Length > 2 ? cornerRadius[2] : 0;
brLb = cornerRadius != null && cornerRadius.Length > 3 ? cornerRadius[3] : 0;
needRound = brLb != 0 || brRt != 0 || brRb != 0 || brLb != 0;
var min = Mathf.Min(width, height);
if (needRound)
{
if (brLt + brRt > width)