diff --git a/src/Components/Doughnut/ApexDonut.jsx b/src/Components/Doughnut/ApexDonut.jsx index 01640d5..a3eb1e6 100644 --- a/src/Components/Doughnut/ApexDonut.jsx +++ b/src/Components/Doughnut/ApexDonut.jsx @@ -25,7 +25,7 @@ const ApexChart = ({ data }) => { fill: { type: 'gradient', }, - colors: data?.backgroundColor, // Customize your colors here + colors: data?.backgroundColor, legend: { show: false, position: 'right', diff --git a/src/Components/Doughnut/ApexLine.jsx b/src/Components/Doughnut/ApexLine.jsx index 5c842e5..8e27e25 100644 --- a/src/Components/Doughnut/ApexLine.jsx +++ b/src/Components/Doughnut/ApexLine.jsx @@ -58,7 +58,7 @@ function ApexLine() { return (
- +
); } diff --git a/src/Pages/Dashbaord.jsx b/src/Pages/Dashbaord.jsx index 135f51d..1ed8b29 100644 --- a/src/Pages/Dashbaord.jsx +++ b/src/Pages/Dashbaord.jsx @@ -98,28 +98,28 @@ const Dashbaord = () => { return ( isIoPreLoading || isIoLoading || isInvestorLoading ? : - + - navigate("/investor-details")} boxShadow={'lg'} color={"#fff"} p={4} rounded={'xl'} w={'25%'} display={'flex'} bg={'#004118'} flexDirection={'column'} alignItems={'start'} > - + navigate("/investor-details")} boxShadow={'lg'} color={"#004118"} p={4} rounded={'xl'} w={'25%'} display={'flex'} bg={'#f5f8f6'} flexDirection={'column'} alignItems={'start'} > + Total Investors {investorDetails?.data?.totalItems} {/* */} - navigate("/view-io")} boxShadow={'lg'} bg={'#fff'} color={"#004118"} p={3} rounded={'xl'} w={'25%'} display={'flex'} flexDirection={'column'} alignItems={'start'} > + navigate("/view-io")} boxShadow={'lg'} bg={'#f5f8f6'} color={"#004118"} p={3} rounded={'xl'} w={'25%'} display={'flex'} flexDirection={'column'} alignItems={'start'} > Total IO {IO?.data?.totalItems} - navigate("/sponser")} boxShadow={'lg'} bg={'#fff'} color={"#004118"} p={3} rounded={'xl'} w={'25%'} display={'flex'} flexDirection={'column'} alignItems={'start'} > + navigate("/sponser")} boxShadow={'lg'} bg={'#f5f8f6'} color={"#004118"} p={3} rounded={'xl'} w={'25%'} display={'flex'} flexDirection={'column'} alignItems={'start'} > Total sponors {data?.data?.sponsor?.length} - navigate("/investment-type")} boxShadow={'lg'} bg={'#fff'} color={"#004118"} p={3} rounded={'xl'} w={'25%'} display={'flex'} flexDirection={'column'} alignItems={'start'} > + navigate("/investment-type")} boxShadow={'lg'} bg={'#f5f8f6'} color={"#004118"} p={3} rounded={'xl'} w={'25%'} display={'flex'} flexDirection={'column'} alignItems={'start'} > Total Investment Type {data?.data?.investmentType?.length}