Pie Chart Element Properties

You can configure the following settings in the Properties panel:

  • Datasource:
    • Action.
    • Select the data labels on the chart from Data Label For Field.
  • Legend:
    • Click on the data in the DataSource section to hide a specific slice.
  • Show Data Labels:
    • Toggle the Switch button to show the labels for each slice on the chart.
  • Data Label Formatter:
    • Customize the labels of the data slices.
  • Data Structure:
    • To use the Pie Chart element, each value field must be associated with a label field. The following SQL code shows a sample data structure:
SELECT 'Category A' AS category, 45 AS valueUNION ALL SELECT 'Category B', 30UNION ALL SELECT 'Category C', 15UNION ALL SELECT 'Category D', 10;