Skip to main content

Pie Chart

The Yeeflow Pie Chart guide details creating and customizing charts for data proportion visualization, ideal for dashboard insights.

Use a pie chart to show how mutually exclusive categories contribute to a total.

The example groups activities as Event, Phone Call, and Task.

Activities by Type pie chart with large legend labels. Blue is Event, green is Phone Call, and slate is Task.

Set the chart height, customize the title and legend, and enable tooltips to show a slice’s value.


Add Pie Chart to the page

In the page designer, open Data Analytics in the controls panel. Drag Pie Chart into a section or container. Add a pie chart to a dashboard


Select data source

Select the target data list as the source content to create Pie Chart based on filters conditions.

Open the Content > Data Source block, and in the Application section, select the application which is the current application by default.

Afterward, move on to the List section. Select the data list under the selected application.

In Data Filters, select Setting and choose the records to include. For example, restrict the source to projects in the reporting period.

Pie Chart Data Source settings show Sales Management, the Accounts list, and the Data Filters Setting button.


Categories and Values

To show shares of one total, count project IDs by a single category or sum a nonnegative amount across mutually exclusive categories. Each slice then shows that category’s share of the filtered total. Averages, maxima, and minima describe their groups. Distinct counts can overlap when the same value occurs in several groups.

Open the Content > Chart block to select the fields as category, sub-category and value of this Pie Chart.

Category: select one of the field included in the selected data list as the category of this Pie Chart. For example, select industry as the category of a customer list.

Subcategory. Select an optional second field to split the main categories. For example, group accounts by Industry and use Rating to break down each industry. Leave Subcategory empty for a single level.

Value. Choose a field and the calculation. For a count of records, choose Id and Count. For a numeric field, available calculations can include Count, Sum, Count distinct, Avg, Max, and Min. Count distinct counts different values in each group.

Chart settings with Industry as Category, Rating as optional Subcategory, and Count of Id as Value.

Pro Tip

After selecting the category and value, click Submit in the designer. Open the page and check the category totals against records from the filtered source. If a blank category appears, check the records and decide whether to complete their category or filter them out.


Settings of Pie Chart

Chart Height: set the height of this Pie Chart control.

Label: Show/hide the label on the Pie Chart.

Line: Show/hide line between the pieces of the graph.

Title of Pie Chart

Display: turn on to show title of the Pie Chart.

Chart Title: type the text of the title, or set dynamic content as the title text.

Title Position: set the display position of the title as Before Chart or After Chart.

Text Align: Set the alignment of the title as Left, Center, Right, or Justify.

Pie Chart settings show title position and alignment, legend display and position, and the Tooltip Enable and Number Suffix controls.

Legend of Pie Chart

Display: turn on to show Legend of the Pie Chart.

Position: set the display position of the legend around the Pie Chart.

Tooltip of Pie Chart

Enable: turn on to show Tooltip of the Pie Chart.

Number Suffix. Add a unit after the tooltip value, such as “records” for a count. Use a unit that matches the calculation.


Styling the Pie Chart control

Title

  1. Text Color: Set the color of the title.

  2. Typography: Set the typography of the title.

  3. Margin: Set the Margin of the title in PX , %, em, rem, vw, calc.

  4. Padding: Set the Padding of the title in PX , %, em, rem, vw, calc.

  5. Text Shadow. Set the shadow applied to the text.

Label

  1. Font Family: Set font family of the label.

  2. Size: Set font size of the label.

  3. Weight: Set font weight of the label.

  4. Style: Set font style of the label.

  5. Text Color: Set the color of the label.

Legend

  1. Font Family: Set font family of the legend.

  2. Size: Set font size of the legend.

  3. Weight: Set font weight of the legend.

  4. Style: Set font style of the legend.

  5. Line-Height: Set line-height of the legend.

  6. Text Color: Set the color of the legend.

Tooltip

  1. Background Color: Set the background color of the Tooltip container.

  2. Padding: Set the Padding of the tooltip container in PX , %, em, rem, vw, calc.

  3. Text Shadow. Set the shadow applied to the text.

  4. Title: Set the Title's style of the Tooltip.

    • Font Family: Set font family of the Tooltip's title.

    • Size: Set font size of the Tooltip's title.

    • Weight: Set font weight of the Tooltip's title.

    • Style: Set font style of the Tooltip's title.

    • Line-Height: Set line-height of the Tooltip's title.

    • Text Color: Set the color of the Tooltip's title.

  5. Value: Set the Value's style of the Tooltip.

  • Font Family: Set font family of the Tooltip's value.

  • Size: Set font size of the Tooltip's value.

  • Weight: Set font weight of the Tooltip's value.

  • Style: Set font style of the Tooltip's value.

  • Line-Height: Set line-height of the Tooltip's value.

  • Text Color: Set the color of the Tooltip's value.


Advanced Settings

Set the Advanced options that are applicable to this control.

Did this answer your question?