# Grid

The **Grid** settings in the **Styles** tab allow users to control the layout and spacing of the chart's grid. The grid determines the placement of elements such as axes, series, and labels, ensuring they fit well within the chart container.

#### **Accessing Grid Settings**

To configure the **Grid** settings:

1. Open the **Advanced Editor** and navigate to the **Styles** tab.
2. Click on **Grid** to expand the options.

<figure><img src="https://2441185785-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeTNY9XuZbora2UmeM4sm%2Fuploads%2Fcy4vXRAtBKbbv2YtRZut%2Fimage.png?alt=media&#x26;token=cc78dd4b-c9e6-47a9-9a77-8cb7f7b5209b" alt="" width="325"><figcaption></figcaption></figure>

***

#### **Grid Settings Overview**

| Feature       | Description                                                                                |
| ------------- | ------------------------------------------------------------------------------------------ |
| **Show Grid** | Toggle the grid visibility on or off. If disabled, the chart will not have a visible grid. |
| **Top**       | Defines the top margin of the grid (in pixels).                                            |
| **Bottom**    | Defines the bottom margin of the grid (in pixels).                                         |
| **Left**      | Defines the left margin of the grid (in pixels).                                           |
| **Right**     | Defines the right margin of the grid (in pixels).                                          |

***

#### **How Grid Affects Chart Layout**

* The grid controls how much space is allocated for the **axes and series**. Adjusting these values ensures labels and data points are not **cut off** or **overlapping**.
* Larger values **increase spacing**, creating more room for labels and axes.
* Smaller values **reduce spacing**, making the chart more compact.
