mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-18 06:20:15 +00:00
修复最大值小于10的浮点数图表显示异常
This commit is contained in:
@@ -235,8 +235,8 @@ namespace XCharts
|
||||
}
|
||||
else
|
||||
{
|
||||
minVaule = (int)min;
|
||||
maxValue = (int)max;
|
||||
minVaule = Mathf.FloorToInt(min);
|
||||
maxValue = Mathf.CeilToInt(max);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user