Line Charts
The Line Charts components helps you to simply create a beautiful line chart for displaying the data.
Default Line Chart
Props Information
Name | Type | Default | Description |
---|---|---|---|
id | string | chart-line | Used to set an id for the chart. |
chart* | object | Used to set the chart data. It should be an object that contains the `labels` and `datasets` keys.
|
Gradient Line Chart
Pro
Props Information
Name | Type | Default | Description |
---|---|---|---|
id* | string | Used to set an id for the chart. It is a required prop. | |
title | string | Used to set a title for the chart. | |
description | string | Used to set a description for the chart. | |
height | string | 300 | 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.
|