# Label

The Label component displays text or an image. This component can also be used to perform the action(s) when clicked using Java Script.

#### Default Chart Image:

<div align="left"><img src="/files/W7UFPLn57cVHkFznExsX" alt=""></div>

#### Properties of the Label:

* **Background:** The user can enable the shadow, change the shadow color and transparency of that shadow.
* **General:** The user can change the height, width, top, and left. If initial visibility is unchecked, then the chart won’t be visible at the first preview.
* The user can write what they want to see in the label in the Text section.
* If Dynamic is enabled then the Label value can be dynamically changed based on the outputs from other components like filters.
* **Style:** In this section, the user can change the font color-style-weight properties.

#### Style Properties:&#x20;

<div align="left"><img src="/files/rjA1uof0vEaj8vhVgQk8" alt=""></div>

#### General Properties:

<div align="left"><img src="/files/DtMsNj14SOZ2U5BErjGf" alt=""></div>

#### Background Properties:

<div align="left"><img src="/files/JLPBqOjyPDf7XAS0KHvU" alt=""></div>

#### Modified Label:

<div align="left"><img src="/files/4WrXdM14O2ZulxcGHcHr" alt=""></div>


---

# 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.bdb.ai/bdb-documentation/data-visualization/governed-dashboards/charts-gallery/other-charts/label.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.
