Chart Custom Category Color

  • Last update:February 18, 2025
  • Overview

    Problem

    When there is only one series or no series in the chart, each category's column in the chart will only display the same color, as shown in the following figure.

    image 12.png

    However, sometimes it is necessary to display the columns of each category in different colors to distinguish them, as shown in the following figure.

    image 14.png 

    Implementation Method

    Choose Special Effect > Condition Display to configure a different color for each column.

    Example

    1. Create a general report and create a dataset named ds1. The database query is SELECT * FROM Sales_Volume.

    image 10.png

    2. Merge required cells, and insert Column Chart, as shown in the following figure.

    image 11.png

    3. Configure different colors for each category in Condition Display, as shown in the following figure.

    image 13.png

    4. The following figure shows the preview of the effect.

    PC

    image 14.png

    Mobile Terminal

    image 15.png

    Template Download

    For details, you can click to download the template Chart Custom Category Color.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