Custom Value Order on Axes

  • Last update:February 16, 2025
  • Overview

    Application Scenario

    Sometimes you want to display the axis in reverse order. In this example, the values on the Y axis are sorted in descending order by default, and the values are sorted in ascending order from top to bottom after you change the axis order, as shown in the following figure.

    image 6.png

    Implementation Method

    On the chart attribute panel, choose Style > Axis, click a specific axis, and select Axis Reverse Order in Position.

     image 7.png

    Example

    Data Preparation

    Create a general report and create a built-in dataset named Embedded1, as shown in the following figure.
    image 8.png

    Report Design

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

    image 9.png

    2. Choose Cell Element > Data to bind the data to the chart, as shown in the following figure.

    image 10.png

    3. Choose Style > Axis, add a Y axis called Y Axis 2, and select Axis Reverse Order for comparison with Y Axis, as shown in the following figure.

    image 7.png

    Set the values for Y Axis and Y Axis 2, as shown in the following figure.


    Effect Display

    PC

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

    image 6.png

    Mobile Terminal

    ae2a1056a8b2c57edb44819fb707702.jpg

    Template Download

    For details, you can click to download the template Custom Value Order on Axes.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