tweak retention heatmap
This commit is contained in:
parent
e36e5df635
commit
3551ac328e
|
@ -39,7 +39,7 @@ async function renderChart() {
|
||||||
const wide = rootEl.offsetWidth > 600;
|
const wide = rootEl.offsetWidth > 600;
|
||||||
const narrow = rootEl.offsetWidth < 400;
|
const narrow = rootEl.offsetWidth < 400;
|
||||||
|
|
||||||
const maxDays = wide ? 20 : narrow ? 7 : 14;
|
const maxDays = wide ? 15 : narrow ? 5 : 10;
|
||||||
|
|
||||||
const raw = await os.api('retention', { });
|
const raw = await os.api('retention', { });
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue