修复最大值小于10的浮点数图表显示异常

This commit is contained in:
monitor1394
2019-06-18 02:42:35 +08:00
parent b118081deb
commit 105637fb64
2 changed files with 8 additions and 11 deletions

View File

@@ -235,8 +235,8 @@ namespace XCharts
}
else
{
minVaule = (int)min;
maxValue = (int)max;
minVaule = Mathf.FloorToInt(min);
maxValue = Mathf.CeilToInt(max);
}
}