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 RevenueSummary = () => { // Select Form const [select, setSelect] = React.useState(""); const handleChange = (event) => { setSelect(event.target.value); }; // Chart const series = [ { name: "Revenue Summary", data: [2.3, 3, 4.0, 10.5, 5.6, 5, 4, 2.8, 2, 1.3, 0.8, 0.3], }, ]; const options = { chart: { type: "bar", toolbar: { show: false, }, }, plotOptions: { bar: { borderRadius: 9, columnWidth: "60%", borderRadiusWhenStacked: "last", borderRadiusApplication: "around", dataLabels: { position: "top", }, }, }, dataLabels: { enabled: true, formatter: function (val) { return val + "%"; }, offsetY: -28, style: { colors: ["#5B5B98"], }, }, colors: ["#757fef"], fill: { opacity: 1, }, xaxis: { categories: [ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ], position: "top", labels: { style: { colors: "#A9A9C8", fontSize: "14px", }, }, axisBorder: { show: false, }, axisTicks: { show: false, }, }, yaxis: { axisBorder: { show: false, }, axisTicks: { show: false, }, labels: { show: false, formatter: function (val) { return val + "%"; }, }, }, grid: { show: true, strokeDashArray: 5, borderColor: "#EDEFF5", }, }; return ( <> {/* Card Header */} Revenue Summary Select ); }; export default RevenueSummary;