Skip to main content

Stacked bar charts

Introduction

A stacked bar chart allows you to compare different categories while also keeping track of the total value. A stacked bar chart is a type of bar chart where each bar is segmented into multiple sub-categories. Each sub-category represents a portion of the total. The length of each bar corresponds to the total value, while the lengths of the different parts of the bar represent the values of the different sub-categories.

The following illustration shows an example of a stacked bar chart.

Example of a stacked bar chart

A legend with a tooltip is automatically generated for a stacked bar chart.

Properties

You can edit the properties of a bar chart in the Edit stacked bar chart panel.

The following table describes the properties of the Stacked bar chart.

ElementDescription
TitleText box that enables you to edit the title of the stacked bar chart.
TooltipText box that enables you to add a text that will be displayed as tooltip when the user hovers the mouse over the chart title in the published process app.
Change fieldList of fields available for the stacked bar chart.
Change metricList of metrics available for the bar chart.
Change stackList of fields that can be used to divide the bars into different sub-categories.
Max stack numbersThe maximum number of sub-categories that will be displayed in the bar. Note: You cannot have more than 10 sub-categories.

When the user hovers over a bar, a tooltip is displayed showing the values applicable for the bar.

Maximum number of stacks

A stacked bar chart displays up to 10 stacks. If the data consists of more than 10 sub-categories for the selected category, an eleventh sub-category called Rest is displayed representing the combined total of the remaining sub-categories that are not displayed individually.

The purpose of the eleventh sub-category is to provide a complete picture of the data distribution, when not all sub-categories are displayed individually. It shows the proportion of the data that is not covered by the top 10 individual sub-categories in comparison to the whole.