Home / Type/ UsageBarChartProps Type — supabase Architecture

UsageBarChartProps Type — supabase Architecture

Architecture documentation for the UsageBarChartProps type/interface in UsageBarChart.tsx from the supabase codebase.

Entity Profile

Source Code

apps/studio/components/interfaces/Organization/Usage/UsageBarChart.tsx lines 21–31

export interface UsageBarChartProps {
  data: DataPoint[]
  name: string // Used within the tooltip
  attributes: Attribute[]
  unit: 'bytes' | 'absolute' | 'percentage' | 'hours' | 'gigabytes'
  yLimit?: number
  yMin?: number
  yLeftMargin?: number
  yFormatter?: (value: number | string) => string
  tooltipFormatter?: (value: number | string) => string
}

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free