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
ceb1b46f78
commit
95abc44d36
1 changed files with 4 additions and 4 deletions
|
|
@ -977,9 +977,9 @@ export async function renderItem($app, skuInput) {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
layout: {
|
// layout: {
|
||||||
padding: { right: 18 }
|
// padding: { right: 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: {
|
||||||
|
|
@ -988,7 +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,
|
padding: 50,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue