import React from "react"; import { Box } from "@mui/material"; import Card from "@mui/material/Card"; import { Typography } from "@mui/material"; import Grid from "@mui/material/Grid"; 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"; import TrendingUpIcon from "@mui/icons-material/TrendingUp"; import TrendingDownIcon from "@mui/icons-material/TrendingDown"; import ProgressBar from "@ramonak/react-progress-bar"; const TicketsStatus = () => { // Select Form const [select, setSelect] = React.useState(""); const handleChange = (event) => { setSelect(event.target.value); }; // Chart const series = [ { name: "Open", data: [10, 20, 15, 12, 9, 11, 6], }, { name: "Closed", data: [-10, -10, -15, -12, -9, -11, -6], }, ]; const options = { chart: { stacked: true, toolbar: { show: false, }, }, colors: ["#2DB6F5", "#757FEF"], plotOptions: { bar: { borderRadius: 5, columnWidth: "15%", borderRadiusWhenStacked: "last", }, }, dataLabels: { enabled: false, }, grid: { xaxis: { lines: { show: false, }, }, show: true, strokeDashArray: 5, borderColor: "#EDEFF5", }, yaxis: { labels: { style: { colors: "#a9a9c8", fontSize: "14px", }, }, }, xaxis: { axisBorder: { show: false, }, categories: ["Sat", "Sun", "Mon", "Tue", "Wed", "Thu", "Fri"], labels: { style: { colors: "#a9a9c8", fontSize: "14px", }, }, }, legend: { show: false, }, }; return ( <> {/* Card Header */} Tickets Status Select {/* Chart */} {/* New Tickets */} New Tickets 12,50846 {" "} +2.48% {/* Solved Tickets */} Solved Tickets 10,431 {" "} -1.02% ); }; export default TicketsStatus;