# General Tab

#### **Layer Title**

Define the title for the specific layer being formatted.

***

## **Size and Position**

<figure><img src="/files/MFGW3rStXt62usLIcuTO" alt=""><figcaption></figcaption></figure>

* **Height**: Adjust the height of the shape.
* **Width**: Adjust the width of the shape.
* **X-Position**: Set the horizontal position of the shape.
* **Y-Position**: Set the vertical position of the shape.

***

## **Background**

<figure><img src="/files/LDt92Flfik8mt3IRb84Q" alt=""><figcaption></figcaption></figure>

**Border Radius**

* Choose from **Sharp**, **Rounded**, or **Custom** corners for the shape.

***

#### **Background Type - Solid**

* **Single Color with Conditional Formatting**: Apply conditional formatting to a solid background color.
  * **Default Color**: Set a base color when no conditional rules are active.
  * **Add Rule**: Define conditions to dynamically change colors.

**Rule Settings**

* **Rule Name**: Name the rule for easy identification.
* **Rule Type**:
  * **Single**: Applies conditions to individual values.
  * **Compare**: Evaluates relationships between multiple values.

**Inputs for Rule Types**

1. **Single Rule Type**
   * **Value Field**: Select the data field for evaluation.
   * **Aggregation**: Summarize data using options like None, Sum, Average, Min, Max, First, or Last.
   * **Comparator**: Choose a comparison condition (e.g., Equal to, Not Equal To, Less Than, Greater Than, etc.).
   * **Value Type**: Use **Fixed Values** or **Data Fields**.
   * **Color**: Define the color applied when the rule is met.
2. **Compare Rule Type**
   * **Comparison Methods**: Compare data points using options such as:
     * First vs. Next, First vs. Fixed Value, Last vs. Target Value, etc.
     * Examples: Evaluate trends (First vs. Last) or assess benchmarks (Max vs. Fixed Value).
   * **Target Field**: Specify categories or data fields for comparison.
   * **Sort Order**: Arrange comparisons in Ascending or Descending order.
   * **Condition**: Define performance expectations (e.g., **More is Better** or **Less is Better**).
   * **Colors**: Highlight outcomes as **Good**, **Neutral**, or **Bad**.

***

#### **Background Type - Gradient**

* **Minimum Color**, **Middle Color**, **Maximum Color**: Define the gradient colors.
* **Enable Mid Color Toggle**: Toggle the middle color in the gradient.
* **Gradient Direction**: Specify the direction of the gradient.

***

#### **Background Type - Image**

* **Data**: Select a column for image data.
* **Upload**: Upload an image (maximum size: 500 KB).
* **URL**: Enter a URL to fetch an image.
* **Image Scaling**: Choose **Fit** or **Fill** to scale the image.

***

## **Border**

<figure><img src="/files/QedusVE4kGto5LwJRq7Q" alt=""><figcaption></figcaption></figure>

* **On/Off Toggle**: Enable or disable the border.
* **Stroke Style**: Choose from **Plain**, **Dashed**, or **Dotted** styles.
* **Width**: Define the border width.
* **Color**: Set a color for the border.

***

## **Shadow**

<figure><img src="/files/KoYZogyOoAQwMiYCK72V" alt=""><figcaption></figcaption></figure>

* **On/Off Toggle**: Enable or disable the shadow.
* **Color**: Define the shadow color.
* **Offset**: Choose between **Inside** or **Outside**.

**Position**

* **Options**:
  * Bottom Right, Bottom, Bottom Left
  * Right, Center, Left
  * Top Right, Top, Top Left
  * Custom

**Custom Settings**

* **Size**: Set the shadow size.
* **Blur**: Define the blur level.
* **Distance**: Specify the shadow distance.
* **Angle**: Adjust the shadow angle.


---

# 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.powerviz.ai/powerviz/kpi/edit-mode-introduction/kpi-charts/general-tab.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.
