Skip to content

Commit

Permalink
feat: add new chart to admin dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
phojie committed Jan 11, 2023
1 parent 0cfe12e commit af3383b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions resources/js/components/Admin/Index/AdminIndexCharts.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ const props = defineProps<{
Overview
</h2>
<div class="grid flex-1 grid-cols-1 gap-4 lg:grid-cols-12">
<div class="col-span-1 p-2 bg-white rounded-lg shadow lg:col-span-7 ">
<ChartBar title="Orders per product (Line Chart)" type="line" :series="ordersProductQuantity.series" :categories="ordersProductQuantity.categories" />
</div>
<div class="col-span-1 p-2 bg-white rounded-lg shadow lg:col-span-5 ">
<ChartBar title="Orders per product (Line)" type="line" :series="ordersProductQuantity.series" :categories="ordersProductQuantity.categories" />
</div>
<div class="col-span-1 p-2 bg-white rounded-lg shadow lg:col-span-7 ">
<ChartBar title="Orders per product (Bar)" type="bar" :series="ordersProductQuantity.series" :categories="ordersProductQuantity.categories" />
</div>
<!-- <div class="col-span-1 p-2 bg-white rounded-lg shadow lg:col-span-4 min-h-[500px]">
Expand Down

0 comments on commit af3383b

Please sign in to comment.