反馈已提交

网络繁忙

You are viewing 5.1 help doc. More details are displayed in the latest help doc.

Percentage stacked area map

  • Recent Updates: April 26, 2022
  • 1. Overview

    1.1 Application Scenarios

    On the basis of the stacked area map, calculate the percentage of each indicator of the total, then the stacked area map is formed. As shown in the figure below:

    pc.png

    1.2 Requirements of the data

    Table TypeDimension fieldIndicator field
    Percentage stacked area map12

    1.3 The table features

    Advantages: it can emphasize the changing degree of different types of quantities over time, attract people's attention to the total value, and understand the relationship between part and whole from the graph.

    Disadvantages: it is not conducive to too many kinds of display, the picture will be crowded, and the color is not easy to distinguish.

    2. Example

    2.1 Add Excel dataset

    Sample data:

    312.BI Percentage stack area map.xlsx

    Click "Data Preparation", click "Add a business package", name the business package as "area chart", click "Add Table", select "Excel Dataset", and import the excel file:

    "BI percentage stacking area map.xlsx", as shown in the following figure:

    BI百分比堆积面积图.png

    The data preview effect is as follows:

    数据预览.png

    2.2 Create components

    1) Click the "Dashboard" → "New Dashboard", as shown in the following figure:

    仪表盘.png

    2) Click "Add component", as shown in the following figure:

    添加组件.png

    3) Select the business package "area chart", select "BI percentage stacking area map" and click "OK", as shown in the following figure:

    选择业务包.png

    2.3 Set the components

    1) Convert the "year" field under the "indicator" into a "Dimension", as shown in the following figure:

    转化为维度.png

    2) Click "+", do percentage calculation to the indicator fields "Asia", "Africa", "Europe", "Latin America", "North America", get new fields  "percentage of Asia", "percentage of Africa", "percentage of Europe", "percentage of Latin America", "percentage of North America", as shown in the following figure:

    asia百分比.png

    3) Select "Custom Chart", drag "percentage of Asia", "percentage of Africa", "percentage of Europe", "percentage of Latin America", "percentage of North America" to the vertical axis, drag the "Year" field to horizontal axis, as shown in the following figure:

    自定义图表.png

    4) Set the "year" field as "Merge same items as a group". Set the "percentage of Asia", "percentage of Africa", "percentage of Europe", "percentage of Latin America", "percentage of North America" fields as "Turn on stacking" respectively. As shown in the figure below:

    5) Set the "numeric format" of the "percentage of Asia", "percentage of Africa", "percentage of Europe", "percentage of Latin America", "percentage of North America" as "percentage". As shown in the figure below:

    设置百分比.png

    6) Set the title of the component, enter "Percentage stacked area map", select the font size as "13", "Bold", and set the color of the font as "Black". As shown in the figure below:

    组件标题.png

    7) Set "Legend" to "display", and the legend's font color is "blue", font size is "12", and the legend location is "up". As shown in the figure below:

    图例.png

    8) Set the graphic's color. As shown in the figure below:

    设置图形颜色.png

    2.4 Set category axis

    1) Set the "year" field's "Category Axis", the "text direction" is "- 15", the font size is "12", the font is "Blue", and uncheck the "Display axis title". As shown in the figure below:

    年份字段.png

    2) Set the axis label to "Blue" and the font size to "12", set the minimum value of "Axis Scale" to "0" and the maximum value to "1", rename the title to "Ten Thousand", and set the font size to "12". As shown in the figure below:

    轴标签.png

    3. View the effect

    3.1 PC terminal

    Click "Save As" and "Preview Dashboard", the effect has shown in section 1.1.

    3.2 Mobile terminal

    The effect of App and HTML5 terminal are the same, as shown in the figure below:

    移动端.png

    Attachment List


    Theme: Build Charts and Analyze data
    Already the First
    Already the Last
    • Helpful
    • Not helpful
    • Only read

    售前咨询电话

    400-811-8890转1

    在线技术支持

    在线QQ:800049425

    热线电话:400-811-8890转2

    总裁办24H投诉

    热线电话:173-1278-1526

    文 档反 馈

    鼠标选中内容,快速反馈问题

    鼠标选中存在疑惑的内容,即可快速反馈问题,我们将会跟进处理。

    不再提示

    10s后关闭