# Charts
> Data visualization components built on ApexCharts.Blazor with theme-aware styling
Source: https://shellui.dev/docs/v0.3/components/advanced/charts
ShellUI includes **8 chart types** built on **ApexCharts.Blazor**, offering beautiful, responsive, and theme-aware data visualizations for your Blazor applications.
## Overview
Chart components are built with:
- **ApexCharts.Blazor**: Professional charting library with rich interactivity
- **Generic Type System**: `TItem` type parameter for strongly-typed data binding
- **Theme-Aware Containers**: Charts use your CSS variables (`--border`, `--card`, `--radius`, `--shadow`)
- **Three Built-in Themes**: Default, Colorful, and Monochrome color palettes
## Chart Types
- [Bar Chart](https://shellui.dev/docs/v0.3/components/advanced/charts/bar-chart.md): Vertical bar charts for comparing values across categories
- [Line Chart](https://shellui.dev/docs/v0.3/components/advanced/charts/line-chart.md): Smooth line charts for showing trends over time
- [Area Chart](https://shellui.dev/docs/v0.3/components/advanced/charts/area-chart.md): Filled area charts for showing volume and trends
- [Pie Chart](https://shellui.dev/docs/v0.3/components/advanced/charts/pie-chart.md): Pie charts with custom tooltips for proportions
- [Multi-Series Chart](https://shellui.dev/docs/v0.3/components/advanced/charts/multi-series-chart.md): Multiple data series with mixed chart types
- [Donut Chart · New](https://shellui.dev/docs/v0.3/components/advanced/charts/donut-chart.md): Donut charts for part-to-whole data
- [Radar Chart · New](https://shellui.dev/docs/v0.3/components/advanced/charts/radar-chart.md): Radar charts for comparing values across categories
- [Radial Chart · New](https://shellui.dev/docs/v0.3/components/advanced/charts/radial-chart.md): Radial bar charts for progress and percentages
## Installation
Install all chart components at once:
```bash
shellui add chart bar-chart line-chart pie-chart area-chart multi-series-chart
```
Or install just the chart types you need — `chart` and `chart-variants` auto-install as dependencies:
```bash
# Just a bar chart
shellui add chart bar-chart
# Bar and line charts
shellui add chart bar-chart line-chart
# All chart types
shellui add chart bar-chart line-chart pie-chart area-chart multi-series-chart
```
## Quick Start
```razor
@code {
private List salesData = new()
{
new("Q1", 45000), new("Q2", 52000),
new("Q3", 48000), new("Q4", 61000)
};
record SalesData(string Quarter, decimal Revenue);
}
```
## Themes
All chart components support three themes via the `ChartTheme` enum:
| Theme | Description |
|-------|-------------|
| `ChartTheme.Default` | Subtle blue/slate palette, works in light and dark mode |
| `ChartTheme.Colorful` | Vibrant multi-color palette for distinguishing data series |
| `ChartTheme.Monochrome` | Minimal slate gray variations for a clean, professional look |
## NuGet Dependency
All chart components use **Blazor-ApexCharts**. `shellui add` adds the package for you; to add it yourself:
```bash
dotnet add package Blazor-ApexCharts
```
Register the service and script in your app:
```csharp
// Program.cs
builder.Services.AddApexCharts();
```
```html
```