Appearance
ReportsCard
File:
@views/Widgets/ReportsCard
ReportsCard
is a highly customizable widget that provides data reports with a chart.
Props
For ReportsCard
widget, the following props are available:
Prop | Type | Default | Note |
---|---|---|---|
title | String | - | Card title. |
chartData | Object | - | Adds chart data, You can pass chart data received from your API response to this component. |
chartLoaded | Boolean | - | Checks if the chart is loaded, You can control this state via api response. |
className | String | - | Overrides or extends the component's styles. |
data | Array | - | Each item is an object with stat:[String,Number] , change:Number , subTitle:[String,Number] properties. |