Histograms
A histogram visualizes the frequency distribution of continuous data. It helps you understand key characteristics of your dataset, such as central tendency, dispersion, skewness, and kurtosis. This topic describes how to add data to a histogram and customize its style.
Prerequisites
You have created a dashboard. For more information, see Create a dashboard.
Overview
A histogram divides a data range into a series of continuous intervals and displays the count of data points in each interval as rectangular bars. This visually represents the data distribution and the differences between data groups.
Bins: A series of continuous, non-overlapping intervals that divide a data range.
Frequency: The count of data points within each bin.
Rectangular bars: Each bar represents the frequency in a bin. The width of the bar corresponds to the size of the bin, and its height represents the frequency of values within that bin.
Use cases
Common use cases for histograms include:
Analyzing central tendency, for example, by analyzing the average customer satisfaction score for a product or service.
Analyzing data distribution, for example, by viewing the distribution of student test scores to evaluate teaching effectiveness.
Analyzing data dispersion, for example, by examining the temperature range in a geographical region to understand climate stability.
Analyzing data skewness, for example, by understanding the product preferences of consumers at different income levels.
Identifying outliers, for example, by monitoring product quality to detect items that fall outside the standard range.
Benefits
Customizable visuals: You can customize the chart style to display data more intuitively and add auxiliary elements, such as a legend, an overview axis, and a tooltip.
Annotation capabilities: You can add custom annotations and endnotes, and configure redirects to external URLs to enable interaction between data and other systems.
Interactive features: It supports interactions such as drill-down, linkage, redirect (only if a color legend is present), dimension and measure filtering, and in-table filtering.
Example

A histogram can provide the following information:
Skewness: An asymmetrical histogram indicates a skewed data distribution.
A histogram is right-skewed (positive skew) when its long tail is on the right, indicating that most of the data is concentrated on the left.
A histogram is left-skewed (negative skew) when its long tail is on the left, indicating that most of the data is concentrated on the right.
Central tendency: The shape of the histogram helps you estimate the positions of the mean, median, and mode to understand the dataset's central tendency.
For a symmetrical distribution, the mean, median, and mode are roughly equal and located at the center of the histogram.
For a right-skewed distribution, where most data is on the left, the mean is greater than the median, and the mode is on the left side of the histogram.
For a left-skewed distribution, where most data is on the right, the mean is less than the median, and the mode is on the right side of the histogram.
Dispersion: You can assess the dispersion of the data by observing the overall width of the histogram and the variation in bar height.
Outliers: If one or more bars are far from the others, it may indicate outliers.
Kurtosis: The sharpness or flatness of the histogram reflects the dataset's kurtosis. A sharp peak indicates that the data is more concentrated, while a flat shape indicates a more uniform distribution.
Configure chart fields
This section uses an analysis of order quantity by product type as an example to demonstrate how to configure fields.
In the Data panel, select the required fields and add them to the corresponding sections on the Fields tab by double-clicking or dragging.

In the Value Axis/Measures section, add the primary measure for your analysis.
For this example, drag the Order Quantity field to this section.
Click Update to refresh the chart.

(Optional) To analyze your data by a specific dimension, add a dimension field to the Color Legend/Dimensions section. The chart bars will be segmented based on the values in this field. For example, you can analyze the order quantity by product type.
In this example, drag the Product Type field to this section to break down the order quantity by product type.

(Optional) For multi-dimensional analysis, you can add a dimension field to the Split/Dimensions section. This displays the data in a faceted view by dimension value.
In this example, drag the report_date(year) field to view order quantities by year.
NoteYou can add only one dimension field for splitting. The facet mode has the following limitations:
Style: The overview axis is not available in the Auxiliary Display settings.
Analysis: Only Data Interaction is supported. Advanced settings, Analysis and Warning, Annotation, and Smart Insights are not available.
(Optional) To view data for a specific measure in the tooltip, add the measure to the Tooltip/Measures section.

(Optional) To filter the displayed data, drag the field you want to filter by into the Filter section. For example, to filter out data from certain regions, drag the Region field to the Filter section and click the
icon. In the Set Filter window, select the data you want to display.
(Optional) Auto Refresh
Enable this option to automatically refresh the chart data. For example, if you set the duration to 5 and the unit to minutes, the chart data will refresh every 5 minutes.

Configure chart style
The following sections describe how to configure the chart style. For general settings related to the Title and Card, see Configure the title and card.

Drawing area
On the Style tab, in the Drawing Area section, you can customize the style of the histogram's bars.

Parameter | Description |
Bar Color | Sets the color scheme for the bars and allows you to enable a gradient effect. |
Bin Calculation Method | A bin is a group of data represented by a rectangular bar. The number of bars is the bin count, and the width of each bar is the bin width. You can set the calculation method to Auto, Custom Bin Width, or Custom Bin Count.
|
Display Bin Value | Shows or hides the bin value and sets its display position, such as next to the X-axis title or above the chart. |
Facet
In facet mode, use the Facet settings to configure the layout and style of the chart arrangement.
Facet mode is active only when a field is configured in the Split/Dimensions section.

Parameter | Description | |
Layout Style | Sets the chart layout. Supported modes are Single-column Comparison and Grid Distribution. | |
Share Axes | Specifies whether the charts share a common axis.
| |
Show Split Line | Shows or hides a split line between charts. If enabled, you can configure the color and style of the split line. | |
Columns | When the layout style is set to Grid Distribution, you can set the number of columns for the chart arrangement. By default, this is set to Auto, but you can also customize the number of columns. Note
| |
Minimum Facet Block Width/Height | Sets the minimum width and height for each chart. The available options vary by layout style.
| |
Row/Column Spacing | Sets the spacing between rows and columns of charts. The available options vary by layout style.
| |
Split Label | Position | Sets the display position of the dimension value label. Options are Above Chart or Below Chart. |
Text | Sets the font color and style for the dimension value label. | |
Align | Sets the alignment of the dimension value label. | |
Axes
On the Style tab, in the Axes section, you can configure the axis styles. By default, axes are visible.

Parameter | Setting | Description |
X-axis | Show X-axis | Shows or hides the X-axis. |
Show Title and Unit | Shows or hides the Title and Unit on the X-axis. You can customize their text and style. | |
Show Axis Label | Shows or hides labels on the X-axis. If enabled, you can set the Axis Label Display Format and Text Style. You can set the format to Auto or Custom.
| |
Show Tick Line | Shows or hides tick marks on the X-axis. | |
Show Axis | Shows or hides the X-axis line. If enabled, you can customize the axis style, including line type, width, and color. | |
Show Grid Line | Shows or hides gridlines for the X-axis. If enabled, you can customize the gridline style, including line type, width, and color. | |
Left Y-axis | Show Left Y-axis | Shows or hides the left Y-axis. |
Invert Y-axis | Specifies whether to invert the Y-axis. | |
Show Title and Unit | Shows or hides the Title and Unit on the left Y-axis. You can customize their text and style. | |
Show Axis Label | Shows or hides labels on the left Y-axis. If enabled, you can set the Axis Label Display Format and Text Style. You can set the format to Auto or Custom.
| |
Show Tick Line | Shows or hides tick marks on the left Y-axis. | |
Show Axis | Shows or hides the left Y-axis line. If enabled, you can customize the axis style, including line type, width, and color. | |
Show Grid Line | Shows or hides gridlines for the left Y-axis. If enabled, you can customize the gridline style, including line type, width, and color. |
Legend
In the Legend section, click the
icon to enable the chart legend and configure its style.
Parameter | Description |
Position | Sets the position and alignment of the legend.
|
Text | Sets the style of the legend text, including font color, size, weight, and whether it is italicized. |
Mobile Legend | The legend settings for PC and mobile are independent. You can switch to the mobile editing view by using the PC/mobile toggle button ( |
Data label
In the Data Label section, you can choose whether to show data labels and configure their style.
The Position and Text settings here apply to all data labels. You can configure data labels and their formats for individual measures or dimension values in the series settings.

Parameter | Description |
Display All | When you enable this option, the system intelligently adjusts label positions to prevent them from overlapping. However, if there are too many data labels, some may be hidden if they extend beyond the axis area. You can also select Allow Data Label Overlap. |
Content | Sets the data content to display in the chart, including measures, percentages, and statistics. When you choose to display percentage data, you can also set the Percentage Decimal Places to 0, 1, or 2. |
Position | Sets the display position of the data labels. Options include Auto, Outer Top, Inner Top, Inner Bottom, Inner Center, and Inner Left. |
Text | Sets the text format for the data labels. |
Tooltip
In the Tooltip section, click the
icon to enable tooltips and configure their style.

Parameter | Description |
Display Mode | Sets the tooltip display mode. You can choose By Single Data Point or By Dimension Value.
|
Content | Selects the data content to display in the tooltip. The available options vary based on the display mode: When the display mode is By Single Data Point, Percentage is supported. When the display mode is By Dimension Value, Total and Percentage are supported.
|
Background Color | Sets the background fill color of the tooltip. |
Text | Sets the style of the text in the tooltip, including font color, size, weight, and whether it is italicized. |
Mobile Tooltip | The tooltip toggle for PC and mobile are independent. You can switch to the mobile editing view using the PC/mobile toggle button ( |
Series settings
In the series settings, you can configure the style for each series.
If a field is configured in the Color Legend/Dimensions section on the Fields tab:

Parameter
Description
Select Field
Select the measure or dimension value for which you want to configure the label format.
Alias
Sets a custom field name that suits your business scenario.
Show Data Label
Shows or hides data labels and sets their position and text format.
Series Value Display Format Settings
Configures the display format for series values. You can select Auto or Custom.
NoteThe format configured here only applies to the frequency.
Auto: This is the default option. The series values inherit the display format of the Y-axis label.
Custom: Click the
icon to open the Data Display Format Settings dialog box and configure the format. For more information about the settings, see Data Display Format > Custom.
If no field is configured in the Color Legend/Dimensions section on the Fields tab:

Parameter
Description
Select Field
Select the measure or dimension value for which you want to configure the label format.
Show Data Label
Shows or hides data labels and sets their position and text format.
Display Max/Min Values
Shows or hides labels for the maximum and minimum values in the chart. If enabled, you can set the label's Position in the chart, the Display Content (maximum/minimum value), the Background Fill Color, and the Text Style.
Auxiliary display
On the Style tab, in the Auxiliary Display section, you can configure metric filter display and the overview axis.
Parameter | Description |
Enable Metric Filter Display | Enables or disables the in-chart metric filter. If enabled, you can also set the default selected metric field. |
View Controls | If a large amount of dense data on the chart axis cannot be fully displayed within the container, you can click the You can control the visible range on the chart axis using the following control types: overview axis and scroll bar.
Note If no view controls are configured for the chart and the chart size is too small, the system automatically enables view controls, selects overview axis, and displays it only when the data volume exceeds the container width. |
Configure chart analysis
Parameter | Setting | Description |
Data Interaction | Drill Down | If you have configured drill-down fields on the Fields tab, you can set the display style for the drill-down level rows here. For more information, see Drill Down. |
Linkage | If the data you need to analyze is in different charts, you can use chart linkage to connect multiple charts for data analysis. For more information, see Linkage. | |
Redirect | If the data you need to analyze is across multiple dashboards, you can use dashboard redirection to connect them for data analysis. Redirection includes three types: Intra-product Redirect, In-page Component, and External Link. For more information, see Redirect. | |
Analysis and Warning | Reference Line | You can use a reference line to see the difference between the current measure value and a set value. The reference line value can be a fixed value or a calculated value. Calculated values include average, maximum, minimum, and median. For more information, see Reference Line. |
Annotation | - | Use annotations—such as color highlights, icons, and comments—to draw attention to anomalies or noteworthy data points. This helps you identify anomalies and take appropriate action. For more information, see Annotation. |
Next steps
To allow others to view the dashboard, you can share it with specific people. For more information, see Share a dashboard.
To create a complex, navigation-enabled report for thematic analysis, you can integrate your dashboards into a data portal. For more information, see Create a PC data portal.
















) at the top of the dashboard editor to set a suitable legend for mobile devices. You can customize the position and text style of the mobile legend.



icon to enable view controls. These controls let you dynamically adjust the visible range of the chart by scrolling, ensuring both data integrity and readability.
By default, the overview axis is displayed only when the data volume exceeds the chart container's display width. If you want the overview axis to be always visible, select Always Show. The overview axis will then be displayed even if the chart data does not exceed the container's width.
You can also set a minimum category width to limit the amount of data in the current window, ensuring clarity and preventing visual clutter from overlapping labels or dense data points. The default minimum category width is 32 px, with a valid range of 16 px to 100 px.