Displays metric or statistic data through columns in a bar chart.
This chart uses a category-based X-axis, so you must use this widget to load aggregated data, for instance, the count of machines grouped by model name.
Pareto Line
When displaying event statistics, e.g. the count or sum of elapsed time from each event, it is possible to display the Pareto Line on the bars sorted by decreasing value.
For example, the image below displays the total time spent by the machine for each fault event type.
The Pareto Line enables the DPS user (e.g., technician, operations manager) to focus on the events that generate the most downtime.
.png?sv=2022-11-02&spr=https&st=2026-02-24T04%3A50%3A06Z&se=2026-02-24T05%3A03%3A06Z&sr=c&sp=r&sig=1aYLtHaKf3MjXfmoiSyc0mol%2FIjr3jN8rNUJKvQdY88%3D)
In this case, the first two event types allocate 79% of the total failure time.
So it will be sufficient to try to solve these two problems to increase the machine's uptime, even noticeably (80-20 rule).
The other events, those after 79% are currently less important.
To configure the Pareto Line, you must:
In the Statistics, select the option Sorting as descending.
On the Bar Chart, enable the option Show Pareto Line.
Multiple Things Charting
The Bar Chart can also be placed within the Location or Custom details, and display the data aggregated on the underlying objects.
For instance, in a customer details page, you can display the count of failures over a period aggregated by product.
.png?sv=2022-11-02&spr=https&st=2026-02-24T04%3A50%3A06Z&se=2026-02-24T05%3A03%3A06Z&sr=c&sp=r&sig=1aYLtHaKf3MjXfmoiSyc0mol%2FIjr3jN8rNUJKvQdY88%3D)
Optionally, you can change the set of things the chart is working on by coupling it with a Search Field available on the same page.
Template Syntax
Below you can find some examples of how to use the component within a template.
<bar-chart-widget-v2 title="Alert Count">
<statistic resource="alert" aggregation="COUNT" groupBy="MONTH"></statistic>
</bar-chart-widget-v2>
Component Reference
Here is a comprehensive list of all the elements and properties that can be used to configure the component.
Daily Summary Grid <daily-summary-grid-widget>
Description | The description of the widget. Name: description Type: STRING | Optional
|
Title | The title displayed on the top part of the widget box. Name: title Type: STRING | Optional
|
Data | |
Default Loading Period | The default filtering period applied when entering the page. Name: config.defaultPeriod Type: PERIODS | Optional Default Value: LAST_30_DAYS
|
Period Reference | Name: inputs.periodRef Type: STRING | Optional
|
Events | |
Event Names | The exact names of the events to display on the Y axis. If there are no occurrences for a given event, it will be discarded. Name: config.eventNames Type: STRING | Optional
|
Event Query | The query used to filter events. Name: config.eventQuery Type: QUERY | Optional Predicates: beginsWith, eq, neq, gt, gte, isEmpty, isNotEmpty, lt, lte, like, notLike
|
Event Query Reference | The id of the page's <search-field> used to filter events. Name: inputs.eventQueryRef Type: STRING | Optional
|
Show Event Count | The number of daily events is displayed in each cell of the grid. Name: config.showEventCount Type: BOOLEAN | Optional Default Value: false
|
Show Event Severity | The cell related to an event is colored according to the event severity. Name: config.showEventSeverity Type: BOOLEAN | Optional Default Value: false
|
Sort By Occurrences | If selected, events are sorted by frequency (in descending order), otherwise by name (in ascending order). Name: config.sortByOccurrences Type: BOOLEAN | Optional Default Value: false
|
Metrics | |
Metric Group Names | The exact names of the metric groups to display on the Y axis. Name: config.metricGroupNames Type: STRING | Optional
|
Show Changes Only | Name: config.showChangesOnly Type: BOOLEAN | Optional Default Value: false
|
Show Metric Highlight Count | The number of daily metric highlights is displayed in each cell of the grid. Name: config.showMetricHighlightCount Type: BOOLEAN | Optional Default Value: false
|
Rendering | |
CSS Class | The name(s) of the CSS class used to customize the widget layout. Name: class Type: STRING | Optional
|
Visibility Condition | The expression that allows you to reduce the visibility of the element. Name: *ngIf Type: STRING | Optional
|
Sub Elements | |
The metric whose current value must be displayed within the widget. | |
Metric <metric>
Filter | The name of the filter used to transform and display values. Name: filter Type: FILTER | Optional
|
Name | The metric whose value(s) must be loaded by the widget. Name: name Type: METRIC | Required
|
Unit | The unit of measurement to be displayed along the value. Name: unit Type: STRING | Optional
|
Display Options | |
Group | The name used to group similar metrics together. The widget will display a row for each group or metric without a group. Name: config.group Type: STRING | Optional
|
Highlight | Define what the widget should display for the metric. You can choose whether to highlight each time the metric value is changed (e.g. settings) or whether to highlight when the metric value is in WARNING or CRITICAL status. Name: config.highlight Type: ENUM | Optional Values: VALUE_CHANGE, VALUE_SEVERITY Default Value: VALUE_CHANGE
|