# X-axis customizations

## 1. Label customizations

#### 1.1. X-axis position

You can change the position of the x-axis. It can be positioned at the top or the bottom.

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2F4epOAHO2FRkQimu2kQyE%2Fxaxis.gif?alt=media&#x26;token=057efdd9-1a5d-4bf8-9e49-61a0490670ba" alt=""><figcaption><p>x-axis position</p></figcaption></figure>

In trellis mode, you have additional options like Frozen bottom row/Frozen top row/ First chart only/ Bottom row/ Top row, etc.

A few pre-conditions need to be met to enable the x-axis position option in trellis mode:

* Axis sorting should be set to native
* TopN ranking should not be applied

<div><figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FIWYHXs3nkaSeB2QhWJGr%2Fimage.png?alt=media&#x26;token=756292ef-524a-4286-822e-d8f3e858c99c" alt=""><figcaption><p>Show x-axis categories in all panels</p></figcaption></figure> <figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FgpFsoLCFDitoC6O4euIk%2FFrozen%20bottom%20row.png?alt=media&#x26;token=1def3cd2-337e-4a50-a601-87b2438d9700" alt=""><figcaption><p>Frozen bottom row</p></figcaption></figure> <figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FjSPKPNHFTaQZ4hq2fwWb%2FFrozen%20top%20row.png?alt=media&#x26;token=37eadf96-03d0-4445-a2b6-f8b0702ab60d" alt=""><figcaption><p>Frozen top row</p></figcaption></figure> <figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FSNRW2mfFpcd1gdXkt8yT%2FTop%20row.png?alt=media&#x26;token=6d3aa922-160d-4070-bb64-045feadff2f5" alt=""><figcaption><p>Top row</p></figcaption></figure> <figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FOgtqNHCgBJ23EzONZAkf%2FFirst%20chart%20only.png?alt=media&#x26;token=ac3192b1-07ae-40ae-a458-b9338a436f67" alt=""><figcaption><p>First chart only</p></figcaption></figure></div>

#### 1.2. X-axis label orientation

You can choose between various orientations for x-axis labels.&#x20;

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FfXjuRYU9zzN4xT9DLtwD%2Fimage.png?alt=media&#x26;token=f7458dc1-5d30-4dd8-aa8a-455ae985ffdd" alt=""><figcaption><p>Label orientation</p></figcaption></figure>

#### 1.3. Suppress null categories

You can choose to show or hide categories that contain null values. Notice how the Depreciation account is plotted only when null values are unsuppressed. [Learn more about null handling in Analytics+](https://docs.inforiver.com/analytics+/working-with-analytics+/3.8.-display-settings-for-charts/charts-number-settings#id-8.-null).

<div><figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FEfEH8qpIXU2sL5RmJsLv%2Fimage.png?alt=media&#x26;token=e79c385d-85b1-4ae4-9ebe-fd8c8fd3c942" alt=""><figcaption><p>Null values plotted</p></figcaption></figure> <figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FMkkHxxFBm7aFjxR2TElz%2FNull%20suppressed.png?alt=media&#x26;token=f8221586-f272-4cb8-b7b1-c6e7c97abf4b" alt=""><figcaption><p>Null values suppressed</p></figcaption></figure></div>

#### 1.4. Adjust font size

You can increase or decrease the font size of the labels.

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2Fb70UzhE6k0WdP9kYcycH%2Fimage.png?alt=media&#x26;token=429c8d8b-252e-4878-8be5-6b80ac9aa1ac" alt=""><figcaption><p>Font size</p></figcaption></figure>

#### 1.5. Font color and style

You can display the labels in bold or italics. You can also change the color.

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FIPxs2VyhMea2R2tO9T5V%2Fimage.png?alt=media&#x26;token=c7d2c739-0bb5-4af1-9917-56215863c96c" alt=""><figcaption><p>Font style</p></figcaption></figure>

#### 1.6. Open x-axis settings panel

Click on the gear icon to open the x-axis settings window to apply detailed customizations.&#x20;

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FhGLp2IGPeiKB5kpJXGxy%2Fimage.png?alt=media&#x26;token=ab40e543-5735-4ee6-9dbf-73c5b24b8cfe" alt=""><figcaption><p>Xaxis settings panel</p></figcaption></figure>

#### 1.7. Show or hide x-axis labels

You can choose to show or hide the x-axis labels. To display the x-axis labels again after hiding them, click on the undo link. You can enable x-axis labels by navigating to Settings > Axis > X-axis >  Label. Change the *Label* from 'Hidden' to a display type of your choice.&#x20;

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FqaTOAx5pgwebv9Zue9Bv%2Fxaxishide.gif?alt=media&#x26;token=fbac8564-ef3a-4ee4-957e-5bd91cc2f6d1" alt=""><figcaption><p>Show or hide x-axis labels</p></figcaption></figure>

#### 1.8. Category grouping

You can enable or disable category grouping. [Learn more about category grouping.](https://docs.inforiver.com/analytics+/working-with-analytics+/3.8.-display-settings-for-charts/charts-axis-settings#id-1.5.-category-grouping)

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FoNe53dRGWah71nRGhb2M%2FUntitled%20Project.gif?alt=media&#x26;token=29e2a180-90fe-42e7-ad1a-b3cd9bf72caf" alt=""><figcaption><p>Category grouping</p></figcaption></figure>

#### 1.9. Axis type

When you have a time series axis dimension, you can switch between continuous and categorical axes from the on-object interaction menu.

{% hint style="info" %}
Category grouping needs to be disabled to change the axis type.
{% endhint %}

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FVNfTSUOSZUD0BJa2XHlR%2FUntitled%20Project.gif?alt=media&#x26;token=9b2c4e92-249f-4523-ad9f-75eda7ffde4e" alt=""><figcaption><p>Axis type</p></figcaption></figure>

#### 1.10. Sorting

Sort the X-axis categories in ascending or descending order.

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FNrDCgoPcqbC1tQ8tV6K1%2FUntitled%20Project.gif?alt=media&#x26;token=bb22ef36-917e-43cf-aa50-3cf6b2c5c85f" alt=""><figcaption><p>Sorting axis categories</p></figcaption></figure>

## 2. Title customizations

#### 2.1. Font customizations

You can change the font color, size, and style of the x-axis title.

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2Fq5MSSTc6Fod0EvskhXK3%2Fimage.png?alt=media&#x26;token=8a260b47-885d-4249-aaaa-ab3f9e0b46d5" alt=""><figcaption><p>Font customizations for x-axis title</p></figcaption></figure>

#### 2.2. Title settings

From the title settings window, you can apply the customizations listed below:

* Font style: set bold/italics and a custom color
* Set a custom size in pixels
* Assign the font family
* Set a custom x-axis title - you can assign a title that is different from the dimension name in the dataset.

{% hint style="info" %}
Click on the gear icon to open the x-axis settings side panel
{% endhint %}

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FxVntEkgZbQ6SKbCETuw8%2Fimage.png?alt=media&#x26;token=22e05b48-0bc4-4c6b-a9b2-b4c48b34f551" alt=""><figcaption><p>Title setting for x-axis</p></figcaption></figure>

#### 2.3. Show/Hide title

You can choose to show or hide the x-axis title. To display the x-axis title again after hiding it, click on the undo link. You can enable the x-axis title by navigating to Settings > Axis > X-axis >  Show title. Enable the toggle to display the title.&#x20;

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FJSM01OUvrIRczHX2cuQE%2Fimage.png?alt=media&#x26;token=65008656-978f-4348-b43f-df4e1cf1ff60" alt=""><figcaption><p>Show or hide x-axis title</p></figcaption></figure>
