missing x axis
This commit is contained in:
1 parent
40977775f0
commit
6f41167456
1 file changed
+2
@@ -1,6 +1,7 @@
|
|||||||
import { BaseChart } from "@/components/monitors/Chart";
|
import { BaseChart } from "@/components/monitors/Chart";
|
||||||
import { TrendingUp } from "lucide-react";
|
import { TrendingUp } from "lucide-react";
|
||||||
import {
|
import {
|
||||||
|
XAxis,
|
||||||
AreaChart,
|
AreaChart,
|
||||||
Area,
|
Area,
|
||||||
Tooltip,
|
Tooltip,
|
||||||
@@ -59,6 +60,7 @@ export const HistogramPageSpeedScores = ({
|
|||||||
>
|
>
|
||||||
<ResponsiveContainer width="100%" minWidth={25} height={215}>
|
<ResponsiveContainer width="100%" minWidth={25} height={215}>
|
||||||
<AreaChart data={checks}>
|
<AreaChart data={checks}>
|
||||||
|
<XAxis dataKey={"_id"} />
|
||||||
<CartesianGrid
|
<CartesianGrid
|
||||||
stroke={theme.palette.divider}
|
stroke={theme.palette.divider}
|
||||||
strokeWidth={1}
|
strokeWidth={1}
|
||||||
|
|||||||
Reference in new issue
Block a user