# Upstage Design System — BarChart (product)
- context: product · group: data
- source revision: lift-1.2.3 (Lift 1.2.3, zip sha256 8d5d9377c2b4…)
- status: content source-derived · availability implemented · verification static-only
- human docs: /ko/components/product/barchart/ · machine doc: /agent/components/product/barchart.md
## Required references (read these)
- /components/data/BarChart.jsx — implementation · sha256 6f50499aa095…
- /components/_types.d.ts — api · key BarChartProps
- /components/data/BarChart.prompt.md — usage-note · sha256 5b605d9539c0…
- /kit/rules/a11y-contract.json — a11y · key BarChart
## API (components/_types.d.ts BarChartProps)
- data?: BarDatum[]
- orientation?: "vertical" | "horizontal"
- palette?: "brand" | "categorical" — 기본 "brand" — 브랜드 스케일 한 계열(--chart-brand-1…5). 계열이 다른 항목만 "categorical".
- height?: number
- max?: number
- unit?: string
- title?: string
- valueFormat?: (value: number) => string
- showValues?: boolean
- style?: React.CSSProperties
## Accessibility contract
- keys: -
- aria: role=img, aria-label(요약)
- notes: .ds-sr-only 표로 같은 수치 노출
## Unverified
- Browser behaviour is not verified here (static source check only).
계약 (a11y-contract.json)
| keys | — |
|---|---|
| aria | role=img, aria-label(요약) |
| notes | .ds-sr-only 표로 같은 수치 노출 |
상태 · 접근성 (사용 지침)
원본에 상태·접근성 계약 절 없음.
포커스
Product 공통 포커스 링은 tokens/a11y.css 가 정한다. 이 구현 파일에는 data-ds-focus 가 없다.
검증 여부
Lift 원본(구현 · prop 계약 · 사용 지침 · 접근성 계약)을 정적으로 옮겼다. 키보드 · 스크린리더 · 대비의 브라우저 검증은 하지 않았다.
출처
components/data/BarChart.jsximplementation · sha256 6f50499aa095…components/_types.d.tsapi · BarChartPropscomponents/data/BarChart.prompt.mdusage-note · sha256 5b605d9539c0…kit/rules/a11y-contract.jsona11y · BarChart