mirror of
https://github.com/umami-software/umami.git
synced 2026-02-08 22:57:12 +01:00
Update realtime chart.
This commit is contained in:
parent
e64a555652
commit
fdc92d087b
32 changed files with 240 additions and 58 deletions
|
|
@ -39,6 +39,8 @@ export default function BarChart({
|
|||
const w = canvas.current.width;
|
||||
|
||||
switch (unit) {
|
||||
case 'minute':
|
||||
return dateFormat(d, 'h:mm', locale);
|
||||
case 'hour':
|
||||
return dateFormat(d, 'ha', locale);
|
||||
case 'day':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue