Add Dashboard
This commit is contained in:
@@ -68,8 +68,8 @@ export default function StatistikMahasiswaChart() {
|
||||
},
|
||||
},
|
||||
stroke: {
|
||||
show: false,
|
||||
width: [0, 0, 0],
|
||||
show: true,
|
||||
width: 2,
|
||||
colors: ['transparent', 'transparent', 'transparent'],
|
||||
curve: 'straight' as const
|
||||
},
|
||||
@@ -304,8 +304,15 @@ export default function StatistikMahasiswaChart() {
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="h-[300px] sm:h-[350px] md:h-[300px] w-full max-w-5xl mx-auto">
|
||||
<Chart
|
||||
<Card className="bg-white dark:bg-slate-900 shadow-lg">
|
||||
<CardHeader>
|
||||
<CardTitle className="text-xl font-bold dark:text-white">
|
||||
Jumlah Mahasiswa
|
||||
</CardTitle>
|
||||
</CardHeader>
|
||||
<CardContent>
|
||||
<div className="h-[300px] sm:h-[350px] md:h-[300px] w-full max-w-5xl mx-auto">
|
||||
<Chart
|
||||
options={chartOptions}
|
||||
series={chartSeries}
|
||||
type="bar"
|
||||
@@ -313,5 +320,7 @@ export default function StatistikMahasiswaChart() {
|
||||
width="100%"
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
</CardContent>
|
||||
</Card>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user