Label Display in the Center of a Pie Chart

  • Last update:December 25, 2024
  • Overview

    Version

    Report Server Version
    11.0

    Application Scenario

    When a pie chart is displayed as a ring-shaped pie chart (after Core is configured), you may want the information such as category names, summary values, or custom text to be displayed in the central blank area for higher chart space utilization.

    The Category Label function of the pie chart allows you to display information such as custom text, category names, and summary values in the central blank area of a pie chart.

    Function Description

    Select the pie chart and choose Style > Label. You can set Value Label and Category Label respectively in three methods.

    • Common: You can select Category Name and Summary Value to display the built-in data indicators.

    • Rich Text: You can customize the text content.

    • Custom: You can customize the text content through codes.

    Example

    Data Preparation

    Create a general report and create a built-in dataset, as shown in the following figure.

    Chart Insertion

    Merge required cells in a certain area, and insert a pie chart into the area, as shown in the following figure.

    Data Binding

    Bind the data to the pie chart, as shown in the following figure.


    Style Setting

    Deselect Show Title under Style > Title, set Position to Top under Style > Legend, and set Core to 80% under Style > Series to realize the ring-shape effect, as shown in the following figure.

    Central Label Customizing

    Deselect Value in Text in the Value Label setting area. Select Rich Text and set Position to Center in the Category Label setting area (namely displaying the label in the center of the pie chart), as shown in the following figure.

    Click Edit Rich Text to enter the Rich Text Editor page, enter Market Share Per Android Version in the editing panel, and set the font style to Custom, as shown in the following figure.

    好难的截图.png

    Effect Display

    PC

    Save the template and click Pagination Preview. The following figure shows the preview effect.

    Mobile Terminal

    The report can be previewed on both the DataAnalyst app and the HTML5 terminal. The following figure shows the preview effect.

    手机.jpg

    Template Download

    For details, you can download the template Label Display in the Center of a Pie Chart.cpt.

    Attachment List


    Theme: Chart
    • 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