Skip to content

ReportsCard

File: @views/Widgets/WidgetsReportsCard

WidgetsReportsCard is a highly customizable widget that provides data reports with a chart.

Props

For WidgetsReportsCard widget, the following props are available:

PropTypeDefaultNote
titleString-Card title.
chartDataObject-Adds chart data, You can pass chart data received from your API response to this component.
chartLoadedBoolean-Checks if the chart is loaded, You can control this state via api response.
dataArray-Each item is an object with stat:[String,Number] , change:Number, subTitle:[String,Number] properties.

COPYRIGHT