Appearance
TotalEarningsCard
File:
@views/Widgets/WidgetsTotalEarningsCard
WidgetsTotalEarningsCard
is a highly customizable widget that display total earnings details.
Props
For WidgetsTotalEarningsCard
widget, the following props are available:
Prop | Type | Default | Note |
---|---|---|---|
title | String | - | Card title. |
totalChange | Number | - | Adds total change in percentage. |
totalEarning | [String, Number] | - | Adds total earnings stat. |
chartData | Object | - | Adds chart data. |
chartLoaded | Boolean | - | Checks if the chart is loaded. |
Slots
The TotalEarningsCard
component provides a default slot that enable you to customize the content.
Slot | Description |
---|---|
default | The default Vue slot. |