reopt designreopt design
DocsExploreToolsPricingBuilder
Login
Explore/
opt-ui165opt-charts33opt-datagrid6opt-editor5opt-calendar4opt-filemanager4opt-chat6opt-shell14brandapp-ui8Examples12Builder Blocks
reopt designreopt design

A design system for the AI era

  • Docs
  • Pricing
  • Releases
  • GitHub
  • Terms of Service
  • Privacy Policy

reopt Inc.Business registration no. 217-88-02453contact@reopt.ai

© 2026 reopt Inc. All rights reserved.

Explore/opt-charts/EventSparkline

EventSparkline

Chart

이벤트 스파크라인. 라벨, 값, 변화량과 미니 차트를 표시합니다.

display
Related docs
bun add @reopt-ai/opt-charts
100%

Page Views

2,847↑+12.5%

Bounce Rate

34%↓-8.2%

컴포넌트 의존 관계

깊이
▼ USES (1)EventSparklinesparkline

테스트 커버리지

2026년 7월 9일2/2 통과
2성공
0실패
2전체
  • 라벨과 값을 렌더링한다
  • 변화량과 트렌드를 표시한다

Related components

Sparkline

인라인 미니 차트. 작은 공간에서 추세를 빠르게 시각화합니다. StatCard, 테이블 셀 등에서 사용합니다.

Cartesian

ChartContainer

Recharts ResponsiveContainer를 감싸는 반응형 차트 컨테이너. 접근성 속성과 스타일링을 지원합니다.

Heatmap

ChartTooltip

opt-ui 스타일의 role=tooltip 차트 툴팁. 장식 마커는 숨기고 Recharts Tooltip의 content prop으로 사용합니다.

Heatmap

ChartLegend

opt-ui 스타일의 list/listitem 차트 범례. 인터랙티브 항목은 실제 button으로 시리즈를 토글합니다.

Heatmap

LineChart

연속 데이터용 선 차트. 시간에 따른 추세나 변화를 시각화합니다.

Cartesian

BarChart

비교 데이터용 막대 차트. 카테고리 간 값 비교를 시각화합니다.

Cartesian
PreviousTrendChartNextReportWidget

Basic Sparklines

Line
Area
Gradient

Trend Colors

Revenue$45,231
+12.5%
Expenses$12,345
-8.2%
Visitors1,234
+0.5%

Bar & Win-Loss

Bar
Win-Loss

Sizes

Various Sizes

Small
Medium
Large

Basic Usage

ChartContainer는 Recharts ResponsiveContainer를 감싸고 접근성 속성을 지원합니다. 일반적으로 LineChart, BarChart, AreaChart 컴포넌트가 내부적으로 사용하므로 직접 사용할 필요는 없습니다.

Different Heights

height=150

height=300

Default Tooltip

마우스를 차트 위로 올려 툴팁을 확인하세요. opt-charts 컴포넌트는 기본적으로 role=tooltip인 툴팁을 사용하고 색상 점은 장식 요소로 접근성 트리에서 제외합니다.

Custom Value Formatter

ChartTooltipContent Component

Standalone Preview

March

Sales:5000
Profit:2800

With Value Formatter

March

Revenue:$5,000
Expenses:$2,200

Default Legend

showLegend prop을 true로 설정하면 reopt 스타일 범례가 표시됩니다. 범례는 list/listitem 구조이며 클릭 가능한 항목은 button으로 렌더링됩니다.

ChartLegendContent Component

Standalone Preview

Sales
Profit
Expenses

With Inactive Items

inactiveKeys prop으로 비활성 시리즈를 표시할 수 있습니다.

Sales
Profit
Expenses

Basic Line Chart

Multiple Series

Customization

With Dots

Without Grid

Brush (범위 선택)

긴 시계열을 드래그로 확대

Basic Bar Chart

Stacked & Grouped

Stacked

Grouped

Vertical Layout

주석 (레퍼런스 · 데이터 라벨)

목표선 · 밴드 · 값 라벨