# Chart Background

The **Chart Background** section allows users to customize the background appearance of the chart area. This feature is useful for enhancing readability, improving contrast, and aligning the chart design with a specific theme.

***

#### **Accessing the Chart Background Section**

To configure the chart background:

1. Navigate to the **Advanced Editor**.
2. Click on the **Styles** tab.
3. Select **Chart Background** from the list of available styling options.

<figure><img src="/files/Hp36lcEj7Pi5fOoRRs16" alt="" width="301"><figcaption></figcaption></figure>

***

#### **Features & Descriptions**

| **Feature**    | **Description**                                                                                                                                                                                         |
| -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Background** | Enables users to set a **background color** for the chart. This can be useful for making the chart stand out or match a specific theme. Users can define the color using RGBA values or a color picker. |

***

#### **Best Practices**

* Use a **light background** for better visibility of chart elements.
* If using a **dark background**, ensure that text, gridlines, and labels are **light-colored** for contrast.
* Keep the background **consistent** with the overall dashboard or report theme for a unified look.


---

# 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/chart-background.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.
