Skip to content

Commit

Permalink
finish sales duration chart
Browse files Browse the repository at this point in the history
  • Loading branch information
acharayaP03 committed Dec 29, 2024
1 parent 62679a0 commit fe3214d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/features/dashboard/SalesChart.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ function SalesChart({ bookings, numberOfDays }) {
};
return (
<StyledSalesChart>
<Heading as="h2">Sales</Heading>
<Heading as="h2">
Sales {format(allDates.at(0), "MMM dd yyyy")} &mdash;{" "}
{format(allDates.at(-1), "MMM dd yyy")}
</Heading>
<ResponsiveContainer width="100%" height={300}>
<AreaChart data={data}>
<XAxis
Expand Down

0 comments on commit fe3214d

Please sign in to comment.