Skip to main content

Horizontal bars

Compare categories with long labels using horizontal bars.

Example of the Horizontal bars widget in the Demo User View

Recommended configuration

  1. Associate a saved data source from the Data and visualisation section.
  2. Choose a hierarchy or a category field and select only the measures to display.
  3. Configure formats, legend, series colours and chart style in the dedicated sections.

Configuration options

AreaOptions
DataData source, drill-down hierarchy or category field and measures to display.
ValuesFormat, decimals, locale, currency and dimension label format.
ChartLegend, series colours, initial ordering and direction.
InteractionNo action, filter, drill-down or drill-down with filter; target widgets and removal of filter on second click.
IdentityTitle, Subtitle, header visibility, type icon and actions button.
PresentationStandard, Compact or Dense variant and message to show when no data is available.
AppearanceBackground, background image, border, radius, padding, shadow and typography of different areas.
PositionCoordinates and dimensions in cells in the page or container grid.

Best practices

  • Increase the height when the query returns many categories.
tip

Always check the widget in Preview, in both light and dark themes and with an empty data state before publishing the View.