RangeAreaChart
Data Visualization
visx 기반 범위(밴드) 영역 차트.
Usage
예측 구간이나 최소·최대처럼 두 경계 사이의 범위를 시간축에서 표시할 때 사용한다.
import
import
예제를 복사해 쓸 때 필요한 준비
• @mildang/styled-system 은 이 저장소에서 Panda 가 생성하는 산출물이다. 저장소 안에서는 turbo run ship 이후 쓸 수 있고, 패키지 소비자는 자기 Panda 산출물이나 다른 레이아웃 수단으로 바꿔야 한다.
API Reference
RangeAreaChart Props
Prop
Type
Default
data
필수
TDatum[]
지정 안 함
xKey
필수
string
지정 안 함
y0Key
필수
string
지정 안 함
y1Key
필수
string
지정 안 함
children
ReactNode
지정 안 함
className
string
지정 안 함
color
string
지정 안 함
curve
"step" | "linear" | "monotone"
linear
fillOpacity
number
0.3
labels
RangeAreaChartLabels
지정 안 함
legendPosition
"bottom" | "left" | "right" | "top"
bottom
margin
Partial<ChartMargin>
지정 안 함
midKey
string
지정 안 함
showGrid
boolean
true
showLegend
boolean
false
showTooltip
boolean
false
showXAxis
boolean
true
showYAxis
boolean
true
xAxisProps
RangeAreaChartAxisProps
지정 안 함
yAxisProps
RangeAreaChartAxisProps
지정 안 함