A dashboard is a visual representation of different data and information sources, that provides a summarized overview of multiple key performance indicators such as metrics, trends and other insights.
The purpose of a dashboard is helping users to monitor, measure and analyze relevant data from different sources in a at-a-glance fashion.
They provide a quick and easy way to track performance metrics and identify areas for improvement, enabling users to make informed decisions based on real-time data.
Dashboards vary significantly depending on the context in which they are used. Before starting to design a dashboard, it is important to understand the purpose and the goals it aims to achieve. This will help to identify the key metrics and information that need to be displayed.
Title (optional): A brief and descriptive name of the whole dashboard.
Dashboard options (optional): Is the area located just bellow the title that contains filters, menus and other interactive elements that allow users to perform actions affecting the whole dashboard.
Content area: Is the main area of the dashboard where the actual data, charts, graphs and other visualizations are displayed.
Avoid overwhelming users with all the information being display at once by revealing it gradually and as needed. When dealing with large amount of content, it is better to display a summary or overview of the data with the option to expand or drill down to see further details.
Place the most important items in areas where the viewer's eye will naturally look first. In left-to-right/LTR languages, this is typically the top-left corner of the screen, followed by the center of the screen.
Place related items close to each other. This helps to create visual groupings and organizes information for the viewer.
Charts should be sized and proportioned based on their importance and relevance.
See the flexible dashboards chapter for dashboards with user customizable content.
The SiDashboardModule consists of a SiDashboardComponent and the SiDashboardCardComponent. The SiDashboardCardComponent extends the SiCardComponent and adds expand and restore functionality. The dashboard works with content-projection slots to configure the layout, e.g. a Bootstrap grid.
The module has its own entry point to reduce the overall bundle size.
The view type of the content action bar of the card. Default is collapsible for dashboards. However, in some cases you might need to change to expanded or mobile .
A param that will be passed to the action in the primary/secondary actions. This allows to re-use the same primary/secondary action arrays across rows in a table.
Option to enable and show the UI controls for card expand functionality. Expand and restore action items will be added to the content action bar. The expand resizing has to be implemented by the container of the card.
Represents a translatable string. This can either be a translation key, e.g. ACTIONS.EDIT that will be automatically translated when displayed on the UI or a pre-translated string, e.g. Edit . Equivalent to a normal string in usage and functionality.
Action that called when the item is triggered. A function will be called, a string will be dispatched to the SiMenuActionService . action: (string | (actionParam: any, source: this) => void)¶
Optional icon that will be rendered before the label. icon?: string from icon¶
Badge (always red) that is attached to the icon. If value===true, an empty red dot will be rendered. iconBadge?: (string | number | boolean) from iconBadge¶
ID that will be attached to the DOM node. id?: string from id¶
Action that called when the item is triggered. A function will be called, a string will be dispatched to the SiMenuActionService . action: (string | (actionParam: any, source: this) => void)¶
Optional icon that will be rendered before the label. icon?: string from icon¶
Badge (always red) that is attached to the icon. If value===true, an empty red dot will be rendered. iconBadge?: (string | number | boolean) from iconBadge¶
ID that will be attached to the DOM node. id?: string from id¶
Optional icon that will be rendered before the label. icon?: string from icon¶
Badge (always red) that is attached to the icon. If value===true, an empty red dot will be rendered. iconBadge?: (string | number | boolean) from iconBadge¶
ID that will be attached to the DOM node. id?: string from id¶
Optional icon that will be rendered before the label. icon?: string from icon¶
Badge (always red) that is attached to the icon. If value===true, an empty red dot will be rendered. iconBadge?: (string | number | boolean) from iconBadge¶
ID that will be attached to the DOM node. id?: string from id¶
Optional icon that will be rendered before the label. icon?: string from icon¶
Badge (always red) that is attached to the icon. If value===true, an empty red dot will be rendered. iconBadge?: (string | number | boolean) from iconBadge¶
ID that will be attached to the DOM node. id?: string from id¶
Action that called when the item is triggered. A function will be called, a string will be dispatched to the SiMenuActionService . action: (string | (actionParam: any, source: this) => void)¶
Optional icon that will be rendered before the label. icon?: string from icon¶
Badge (always red) that is attached to the icon. If value===true, an empty red dot will be rendered. iconBadge?: (string | number | boolean) from iconBadge¶
ID that will be attached to the DOM node. id?: string from id¶
A function that will be invoked when clicking on the menu item. When passed as a string, use together with SiLinkActionService to receive events. This is meant for repetitive things in lists/tables/etc. action?: (string | (param: any) => any)¶
A boolean that lets the link know whether it is disabled or not. disabled?: boolean¶
Defines a href URI that the menu item will be linked to. Will be used to set the href attribute of the a element. Will only be used if link and function is not set. href?: string¶
A boolean that lets the link know whether it is active or not. It is useful when action() is executed instead of link route. isActive?: boolean¶
Defines the link of the menu item within the application using the angular router link concept. Accepts an array of any as per [routerLink API definition] https://angular.dev/api/router/RouterLink . link?: (string | any[])¶
Optional setting of html title attribute for the content action bar. Helpful for a11y when only one action is configured in expand mode. actionBarTitle: InputSignal<TranslatableString> = ''¶
The view type of the content action bar of the card. Default is collapsible for dashboards. However, in some cases you might need to change to expanded or mobile . actionBarViewType: InputSignal<ViewType> = 'collapsible'¶
A param that will be passed to the action in the primary/secondary actions. This allows to re-use the same primary/secondary action arrays across rows in a table. actionParam: InputSignal<any> = ...¶
In case the card uses an image and horizontal direction is used we set flex row direction. classCardHorizontal: Signal<boolean> = ...¶