y axis formatting
This commit is contained in:
1 parent
38ef9ccad3
commit
227dc9e7e8
3 files changed
+8
-4
No files matched your search
@@ -7,8 +7,7 @@ import { useMemo } from "react";
|
||||
import { useTheme } from "@mui/material/styles";
|
||||
import useMediaQuery from "@mui/material/useMediaQuery";
|
||||
|
||||
const formatBytesToMB = (value: number) =>
|
||||
`${(value / (1024 * 1024)).toFixed(2)} MB`;
|
||||
const formatBytesToMB = (value: number) => `${(value / (1024 * 1024)).toFixed(2)} MB`;
|
||||
|
||||
interface ChartConfig {
|
||||
title: string;
|
||||
|
||||
Reference in new issue
Block a user