Skip to content

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:

PropTypeDefaultNote
titleString-Card title.
chartDataObject-Adds chart data.
chartLoadedBoolean-Checks if the chart is loaded.
optionsArray-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.

SlotDescription
defaultThe default Vue slot.

COPYRIGHT