Skip to content

Commit

Permalink
Update graph.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
nickscamara committed May 27, 2024
1 parent 905bfac commit ff5a80b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/graph.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,15 @@ export default function Graph({
</div>
<div className="pt-6 text-xs ">
<AreaChart
style={{ width: width + "px"}}
style={{ width: width + "px"}}
className={`h-72 transition-all`}
data={finalChartData}
index={xName}
categories={[yName]}
colors={[theme.color]}
showGridLines={false}
yAxisWidth={35}
showAnimation={true}
showLegend={false}
yAxisLabel={yName}
xAxisLabel={xName}
Expand Down

0 comments on commit ff5a80b

Please sign in to comment.