# Y-Axis

The Y-Axis settings allow users to customize the vertical axis of the chart. This includes modifying its visibility, label formatting, range, and additional styling options. The settings provide a structured way to control how data is represented along the Y-axis.

### Features and Descriptions

| Feature             | Description                                                                                                                                                                                                                                  |
| ------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Show**            | Toggle to enable or disable the Y-axis. When disabled, the axis and its elements (ticks, labels, lines) are hidden.                                                                                                                          |
| **Inverse**         | If checked, inverts the Y-axis, meaning higher values will appear at the bottom and lower values at the top.                                                                                                                                 |
| **Axis Slider**     | Enables interactive panning and zooming along the Y-axis. Useful for large datasets where users need to zoom in on specific value ranges.                                                                                                    |
| **Type**            | Defines the scale type for the Y-axis. Options include: - **value** (numerical scale with evenly spaced intervals) - **category** (discrete labels instead of continuous numbers) - **log** (logarithmic scale) - **time** (time-based axis) |
| **Position**        | Determines whether the Y-axis appears on the **left** or **right** side of the chart.                                                                                                                                                        |
| **Name**            | Defines a custom label for the Y-axis. Useful for indicating units of measurement, such as "Sales (USD)" or "Temperature (°C)."                                                                                                              |
| **Name Location**   | Determines where the Y-axis name appears. Options include **start**, **middle**, and **end**.                                                                                                                                                |
| **Name Text**       | Allows customization of the axis name appearance, including font, size, color, bold/italic formatting.                                                                                                                                       |
| **Axis Line**       | Configures the main vertical axis line, including color, visibility, and line style.                                                                                                                                                         |
| **Axis Tick**       | Controls the appearance of tick marks along the Y-axis. Options include color, alignment with labels, and tick style.                                                                                                                        |
| **Axis Label**      | Customizes the data labels along the Y-axis, including rotation, font, color, size, bold/italic formatting.                                                                                                                                  |
| **Split Line**      | Toggles and styles gridlines that run horizontally across the chart, aiding in data readability.                                                                                                                                             |
| **Range (Min/Max)** | Manually sets the minimum and maximum Y-axis values. If left empty, the chart will auto-scale based on data.                                                                                                                                 |

### Usage Notes

* **For numerical data**, it is recommended to use the **value** scale type.
* **For discrete categories**, the **category** scale type should be used.
* The **range settings** (Min/Max) should be used carefully to ensure data remains visible within meaningful limits.
* **Split lines** are useful for providing a reference grid, especially in bar and line charts.


---

# 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/y-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.
