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.
Implementation Method
On the chart attribute panel, choose Style > Axis, click a specific axis, and select Axis Reverse Order in Position.
Example
Data Preparation
Create a general report and create a built-in dataset named Embedded1, as shown in the following figure.
Report Design
1. Merge required cells, and insert Custom Column Chart, as shown in the following figure.
2. Choose Cell Element > Data to bind the data to the chart, as shown in the following figure.
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.
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.
Mobile Terminal
Template Download
For details, you can click to download the template Custom Value Order on Axes.cpt.