Chart Custom Single Series Label

  • Last update:February 18, 2025
  • Overview

    Application Scenario

    Set labels separately for one or some series or categories. For example, set labels for series one and series six, while other series are displayed with no labels, as shown in the following figure.

    image 21.png

    Function Description

    Add a Condition Attribute under Special Effect > Condition Display, and select Label as Attribute.

    image 19.png

    Example

    Data Preparation

    Create a database query dataset named ds1 and enter the SQL query SELECT * FROM Sales_Volume.

    image 16.png

    Report Design

    Merge required cells, choose Cell Element > Insert Element > Insert Chart(C) > Column Chart on the right, as shown in the following figure.

    image 17.png

    Data Binding

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

    image 18.png

    Label Setting

    Add a Condition Attribute under Special Effect > Condition Display, select Label as Attribute, select Value, set Common Condition as Series Index Equal to 1 or Series Name Equal to Zhang Ying, as shown in the following figure.

    iconNote:

    1. You can also customize the text and use HTML to parse the text content.

    2. The condition attribute Label set in Special Effect can only be displayed when Use Label in Style is deselected.

     image 22.png

    Effect Display

    1. PC

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

    image 21.png

    2. Mobile Terminal

    image 23.png

    Template Download

    For details, you can download the template Chart Custom Single Series Label.cpt.

    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