Fix chart data issues: 24-hour format, Y-axis bounds, rounding modes

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-09 13:55:45 +08:00
parent 881dccc1ab
commit 48784010ad
2 changed files with 6 additions and 4 deletions

View File

@@ -140,11 +140,11 @@ export const useAllMapDataStore = defineStore("allMapDataStore", {
case "float":
copy.min =
copy.min !== null
? Number(new Decimal(copy.min).toFixed(2, 1))
? Number(new Decimal(copy.min).toFixed(2, 3))
: null;
copy.max =
copy.max !== null
? Number(new Decimal(copy.max).toFixed(2, 0))
? Number(new Decimal(copy.max).toFixed(2, 2))
: null;
break;
default: