mirror of
https://github.com/henrygd/beszel.git
synced 2026-03-23 22:16:18 +01:00
style / chart axis updates
This commit is contained in:
@@ -47,7 +47,7 @@ export default function DiskIoChart({
|
||||
<YAxis
|
||||
className="tracking-tighter"
|
||||
width={75}
|
||||
domain={[0, (max: number) => (max < 0.4 ? 0.4 : Math.ceil(max))]}
|
||||
domain={[0, (max: number) => (max <= 0.4 ? 0.4 : Math.ceil(max))]}
|
||||
tickFormatter={(value) => {
|
||||
if (value >= 100) {
|
||||
return value.toFixed(0)
|
||||
|
||||
Reference in New Issue
Block a user