import React from "react"; import { Box } from "@mui/material"; import Card from "@mui/material/Card"; import { Typography } from "@mui/material"; import dynamic from "next/dynamic"; const Chart = dynamic(() => import("react-apexcharts"), { ssr: false, }); import InputLabel from "@mui/material/InputLabel"; import MenuItem from "@mui/material/MenuItem"; import FormControl from "@mui/material/FormControl"; import Select from "@mui/material/Select"; const AudienceOverview = () => { // Select Form const [select, setSelect] = React.useState(""); const handleChange = (event) => { setSelect(event.target.value); }; // Chart const series = [ { name: "New Visitors", data: [0, 70, 35, 80, 40, 80, 75, 65, 80, 70, 40, 0], }, { name: "Unique Visitors", data: [0, 55, 80, 30, 50, 60, 32, 40, 60, 60, 40, 10], }, { name: "Previous Visitors", data: [0, 45, 35, 50, 80, 40, 60, 50, 110, 40, 65, 20], }, ]; const options = { chart: { type: "area", toolbar: { show: false, }, }, dataLabels: { enabled: false, }, stroke: { curve: "smooth", }, colors: ["#E7EBF5", "#8EB0DE", "#90C6E0"], xaxis: { axisBorder: { show: false, }, categories: [ "13 Jan", "14 Jan", "15 Jan", "16 Jan", "17 Jan", "18 Jan", "19 Jan", "20 Jan", "21 Jan", "22 Jan", "23 Jan", "24 Jan", "25 Jan", ], labels: { style: { colors: "#a9a9c8", fontSize: "14px", }, }, axisTicks: { show: false, }, }, yaxis: { tickAmount: 6, labels: { style: { colors: "#a9a9c8", fontSize: "14px", }, }, }, grid: { show: true, strokeDashArray: 5, borderColor: "#EDEFF5", }, tooltip: { x: { format: "dd/MM/yy HH:mm", }, }, legend: { offsetY: 0, position: "top", fontSize: "14px", horizontalAlign: "center", labels: { colors: "#5B5B98", }, }, }; return ( <> {/* Card Header */} Audience Overview Select ); }; export default AudienceOverview;