Skip to main content

Installation

Usage

Component Code

The Chart component is built on top of Recharts and provides theming and customization.

Examples

Create a basic bar chart.

Chart Config

The chartConfig object defines the configuration for your chart:

Theming

Charts support theming through CSS variables. Add these to your globals.css:

API Reference

ChartContainer

ChartTooltipContent

For more information, see the Recharts documentation.