Component description
The summaries component creates a list of cards with statistics (for example, number of business domains, most visited apps).
Example
Minimal JSON
{
"type": "summaries",
"cards": []
}{
"key": "summary_total_dashboard",
"template": {
"componentId": "summary_total_dashboard_adoption",
"type": "summaries",
"cards": [
{
"type": "number",
"title": "dashboard.title.number_of_users",
"api": "https://help.dawiso.com/api/chart/statistics/core_statistic_chart_number_total_users/single",
"description": "number_of_users_description",
"varianceType": "percentage",
"iconKey": "core_dashboard_adoption_icon_chart_users"
},
{
"type": "application",
"title": "dashboard.title.most_visited_application",
"api": "https://help.dawiso.com/api/mr-application/most-visited"
}
]
}
}Example taken from the core_dashboard_adoption package.
Nested properties
| Property | Description | Values | Mandatory |
|---|---|---|---|
type | summaries | string | Yes |
cards | Array of cards with statistics. | array | Yes |
componentId | Unique ID of a component. If left empty, a random string will be generated. Primarily used in patch packages to define the component's position within the layout (template). | string | No |