(this page was created automatically. In case of formatting issues, please visit the official Wiki Page)

Histogram Chart

Overview

Example Histogram Chart

Specs

Tokens

Token Description
showLegend Show or hide legend.
barPadding Space between bars (0–1).
barWidth Width of bars (px/number).
ignoreEmptyPoints Omit null/empty points.
argumentAxisTitle Title for x-axis.
valueAxisTitle Title for y-axis.
paddingClass Component padding via CSS classes.
useMockData Use sample data.
dataSourceId ID of data source.
getEntityCollectionHttpRequestParametersMap HTTP request parameters map.
dataPathExpression Path to nested data array.
events Configures component events.
ON_INIT (Events) Triggered on initialization.
ON_DESTROY (Events) Triggered on removal.
displayName Display name in structure panel.
visibilityPolicySetId Visibility by policy set.
displayConditions Conditional display rules.
id Unique identifier.
dataTestId Testing hook ID.
enableAsHotspot Enable guided tour hotspot.
guidedTourHotSpotTitle Guided tour hotspot title.
guidedTourHotSpotDescription Guided tour hotspot description.
Data Format (category, value) Expected fields in data items.

Structure

  [
    { "category": "0-10", "value": 12 },
    { "category": "11-20", "value": 25 },
    { "category": "21-30", "value": 47 },
    { "category": "31-40", "value": 35 },
    { "category": "41-50", "value": 28 },
    { "category": "51-60", "value": 18 },
    { "category": "61+", "value": 9 }
  ]

(Configured in General)

(Configured in Datasource Properties)

(Configured in Visibility)

Styling

(Configured in Visual Properties)

Visual Properties tab

Customization

The histogram chart offers flexible options to adapt its appearance and behavior:

These options make the histogram suitable for different visualization needs while keeping the layout clear and professional.

Configuration window

Actions & Variants

(Configured in Events)

Tests

(Configured in Testing Hooks)

Authorization

(Configured in Authorization)

Links

Guidelines

Usage

Sizing & Layout

States & Feedback

Data-Driven / Conditional Behavior

Visibility & Authorization

Content & Localization

Dos & Don’ts

Do Don’t Article setting(s)
Provide concise axis titles to establish meaning and scale. Leave axes unlabeled or ambiguous. argumentAxisTitle, valueAxisTitle
Adjust barWidth/barPadding so bars are distinct without excessive gaps. Use extremes that cause overlapping bars or excessive whitespace. barWidth, barPadding
Omit null buckets to avoid noise in sparse datasets. Plot zero-height bars for missing data. ignoreEmptyPoints
Show the legend only when the series label adds value. Always show a legend that repeats obvious information. showLegend
Drive the chart from a defined source and nested path if needed. Assume data is top-level or hardcode sample values for production. dataSourceId, dataPathExpression
Add HTTP params at init for deterministic requests. Build ad-hoc query strings on click without lifecycle control. getEntityCollectionHttpRequestParametersMap, ON_INIT
Hide the chart when preconditions aren’t satisfied. Render an empty frame waiting for context. displayConditions
Name the instance clearly for authors and tests. Use default names that hinder maintenance. displayName, dataTestId, id
Use mock data only for design/playback. Ship with mock data enabled in production. useMockData
Release subscriptions/timers on teardown. Leave listeners running after navigation. ON_DESTROY

Accessibility