mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-20 15:30:09 +00:00
修复数据过小时AxisLabel直接科学计数法显示的问题
This commit is contained in:
@@ -513,7 +513,8 @@ namespace XCharts
|
||||
count++;
|
||||
intvalue = (int)(value * Mathf.Pow(10, count));
|
||||
}
|
||||
return count;
|
||||
if (count == 12 && (value == 0 || value == 1)) return 1;
|
||||
else return count;
|
||||
}
|
||||
|
||||
public static void AddEventListener(GameObject obj, EventTriggerType type,
|
||||
|
||||
Reference in New Issue
Block a user