Appearance
TotalSalesCard
File:
@views/Widgets/WidgetsTotalSalesCard
WidgetsTotalSalesCard
is a highly customizable widget that display total sales details.
Props
For WidgetsTotalSalesCard
widget, the following props are available:
Prop | Type | Default | Note |
---|---|---|---|
title | String | - | Card title. |
chartData | Object | - | Adds chart data. |
chartLoaded | Boolean | - | Checks if the chart is loaded. |
options | Array | - | options are displayed by a dropdown at the top-right corner of the card and each option is an object with title:String , id:any , events:Object properties. events property is an object that contains event handlers such as click function. |
Slots
The WidgetsTotalSalesCard
component provides a default slot that enable you to customize the content.
Slot | Description |
---|---|
default | The default Vue slot. |