Skip to content

StatisticCardWithChart

File: @views/Widgets/StatisticCardWithChart

StatisticCardWithChart is a highly customizable widget that provides data statistic with a chart.

Props

For StatisticCardWithChart widget, the following props are available:

PropTypeDefaultNote
dateString-Adds date.
titleString-Card title.
stat[String,Number]-Display stat.
slug[String,Number]-Display slug.
changeNumber-This value will be displayed as a percentage.
classNameString-Overrides or extends the component's styles.
chartLoadedBoolean-Checks if the chart is loaded, You can control this state via api response.
chartDataObject-Adds chart data, You can pass chart data received from your API response to this component.
iconObject-Inserts a custom EIcon element to the widget. More Info here.

COPYRIGHT