> ## Documentation Index
> Fetch the complete documentation index at: https://docs.usedatabrain.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Chart Appearance

> Personalize your metric charts with an array of appearance settings for clarity and visual appeal.

In Databrain, charts are highly customizable and extensible - you can control the appearance, format the labels, manage click behavior and drilldowns, and much more. This guide walks you through the key customization options to help you create professional and effective data visualizations.

## Access Chart Appearance

* Navigate to your metric card, click the **"Appearance & Actions"** icon, and select the **"Appearance"** tab.

<Frame>
  <img src="https://mintcdn.com/databrainlabs-bef6850a/WF6VYXQbY0e3pEdb/images/guides/image-chart-appearance.png?fit=max&auto=format&n=WF6VYXQbY0e3pEdb&q=85&s=bd356282a0b1490559b8bc1aa300eb68" alt="Interface showing where to access chart appearance settings" width="578" height="1121" data-path="images/guides/image-chart-appearance.png" />
</Frame>

### 1. Horizontal Axis Customizations

* **Toggles**: Axis Line, Splitlines, Axis Labels, Truncate Label.
* **Set Values**: Label Rotation, Custom Rotation, Truncate Label Value, Distance between name and labels.
* **Adjust**: Font properties and color.

<Note>
  **X-axis tick spacing is not configurable.** The horizontal-axis options control label appearance (rotation, fonts, visibility) — there is no setting for the numeric interval between ticks (e.g. "every 10 units"). If you need evenly spaced buckets, pre-bucket the data in SQL and use the bucket column as your x-axis, for example: `SELECT FLOOR(value/10)*10 AS bucket, COUNT(*) FROM t GROUP BY 1`.
</Note>

<Frame>
  <img src="https://mintcdn.com/databrainlabs-bef6850a/FXACK5bS1yJQ_mT1/images/guides/horizontal-axis.gif?s=5ca44ed4008631dc2cbc130227946e0b" alt="GIF demonstrating customization options for horizontal axis" width="1630" height="919" data-path="images/guides/horizontal-axis.gif" />
</Frame>

### 2. Vertical Axis Customizations

* **Toggles**: Axis Line, Splitlines, Axis Labels.
* **Set Values**: Distance between name and labels.
* **Adjust**: Axis Position and font properties.

<Frame>
  <img src="https://mintlify.s3.us-west-1.amazonaws.com/databrainlabs-bef6850a/guides/visualizations-actions-and-appearance/images/guides/vertical-axis.gif" alt="GIF showing vertical axis customization options" />
</Frame>

### 3. Chart Legend

**Customize**: Display, appearance, position, truncation, and shape.

**Use Case**:

Let us take a combo multi-scales chart showing Revenue (purple bars) and YoY Growth (blue line).\
When you customize the Chart Legend, you can configure:

* **Position**: Top-left, center, right; Middle-left, center, right; Bottom-left, center, right
* **Orientation**: Horizontal (side by side) or Vertical (stacked)
* **Legend Shape**: Square, Diamond, Triangle, Circle, Line
* **Set**: the Font, Font size, and Label Color and also truncate the size of label

The legend now appears exactly how and where you want it, making the chart clearer and more professional.

<Frame>
  <img src="https://mintcdn.com/databrainlabs-bef6850a/FXACK5bS1yJQ_mT1/images/guides/chart-legend.png?fit=max&auto=format&n=FXACK5bS1yJQ_mT1&q=85&s=8024a42b8ba093f4662d9cb774325bcd" alt="Chart legend customization example" width="2940" height="1658" data-path="images/guides/chart-legend.png" />
</Frame>

### 4. Chart Margin

Define margins for all four sides of the chart.

<Frame>
  <img src="https://mintcdn.com/databrainlabs-bef6850a/FXACK5bS1yJQ_mT1/images/guides/chart-margin.png?fit=max&auto=format&n=FXACK5bS1yJQ_mT1&q=85&s=1e283cbb4bd39d3a07ecce6e4a23c410" alt="Screenshot of chart margin settings" width="2938" height="1658" data-path="images/guides/chart-margin.png" />
</Frame>

### 5. Chart Label

**Position:** Determine where value labels appear on the chart.

**Use Case:**\
Consider a comparative bar chart displaying Concluded and Starts counts across various locations. With the Chart Label setting, you can choose exactly where the value labels appear—inside the bar, above it, centered, or aligned left or right.

<Frame>
  <img src="https://mintcdn.com/databrainlabs-bef6850a/FXACK5bS1yJQ_mT1/images/guides/chart-label.png?fit=max&auto=format&n=FXACK5bS1yJQ_mT1&q=85&s=b05dac1026403bc8245bd9f7ffec5dd9" alt="Image showing chart label position customization" width="2940" height="1660" data-path="images/guides/chart-label.png" />
</Frame>

### 6. Chart Tooltip

**Adjust:** Font and color for Header, Label, and Value.

**Use Case:**\
When you hover over any bar, the Chart Tooltip provides detailed information. You can further customize tooltip fonts and colors.

<Frame>
  <img src="https://mintcdn.com/databrainlabs-bef6850a/FXACK5bS1yJQ_mT1/images/guides/chart-tooltip.png?fit=max&auto=format&n=FXACK5bS1yJQ_mT1&q=85&s=12316cd448ff0728cb51a9f13ff3d1ca" alt="Tooltip customization interface screenshot" width="2940" height="1656" data-path="images/guides/chart-tooltip.png" />
</Frame>

### 7. **Chart Colors**

**Modify:** Chart colors, gradients, and background gradients.

<Frame>
  <img src="https://mintlify.s3.us-west-1.amazonaws.com/databrainlabs-bef6850a/images/guides/chart-colour.png" alt="Chart color customization panel" />
</Frame>

### 8. Chart Title & Description

**Add:** Titles and descriptions, and adjust their positions.

<Frame>
  <img src="https://mintcdn.com/databrainlabs-bef6850a/FXACK5bS1yJQ_mT1/images/guides/chart-title-description.png?fit=max&auto=format&n=FXACK5bS1yJQ_mT1&q=85&s=10b76ebbd2402a526fe799e32b284d0a" alt="Image showing title and description customization on chart" width="2940" height="1660" data-path="images/guides/chart-title-description.png" />
</Frame>

### 9. Formatting

**Set:** Number formatting, and prefix or suffix.

<Frame>
  <img src="https://mintcdn.com/databrainlabs-bef6850a/FXACK5bS1yJQ_mT1/images/guides/formatting.png?fit=max&auto=format&n=FXACK5bS1yJQ_mT1&q=85&s=556db8cf9862a3607648c8b9994f3153" alt="Formatting settings panel for chart values" width="2940" height="1656" data-path="images/guides/formatting.png" />
</Frame>

### 10. Features

Options vary based on chart type.

<Frame>
  <img src="https://mintcdn.com/databrainlabs-bef6850a/w40i74o67wVB_OZm/images/guides/bar-background-and-chart-zoom.png?fit=max&auto=format&n=w40i74o67wVB_OZm&q=85&s=fb6652d6b5a840e92dd43144fa4ce27d" alt="Example of bar background and chart zoom features" width="2940" height="1658" data-path="images/guides/bar-background-and-chart-zoom.png" />
</Frame>

<Frame>
  <img src="https://mintcdn.com/databrainlabs-bef6850a/vtT_Z5XodY0y5xKu/images/guides/show-hide-null-values.png?fit=max&auto=format&n=vtT_Z5XodY0y5xKu&q=85&s=cdc295cfe58f405f3ab1a4db3312f0a6" alt="Chart showing effect of hiding null or zero values" width="2940" height="1656" data-path="images/guides/show-hide-null-values.png" />
</Frame>

<Frame>
  <img src="https://mintlify.s3.us-west-1.amazonaws.com/databrainlabs-bef6850a/images/guides/enable-dynamic-behavior.gif" alt="GIF demonstrating dynamic behavior toggle on charts" />
</Frame>

Specific chart types offer unique customizations.

> **Note:** Options may vary based on the **"Chart Type"** chosen.

For chart-specific appearance options, refer to the link below:

<Card title="Chart-Specific Appearance Options" href="https://docs.usedatabrain.com/guides/visualizations-actions-and-appearance/chart-appearance/chart-specific-appearance-options">
  Explore appearance settings unique to each chart type such as bar, line, area, and combo charts.
</Card>

<Check>
  You’ve successfully configured chart appearance.\
  Your visualizations now follow a consistent, professional style with clearer labels, cleaner legends, and improved readability.
</Check>
