Skip to content

X-Axis Alignment

Overview

This function in AIV6 allows users to adjust the alignment of category labels. Options include Hide, Trim,Wrap, Multiple Rows, Rotate45, and Rotate90, enabling customization based on specific requirements.

X-Axis Alignment: This video explains how to use X-Axis Alignment in AIV.

Steps to apply X-Axis Alignment:

  1. Click the Charts icon from the left vertical menu, as shown below:

    Chart Widget

  2. The Chart Edit menu box will appear, and by default, the Clustered Column chart will be selected.

    Chart Widget

  3. Enter the following details in the Clustered Column Chart Widget:

    • Datasets (ds): Sales.ds

    • Category Axis: country

    • Value Column: extendedPrice

    • Aggregation: Sum

      Chart Widget

  4. Click on the Publish button, then the Preview icon, and finally click on the SAVE AND EXIT button to view the Clustered Column Chart, as shown below:

    Chart Widget

  5. Edit the chart by clicking the edit icon icon located in the top-right corner. In the Edit Menu, go to Formatting Tab → Category AxisCategory Labels, and enable the label. By default, Rotate45 will be selected in the Alignment option, as shown below:

    Chart Widget

  6. Select Rotate90 in the Alignment option. Your widget will appear as shown below:

    Chart Widget

  7. Select Multiple Rows in the Alignment option. Your widget will appear as shown below:

    Chart Widget

  8. Select Wrap in the Alignment option. Your widget will appear as shown below:

    Chart Widget

  9. Select Trim in the Alignment option. Your widget will appear as shown below:

    Chart Widget

  10. Select Hide in the Alignment option. Your widget will appear as shown below:

    Chart Widget

  11. Select None in the Alignment option and enter 40 in the Rotation option. Your widget will appear as shown below:

    Chart Widget

  12. After that, enable the Truncate option, and your widget will look as shown below:

    Chart Widget

  13. Click on the Publish button, then the Preview icon, and finally click on the SAVE AND EXIT button to view the Clustered Column Chart, as shown below:

    Chart Widget

  14. After that, navigate again to Formatting Tab → Category AxisCategory Labels.

  15. Then, go to the Label Placement option and select On Ticks from the dropdown, as shown below.

    Chart Widget

  16. Next, disable the Truncate option. Your widget will appear as shown below:

    Chart Widget

  17. Click on the Publish button, then the Preview icon, and finally click on the SAVE AND EXIT button to view the Clustered Column Chart, as shown below:

    Chart Widget

In this way, you can customize X-Axis alignment in the AIV application.