|
|
|
@@ -329,10 +329,10 @@ export default function WarehouseChartPage() { |
|
|
|
) : chartData.consumptionByItems ? ( |
|
|
|
<ApexCharts |
|
|
|
options={{ |
|
|
|
chart: { type: "bar" }, |
|
|
|
chart: { type: "bar", stacked: false }, |
|
|
|
xaxis: { categories: chartData.consumptionByItems.months }, |
|
|
|
yaxis: { title: { text: "出庫量" } }, |
|
|
|
plotOptions: { bar: { columnWidth: "60%", stacked: false } }, |
|
|
|
plotOptions: { bar: { columnWidth: "60%" } }, |
|
|
|
dataLabels: { enabled: false }, |
|
|
|
legend: { position: "top" }, |
|
|
|
}} |
|
|
|
|