Pie Chart


The pie chart widget is generally used to compare data between a single data series, showing the proportion of each value to the total, and the total proportion can only be 100%. The pie chart widget supports the widget link function, and the data that needs to be displayed can be filtered by configuring a global filter.


The configuration items of the pie chart widget mainly include Basic Settings, Data Items, and Chart Style.

Basic Settings

In the Basic Settings section, provide the following basic information of the pie chart:

- **Basic Information**: Enter the title and description of the pie chart, and configure the title font and whether to hide the title
- **Other Options**: select the data refresh frequency, and configure whether to enable Tooltip, and the grid position and the background color of the pie chart

.. image:: media/PieChart_config_1.png

Data Item Configuration

In the Data section, add the data that needs to be displayed in the pie chart:

- **Data Source**: Select the added data source
- **Category**: Select the model of the data item according to the selected data source
- **Aggregation**: Select whether to aggregate the data
- **Parameters**: Configure various parameters according to the selected data source and category
- **Dimension and Measurement**: Select a combination of dimensions and measurements in the data set. The chart will dynamically display the acquired data according to the selected combination.

.. image:: media/PieChart_config_2.png

Chart Style Configuration

In the Chart Style section, configure the style, legend style, and data label of the pie chart.

- **Set Pie Chart Style**: Configure the style and size of the pie chart
- **Legend**: Configure the legend style, including the display position, size, interval and font format of the legend
- **Data Label**: Configure the data label, including the font format and display position

.. image:: media/PieChart_config_3.png