ColumnChart

A vertical bar chart component representing categorical data.

Basic Usage

By default, the `ColumnChart` renders vertical bars showing monthly revenue.

Monthly Revenue

Custom Data

Pass custom `data` and `options` to configure multi-dataset column charts.

Quarterly Sales by Category

API Reference

Property
Description
Type
Default

class

Additional CSS classes to apply to the chart container. string -

title

The title of the chart displayed at the top. string -

borderRadius

The border radius of the bars. number 4

data

A valid Chart.js data object. ChartData<'bar'> -

options

A valid Chart.js options object. ChartOptions<'bar'> -