IO-1215 Roudning on dashboard graph.

This commit is contained in:
Patrick Fic
2021-06-21 11:58:09 -07:00
parent 756e363e92
commit 5a109c5752

View File

@@ -63,7 +63,9 @@ export default function DashboardMonthlyRevenueGraph({ data, ...cardProps }) {
<CartesianGrid stroke="#f5f5f5" /> <CartesianGrid stroke="#f5f5f5" />
<XAxis dataKey="date" /> <XAxis dataKey="date" />
<YAxis /> <YAxis />
<Tooltip /> <Tooltip
formatter={(value, name, props) => value && value.toFixed(2)}
/>
<Legend /> <Legend />
<Area <Area
type="monotone" type="monotone"