FeatureFuel
1

Project home charts: stacked bars and a colour for each series (Custom Reports now, Notebooks later)

Source: supabase/supabase#54462 · opened by @mayankbohradev
What I want to do I use the custom report section on the project home page to watch background jobs per day: how many completed and how many failed. I want one bar per day, with the completed count in the default colour and the failed count in red on top of it. The built-in usage charts in the dashboard already show stacked series with different colours. What happens today Home page custom report (SQL snippet charts): one Y column and one fixed colour (yKey in ChartConfig, fill="var(--chart-1)" in QueryBlock.tsx). So I need two cards, one for completed and one for failed, and I cannot show failures in red. Notebooks (Explorer preview): a query chart can have up to 3 Y columns, but: 1. Bars are always side by side. QueryResultChart does not pass isStacked to ChartBar, although ChartBar supports it. 2. Colours are fixed by position (Y_SERIES_COLORS). 3. With the preview on, the home page shows a list of notebook cards in place of the custom report section (Home.tsx), so t…

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests