A stacked area chart shows the trend of data over a specific time interval and the proportion of the area that the data occupies. This section will show you how to add data and configure styles for stacked area charts.
Similar to area charts, the difference with stacked area charts is that the starting point of each data set is based on the previous data set, showing the trend line of each value's size change over time or category, displaying the relationship between parts and the whole.
to create a stacked area chart template.Figure 1 Stacked area chart

Click Save in the upper right corner. In the displayed dialog box, enter the dashboard name, and click Confirm. The saved dashboard cannot be viewed but can be deleted.
Click Save and Publish to save and publish the dashboard. You can view the saved dashboard. To delete the dashboard, you need to take it offline first.
Click
in the column, select Field Display Content and click to modify the field display content on the displayed page. Click OK.
Columns support the setting of field display content modification and drill-down functions for dimension fields.
Drill-down function: When analyzing company sales data, you can change the analysis granularity by drilling down the data, such as drilling down from the regional granularity to the provincial granularity to view the data situation based on geographic dimensions. Connecting data from various dimensions facilitates data analysts to analyze the data and draw conclusions.
) in the column and drag the field of the target location to be drilled down to the Drilldown area.Columns support the setting of aggregation method and field display content for metric fields.
Aggregation method: Perform calculation and processing on data to make the analyzed data more orderly and intuitive.
Click
of the field in the column, 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.
Drag the required fields to the Color Legend (Dimension) area on the Field tab. The color legend also supports drill-down.
next to a field in the Filter area.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. |
next to a field in the Sorting area and select a sorting mode. The sorting modes are Ascending, Descending, and Custom.
next to the sorting field.Enter the maximum number of records that can be returned in the text box. The default value is 1000.
The auto refresh interval supports the following options: no refresh, 1 minute, 5 minutes, 15 minutes, and 30 minutes.
Parameter | Description |
|---|---|
Card Title | Cards can be configured with or without a title. If a title is set, it will be displayed in the top left corner of the card. If the checkbox is not selected ( If the checkbox is selected ( |
Text | You can adjust the font size and color of the text. To change the font size, you can either type in the desired size or use the NOTE: Note that the input cannot be empty and must be from 14 to 32. |
Alignment | You can align the text in the card to the left or center. |
Bottom Margin | Set the distance between the stacked area chart title and the chart. To change the margin, you can either type in the desired margin or use the NOTE: Note that the input cannot be empty and must be from 0 to 32. |
Divider | Cards can be configured with or without a divider line. If the checkbox is not selected ( If the checkbox is selected ( NOTE: Note that the input for the style cannot be empty and must be from 0 to 8. The bottom margin can only be set after the style has been set, and the input cannot be empty and must be from 0 to 32. |
Card Background | Cards can be configured with or without a background. If the checkbox is not selected ( If the checkbox is selected ( |
Status Icon | You can customize the display style and color of the icon, which can be set to always show or show on hover. The card icon can be set to have a status or no status. If the checkbox is not selected ( If the checkbox is selected ( |
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. |
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. |
Axis Type | Parameter | Description |
|---|---|---|
X axis | Show Title and Unit | Set whether to display the title and unit of the X axis. If the checkbox is not selected ( If the checkbox is selected ( |
Show Axis | Set whether to display the coordinate axis. If the checkbox is not selected ( If the checkbox is selected ( | |
Show Axis Label | Set whether to display X-axis labels. If the checkbox is not selected ( If the checkbox is selected ( | |
Show Grid Line | Set whether to display X-axis gridlines. If the checkbox is not selected ( If the checkbox is selected ( | |
Show Scale Line | Set whether to display the scale line. If the checkbox is not selected ( If the checkbox is selected ( | |
Scale Type | You can set it to the ordinal type. | |
Abbreviated Axis Label | Set the X-axis label abbreviation. | |
Y axis | Show Title and Unit | Set whether to display the title and unit of the Y axis. If the checkbox is not selected ( If the checkbox is selected ( |
Auto Set Numeric Range | If the checkbox is not selected ( If the checkbox is selected ( | |
Show Axis | Set whether to display the coordinate axis. If the checkbox is not selected ( If the checkbox is selected ( | |
Show Axis Label |
| |
Show Grid Line | Set whether to display the Y-axis gridlines. If the checkbox is not selected ( If the checkbox is selected ( | |
Show Scale Line | Set whether to display the scale line. If the checkbox is not selected ( If the checkbox is selected ( | |
Scale Type | To display the data range on a logarithmic scale, it must be greater than 0 or less than 0 for both. Supported types include linear. | |
Abbreviated Axis Label | Set the Y-axis label abbreviation. |
Function | 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 the rule for handling null values: Delete, intelligently delete, set to zero, or break on null. |
Click the Advanced tab and click
next to Linkage. The Chart Linkage Settings page is displayed. Set parameters. For details, see Linkage example.
Parameter | Description |
|---|---|
Filter | 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 | Link the associated charts.
|
), 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.