Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix: add maxBarSize for chart renderer

TzeYiingcec0d932be60
diff --git a/studio/components/to-be-cleaned/Charts/ChartRenderer.tsx b/studio/components/to-be-cleaned/Charts/ChartRenderer.tsx
index ca7e2aaeba2..c6c15220be8 100644
--- a/studio/components/to-be-cleaned/Charts/ChartRenderer.tsx
+++ b/studio/components/to-be-cleaned/Charts/ChartRenderer.tsx
@@ -256,6 +256,8 @@ export function BarChart({
fill={CHART_COLORS.GREEN_1}
// barSize={2}
animationDuration={300}
+ // max bar size required for LogEventChart, prevents bars from expanding to max width.
+ maxBarSize={48}
>
{data?.map((entry: any, index: any) => (
<Cell