Bar Charts
The Bar Charts components helps you to simply create a beautiful bar chart for displaying the data.
Reports Bar Chart
Active Users
(+23%) than last week
users
36K
Clicks
2M
Sales
$435
Items
43
Props Information
| Name | Type | Default | Description |
|---|---|---|---|
| id* | string | Used to set an id for the chart. Its a required prop. | |
| color | 'primary' 'secondary' 'info' 'success' 'warning' 'error' 'danger' 'light' 'dark' | dark | Used to set the color of the chart. |
| title | string | Used to set a title for the chart. | |
| description | string | Used to set a description for the chart. | |
| chart* | object | Used to set the chart data. It should be an object that contains the `labels` and `datasets` keys.
| |
| items | array | [] | Used to set the chart items. It should be an array of objects with the following keys: `icon`, `label` and `progress`.
|
Thin Bar Chart
Pro
Thin Bar Chart
Props Information
| Name | Type | Default | Description |
|---|---|---|---|
| id | string | Used to set an id for the chart. | |
| title | string | Thin Bar Chart | Used to set a title for the chart. |
| height | string, number | 170 | Used to set a height for the chart. |
| chart | object | Used to set the chart data. It should be an object that contains the `labels` and `datasets` keys.
|