Pie Chart

  • Last update:December 18, 2020
  • I. Overview

    1) A pie chart uses the area of the sectors to represent the proportion of a value to the total.

    2) The pie chart is designed for two-dimensional data such as a category field and a continuous data field. Pie charts are ideal choices for users who pay more attention to proportions.

    3) The advantage of using a pie chart is that it provides an intuitive view of the proportion of each part in the whole. However, it is not suitable for presenting large datasets (multiple categories) or negative values in the data items, and becomes indistinguishable in case of similar proportions.

    4) Suggested Reading: Chart Data, Chart Style, Chart Special Effects

    You will learn
    • Steps

      • Data preparation

      • Select and Insert a chart

      • Component Design

      • Data Binding

      • Style Setting

      • Preview

    II. Steps

    1. Data preparation

    1) Create a new general report and a new dataset ds1

     图片1.png

    2) Use the default data connection FRDemo. The data query statement is as follows:

    SELECT Category_name, SUM(Inventory_quantity) AS kc FROM Product,Category
    WHERE Product.CategoryID=Category.CategoryID AND Category_name!="Daily necessities" 
    GROUP BY Category_name

    1603095915766602.png


    2. Select and insert a chart

    1) This document describes how to insert a pie chart by taking [Cell Element]-[Insert Cell Element] as an example.

    • Click [Cell Element] on the right panel and choose [Insert Chart(C)] from [Insert Cell Element].

    • The [Chart Type] window pops up. Then click [Pie Chart] on the left.

    • Click on the first type of [Pie Chart] on the right.

    • Click on [OK], and a pie chart is inserted successfully.

     图片3.png

    2) After inserting a pie chart as a cell or a floating element, you can select three sub-types from the Type Settings under the Attribute panel on the right, as shown in the following diagram:

    Pie Chart, Rose Chart (Same Radians) and Rose Chart (Different Radians).

     图片4.png

    • Pie Chart: In general, a pie chart compares the sizes of data based on the area of each data.

    • Rose Chart (Same Radians)

      • Same Radians: Radians that can overlap in the same circle or equal circles.

      • A sector is neat and beautiful as it has an equal radian.

    • Rose Chart (Different Radians)

      • Different Radians: Radians that cannot overlap in the same circle or equal circles.

      • A sector is intuitive as the difference of the various areas of a fan can be clearly seen.


    3. Component Design

    1) Create a new Dashboard.

    2) Drag and drop the three pie charts to the Body component and set them into three different sub-types: [Pie Chart], [Rose Chart(Same Radians)], and [Rose Chart(Different Radians)].

    3) Adjust their positional relationship, as shown in the diagram below:

     图片5.png


    4. Data Binding

    1) The three sub-types share the same binding method. Below take chart1 as an example.

    2) Click on [Data], and select [Dataset data] in [Data source]. Select [ds1] for [Dataset].

    3) Select [Enable Field Value] from [Series Name From] by default.

    4) Select [Category_name] for [series] and [kc] for [Value].

    5) Set [Summary Method] to [None].

     图片6.png


    5. Style Setting

    1) Only the titles of the three pie charts needs to be changed. For other settings, keep the default ones of the general Chart Style. Take Rose Chart (Different Radians) as an example.

    2) Select [Style]-[Title], and edit [Text] in [Content]. Type in 'Rose Chart(Different Radians)’.

     图片7.png


    6. Preview

    The style of the three pie charts is as follows.

     图片8.png

    Attachment List


    Theme: Chart
    Already the First
    Already the Last
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy