Fix Layout
This commit is contained in:
@@ -32,7 +32,7 @@ export default function JenisPendaftaranChart() {
|
||||
},
|
||||
plotOptions: {
|
||||
bar: {
|
||||
horizontal: true,
|
||||
horizontal: false,
|
||||
columnWidth: '55%',
|
||||
},
|
||||
},
|
||||
@@ -66,7 +66,7 @@ export default function JenisPendaftaranChart() {
|
||||
fontSize: '12px',
|
||||
colors: theme === 'dark' ? '#fff' : '#000'
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
yaxis: {
|
||||
title: {
|
||||
@@ -82,7 +82,9 @@ export default function JenisPendaftaranChart() {
|
||||
fontSize: '12px',
|
||||
colors: theme === 'dark' ? '#fff' : '#000'
|
||||
}
|
||||
}
|
||||
},
|
||||
min:0,
|
||||
tickAmount: 5
|
||||
},
|
||||
fill: {
|
||||
opacity: 1,
|
||||
@@ -280,7 +282,7 @@ export default function JenisPendaftaranChart() {
|
||||
</CardTitle>
|
||||
</CardHeader>
|
||||
<CardContent>
|
||||
<div className="h-[300px] sm:h-[350px] md:h-[400px] w-full max-w-5xl mx-auto">
|
||||
<div className="h-[300px] sm:h-[350px] md:h-[300px] w-full max-w-5xl mx-auto">
|
||||
<Chart
|
||||
options={options}
|
||||
series={series}
|
||||
|
||||
Reference in New Issue
Block a user