// ** MUI Imports import Box from '@mui/material/Box' import Card from '@mui/material/Card' import Button from '@mui/material/Button' import { useTheme } from '@mui/material/styles' import CardHeader from '@mui/material/CardHeader' import IconButton from '@mui/material/IconButton' import Typography from '@mui/material/Typography' import CardContent from '@mui/material/CardContent' // ** Icons Imports import DotsVertical from 'mdi-material-ui/DotsVertical' // ** Third Party Imports import { ApexOptions } from 'apexcharts' // ** Custom Components Imports import ReactApexcharts from '../../core/components/react-apexcharts' const WeeklyOverview = () => { // ** Hook const theme = useTheme() const options: ApexOptions = { chart: { parentHeightOffset: 0, toolbar: { show: false } }, plotOptions: { bar: { borderRadius: 9, distributed: true, columnWidth: '40%', endingShape: 'rounded', startingShape: 'rounded' } }, stroke: { width: 2, colors: [theme.palette.background.paper] }, legend: { show: false }, grid: { strokeDashArray: 7, padding: { top: -1, right: 0, left: -12, bottom: 5 } }, dataLabels: { enabled: false }, colors: [ theme.palette.background.default, theme.palette.background.default, theme.palette.background.default, theme.palette.primary.main, theme.palette.background.default, theme.palette.background.default ], states: { hover: { filter: { type: 'none' } }, active: { filter: { type: 'none' } } }, xaxis: { categories: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], tickPlacement: 'on', labels: { show: false }, axisTicks: { show: false }, axisBorder: { show: false } }, yaxis: { show: true, tickAmount: 4, labels: { offsetX: -17, formatter: value => `${value > 999 ? `${(value / 1000).toFixed(0)}` : value}k` } } } return ( } /> 45% Your sales performance is 45% 😎 better compared to last month ) } export default WeeklyOverview