Clustered Column Chart
A clustered column chart can display the trend of each data point over a period of time and compare the data between them. The length of the columns indicates the value, making it easy to compare the differences and trends between different groups of data. This section will show you how to add data and configure styles for clustered column charts.
Notes and Constraints
- The dimension axis is determined by the dimensions of the data and at least one dimension must be selected.
- The metric axis is determined by the metrics of the data and at least one metric must be selected.
- The color legend is determined by the dimensions of the data and only one dimension can be selected.
- The color legend can only be enabled when a metric field is selected on the value axis.
Procedure
- In the navigation pane on the left, choose Data Analytics > Dashboard. On the displayed page, click the name of the dashboard you created. On the top menu bar, click Add Chart and select Clustered column under Column/Bar Chart.
- Select a dataset in the Data area.
- Set parameters on the Field, Style, and Advanced tabs.
- Click Update. The system automatically updates the chart.
Figure 1 Clustered column chart
- Click Save or Save and Publish in the upper right corner to save the dashboard.
- In the displayed Dashboard dialog box, set Name and click Confirm.
Field
-
In the Data area on the right, select a dataset, and double-click or drag required dimension and metric fields to the corresponding areas on the Fields tab.
Table 1 Parameters on the Field tab Parameter
Description
Field display content
Click
in the column and click Field display content to modify the field display content on the displayed page. Click OK.
Aggregation Method
Select Aggregation Method and click to support setting of no aggregation, sum, count, distinct count, maximum value, minimum value, average value, population standard deviation, sample standard deviation, sample variance, range start value, and range end value.
Drilldown
You can enable drilldown for dimension fields. For example, you can view data at different levels of granularity, ranging from years down to quarters, months, weeks, days, hours, minutes, and even seconds, depending on the time dimension.- Click the field (
) in the column and drag the field of the target location to be drilled down to the Drilldown area.
- Click Update to test whether the drilldown function is set successfully.
NOTE:
- Drill-down is only supported for dimension fields, not for metric fields.
- You can only select one field as the starting point for drill-down.
- When drilling down on time, the system will automatically add the subdivided time periods to the drill-down order list and include them in the sorting field (fields that are already in the sorting field will not be added again).
- Drill-down icons should be highlighted for fields that have already been drilled down. If you remove the drill-down field from the dimension, the entire drill-down function box will disappear.
- Click the field (
- Set the color legend (dimension). Specifically, drag the required field to Color Legend (Dimension). Color legends also support drill-down.
- Set a filter.
- Drag dimension and metric fields to the Filter area.
- Click
next to a field in the Filter area.
- In the displayed Set Filter dialog box, set the parameters and click OK.
Table 2 Filter parameters Type
Parameter
Description
String
Condition
Filter Mode: The options are Condition and Enumeration.
Condition Type: The options are And condition and Or condition.
Filter Condition: The options are Exact match, Contain, Start with, End with, Not match, Not contain, Null, and Not null.
Enumeration
Query Mode: The options are Single-select and multi-select.
Filter Condition: The options are >, ≥, <, ≤, =, ≠, Null, and Not null.
Metric
Condition Type
The options are And condition and Or condition.
Filter Condition
The options are >, ≥, <, ≤, =, ≠, Null, and Not null. You can select Before aggregation and After aggregation for data.
NOTE:If you select Before aggregation, data is filtered before aggregation. If you select After aggregation, data is filtered after aggregation. For aggregation concepts, see Creating a Dataset.
You can click Create Filter Condition to set multiple filter criteria.
Date
Range value
Select a time range for filtering.
Single value
Set a single time for filtering.
Condition
You can select And condition or Or condition as the condition type and select filter condition like >, ≥, <, ≤, and =.
You can click Create Filter Condition to set multiple filter criteria.
- Set sorting.
- Drag and drop required data fields from the Dimension and Metric (Indicator) areas under Data to the Sorting area.
- Click
next to a field in the Sorting area and select a sorting mode. The sorting modes are Ascending, Descending, and Custom.
- To cancel sorting, click
next to the sorting field.
- Set the maximum number of query results.
Enter the maximum number of records that can be returned in the text box. The default value is 1000.
- Set automatic refresh.
The auto refresh interval supports the following options: no refresh, 1 minute, 5 minutes, 15 minutes, and 30 minutes.
Style
Parameter |
Description |
---|---|
Card Title |
Whether to display the card title. If selected, the card title is displayed in the upper left corner of the chart. |
Text |
Set the text size and click |
Alignment |
Set the alignment mode, which can be left alignment or center alignment. |
Bottom Margin |
Set the distance between the card title and the chart. |
Divider |
Whether to display the divider. You can set the size, color, and bottom margin of the divider. |
Card Background |
Whether to display the card background. Click |
Status Icon |
Whether to display the status icon. You can set the display mode and color of icons. The display modes include Always display and Hover display. |
Hide Panel Operations |
You can customize whether to display |
Panel No Padding |
You can customize whether to cancel card padding. |
Parameter |
Description |
---|---|
Show Legend |
Choose whether to display the legend. If the checkbox is not selected ( |
Text |
Set the font size for text when the legend is displayed. |
Position |
Choose to display the legend below or above the chart. |
Color Palette |
Set the color palette for the legend, with the option to use system defaults and customize ones. |
Context |
Specify the language context for numerical values, with support for Simplified Chinese and English. |
Unit |
Choose the unit of measurement for numerical values, including options for none, automatic, hundred, thousand, ten thousand, hundred million, and billion. |
Scientific Notation |
Set whether to support scientific notation for numerical values. |
Use thousands separator |
Set whether to use thousands separators for numerical values. |
Decimal Places |
Set whether to display decimal places for numerical values. |
Parameter |
Description |
---|---|
Show Title and Unit |
Customize whether to show the title and unit. You can set the axis title, unit, position, and text. |
Auto Set Numeric Range |
You can control the data display range of the chart by setting minimum and maximum values. |
Show Axis |
Customize whether to show the coordinate axis. You can set the font size and color of coordinate lines. |
Show Axis Label |
Customize whether to show axis labels. You can set the font size, color, and display format of axis labels. |
Show Grid Line |
Customize whether to show gridlines. You can set the weight and color of gridlines. |
Show Scale Line |
Customize whether to show gridlines' scale lines. |
Scale Type |
The X-axis supports ordinal scale type, while the Y-axis supports ordinal scale type. |
Abbreviated Axis Label |
Set the X-axis label abbreviation. |
Parameter |
Description |
---|---|
Abbreviated Axis |
Set whether to enable the abbreviated axis. |
Abbreviated Axis Background Data |
Set the background data display for the abbreviated axis. |
Null Value Processing |
Set null value handling rules: delete, intelligently delete, set to zero, or break on null. |
Parameter |
Description |
---|---|
Select Series |
Choose the metric to be highlighted. Subsequent text settings will enable highlighting of specific values within the metric, typically used to individually display certain data points, such as highlighting outliers below a certain threshold. |
Text |
Set the value range for the highlight effect, highlight color, halo flashing frequency, maximum halo transparency, and halo size. Refer to Example Scenario for details. |
Advanced
- Linkage
Click the Advanced tab and click
next to Linkage. The Chart Linkage Settings page is displayed. Set parameters. For details, see Linkage example.
Table 8 Chart linkage settings Parameter
Description
Fields to Bound
Select the fields to be bound first and then select the chart to be associated with them. You can select all charts on the dashboard.
Associated Charts
Set linked associated charts. You can select charts from the same dataset or different datasets.
- Follow bound field: When the bound field is set to A, the associated data tables filter data related to A.
- SQL placeholder: The bound field value corresponds to the value set for the SQL placeholder in the dataset.
- Initialize Query for Associated Query Control: whether the associated query control supports query initialization. If the checkbox is selected (
), the control supports query initialization. If the checkbox is not selected (
), the control does not support query initialization.
If you select this option, when a chart is linked to a query control and the query control does not have a default query set, the chart's data configuration will be queried during chart initialization.
Example Scenario
In this example, a clustered column chart is used to display the sales data of a certain product. The data with a profit below 200 is highlighted to make it easier to identify data points that do not meet expected profit levels, thus allowing for targeted analysis of anomalous data.
- In the navigation pane on the left, choose Data Analytics > Dashboard. On the displayed page, click the name of the dashboard you created. On the top menu bar, click Add Chart and select Clustered column under Column/Bar Chart.
- In the data columns, select the dataset to be analyzed, and double-click or drag the product_name dimension and profit metric into the fields.
- Click the Style tab, click Condition Format, and select the profit field in the Select a series dropdown.
- Click
on the right side of the text to enter the custom style page, set the parameters, and click Confirm. Parameter settings are shown in Figure 2.
- On the Field tab page, click Update to complete the creation of a clustered column chart, as shown in Figure 3.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot