import React, { Component } from "react";
import { Box, Typography } from "@mui/material";
import dynamic from "next/dynamic";
const Chart = dynamic(() => import("react-apexcharts"), {
ssr: false,
});
import ArrowDownwardIcon from '@mui/icons-material/ArrowDownward';
import ArrowUpwardIcon from '@mui/icons-material/ArrowUpward';
class TotalUsersChart extends Component {
constructor(props) {
super(props);
this.state = {
series: [44, 55, 13],
options: {
labels: ["Target", "Last week", "Last Month"],
colors: ["#757FEF", "#90C6E0", "#E040FB"],
legend: {
show: false,
},
tooltip: {
y: {
formatter: function (val) {
return "" + val + "k";
},
},
},
responsive: [{
breakpoint: 480,
options: {
chart: {
height: 270
},
}
}]
},
};
}
render() {
return (
<>
Target
18k
Last Week
5.21k
Last Month
32k
>
);
}
}
export default TotalUsersChart;