The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: hides recharts ticks properly
TzeYiingcbf47d52c0e1
diff --git a/studio/components/to-be-cleaned/Charts/ChartRenderer.tsx b/studio/components/to-be-cleaned/Charts/ChartRenderer.tsxindex 88812c5307e..3e0651f0825 100644--- a/studio/components/to-be-cleaned/Charts/ChartRenderer.tsx+++ b/studio/components/to-be-cleaned/Charts/ChartRenderer.tsx@@ -214,7 +214,7 @@ export function BarChart({interval={data ? data.length - 2 : 0}angle={0}// stroke="#4B5563"- tick={{ fontSize: '0px', color: CHART_COLORS.TICK }}+ tick={false}axisLine={{ stroke: CHART_COLORS.AXIS }}tickLine={{ stroke: CHART_COLORS.AXIS }}/>diff --git a/studio/components/ui/Charts/AreaChart.tsx b/studio/components/ui/Charts/AreaChart.tsxindex 8bcbacc9b62..f83fcf91625 100644--- a/studio/components/ui/Charts/AreaChart.tsx+++ b/studio/components/ui/Charts/AreaChart.tsx@@ -97,7 +97,7 @@ const AreaChart: React.FC<AreaChartProps> = ({interval={data.length - 2}angle={0}// hide the tick- tick={{ fontSize: '0px' }}+ tick={false}// color the axisaxisLine={{ stroke: CHART_COLORS.AXIS }}tickLine={{ stroke: CHART_COLORS.AXIS }}diff --git a/studio/components/ui/Charts/BarChart.tsx b/studio/components/ui/Charts/BarChart.tsxindex 539de0212c7..2da9cf9a76e 100644--- a/studio/components/ui/Charts/BarChart.tsx+++ b/studio/components/ui/Charts/BarChart.tsx@@ -92,7 +92,7 @@ const BarChart: React.FC<BarChartProps> = ({interval={data.length - 2}angle={0}// hide the tick- tick={{ fontSize: '0px' }}+ tick={false}// color the axisaxisLine={{ stroke: CHART_COLORS.AXIS }}tickLine={{ stroke: CHART_COLORS.AXIS }}diff --git a/studio/components/ui/Charts/StackedBarChart.tsx b/studio/components/ui/Charts/StackedBarChart.tsxindex a508960b1fd..aceea8560d3 100644--- a/studio/components/ui/Charts/StackedBarChart.tsx+++ b/studio/components/ui/Charts/StackedBarChart.tsx@@ -84,7 +84,7 @@ const StackedBarChart: React.FC<Props> = ({dataKey={xAxisKey}interval={data.length - 2}angle={0}- tick={{ fontSize: '0px' }}+ tick={false}axisLine={{ stroke: CHART_COLORS.AXIS }}tickLine={{ stroke: CHART_COLORS.AXIS }}/>