0 Value Alignment on X Axis in a Column Chart

  • Last update:March 18, 2025
  • Overview

    Application Scenario

    When the X axis label position is set to the 0 value, the X axis label will align with the 0 value, as shown in the following figure.

    image 1.png

    Implementation Method

    Set the axis label position: On the attribute panel, choose Style > Axis > X Axis, and set Axis Label Position to Zero.

    image 2.png

    Example

    Data Preparation

    Create a general report, and enter the SQL statement select "Payment date" as "Payment Date",Balance-20000 as Balance,Payment-6000 as Payment from BillDetail limit 6 to create a database ds1.

    image 3.png

    Report Design

    1. Merge required cells, click Cell Element, select Insert Chart from the drop-down list of Insert Element, and select Custom for Type, as shown in the following figure.

    image 4.png

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

    image 5.png

    3. Choose Style > Axis > X Axis and set Axis Label Position to Zero, as shown in the following figure.

    image 2.png

    4. Choose Style > Axis > Series > Stack and Axis, and click the Add icon, as shown in the following figure.

    image 6.png

    5. Choose Style > Axis > Y Axis2, and set Axis Label Position to Right, as shown in the following figure.

    image 7.png

    Effect Display

    PC

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

    image 1.png

    Mobile Terminal

    ecefc28c309476c8561410d93d1182a.jpg

    Template Download

    For details, you can click to download the template 0 Value Alignment on X Axis in a Column Chart.cpt.

    Attachment List


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

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

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

    不再提示

    9s后關閉

    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