mirror of
https://github.com/samsonjs/spirit-tracker.git
synced 2026-03-25 09:25:51 +00:00
UX Improvements
This commit is contained in:
parent
340f81aa65
commit
08f136b699
1 changed files with 4 additions and 0 deletions
|
|
@ -977,6 +977,9 @@ export async function renderItem($app, skuInput) {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
layout: {
|
||||||
|
padding: { left: 18 }
|
||||||
|
},
|
||||||
scales: {
|
scales: {
|
||||||
x: { ticks: { maxRotation: 0, autoSkip: true, maxTicksLimit: 12 }, grid: { display: false } },
|
x: { ticks: { maxRotation: 0, autoSkip: true, maxTicksLimit: 12 }, grid: { display: false } },
|
||||||
y: {
|
y: {
|
||||||
|
|
@ -985,6 +988,7 @@ export async function renderItem($app, skuInput) {
|
||||||
stepSize: step,
|
stepSize: step,
|
||||||
maxTicksLimit: MAX_TICKS,
|
maxTicksLimit: MAX_TICKS,
|
||||||
callback: (v) => `$${Number(v).toFixed(0)}`,
|
callback: (v) => `$${Number(v).toFixed(0)}`,
|
||||||
|
padding: 6,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue