Update realtime chart animation.
This commit is contained in:
1 parent
5dd3110fbf
commit
0ccae7483c
2 files changed
+20
-9
No files matched your search
@@ -40,7 +40,7 @@ export default function BarChart({
|
||||
|
||||
switch (unit) {
|
||||
case 'minute':
|
||||
return dateFormat(d, 'h:mm', locale);
|
||||
return index % 2 === 0 ? dateFormat(d, 'h:mm', locale) : '';
|
||||
case 'hour':
|
||||
return dateFormat(d, 'ha', locale);
|
||||
case 'day':
|
||||
|
||||
Reference in new issue
Block a user