Reduce monthly graph font size

The font size of the monthly graph has been reduced.
This commit is contained in:
gpt-engineer-app[bot]
2025-03-15 02:50:31 +00:00
parent cdcab05ba7
commit c22dcd52f9

View File

@@ -1,3 +1,4 @@
import React, { useState } from 'react';
import NavBar from '@/components/NavBar';
import ExpenseChart from '@/components/ExpenseChart';
@@ -131,12 +132,16 @@ const Analytics = () => {
<h2 className="text-lg font-semibold mb-3"> </h2>
<div className="neuro-card h-72">
<ResponsiveContainer width="100%" height="100%">
<BarChart data={monthlyData} margin={{
<BarChart
data={monthlyData}
margin={{
top: 20,
right: 10,
left: -10,
bottom: 5
}}>
}}
style={{ fontSize: '11px' }}
>
<XAxis dataKey="name" />
<YAxis tickFormatter={formatYAxisTick} />
<Tooltip formatter={formatTooltip} />