# X-Axis

The X-Axis settings allow customization of how the x-axis appears and functions in your chart. You can adjust its position, type, labels, and other properties for better readability and representation.

#### **1. Basic Settings**

<figure><img src="/files/2LAV7UJY2rdL7dHy1tZV" alt="" width="160"><figcaption></figcaption></figure>

| **Feature**     | **Description**                                                 |
| --------------- | --------------------------------------------------------------- |
| **Show**        | Toggles the visibility of the x-axis.                           |
| **Inverse**     | Reverses the axis direction. Useful for reversing data display. |
| **Axis Slider** | Adds a scrollable slider to the axis for large datasets.        |

#### **2. Type and Position**

| **Feature**  | **Description**                                                              |
| ------------ | ---------------------------------------------------------------------------- |
| **Type**     | Determines the scale of the x-axis. Options: **Category, Value, Time, Log**. |
| **Position** | Controls where the x-axis is displayed. Options: **Top, Bottom**.            |
| **Name**     | Defines a custom label for the x-axis.                                       |

#### **3. Axis Line**

| **Feature**     | **Description**                                           |
| --------------- | --------------------------------------------------------- |
| **Show**        | Enables or disables the axis line.                        |
| **Line Color**  | Changes the color of the axis line.                       |
| **Line Type**   | Selects the style of the axis line (solid, dashed, etc.). |
| **Show Arrows** | Displays directional arrows on the axis.                  |

#### **4. Axis Tick**

| **Feature**          | **Description**                        |
| -------------------- | -------------------------------------- |
| **Show**             | Enables or disables axis ticks.        |
| **Align with Label** | Ensures ticks are aligned with labels. |
| **Line Color**       | Changes the color of the tick marks.   |
| **Line Type**        | Selects the style of the tick marks.   |

#### **5. Axis Label**

| **Feature**     | **Description**                                |
| --------------- | ---------------------------------------------- |
| **Show**        | Enables or disables labels on the axis.        |
| **Rotate**      | Adjusts label rotation for better readability. |
| **Color**       | Defines the label text color.                  |
| **Size**        | Adjusts the label text size.                   |
| **Font Family** | Selects the font for the labels.               |
| **Bold/Italic** | Allows text formatting.                        |

#### **6. Split Line**

| **Feature** | **Description**                                                  |
| ----------- | ---------------------------------------------------------------- |
| **Show**    | Enables grid lines that extend across the chart from the x-axis. |

***


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.getinfinity.app/user-guide/comprehensive-user-guide/2.-charts/chart-customization/customizing-chart-with-advanced-editor-panel/styles/x-axis.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
