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 SalesAnalytics = () => { // Select Form const [select, setSelect] = React.useState(""); const handleChange = (event) => { setSelect(event.target.value); }; // Chart const series = [ { data: [ { x: "Operations", y: [2800, 4500], }, { x: "Customer Success", y: [3200, 4100], }, { x: "Engineering", y: [2950, 7800], }, { x: "Marketing", y: [3000, 4600], }, { x: "Product", y: [3500, 4100], }, { x: "Data Science", y: [4500, 6500], }, { x: "Sales", y: [4100, 5600], }, ], }, ]; const options = { chart: { type: "rangeBar", toolbar: { show: false, }, }, colors: ["#2DB6F5", "#757FEF"], plotOptions: { bar: { horizontal: true, isDumbbell: true, dumbbellColors: [["#2DB6F5", "#757FEF"]], }, }, legend: { show: false, }, fill: { type: "gradient", gradient: { gradientToColors: ["#757FEF"], inverseColors: false, stops: [0, 100], }, }, grid: { show: true, strokeDashArray: 5, borderColor: "#EDEFF5", }, xaxis: { labels: { style: { colors: "#a9a9c8", fontSize: "14px", }, }, axisBorder: { show: false, }, axisTicks: { show: false, }, }, yaxis: { labels: { style: { colors: "#a9a9c8", fontSize: "14px", }, }, axisBorder: { show: false, }, }, }; return ( <> {/* Card Header */} Sales Analytics Select ); }; export default SalesAnalytics;