Skip to content

Commit

Permalink
Add y-axis formatter for overview bar chart
Browse files Browse the repository at this point in the history
  • Loading branch information
charlie-collard committed Jun 17, 2024
1 parent e861787 commit d81819b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui/src/routes/index.lazy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ export function TheBarChart({ counts }: TheBarChartProps) {
fontSize={12}
tickLine={false}
axisLine={false}
tickFormatter={(number) => Intl.NumberFormat("en-US", {notation: "compact", maximumFractionDigits: 1}).format(number)}
/>
<Bar
dataKey="count"
Expand Down

0 comments on commit d81819b

Please sign in to comment.