suitedaces / sales-dashboard

https://demo-sales-dashboard.vercel.app
MIT License
0 stars 0 forks source link

Switch Bar Chart to Time Series Chart in Overview Component #13

Closed dev-ape-ai[bot] closed 6 months ago

dev-ape-ai[bot] commented 7 months ago

This PR switches out the bar chart for a time series chart in the Overview component, ensuring the same data is used. The BarChart component from recharts has been replaced with a LineChart component, and properties have been adjusted accordingly to fit the time series chart. This change enhances the data visualization by providing a more detailed view of the data over time.

Summary by DevApe

Description

This PR introduces a change in the data visualization approach within the `Overview` component of the sales-dashboard. The previous bar chart representation has been replaced with a time series chart, specifically a line chart, to provide a more detailed and continuous view of the data over time. Adjustments have been made to the component's properties to accommodate the new chart type, enhancing the overall user experience in data analysis.

Files Changed

File Changes
components/overview.tsx
  • Replaced BarChart component with LineChart from recharts library.
  • Switched Bar component for a Line component to represent the data.
  • Updated properties such as type and stroke to fit the line chart.
vercel[bot] commented 7 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sales-dashboard ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 8, 2024 6:20pm
suitedaces commented 7 months ago

@devapeai can you summarize this PR