A column chart is a statistical chart that displays data using the length of rectangles as variables. Column charts are used to compare two or more values (across different times or conditions), with only one variable, and are typically used for analyzing smaller data sets. The product provides three types of column chart components: stacked column chart, percentage column chart, and grouped column chart. It also supports flexible configuration of colors, arrangement, legends, labels, and more.
Column charts allow for intuitive visualization of differences between groups of data. Column charts are suitable for two-dimensional data, usually with only one variable, and can be used to compare, display, and sort data. In a percentage column chart, the proportion of each series can be seen directly.
Step 1: Set dimensions, metrics, and filter conditions
Select [Province] and [Sales year] as dimensions, and select [order_count] as the metric (you can drag fields from the field list on the left to the data panel to select them, or click the field to make it appear in the dimensions or metrics row of the data panel).
Step 2: Select a column chart
Click the column chart icon on the chart panel to select the column chart. The system will display the column chart according to the default settings.
Step 3: Modify the chart format as needed
You can modify the format of the chart's colors, arrangement, X-axis, Y-axis, legend, labels, tooltips, and more as needed. After making changes, you will get the chart you want.
Three types of column charts are supported. Click the small triangle under the column chart icon to switch between them.
Dimensions: Supports one or more dimensions. If there is more than one dimension, they will be stacked within the columns and distinguished by different colors.
Metrics: Supports one or more metrics. If there is more than one metric, they will be displayed separately along the X-axis.
Dimensions: Supports one or more dimensions. If there is more than one dimension, the columns will be stacked, with different colors used to distinguish them. Each column represents 100%.
Metric: Supports one or more metrics. If there is more than one metric, they will be displayed separately along the x-axis by default. The sum of all columns for the first dimension is 100%.
Supports one or more dimensions and one or more metrics. If there is more than one dimension or metric, they will be displayed in parallel in the column chart.
After setting one or more dimensions and one or more metrics, you can create charts.
Colors can be set for metrics, and multiple built-in color schemes are available:
Also supports Custom Color Schemes.
This feature applies to stacked column charts and percentage column charts, allowing you to choose whether to enable metric parallel display.
warning
After selecting Follow data range, the thumbnail axis cannot be enabled.
warning
When the axis range is set to "Follow data range", adjusting the axis scale is not supported.
You can enable grid lines to assist in observing values. Both horizontal and vertical grid lines are supported, and grid line styles can also be adjusted.
You can customize the display of special values for dimensions or metrics, displaying them as blank, NULL, 0, or --.
The display of special values for dimensions affects all dimensions; the display of special values for metrics affects all metrics.
After modification, it is displayed as follows:
Connect lines at null values
Break lines at null values
Set value to 0 at null values
Legend:
Labels:
Caution: Only one of "sparse display" or "allow overlap" can be selected. If one is selected, the other will be grayed out, with a prompt stating "Allow overlap and sparse display cannot be selected at the same time." When labels are crowded by default, it is recommended to select "sparse display."
Caution: Percentage data format, default percentage value, and historical data can be set to two decimal places.
When the mouse hovers over the data area, the tooltips will display information.
By default, the tooltips displays the dimension and metric information of the current data. You can also customize the tooltips information as needed.
Default tooltip information
After enabling the tooltips, you can select "Display content," supporting three display modes: "Single data point + whole row data," "Single data point only," and "Whole row data only."
Note: To display single data point information, you can add fields to the single data point and customize the tooltips information. The added fields will only appear in the tooltips for single data points and will not affect chart rendering.
Custom tooltip information
(1) Supports adding other metrics from the dataset to supplement the tooltips information.
(2) Click the "Advanced settings" button to further configure Custom Tooltips Information in the pop-up edit box. Supports entering text and inserting fields.
After editing the text and fields and adjusting the layout, you can achieve a customized effect. Click Preview to preview the effect.
Click "OK" to apply to the chart.
You can modify the display mode; four modes are available: standard, Adaptive window, Adaptive width, and Adaptive height.
Click [Restore default settings] to restore all of the above chart configuration to the default settings.
See Pivot Chart.