ChartBlockProps Type — supabase Architecture
Architecture documentation for the ChartBlockProps type/interface in ChartBlock.tsx from the supabase codebase.
Entity Profile
Source Code
apps/studio/components/interfaces/Reports/ReportBlock/ChartBlock.tsx lines 28–46
interface ChartBlockProps {
label: string
attribute: string
provider: 'infra-monitoring' | 'daily-stats'
startDate: string
endDate: string
interval?: AnalyticsInterval
defaultChartStyle?: 'bar' | 'line'
isLoading?: boolean
actions?: ReactNode
maxHeight?: number
onUpdateChartConfig?: ({
chart,
chartConfig,
}: {
chart?: Partial<Dashboards.Chart>
chartConfig?: Partial<ChartConfig>
}) => void
}
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free