Skip to content

Commit

Permalink
fix: hide x-axis
Browse files Browse the repository at this point in the history
  • Loading branch information
frectonz committed Jun 20, 2024
1 parent e7a0bdf commit 5270ba3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/src/routes/index.lazy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ export function TheBarChart({ counts }: TheBarChartProps) {
fontSize={12}
tickLine={false}
axisLine={false}
className="hidden"
/>
<YAxis
stroke="#888888"
Expand Down Expand Up @@ -261,7 +262,7 @@ function CustomTooltip({
<CardContent className="p-0">
<div className="font-bold"># {payload[0]?.value?.toLocaleString()}</div>
<p className="text-xs text-muted-foreground">
Table <span className="text-primary font-semibold">{label}</span> have{" "}
Table <span className="text-primary font-semibold">{label}</span> has{" "}
<span className="text-primary font-semibold">
{compactNumberFormatter.format(payload[0]?.value as number)}
</span>{" "}
Expand Down

0 comments on commit 5270ba3

Please sign in to comment.