Update realtime chart.
This commit is contained in:
1 parent
e64a555652
commit
fdc92d087b
32 files changed
+240
-58
No files matched your search
@@ -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':
|
||||
|
||||
Reference in new issue
Block a user