Pie Chart

Yeeflow team
Yeeflow team
  • Updated

Use the Pie Chart control to demonstrate information in a circular graph illustrating numerical proportions.

 

Displaying the statistics is as easy as pie with a Pie Chart control. Here you can make each section of a different color, and display the information either above, below the chart or even on hover.

 

Pie_chart_overview.jpg

 

Pie Chart control can be one of the most eye-catching controls for data analytics, with its nice layout and versatile settings. You are able to enrich it with the tooltips, set the height and animation duration, select the best fitting colors, etc.

 

Add Pie Chart to the page

Firstly, find the Pie Chart control in the controls add panel,. Then, drag and drop it into a section or container on your page.

 

Pie_chart_add.jpg

 

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 the Data Filters section, click the condition button to filter the data from the selected data list.

 

Pie_chart_datasource.jpg

 

Categories and Values 

A Pie Chart is a type of graph that displays data in a circular graph. The pieces of the graph are proportional to the fraction of the whole in each category. In other words, each slice of the pie is relative to the size of that category in the group as a whole. The entire “pie” represents 100 percent of a whole, while the pie “slices” represent portions of the whole. 

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.

Sub category: The Pie Chart support 2 tier of categories. The sub category is optional. If you wanna show 2 type of categories, you can select another field as your second category.

Value: Select the field to calculate value of this Pie Chart, and the method about how to calculate the result. For numeric fields, the calculation type can be count (count the number of records) or sum (sum of the total value of records).  

 

Pie_chart_category.jpg

 

Pro Tip: To generate the pie chart, after the category and value fields are set, please click "Submit" button from the top-right of the top bar.

Pie_chart_generate.jpg

 

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.

 

Pie_chart_height.jpg

 

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.jpg

 

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: set the suffix of the number on the Tooltip.

 

Pie_chart_title.jpg

 

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 or %.
  4. Padding: Set the Padding of the title in PX or %.
  5. Text Shadow: Adjust box shadow options.

 

Pie_chart_style_title.jpg

 

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.

 

Pie_chart_style_label.jpg

 

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.

Pie_chart_Legend.jpg

 

Tooltip

  1. Background Color: Set the background color of the Tooltip container.
  2. Padding: Set the Padding of the tooltip container in PX or %.
  3. Text Shadow: Adjust box shadow options.
  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.

 

Pie_chart_style_tooltip.jpg

 

Advanced Settings

Set the Advanced options that are applicable to this control.

 

 

Was this article helpful?

/

Comments

0 comments

Please sign in to leave a comment.